/* ==========================================================
   CasaDePilatos.com — Design System
   Terracotta: sun-baked clay, ink, and weathered paper. Flat, no gradients.
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ---------- Tokens ---------- */
:root {
  --primary:   #2B1D14;
  --secondary: #8B6F5B;
  --accent:    #C56A3C;
  --neutral:   #F3E8D8;
  --surface:   #FFFFFF;
  --border:    #E0D0BC;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 4px rgba(43,29,20,.07);
  --shadow-md: 0 4px 16px rgba(43,29,20,.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--primary);
  background: var(--neutral);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

.display {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  display: block;
  margin-bottom: 8px;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--neutral { background: var(--neutral); }
.section--surface { background: var(--surface); }
.section--primary {
  background: var(--primary);
  color: var(--surface);
}
.section--primary h2, .section--primary h3 { color: var(--surface); }
.section--primary .label { color: rgba(243,232,216,.55); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.two-col--wide { grid-template-columns: 1.6fr 1fr; }

.section-header { margin-bottom: 40px; }
.section-header--center { text-align: center; }
.section-header--center h2 { margin: 8px auto 0; max-width: 540px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(243,232,216,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav__links a { color: var(--secondary); transition: color .2s; }
.nav__links a:hover { color: var(--primary); }
.nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--r-md);
  font-weight: 600;
  transition: opacity .2s;
}
.nav__cta:hover { opacity: .88; }
.nav__burger {
  display: none;
  cursor: pointer;
  width: 24px; height: 18px;
  flex-direction: column;
  justify-content: space-between;
}
.nav__burger span {
  display: block; height: 2px;
  background: var(--primary); border-radius: 2px;
}
.nav__links.open { display: flex; }

/* Lang switcher */
.nav__lang-sw { display: flex; align-items: center; }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.lang-switcher a {
  color: var(--secondary);
  text-decoration: none;
  padding: 3px 7px;
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}
.lang-switcher a:hover { background: var(--border); color: var(--primary); }
.lang-switcher a.active {
  background: var(--primary);
  color: var(--surface);
}
.lang-switcher .sep {
  color: var(--border);
  font-weight: 300;
  font-size: 0.85rem;
  pointer-events: none;
  user-select: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  background: var(--primary);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: .62;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43,29,20,.85) 0%, rgba(43,29,20,.12) 60%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  color: #fff;
}
.hero__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.hero__title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: #fff;
  max-width: 680px;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .2s, background .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { opacity: .88; }
.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline:hover { background: var(--primary); color: var(--surface); }
.btn--outline-light {
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--outline-dark {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn--outline-dark:hover { background: var(--primary); color: var(--surface); }
.btn--sm { padding: 8px 14px; font-size: 0.85rem; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trust-bar__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1160px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border-right: 1px solid var(--border);
  font-size: 0.88rem;
}
.trust-item:last-child { border-right: none; }
.trust-item__icon { font-size: 1.3rem; flex-shrink: 0; }
.trust-item__label { color: var(--secondary); font-size: 0.75rem; display: block; }
.trust-item__value { font-weight: 700; font-size: 1rem; color: var(--primary); }

/* ---------- Intro two-col ---------- */
.intro-text p + p { margin-top: 16px; }
.intro-text strong { color: var(--accent); }
.fact-list { display: flex; flex-direction: column; gap: 12px; }
.fact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.fact-item__icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.fact-item__label { font-size: 0.75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); display: block; margin-bottom: 2px; }
.fact-item__value { font-weight: 600; color: var(--primary); font-size: 0.95rem; }

/* ---------- Highlights grid ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.highlight-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--border);
}
.highlight-card__body { padding: 18px; }
.highlight-card__body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.highlight-card__body p { font-size: 0.88rem; color: var(--secondary); line-height: 1.5; }

/* ---------- Tour cards ---------- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tour-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.tour-card:hover { box-shadow: var(--shadow-md); }
.tour-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--border);
}
.tour-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tour-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}
.tour-card__rating { font-weight: 700; color: var(--primary); }
.tour-card__reviews { color: var(--secondary); }
.tour-card__badge {
  margin-left: auto;
  background: var(--neutral);
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid var(--border);
}
.tour-card__badge--top {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.tour-card__title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--primary);
}
.tour-card__desc { font-size: 0.85rem; color: var(--secondary); line-height: 1.5; flex: 1; }
.tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.tour-card__price-label { font-size: 0.75rem; color: var(--secondary); display: block; }
.tour-card__price { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.tour-card__duration {
  font-size: 0.78rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Comparison table ---------- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  table-layout: fixed;
}

/* ── Header row ───────────────────────────────────── */
/* Default: all data column headers are dark primary */
.comparison-table thead th {
  padding: 22px 20px 18px;
  text-align: left;
  vertical-align: top;
  background: var(--primary);
  border-bottom: 3px solid var(--primary);
}
/* "What's Included" label — neutral, not a data column */
.comparison-table thead th:first-child {
  background: #ddd0ba;
  border-bottom: 3px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--secondary);
  vertical-align: bottom;
  padding-bottom: 22px;
}
/* Column title — serif, white on dark */
.comparison-table .col-title {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 5px;
}
/* Price line */
.comparison-table .col-price {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,.65);
  font-weight: 400;
}
/* Recommended column header: accent bg breaks the dark row */
.comparison-table thead th.highlight-col {
  background: var(--accent);
  border-bottom: 3px solid var(--accent);
}
/* Recommended pill badge — white outline inside accent header */
.recommended-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Body cells ───────────────────────────────────── */
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: middle;
  color: var(--primary);
  background: var(--surface);
  font-size: 0.88rem;
}
.comparison-table td:last-child { border-right: none; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
/* Feature name column — stronger label weight */
.comparison-table td:first-child {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--neutral);
  border-right: 2px solid var(--border);
}
/* Alternating rows — full neutral, clearly visible */
.comparison-table tbody tr:nth-child(even) td { background: rgba(243,232,216,.6); }
.comparison-table tbody tr:nth-child(even) td:first-child { background: var(--neutral); }
/* Recommended column: consistent warm tint + accent rails */
.comparison-table td.highlight-col,
.comparison-table tbody tr:nth-child(even) td.highlight-col {
  background: rgba(197,106,60,.09);
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

/* ── Check / cross marks ──────────────────────────── */
.comparison-table .check {
  color: #2e8b3a;
  font-weight: 700;
  font-size: 1.1rem;
}
.comparison-table td.highlight-col .check { color: var(--accent); }
.comparison-table .cross {
  color: #b0a096;
  font-size: 1rem;
  font-weight: 400;
}

/* ── Best-for row ─────────────────────────────────── */
.comparison-table tbody tr.best-for-row td {
  background: #ede0cc;
  border-top: 2px solid var(--border);
  border-bottom: none;
  font-size: 0.85rem;
  color: var(--secondary);
  font-style: italic;
}
.comparison-table tbody tr.best-for-row td:first-child {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: #ddd0ba;
  border-right: 2px solid var(--border);
}
.comparison-table tbody tr.best-for-row td.highlight-col {
  background: rgba(197,106,60,.18);
  color: var(--primary);
  font-style: normal;
  font-weight: 500;
}

/* ── Footer CTA row ───────────────────────────────── */
.comparison-table tfoot td {
  padding: 16px 20px;
  border-top: 2px solid var(--border);
  background: var(--neutral);
  vertical-align: middle;
}
.comparison-table tfoot td:first-child {
  font-size: 0.78rem;
  color: var(--secondary);
}
.comparison-table tfoot td.highlight-col {
  background: rgba(197,106,60,.12);
}
.comparison-table tfoot .btn--sm { font-size: 0.78rem; padding: 8px 16px; white-space: nowrap; }

/* ---------- Film locations ---------- */
.film-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.film-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.film-card__title { font-size: 1.05rem; margin: 0 24px 6px; }
.film-card__year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 16px 24px 10px;
}
.film-card p { font-size: 0.88rem; color: var(--secondary); line-height: 1.55; margin: 0 24px 24px; }

/* ---------- Visitor tips ---------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.tip-card__icon { font-size: 2rem; margin-bottom: 12px; }
.tip-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tip-card p { font-size: 0.88rem; color: var(--secondary); line-height: 1.55; }
.tip-card strong { color: var(--primary); }

/* ---------- Reviews ---------- */
.reviews-aggregate {
  text-align: center;
  margin-bottom: 32px;
}
.aggregate-score {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.aggregate-stars { font-size: 1.4rem; color: var(--accent); letter-spacing: 2px; margin-bottom: 4px; }
.aggregate-count { font-size: 0.88rem; color: var(--secondary); }
.reviews-scroll-wrapper { overflow: hidden; }
.reviews-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.review-stars { color: var(--accent); margin-bottom: 10px; font-size: 0.9rem; }
.review-text { font-size: 0.88rem; line-height: 1.6; color: var(--primary); margin-bottom: 14px; font-style: italic; }
.review-author { font-size: 0.8rem; font-weight: 600; color: var(--secondary); }
.review-date { font-size: 0.75rem; color: var(--secondary); opacity: .7; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--primary);
  gap: 16px;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .2s;
  font-weight: 300;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-bottom: 18px;
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.65;
  max-width: 720px;
}
.faq-item.open .faq-answer { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  padding: 56px 0;
  text-align: center;
  color: #fff;
}
.cta-band h2 {
  font-family: 'DM Serif Display', serif;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.cta-band p { color: rgba(255,255,255,.85); max-width: 480px; margin: 0 auto 28px; font-size: 1rem; }
.btn--cta-white {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
}
.btn--cta-white:hover { background: var(--neutral); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--secondary);
  padding: 14px 0 0;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border); }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: rgba(243,232,216,.7);
  padding: 48px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--neutral);
  margin-bottom: 10px;
}
.footer__brand span { color: var(--accent); }
.footer__desc { font-size: 0.85rem; line-height: 1.6; max-width: 240px; }
.footer h4 {
  color: var(--neutral);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; }
.footer__links a:hover { color: var(--neutral); }
.footer__bottom {
  border-top: 1px solid rgba(243,232,216,.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom a:hover { color: var(--neutral); }

/* ---------- GYG widget wrapper ---------- */
.gyg-wrapper {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 28px;
  margin-top: 32px;
}
.gyg-note {
  text-align: center;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--secondary);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(243,232,216,.98);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav__burger { display: flex; }
  .trust-bar__inner { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .trust-item:last-child { border-bottom: none; }
  .two-col, .two-col--wide { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .reviews-scroll { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .film-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; padding-bottom: 48px; }
  .section { padding: 48px 0; }
  .comparison-table { font-size: 0.82rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
}


/* ---------- Film card image ---------- */
.film-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--neutral);
}

/* ---------- Trust bar & fact item icon: SVG sizing ---------- */
.trust-item__icon svg { display: block; width: 24px; height: 24px; }
.fact-item__icon svg { display: block; width: 20px; height: 20px; }
.tip-card__icon svg { display: block; width: 32px; height: 32px; }

/* ---------- Insider Guide section ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.guide-card {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 28px 32px;
}
.guide-card--wide {
  grid-column: 1 / -1;
  background: #6b4c38;
  border-color: #6b4c38;
}
.guide-card.guide-card--wide h3 {
  color: var(--neutral);
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.guide-card--wide .guide-tip {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.guide-card--wide .guide-tip strong {
  color: var(--neutral);
  font-size: 0.82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.guide-card--wide .guide-tip p {
  color: rgba(243,232,216,.72);
  font-size: 0.85rem;
  line-height: 1.6;
}
.guide-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.guide-card p {
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 10px;
}
.guide-card p:last-child { margin-bottom: 0; }
.guide-tips-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.guide-tip strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.guide-tip p {
  font-size: 0.83rem;
  color: var(--secondary);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 768px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-tips-row { grid-template-columns: 1fr; }
  .guide-card--wide { grid-column: 1; }
}

/* ---------- Subpage header ---------- */
.subpage-header {
  background: var(--primary);
  padding: 116px 0 52px;
  position: relative;
  overflow: hidden;
}
.subpage-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/casa-de-pilatos-hero.jpg') center/cover no-repeat;
  opacity: .12;
}
.subpage-header .container { position: relative; }
.breadcrumb-nav {
  font-size: 0.78rem;
  color: rgba(243,232,216,.55);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-nav a { color: rgba(243,232,216,.7); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--neutral); }
.subpage-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--neutral);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
}
.subpage-header__sub {
  font-size: 1rem;
  color: rgba(243,232,216,.72);
  max-width: 560px;
  line-height: 1.6;
}

/* ---------- Price cards ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 36px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
}
.price-card--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 4px 24px rgba(197,106,60,.12);
}
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 99px;
}
.price-card__name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.price-card__amount {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin: 12px 0 4px;
}
.price-card__amount span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 400;
}
.price-card__desc {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 1.55;
  margin: 12px 0 20px;
}
.price-card__includes {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-card__includes li {
  font-size: 0.85rem;
  color: var(--primary);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.4;
}
.price-card__includes li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-card__includes li.no::before {
  content: '—';
  color: var(--border);
  font-weight: 400;
}

/* ---------- Info box ---------- */
.info-box {
  background: var(--neutral);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--secondary);
  line-height: 1.6;
}
.info-box strong { color: var(--primary); }

/* ---------- Hours table ---------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.hours-table td:first-child { color: var(--primary); font-weight: 600; width: 40%; }
.hours-table td:last-child { color: var(--secondary); }
.hours-table tr:last-child td { border-bottom: none; }

/* ---------- Step list ---------- */
.step-list { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(steps);
  background: var(--accent);
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-list strong { display: block; font-size: 0.95rem; color: var(--primary); margin-bottom: 4px; }
.step-list span { font-size: 0.85rem; color: var(--secondary); line-height: 1.55; }

/* ---------- Transport card ---------- */
.transport-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.transport-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.transport-card__icon {
  width: 40px; height: 40px;
  background: var(--neutral);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.transport-card__icon svg { width: 22px; height: 22px; }
.transport-card h3 { font-size: 1rem; margin-bottom: 8px; }
.transport-card p { font-size: 0.85rem; color: var(--secondary); line-height: 1.55; margin: 0; }
.transport-card p + p { margin-top: 6px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px; top: 6px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--surface);
  outline: 2px solid var(--accent);
}
.timeline-item__year {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.timeline-item h3 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; }
.timeline-item p { font-size: 0.87rem; color: var(--secondary); line-height: 1.6; margin: 0; }

/* ---------- Subpage responsive ---------- */
@media (max-width: 768px) {
  .subpage-header h1 { font-size: 1.75rem; }
  .price-grid { grid-template-columns: 1fr; }
  .transport-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2,1fr); }
}
