:root {
  --bg: #060907;
  --panel: #0e1712;
  --panel-soft: #132219;
  --panel-glass: rgba(10, 18, 13, 0.78);
  --text: #f6f1e8;
  --muted: #c7c0b3;
  --gold: #d8ae5f;
  --leaf: #4fa66a;
  --line: rgba(246, 241, 232, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.68;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  background: #020403;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.5rem 5vw;
  text-align: center;
}

.site-header {
  align-items: center;
  background: rgba(6, 9, 7, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  left: 0;
  padding: 0.75rem 5vw;
  position: sticky;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease;
  z-index: 50;
}

.site-header.scrolled {
  background: rgba(4, 7, 5, 0.96);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
}

.brand img {
  height: 92px;
  object-fit: contain;
  width: auto;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.site-nav a {
  border-radius: 999px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0.62rem 0.95rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(216, 174, 95, 0.12);
  color: var(--gold);
}

.site-nav .nav-cta {
  background: var(--gold);
  color: #121008;
  margin-left: 0.3rem;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  background: #f0cc7a;
  color: #121008;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 46px;
  width: 46px;
}

.nav-toggle span {
  background: var(--text);
  display: block;
  height: 2px;
  margin: 6px auto;
  width: 24px;
}

.hero,
.page-hero {
  align-items: center;
  background-position: center;
  background-size: cover;
  color: white;
  display: flex;
  isolation: isolate;
  min-height: calc(100vh - 126px);
  padding: 7rem 5vw;
  position: relative;
}

.hero::before,
.page-hero::before,
.hotel-hero::before,
.reservation-layout::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.28));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-home {
  background-image: url("../img/web/cano-cristales-color.jpg");
}

.page-hero {
  min-height: 460px;
}

.page-hero-tours {
  background-image: url("../img/web/cano-canoas.jpg");
}

.page-hero-planes {
  background-image: url("../img/web/amanecer-llanero.jpg");
}

.page-hero-reserva {
  background-image: url("../img/web/hotel-piscina.jpg");
}

.page-hero-location {
  background-image: url("../img/web/atardecer-llanero.jpg");
}

.hero-content,
.page-hero > div {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.tag {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  margin: 0.45rem 0 1rem;
}

.hero p,
.page-hero p {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.25rem;
}

.btn-primary {
  background: var(--gold);
  color: #141008;
}

.btn-primary:hover {
  background: #f0cc7a;
}

.btn-outline {
  border-color: rgba(246, 241, 232, 0.62);
  color: white;
}

.btn-light {
  background: white;
  color: #141008;
}

.section {
  padding: 5.5rem 5vw;
}

.about-story,
.intro-grid,
.split-section,
.reservation-layout,
.hotel-hero {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.about-story h2,
.intro-grid h2,
.section-heading h2,
.copy-panel h2,
.page-hero h1,
.hotel-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
}

.about-story {
  align-items: start;
  background: radial-gradient(circle at 15% 15%, rgba(216, 174, 95, 0.12), transparent 36%), #020403;
  border-bottom: 1px solid var(--line);
}

.about-story-text {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.55rem;
}

.about-story-text p + p {
  margin-top: 1rem;
}

.about-story-text p {
  color: var(--muted);
}

.about-story-text strong {
  color: var(--text);
}

.feature-list,
.tour-list {
  display: grid;
  gap: 1.2rem;
}

.feature-list article,
.plan-card,
.reservation-aside,
.form-shell,
.amenity-grid article,
.destination-card,
.tour-item > div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-list article,
.plan-card,
.reservation-aside,
.form-shell,
.amenity-grid article,
.tour-item > div {
  padding: 1.55rem;
}

.feature-list span {
  color: var(--gold);
  font-weight: 900;
}

.trust-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.trust-strip article,
.service-grid article,
.plan-note {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.trust-strip strong {
  display: block;
  font-size: 1.25rem;
}

.trust-strip span,
.service-grid p,
.plan-note p {
  color: var(--muted);
}

.service-overview,
.included-section {
  background: #020403;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid h3 {
  margin-bottom: 0.65rem;
}

.plan-note {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.plan-note h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
}

.split-section {
  align-items: center;
  background: linear-gradient(135deg, #07120d, #112419);
}

.media-panel img,
.tour-item img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.copy-panel p,
.tour-item p,
.hotel-copy p,
.reservation-aside p,
.destination-card p,
.amenity-grid p,
.plan-card li {
  color: var(--muted);
}

.copy-panel p {
  margin: 1rem 0;
}

.check-list,
.plan-card ul {
  list-style: none;
  margin: 1rem 0 1.4rem;
}

.check-list li,
.plan-card li {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}

.check-list li::before,
.plan-card li::before {
  color: var(--gold);
  content: "> ";
  font-weight: 900;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 760px;
}

.cards-grid,
.plans-grid,
.amenity-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.destination-card {
  overflow: hidden;
}

.destination-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  width: 100%;
}

.destination-card div {
  padding: 1.25rem;
}

.instagram-section {
  background: #020403;
}

.instagram-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.instagram-grid img {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.instagram-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  font-weight: 800;
  margin-top: 1.4rem;
  padding: 0.75rem 1.1rem;
}

.location-preview {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.location-preview p {
  color: var(--muted);
  margin: 1rem 0 1.4rem;
}

.location-preview iframe {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 340px;
  width: 100%;
}

.cta-band {
  align-items: center;
  background: linear-gradient(90deg, #102218, #06100b);
  border-top: 1px solid var(--line);
  color: white;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 3.2rem 5vw;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  max-width: 820px;
}

.tour-item {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.tour-item-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.tour-item-reverse img {
  grid-column: 2;
  grid-row: 1;
}

.tour-item-reverse div {
  grid-column: 1;
  grid-row: 1;
}

.tour-item h2,
.plan-card h2,
.amenity-grid h2 {
  margin: 0.35rem 0 0.8rem;
}

.aviturismo-tour > div {
  background: rgba(4, 10, 7, 0.92);
  min-height: 100%;
}

.plans-grid {
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.plan-card img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
  width: 100%;
}

.plan-card .btn {
  margin-top: auto;
}

.plan-card.featured {
  background: linear-gradient(150deg, #886829, #132218);
  color: white;
}

.plan-card.featured li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  color: #fff5df;
}

.hotel-hero {
  align-items: center;
  background: url("../img/web/hotel-cabana.jpg") center/cover no-repeat;
  isolation: isolate;
  padding: 5rem 5vw;
  position: relative;
}

.hotel-copy {
  background: var(--panel-glass);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.8rem;
}

.hotel-copy p {
  margin: 1rem 0 1.5rem;
}

.hotel-hero-grid,
.hotel-pairs {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hotel-hero-grid img {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.hotel-pairs {
  background: #020403;
}

.hotel-pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hotel-pair img {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.reservation-layout {
  background: url("../img/hero.jpeg") center/cover no-repeat;
  isolation: isolate;
  position: relative;
}

.reservation-layout::before {
  background: rgba(0, 0, 0, 0.68);
}

.reservation-aside h2,
.contact-card h3 {
  margin-bottom: 0.8rem;
}

.contact-card {
  border-top: 1px solid var(--line);
  margin-top: 1.4rem;
  padding-top: 1.2rem;
}

.contact-card a,
.site-footer a {
  display: block;
  margin-top: 0.45rem;
}

.reservation-form {
  display: grid;
  gap: 1rem;
}

.reservation-form label {
  color: var(--text);
  display: grid;
  font-weight: 800;
  gap: 0.45rem;
}

.reservation-form input,
.reservation-form select {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid transparent;
  border-radius: 8px;
  color: #111;
  font: inherit;
  min-height: 50px;
  padding: 0.8rem 0.9rem;
  width: 100%;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.alert {
  border-radius: 8px;
  font-weight: 800;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
}

.alert-success {
  background: #dff3e5;
  color: #18592e;
}

.alert-error {
  background: #ffe3df;
  color: #933426;
}

.site-footer {
  background: #020403;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.3fr 1fr 1fr;
  padding: 3rem 5vw;
}

.site-footer img {
  height: 78px;
  margin-bottom: 1rem;
  object-fit: contain;
  width: auto;
}

.site-footer h3 {
  color: var(--text);
  margin-bottom: 0.8rem;
}

@media (max-width: 980px) {
  .brand img {
    height: 78px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: rgba(7, 12, 9, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    left: 5vw;
    padding: 0.8rem;
    position: absolute;
    right: 5vw;
    top: calc(100% + 0.6rem);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .about-story,
  .intro-grid,
  .split-section,
  .reservation-layout,
  .hotel-hero,
  .tour-item,
  .tour-item-reverse,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .tour-item-reverse img,
  .tour-item-reverse div {
    grid-column: auto;
    grid-row: auto;
  }

  .cards-grid,
  .plans-grid,
  .amenity-grid,
  .instagram-grid,
  .trust-strip,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-preview,
  .plan-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 64px;
  }

  .hero,
  .page-hero {
    min-height: 520px;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .section,
  .hotel-hero,
  .cta-band,
  .site-footer {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .cards-grid,
  .plans-grid,
  .amenity-grid,
  .instagram-grid,
  .trust-strip,
  .service-grid,
  .hotel-hero-grid,
  .hotel-pairs,
  .hotel-pair,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Formulario de reserva mejorado */
.phone-input {
  display: flex;
  gap: 8px;
}

.phone-input select {
  width: 140px;
  min-width: 120px;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.captcha-label {
  display: block;
  margin: 1rem 0;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.captcha-code {
  background: var(--leaf);
  color: white;
  padding: 10px 20px;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 5px;
  border-radius: 4px;
  font-family: monospace;
}

.btn-refresh {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
}

.btn-refresh:hover {
  background: var(--leaf);
}

/* Footer */
.rnt {
  font-weight: bold;
  color: var(--leaf);
  margin-top: 8px;
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
