@font-face {
    font-family: 'Rodfat';
    src: url('./fonts/rodfat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
  color-scheme: light;
  --ink: #0e4d4d;
  --muted: #4f6e69;
  --line: #dfe8b8;
  --paper: #f5fad4;
  --white: #fffdf0;
  --forest: #0e4d4d;
  --moss: #5fb9cf;
  --clay: #f4a13b;
  --sky: #9dd8df;
  --shadow: 0 18px 50px rgba(14, 77, 77, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(245, 250, 212, 0.92);
  border-bottom: 1px solid rgba(14, 77, 77, 0.14);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  background: var(--white);
  border: 2px solid var(--forest);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--white);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a:hover {
  color: var(--forest);
}

.language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

select,
input,
button {
  font: inherit;
}

select,
input {
  min-height: 42px;
  border: 1px solid rgba(14, 77, 77, 0.24);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

select {
  width: 100%;
  padding: 0 32px 0 10px;
}

input {
  width: 100%;
  padding: 0 12px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: var(--forest);
  padding: clamp(36px, 6vw, 72px) clamp(16px, 6vw, 84px);
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
  padding: 24px 0 44px;
  color: var(--white);
}

.hero-visual {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(430px, 100%);
}

.hero-visual::before {
  position: absolute;
  inset: -16px 18px 18px -16px;
  content: "";
  background: var(--clay);
  border-radius: 8px;
}

.hero-visual img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 6px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.26);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--clay);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-family: 'Rodfat', "Times New Roman", serif;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-family: 'Rodfat', "Times New Roman", serif;
}

h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.route-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  color: var(--forest);
  background: var(--clay);
}

.button.secondary {
  color: var(--forest);
  background: var(--white);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intro p,
.section-heading p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spec-grid article {
  min-height: 128px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(14, 77, 77, 0.08);
}

.spec-grid strong {
  display: block;
  color: var(--forest);
  font-size: 2.1rem;
  line-height: 1;
}

.spec-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.pricing {
  width: 100%;
  max-width: none;
  padding-right: clamp(16px, 4vw, 48px);
  padding-left: clamp(16px, 4vw, 48px);
  background: var(--forest);
  color: var(--white);
}

.pricing .section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 28px;
}

.pricing .section-heading p:not(.eyebrow) {
  color: rgba(255, 253, 240, 0.82);
}

.pricing .eyebrow {
  color: var(--clay);
}

.price-grid,
.included-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

.price-card {
  min-height: 230px;
  padding: 24px;
  background: var(--paper);
  border: 2px solid rgba(255, 253, 240, 0.18);
  border-radius: 8px;
  color: var(--forest);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.price-card.featured {
  background: var(--clay);
  color: var(--forest);
}

.price-card h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.price-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.price-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(14, 77, 77, 0.2);
}

.price-card dt {
  color: rgba(14, 77, 77, 0.78);
  font-weight: 800;
}

.price-card dd {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 950;
  white-space: nowrap;
}

.included-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.included-panel article {
  min-height: 158px;
  padding: 20px;
  background: rgba(255, 253, 240, 0.1);
  border: 1px solid rgba(255, 253, 240, 0.22);
  border-radius: 8px;
}

.included-panel h3 {
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 1rem;
  text-transform: uppercase;
}

.included-panel p {
  margin-bottom: 0;
  color: rgba(255, 253, 240, 0.88);
}

/* ── CALENDARIO DE DISPONIBILIDAD — comentado temporalmente, disponible para uso futuro ──
.tools,
.route {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.calendar-panel,
.route-result,
.contact-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.calendar-panel {
  padding: clamp(16px, 3vw, 26px);
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-align: center;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.day {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--muted);
  font-weight: 750;
}

.day.available {
  color: var(--forest);
  background: #eef8d0;
  border-color: #99cbd3;
}

.day.booked {
  color: #6d756d;
  background: #dce5bf;
  text-decoration: line-through;
}

.day.empty {
  visibility: hidden;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot.available {
  background: var(--moss);
}

.dot.booked {
  background: #87917e;
}
── FIN CALENDARIO ── */

.route-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.route-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.route-result {
  display: grid;
  gap: 8px;
  grid-column: 2;
  padding: 22px 24px;
  color: var(--muted);
}

.route-result strong {
  display: block;
  color: var(--forest);
  font-size: 1.7rem;
}

.contact-box {
  padding: 18px 20px;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list a {
  display: flex;
  min-height: 42px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.contact-list a:last-child {
  border-bottom: 1px solid var(--line);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(16px, 4vw, 48px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language span {
    display: none;
  }

  .intro,
  .pricing,
  /* .tools, */ /* calendario — comentado temporalmente */
  .route,
  .contact {
    grid-template-columns: 1fr;
  }

  .price-grid,
  .included-panel {
    grid-template-columns: 1fr;
  }

  .route-form,
  .route-result {
    grid-column: auto;
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .hero-visual {
    justify-self: start;
    width: min(420px, 100%);
  }
}

@media (max-width: 560px) {
  .hero-content {
    padding-bottom: 18px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  /* .weekdays,
  .calendar-grid {
    gap: 4px;
  }

  .day {
    min-height: 44px;
    font-size: 0.86rem;
  } */ /* calendario — comentado temporalmente */

  footer {
    flex-direction: column;
  }
}

/* ══ CARRUSEL DE IMÁGENES ══ */

.carousel-section {
  width: 100%;
  background: var(--forest);
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.62);
}

/* Gradiente lateral sobre la imagen para que el texto sea legible */
.slide-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 5vw, 56px) clamp(24px, 6vw, 84px);
  background: linear-gradient(to top, rgba(14, 77, 77, 0.72) 0%, transparent 60%);
  color: var(--white);
}

.slide-caption .eyebrow {
  color: var(--clay);
  margin-bottom: 8px;
}

.slide-caption h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.slide-caption p:not(.eyebrow) {
  margin: 8px 0 16px;
  font-size: 1.05rem;
  color: rgba(255, 253, 240, 0.88);
}

/* Slide de promoción: acento con borde izquierdo arcilla */
.carousel-slide--promo .slide-caption {
  background: linear-gradient(to top, rgba(14, 77, 77, 0.85) 0%, rgba(14,77,77,0.2) 70%);
}

.carousel-slide--promo .slide-caption h2 {
  color: var(--clay);
}

/* Botones de navegación (flechas) */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 253, 240, 0.55);
  border-radius: 50%;
  background: rgba(14, 77, 77, 0.55);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 5;
}

.carousel-btn:hover {
  background: var(--clay);
  border-color: var(--clay);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn--prev { left: clamp(12px, 3vw, 32px); }
.carousel-btn--next { right: clamp(12px, 3vw, 32px); }

/* Dots indicadores */
.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 253, 240, 0.45);
  border: none;
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
  padding: 0;
}

.carousel-dot.active {
  width: 24px;
  background: var(--clay);
}

/* Responsive */
@media (max-width: 860px) {
  .carousel-slide {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 560px) {
  .carousel-slide {
    aspect-ratio: 4 / 3;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
}

/* ══ FIN CARRUSEL ══ */

/* ══ SECCIÓN DE COMENTARIOS ══ */

.reviews-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px);
}

.reviews-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.reviews-inner .section-heading {
  margin-bottom: 40px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 26px;
  box-shadow: 0 8px 24px rgba(14, 77, 77, 0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  display: block;
  color: var(--forest);
  font-size: 0.97rem;
}

.review-email {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.review-date {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.review-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
  border-left: 3px solid var(--clay);
  padding-left: 14px;
}

@media (max-width: 700px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-date {
    margin-left: 0;
    width: 100%;
  }
}

/* ══ FIN COMENTARIOS ══ */
