/* =========================================================================
   Castello Malicas — style.css
   Design system Royaletiger · dimora storica di charme a Galtellì (Sardegna)
   Palette dedotta dal logo: terracotta/ocra + azzurro cielo su pietra crema
   ========================================================================= */

/* -------- Font self-hosted (nessun terzo → niente cookie banner) -------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

/* ------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------------------------- Design tokens ---------------------------- */
:root {
  /* palette brand */
  --brand: #b26a28;         /* terracotta principale */
  --brand-dark: #8a4e1c;    /* terracotta scuro (hover / testi accento) */
  --brand-cta: #a85e22;     /* bg bottoni (AA con bianco) */
  --ocra: #d4852b;          /* ocra del logo (eyebrow, filetti) */
  --sky: #a9c7f0;           /* azzurro cielo del logo (decorativo) */
  --sky-deep: #6f9bd4;

  /* inchiostri / neutri */
  --ink: #2b2117;           /* titoli */
  --text: #4c4235;          /* corpo */
  --muted: #8a7f70;         /* testo secondario */
  --bg: #fbf7f0;            /* crema calda */
  --bg-alt: #f3ebdd;        /* sabbia */
  --bg-warm: #efe4d2;
  --bg-dark: #241b12;       /* marrone scurissimo (sezioni dark) */
  --bg-dark-2: #31261a;
  --line: #e7dccc;          /* filetti / bordi */
  --line-dark: rgba(251,247,240,.16);

  /* tipografia */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* sistema */
  --shadow-sm: 0 1px 2px rgba(43,33,23,.06), 0 2px 8px rgba(43,33,23,.05);
  --shadow-md: 0 6px 22px rgba(43,33,23,.10);
  --shadow-lg: 0 22px 60px rgba(43,33,23,.20);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --container: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ------------------------------- Base ---------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.02rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .04em; }
p { color: var(--text); }
strong { color: var(--ink); font-weight: 600; }

/* --------------------------- Layout helpers ---------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding: clamp(3.6rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2.6rem, 5vw, 4rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-warm { background: var(--bg-warm); }
.section-dark { background: var(--bg-dark); color: #e9e0d4; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fbf7f0; }
.section-dark p { color: #cfc4b5; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center.section-head { margin-inline: auto; }

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--ocra); display: inline-block; }
.center .eyebrow::after { content: ""; width: 30px; height: 1px; background: var(--ocra); display: inline-block; }
.section-dark .eyebrow { color: var(--ocra); }

.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: .8rem; }
.section-head.center { margin-left: auto; margin-right: auto; }

.lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--text); line-height: 1.6; }

/* ------------------------------ Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.7rem; border-radius: 100px;
  font-family: var(--font-body); font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand-cta); color: #fff; box-shadow: 0 8px 20px rgba(168,94,34,.28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(138,78,28,.34); }
.btn-outline { background: transparent; color: var(--brand-dark); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); background: rgba(178,106,40,.06); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--bg-alt); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fbf7f0; border-color: var(--line-dark); }
.btn-ghost-light:hover { background: rgba(251,247,240,.1); border-color: rgba(251,247,240,.4); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--brand-dark); font-weight: 600; font-size: .96rem;
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------- Header -------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(251,247,240,0);
  transition: background .4s var(--ease), box-shadow .4s, height .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(251,247,240,.94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 4px 22px rgba(43,33,23,.07);
  border-bottom-color: var(--line);
  height: 66px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }

.nav-brand { display: flex; align-items: center; gap: .6rem; }
.nav-brand img { width: 42px; height: 42px; transition: width .4s, height .4s; }
.scrolled .nav-brand img { width: 38px; height: 38px; }
.nav-brand .brand-word { display: flex; flex-direction: column; line-height: 1; }
.nav-brand .brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.32rem;
  color: var(--ink); letter-spacing: .3px;
}
.nav-brand .brand-sub {
  font-family: var(--font-body); font-size: .58rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--brand); margin-top: 3px;
}
/* header trasparente su hero scuro: testo chiaro finché non si scrolla */
.header-over-hero:not(.scrolled) .brand-name { color: #fff; }
.header-over-hero:not(.scrolled) .brand-sub { color: var(--ocra); }
.header-over-hero:not(.scrolled) .nav-links > li > a { color: #f3ece1; }
.header-over-hero:not(.scrolled) .nav-toggle span { background: #fff; }

/* navigazione */
.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .5rem .78rem; border-radius: 8px;
  font-size: .94rem; font-weight: 500; color: var(--text);
  transition: color .25s;
}
.nav-links > li > a:hover { color: var(--brand-dark); }
.nav-links > li > a[aria-current="page"] { color: var(--brand-dark); font-weight: 600; }
.nav-links > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: .78rem; right: .78rem; bottom: 2px; height: 2px;
  background: var(--ocra); border-radius: 2px;
}
.nav-cta { margin-left: .5rem; }
.nav-cta.btn { padding: .6rem 1.3rem; font-size: .9rem; }

/* dropdown */
.has-drop > .drop-toggle { background: none; border: none; }
.drop-caret { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.has-drop.is-open .drop-caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .5rem; opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), transform .28s var(--ease);
  z-index: 20;
}
.drop-menu li a {
  display: block; padding: .62rem .8rem; border-radius: 9px;
  font-size: .92rem; color: var(--text); transition: background .2s, color .2s;
}
.drop-menu li a small { display: block; color: var(--muted); font-size: .76rem; font-weight: 400; margin-top: 1px; }
.drop-menu li a:hover { background: var(--bg-alt); color: var(--brand-dark); }
.has-drop:hover .drop-menu,
.has-drop.is-open .drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* hamburger */
.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: none; position: relative; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ------------------------------- Hero ---------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fbf7f0; padding-bottom: clamp(3rem, 7vw, 6rem); padding-top: calc(var(--nav-h) + 2rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,14,8,.34) 0%, rgba(20,14,8,0) 30%, rgba(20,14,8,.18) 60%, rgba(20,14,8,.82) 100%),
    linear-gradient(90deg, rgba(20,14,8,.5) 0%, rgba(20,14,8,0) 62%);
}
.hero .eyebrow { color: #f0d9b6; }
.hero .eyebrow::before, .hero .center .eyebrow::after { background: var(--ocra); }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); max-width: 15ch; }
.hero .lead { color: #f0e9dd; max-width: 46ch; margin-top: 1.2rem; text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2.6rem; }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge b { font-family: var(--font-display); font-size: 1.9rem; color: #fff; line-height: 1; }
.hero-badge span { font-size: .82rem; color: #e7dcca; letter-spacing: .04em; margin-top: .35rem; }
.hero-scroll {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #e7dcca;
  display: flex; flex-direction: column; align-items: center; gap: .5rem; opacity: .85;
}
.hero-scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(#e7dcca, transparent); animation: scrollpulse 2.2s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* hero interno (pagine) */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + clamp(3rem,7vw,5.5rem)) 0 clamp(2.6rem,5vw,4rem);
  color: #fbf7f0; overflow: hidden; display: flex; align-items: flex-end; min-height: 52vh;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,14,8,.44) 0%, rgba(20,14,8,.2) 45%, rgba(20,14,8,.8) 100%);
}
.page-hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); max-width: 20ch; }
.page-hero .lead { color: #f0e9dd; max-width: 54ch; margin-top: 1rem; }

/* breadcrumb */
.breadcrumb { font-size: .84rem; color: #e7dcca; margin-bottom: 1.1rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: #e7dcca; opacity: .85; }
.breadcrumb a:hover { opacity: 1; color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: #fff; opacity: 1; }
/* breadcrumb su sfondo chiaro */
.crumb-light { color: var(--muted); }
.crumb-light a { color: var(--muted); }
.crumb-light a:hover { color: var(--brand-dark); }
.crumb-light [aria-current] { color: var(--ink); }

/* ------------------------------ Grids ---------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------- Feature / value cards ----------------------- */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.6vw, 2.2rem); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #e0d2be; }
.feature .ficon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, #f7ecda, #efdcc2); color: var(--brand-dark); margin-bottom: 1.2rem;
}
.feature .ficon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .98rem; }

/* --------------------------- Split (about) ----------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-media.stack { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.split-media.stack img:first-child { grid-row: 1 / 3; height: 100%; object-fit: cover; }
.split-body p + p { margin-top: 1rem; }
.split-body .btn, .split-body .link-arrow { margin-top: 1.6rem; }
.tick-list { margin-top: 1.4rem; display: grid; gap: .7rem; }
.tick-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); }
.tick-list li svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }

/* media decorata con cornice ocra */
.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--ocra);
  border-radius: var(--radius-lg); z-index: -1; opacity: .5;
}

/* ------------------------------ Rooms ---------------------------------- */
.room-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
  display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.room-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room-card:hover .room-media img { transform: scale(1.05); }
.room-tag {
  position: absolute; top: .9rem; left: .9rem; background: rgba(251,247,240,.94);
  color: var(--brand-dark); font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  padding: .32rem .7rem; border-radius: 100px; backdrop-filter: blur(4px);
}
.room-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { margin-bottom: .4rem; }
.room-body p { color: var(--muted); font-size: .95rem; }
.room-feat { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.2rem; }
.room-feat li { font-size: .8rem; color: var(--text); background: var(--bg-alt); padding: .3rem .7rem; border-radius: 8px; }
.room-body .link-arrow { margin-top: auto; }

/* ------------------------------ Gallery -------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; grid-auto-flow: dense; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; aspect-ratio: 1; }
.gallery a.tall { grid-row: span 2; aspect-ratio: 1/2; }
.gallery a.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after {
  content: ""; position: absolute; inset: 0; background: rgba(20,14,8,.12); opacity: 0; transition: opacity .3s;
}
.gallery a:hover::after { opacity: 1; }

/* ------------------------- Stat / counters ----------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat { text-align: center; padding: 1.2rem .5rem; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--brand-dark); line-height: 1; }
.section-dark .stat b { color: var(--ocra); }
.stat span { display: block; font-size: .88rem; color: var(--muted); margin-top: .5rem; letter-spacing: .02em; }
.section-dark .stat span { color: #cfc4b5; }

/* --------------------------- Testimonials ------------------------------ */
.quote-wrap { max-width: 860px; margin-inline: auto; text-align: center; }
.quote-mark { font-family: var(--font-display); font-size: 5rem; line-height: .5; color: var(--ocra); opacity: .5; }
.quote-text { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; color: var(--ink); font-style: italic; margin: .5rem 0 1.4rem; }
.section-dark .quote-text { color: #fbf7f0; }
.quote-author { font-weight: 600; color: var(--brand-dark); }
.quote-author span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: .2rem; }
.section-dark .quote-author { color: var(--ocra); }
.section-dark .quote-author span { color: #cfc4b5; }

/* stelle */
.stars { display: inline-flex; gap: 3px; color: var(--ocra); margin-bottom: 1rem; }
.stars svg { width: 20px; height: 20px; }

/* review cards */
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.review-card .stars svg { width: 17px; height: 17px; }
.review-card p { font-style: italic; color: var(--text); }
.review-meta { margin-top: 1.1rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.review-meta span { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }

/* --------------------------- Blog cards -------------------------------- */
.post-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-media { aspect-ratio: 16/10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }
.post-body h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.post-body h3 a:hover { color: var(--brand-dark); }
.post-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-body .link-arrow { margin-top: 1.1rem; }
.post-date { font-size: .8rem; color: var(--muted); margin-top: .8rem; }

/* --------------------------- CTA banner -------------------------------- */
.cta-band { position: relative; overflow: hidden; color: #fbf7f0; text-align: center; }
.cta-band-media { position: absolute; inset: 0; z-index: -2; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(36,27,18,.9), rgba(36,27,18,.66)); }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: #e7dcca; max-width: 52ch; margin: 1rem auto 0; }
.cta-band .hero-cta { justify-content: center; margin-top: 2rem; }

/* ------------------------------ Article -------------------------------- */
.article { max-width: 760px; margin-inline: auto; }
.article > * + * { margin-top: 1.15rem; }
.article h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 2.6rem; }
.article h3 { margin-top: 1.8rem; }
.article p { color: var(--text); }
.article ul, .article ol { padding-left: 1.3rem; display: grid; gap: .5rem; }
.article ul li { list-style: disc; } .article ol li { list-style: decimal; }
.article img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 1.8rem 0; }
.article .lead-in { font-size: 1.2rem; color: var(--ink); font-family: var(--font-display); line-height: 1.5; }
.article blockquote {
  border-left: 3px solid var(--ocra); padding: .4rem 0 .4rem 1.4rem; margin: 1.8rem 0;
  font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--ink);
}
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; color: var(--muted); font-size: .9rem; margin-top: 1.2rem; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.tag-pill { background: var(--bg-alt); color: var(--brand-dark); font-size: .8rem; font-weight: 600; padding: .3rem .8rem; border-radius: 100px; }

/* box informativo */
.info-box { background: var(--bg-alt); border-radius: var(--radius); padding: 1.4rem 1.6rem; border-left: 3px solid var(--ocra); }
.info-box h4 { margin-bottom: .5rem; color: var(--brand-dark); }

/* --------------------------------- FAQ --------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 1.3rem 2.4rem 1.3rem 0;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--brand); transition: transform .3s var(--ease); font-family: var(--font-body);
}
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 0 1.4rem; color: var(--muted); }

/* ------------------------------- Forms --------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .96rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .78rem .9rem; width: 100%;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(178,106,40,.12);
}
.field-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: var(--muted); margin-bottom: 1.2rem; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.field-check a { color: var(--brand-dark); text-decoration: underline; }
.form-status { min-height: 1.3rem; font-size: .9rem; color: var(--brand-dark); margin-top: .3rem; }

/* contact info list */
.contact-list { display: grid; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ci-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(150deg,#f7ecda,#efdcc2); color: var(--brand-dark); display: grid; place-items: center; flex: none; }
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item h4 { margin-bottom: .2rem; color: var(--ink); }
.contact-item p, .contact-item a { color: var(--muted); font-size: .96rem; }
.contact-item a:hover { color: var(--brand-dark); }
.map-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: .3rem; font-weight: 600; color: var(--brand-dark); font-size: .92rem; }
.map-link:hover { color: var(--brand); }

/* ------------------------------ Footer --------------------------------- */
.site-footer { background: var(--bg-dark); color: #cfc4b5; padding: clamp(3rem, 6vw, 5rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.4rem; padding-bottom: 3rem; }
.footer-brand-row { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer-brand-row img { width: 46px; height: 46px; }
.footer-brand-row b { font-family: var(--font-display); font-size: 1.4rem; color: #fbf7f0; }
.footer-col p { color: #b6a992; font-size: .94rem; }
.footer-col h4 { color: #fbf7f0; margin-bottom: 1.1rem; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col ul a { color: #c3b7a2; font-size: .94rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--ocra); }
.footer-contact li { display: flex; gap: .6rem; color: #c3b7a2; font-size: .94rem; margin-bottom: .6rem; align-items: flex-start; }
.footer-contact li svg { width: 17px; height: 17px; color: var(--ocra); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #cfc4b5; transition: background .25s, color .25s, border-color .25s; }
.footer-social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding: 1.5rem 0; display: flex; flex-wrap: wrap;
  gap: .8rem 1.5rem; justify-content: space-between; align-items: center; font-size: .84rem; color: #9d917c;
}
.footer-bottom a { color: #b6a992; } .footer-bottom a:hover { color: var(--ocra); }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-credit a { color: var(--ocra); font-weight: 600; }

/* ------------------------- Reveal animation ---------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ------------------------------ Utility -------------------------------- */
.mt-0 { margin-top: 0; } .text-muted { color: var(--muted); }
.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--brand-dark); background: var(--bg-alt); padding: .4rem .85rem; border-radius: 100px; font-weight: 500; }
.badge svg { width: 15px; height: 15px; }
.divider-mark { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--ocra); margin: 0 auto; }
.divider-mark::before, .divider-mark::after { content: ""; height: 1px; width: 60px; background: var(--line); }

/* ============================= Responsive ============================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .2rem;
    background: var(--bg); padding: calc(var(--nav-h) + 1rem) 1.4rem 2rem;
    box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .4s var(--ease);
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .header-over-hero:not(.scrolled) .nav-links > li > a:not(.nav-cta) { color: var(--text); }
  .nav-links > li > a { padding: .85rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta.btn { color: #fff; }
  .nav-links > li > a[aria-current="page"]::after { display: none; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta.btn { width: 100%; padding: .9rem; font-size: 1rem; }
  .drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    background: transparent; border: none; border-radius: 0; padding: 0 0 0 .8rem; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .has-drop:hover .drop-menu { max-height: 0; }
  .has-drop.is-open .drop-menu { max-height: 420px; padding-bottom: .4rem; }
  .drop-menu li a { border-bottom: none; padding: .7rem .6rem; font-size: .98rem; }
  .drop-menu li a small { font-size: .78rem; }
  .drop-toggle { width: 100%; justify-content: space-between; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery a.wide { grid-column: span 2; }
  .hero { min-height: 90svh; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split-media.stack { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-badges { gap: 1.2rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .brand-sub { display: none; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
