@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@400;500;700;800&family=Roboto:wght@500;700;900&display=swap");

:root {
  --ink: #eaeaea;
  --muted: rgba(234, 234, 234, 0.72);
  --paper: #2b2b2b;
  --soft: #242424;
  --line: rgba(234, 234, 234, 0.16);
  --accent: #f2d300;
  --accent-dark: #f2d300;
  --green: #3a3a3a;
  --gold: #f2d300;
  --white: #ffffff;
  --panel: #333333;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  --yellow-shadow: 0 16px 40px rgba(242, 211, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Red Hat Text", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(32, 32, 32, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-family: Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.05;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--accent);
  background: rgba(242, 211, 0, 0.08);
  border: 1px solid rgba(242, 211, 0, 0.55);
  border-radius: 50%;
  font-size: 0.76rem;
  font-family: Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav {
  gap: 6px;
  padding: 4px;
  background: rgba(234, 234, 234, 0.05);
  border: 1px solid rgba(234, 234, 234, 0.1);
  border-radius: 999px;
  font-size: 0.9rem;
}

.nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 750;
}

.nav-cta {
  padding: 8px 14px !important;
  color: #2b2b2b !important;
  background: var(--accent);
  border-radius: 999px;
}

.nav a:hover {
  color: var(--white);
  background: rgba(234, 234, 234, 0.08);
}

.nav-cta:hover {
  color: #2b2b2b !important;
  background: var(--accent);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(32, 32, 32, 0.94) 0%, rgba(32, 32, 32, 0.86) 36%, rgba(32, 32, 32, 0.35) 64%, rgba(32, 32, 32, 0.18) 100%),
    linear-gradient(180deg, rgba(43, 43, 43, 0.08), rgba(43, 43, 43, 0.7)),
    url("assets/hero-daniel-full.jpeg");
  background-position: center center;
  background-size: cover;
}

.hero-media::before {
  display: none;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 160px;
  content: "";
  background: linear-gradient(180deg, rgba(43, 43, 43, 0), var(--paper));
}

.hero-content {
  width: min(650px, calc(100% - 36px));
  margin: 0 auto 0 clamp(18px, 8vw, 135px);
  padding: 110px 0 88px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.1rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow),
.detail-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.primary {
  color: #2b2b2b;
  background: var(--accent);
}

.secondary {
  color: var(--ink);
  background: #3a3a3a;
  border: 1px solid var(--line);
}

.section,
.contact,
.detail-layout {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 54px);
}

.muted {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 28px;
}

.section-icon {
  flex: 0 0 auto;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #2b2b2b;
  background: var(--gold);
  border-radius: 8px;
  font-weight: 900;
}

.section h2,
.contact h2,
.detail-panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
}

.section-heading p,
.combo-note,
.contact p,
.detail-panel p {
  color: var(--muted);
}

.tip-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.tour-grid,
.combo-grid,
.info-grid,
.detail-layout {
  display: grid;
  width: min(1100px, 100%);
  margin: 0 auto;
  gap: 18px;
}

.tour-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tour-card,
.combo-card,
.info-grid article,
.detail-panel {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tour-card::before,
.combo-card::before,
.info-grid article::before,
.detail-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  content: "";
  background: var(--accent);
}

.tour-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 30px 22px 22px;
  box-shadow: var(--yellow-shadow);
}

.tour-card h3,
.combo-card h3,
.info-grid h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.tour-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

dl {
  display: grid;
  gap: 8px;
  margin: auto 0 18px;
}

dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 750;
}

.tour-card > a {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
}

.map-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 211, 0, 0.42);
}

.map-link:hover {
  border-bottom-color: var(--accent);
}

.combo-section {
  background: #202020;
  color: var(--ink);
}

.combo-section .section-heading p,
.combo-note {
  color: var(--muted);
}

.combo-section .section-icon {
  color: #2b2b2b;
  background: var(--accent);
}

.combo-note {
  width: min(1100px, 100%);
  margin: -8px auto 24px;
}

.combo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.combo-card {
  position: relative;
  padding: 30px 22px 22px;
  color: var(--ink);
  box-shadow: var(--yellow-shadow);
}

.combo-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 8px;
  color: #2b2b2b;
  background: var(--accent);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.combo-card strong {
  display: block;
  margin-top: 18px;
  font-size: 2.1rem;
}

.combo-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}

.combo-booking {
  position: relative;
  overflow: hidden;
  width: min(1100px, 100%);
  margin: 22px auto 0;
  padding: clamp(24px, 5vw, 38px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--yellow-shadow);
}

.combo-booking::before,
.legal-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  content: "";
  background: var(--accent);
}

.combo-booking h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.combo-booking > p {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
}

.combo-lines {
  display: grid;
  gap: 14px;
}

.combo-line {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.combo-line legend {
  padding: 0 8px;
  color: var(--accent);
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
}

.info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-grid article {
  padding: 30px 22px 22px;
  box-shadow: var(--yellow-shadow);
}

.info-grid p {
  color: var(--muted);
}

.info-grid a {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
}

.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #202020;
  color: var(--ink);
}

.contact::before {
  display: block;
  width: min(220px, 52vw);
  aspect-ratio: 1;
  margin: 0 auto 24px;
  content: "";
  background: url("assets/contact-daniel-back.jpeg") center / cover;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.contact p {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--muted);
}

.contact-actions {
  justify-content: center;
}

.tour-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: min(720px, 100%);
  margin: 28px auto 0;
  text-align: left;
}

.tour-picker label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.tour-picker select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #2b2b2b;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.tour-picker button {
  align-self: end;
  border: 0;
  cursor: pointer;
}

.tour-picker-note {
  margin-top: 14px !important;
  font-size: 0.95rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: var(--muted);
  background: #202020;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  color: var(--white);
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.detail-hero {
  padding: clamp(72px, 10vw, 120px) clamp(22px, 6vw, 96px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 19, 19, 0.78), rgba(21, 19, 19, 0.35)),
    var(--tour-image, url("assets/pdf-page-1-image-1.jpg"));
  background-position: center;
  background-size: cover;
}

.detail-hero > * {
  width: min(760px, 100%);
  margin-left: 0;
  margin-right: auto;
}

.detail-hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

.detail-layout,
.tour-info-page {
  grid-template-columns: 1.5fr 1fr;
}

.detail-panel {
  padding: clamp(22px, 4vw, 34px);
}

.detail-panel dl {
  margin-top: 22px;
}

.detail-panel dl div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-panel.accent {
  background: var(--panel);
  color: var(--ink);
}

.detail-panel.accent p {
  color: var(--muted);
}

.tour-info-page {
  display: grid;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 54px) clamp(54px, 8vw, 96px);
  gap: 18px;
}

.tour-info-page article {
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tour-info-page h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.1;
}

.tour-info-page p {
  margin: 0;
  color: var(--muted);
}

.tour-info-page ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.booking-panel {
  color: var(--ink);
  background: var(--panel) !important;
}

.booking-panel p {
  color: var(--muted);
}

.booking-panel {
  background: #202020 !important;
}

.booking-panel {
  grid-column: 1 / -1;
}

.booking-intro {
  margin: -4px 0 22px !important;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #2b2b2b;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.booking-form input[readonly] {
  color: var(--accent);
}

.privacy-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 500 !important;
}

.privacy-check input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.privacy-check a {
  color: var(--accent);
  font-weight: 800;
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form .wide,
.booking-copy,
.booking-form button,
.booking-result {
  grid-column: 1 / -1;
}

.booking-copy {
  margin: 0;
  color: var(--muted);
}

.booking-summary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #2b2b2b;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-summary span {
  color: var(--muted);
}

.booking-summary strong {
  color: var(--accent);
  font-size: 1.2rem;
}

.booking-form button {
  border: 0;
  cursor: pointer;
}

.booking-result {
  margin-top: 18px;
  padding: 18px;
  color: var(--ink);
  background: #2b2b2b;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-result p {
  margin: 6px 0 12px;
}

.booking-result pre {
  margin: 0;
  white-space: pre-wrap;
  color: var(--accent);
  font: 0.92rem/1.45 "Red Hat Text", ui-sans-serif, system-ui, sans-serif;
}

.admin-page h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.legal-page h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
}

.legal-panel {
  position: relative;
  overflow: hidden;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 44px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--yellow-shadow);
}

.legal-panel h2 {
  margin: 28px 0 8px;
  font-size: 1.35rem;
}

.legal-panel p {
  margin: 0;
  color: var(--muted);
}

.reservations-table {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1180px, 100%);
  margin: -6px auto 18px;
}

.admin-tabs button {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--ink);
  background: #3a3a3a;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.admin-tabs button.active {
  color: #2b2b2b;
  background: var(--accent);
  border-color: var(--accent);
}

.reservations-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.reservations-table th,
.reservations-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.reservations-table th {
  color: var(--accent);
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.reservations-table span,
.empty-state {
  color: var(--muted);
}

.reservations-table strong {
  color: var(--accent);
}

.reservations-table button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin: 0 6px 6px 0;
  padding: 8px 10px;
  color: #2b2b2b;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.reservations-table button[data-status="cancelada"] {
  color: var(--ink);
  background: #4a4a4a;
}

.reservations-table button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.admin-error {
  display: block;
  max-width: 260px;
  margin-top: 6px;
  color: #ff8f8f !important;
  font-size: 0.85rem;
}

.empty-state {
  margin: 0;
  padding: 24px;
}

@media (max-width: 920px) {
  .tour-grid,
  .combo-grid,
  .info-grid,
  .detail-layout,
  .tour-info-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .hero {
    min-height: 68vh;
  }

  .hero-content {
    padding-bottom: 62px;
  }

  .tour-grid,
  .combo-grid,
  .info-grid,
  .detail-layout,
  .tour-info-page {
    grid-template-columns: 1fr;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .tour-picker {
    grid-template-columns: 1fr;
  }

  .combo-line {
    grid-template-columns: 1fr;
  }

  .phone-field {
    grid-template-columns: 1fr;
  }

  .tour-card {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
  }
}
