/* ==========================================================================
   Ruta Global Group: site styles
   Brand palette taken from the official flyer: navy, gold, teal, coral, cream.
   ========================================================================== */

:root {
  --navy: #0b1a2a;
  --navy-2: #11263b;
  --navy-3: #1a3550;
  --gold: #dcab4a;
  --gold-2: #e8bf66;
  --gold-text: #8a6216;      /* gold for text on light backgrounds (AA contrast) */
  --teal: #0b6470;
  --teal-2: #0e7683;
  --teal-dark: #084c55;
  --coral: #cf3f1f;
  --coral-2: #b5351a;
  --cream: #f3ead8;
  --paper: #fbf7ef;
  --line: #e6dcc8;
  --text: #1b2633;
  --muted: #556170;

  --radius: 14px;
  --shadow: 0 2px 4px rgba(11, 26, 42, .06), 0 12px 32px rgba(11, 26, 42, .08);
  --shadow-lg: 0 24px 60px rgba(11, 26, 42, .22);

  --font-head: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  margin: 0 0 .55em; font-family: var(--font-head); font-weight: 700;
  line-height: 1.12; letter-spacing: -.025em; color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
h3 { font-size: 1.22rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0 0 1rem; font: 600 .98rem/1.3 var(--font-head); letter-spacing: -.005em; color: var(--teal);
}
.eyebrow::before {
  content: ""; display: block; width: 44px; height: 4px; margin-bottom: .9rem;
  border-radius: 4px; background: var(--gold);
}
.lead { font-size: clamp(1.1rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 10px; border: 2px solid transparent;
  font: 600 .98rem/1 var(--font-head); letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px rgba(207, 63, 31, .28); }
.btn-primary:hover { background: var(--coral-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cream); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .7rem 1.1rem; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font: 600 .98rem/1.2 var(--font-head); color: var(--teal); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(220, 171, 74, .22); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .8rem; flex: none; color: #fff; text-decoration: none; }
.brand-mark { width: 60px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.12rem/1 var(--font-head); letter-spacing: .02em; text-transform: uppercase; }
.brand-sub { margin-top: 6px; font: 600 .74rem/1 var(--font-head); color: var(--gold); letter-spacing: .01em; }

.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; gap: .2rem; }
.primary-nav a {
  position: relative; display: block; padding: .55rem .8rem;
  font: 500 .95rem/1 var(--font-head); color: rgba(255, 255, 255, .78); text-decoration: none;
  transition: color .2s;
}
.primary-nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -.15rem; height: 3px; border-radius: 3px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a[aria-current="page"]::after, .primary-nav a:hover::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: .7rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .85rem;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px;
  font: 600 .86rem/1 var(--font-head); color: #fff; text-decoration: none; transition: border-color .2s, background .2s;
}
.lang-switch .icon { width: 16px; height: 16px; color: var(--gold); }
.lang-switch:hover { border-color: var(--gold); background: rgba(255, 255, 255, .05); }
.lang-short { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px; cursor: pointer;
}
.nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, background .2s;
}
.nav-toggle .bar { position: relative; }
.nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }
.nav-open .nav-toggle .bar { background: transparent; }
.nav-open .nav-toggle .bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    url("../img/mountains.svg") left bottom / min(620px, 70%) auto no-repeat,
    var(--navy);
  padding: clamp(48px, 7vw, 88px) 0 clamp(110px, 12vw, 150px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-tag { margin: 0 0 1.4rem; font: 600 1rem/1.4 var(--font-head); color: var(--gold); }
.hero-tag::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 1rem; border-radius: 3px; background: var(--teal-2); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.3vw, 3.45rem); margin-bottom: 1.4rem; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--gold); }
.hero .lead { color: rgba(255, 255, 255, .8); }
.hero-contact { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2.2rem; list-style: none; }
.hero-contact a { display: inline-flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; }
.hero-contact .dot {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
}
.hero-contact .dot .icon { width: 20px; height: 20px; }
.hero-contact .phone { font: 700 1.45rem/1 var(--font-head); letter-spacing: -.01em; }
.hero-contact .mail { font-weight: 500; overflow-wrap: anywhere; }
.hero-contact a:hover .phone, .hero-contact a:hover .mail { color: var(--gold-2); }

.hero-art { position: relative; min-height: 500px; }
.hero-panel {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 240px 22px 22px 22px; background: var(--cream);
  box-shadow: var(--shadow-lg);
}
.hero-road { position: absolute; right: -6%; top: 4%; width: 58%; }
.hero-folder { position: absolute; left: 12%; top: 9%; width: 54%; filter: drop-shadow(0 14px 22px rgba(11, 26, 42, .18)); }
.hero-forms { position: absolute; left: 7%; right: 7%; bottom: 7%; list-style: none; display: grid; gap: 10px; }
.hero-forms li {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 10px;
  background: var(--teal); color: #fff; font: 500 1rem/1.2 var(--font-head); box-shadow: 0 6px 14px rgba(8, 76, 85, .25);
}
.hero-forms b { min-width: 58px; color: var(--gold-2); font-weight: 700; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    url("../img/road.png") right max(var(--gutter), calc((100% - var(--container)) / 2)) bottom -30px / 230px auto no-repeat,
    url("../img/mountains.svg") left bottom / min(520px, 65%) auto no-repeat,
    var(--navy);
  padding: clamp(52px, 7vw, 92px) 0 clamp(96px, 10vw, 130px);
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: #fff; max-width: 15em; }
.page-hero .lead { margin: 0; color: rgba(255, 255, 255, .8); }
.page-hero .updated { color: rgba(255, 255, 255, .7); margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(68px, 8vw, 112px) 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, .8); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--gold); }
.section-tight { padding-top: 0; }
.section-head { max-width: 700px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 1.1rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; max-width: none; }
.section-head-row > div { max-width: 640px; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split h2 { margin: 0; }
.prose p { color: var(--muted); }
.prose p.big { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--text); font-weight: 500; }
.prose > :last-child { margin-bottom: 0; }

/* Intro band on home: navy number-free statement with folder art */
.intro-band { position: relative; }

/* ---------- Service tiles (flyer style) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px;
  border-radius: 12px; background: var(--teal); color: #fff; text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.tile:hover { background: var(--teal-2); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(8, 76, 85, .28); }
.tile-icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-right: 1px solid rgba(255, 255, 255, .25); padding-right: 18px; box-sizing: content-box; }
.tile-icon .icon { width: 40px; height: 40px; stroke-width: 1.3; }
.tile strong { display: block; margin-bottom: .2rem; font: 700 1.14rem/1.25 var(--font-head); letter-spacing: -.01em; }
.tile span span { display: block; color: rgba(255, 255, 255, .86); font-size: .98rem; line-height: 1.45; }
.tile-cta { background: var(--coral); }
.tile-cta:hover { background: var(--coral-2); box-shadow: 0 12px 26px rgba(181, 53, 26, .3); }
.tile-cta .tile-icon { border: 0; padding: 0; width: 58px; height: 58px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.tile-cta .tile-icon .icon { width: 28px; height: 28px; }
.tile-cta strong { font-size: 1.3rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px);
  background: #fff; border-radius: var(--radius); border-top: 4px solid var(--gold);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; }
.icon-wrap {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.4rem;
  border-radius: 50%; background: var(--gold); color: var(--navy);
}
.icon-wrap .icon { width: 26px; height: 26px; }

/* ---------- Features (why choose us) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px); }
.feature { position: relative; padding-left: 74px; }
.feature > .icon {
  position: absolute; left: 0; top: 0; width: 54px; height: 54px; padding: 14px; box-sizing: border-box;
  border-radius: 50%; background: var(--navy); color: var(--gold);
}
.feature h3 { font-size: 1.15rem; margin: .35rem 0 .4rem; }
.feature p { margin: 0; color: var(--muted); }

/* ---------- Steps (a road through the process) ---------- */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 0;
  border-top: 3px dashed rgba(220, 171, 74, .65);
}
.step { position: relative; }
.step-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.3rem;
  border-radius: 50%; background: var(--gold); color: var(--navy);
  font: 700 1.05rem/1 var(--font-head); box-shadow: 0 0 0 8px var(--cream);
}
.section-navy .step-num { box-shadow: 0 0 0 8px var(--navy); }
.step h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.step p { margin: 0; color: var(--muted); }
.section-navy .step p { color: rgba(255, 255, 255, .74); }

/* ---------- Values ---------- */
.values { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.values li { padding: 30px; border-radius: var(--radius); background: var(--teal); color: rgba(255, 255, 255, .86); }
.values h3 { color: #fff; font-size: 1.35rem; }
.values h3::before { content: ""; display: block; width: 36px; height: 4px; margin-bottom: 1rem; border-radius: 4px; background: var(--gold); }
.values p { margin: 0; }

/* ---------- Notice (flyer-style disclaimer box) ---------- */
.notice {
  display: flex; gap: 1.1rem; align-items: center;
  padding: 22px 26px; border: 1.5px solid var(--gold); border-radius: 8px;
  background: var(--navy); color: rgba(255, 255, 255, .86); font-size: .98rem;
}
.notice .icon { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.5; }
.notice p { margin: 0; }
.notice strong { color: #fff; }
.notice a { color: var(--gold-2); font-weight: 600; }

/* ---------- CTA band (coral, like "Programe su cita") ---------- */
.cta-band { background: var(--coral); color: #fff; }
.cta-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px 36px; align-items: center; padding: clamp(48px, 6vw, 72px) 0; }
.cta-inner::before {
  content: ""; width: 84px; height: 84px; border-radius: 50%; box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, .9);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M8 14h.01M12 14h.01M16 14h.01M8 17h.01M12 17h.01'/%3E%3C/svg%3E") center / 40px no-repeat;
}
.cta-band .eyebrow { display: none; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 36em; }
.cta-band .btn-row { margin: 0; justify-content: flex-end; }
.cta-band .btn-light { color: var(--coral-2); }
.cta-band .btn-ghost-light { border-color: rgba(255, 255, 255, .7); }

/* ---------- Services page ---------- */
.service-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.service-nav a {
  padding: .6rem 1rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3);
  font: 500 .9rem/1 var(--font-head); color: #fff; text-decoration: none; transition: border-color .2s, background .2s;
}
.service-nav a:hover { border-color: var(--gold); background: rgba(255, 255, 255, .06); }

.service-block {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px); padding: clamp(60px, 7vw, 96px) 0; border-bottom: 1px solid var(--line);
}
.service-block:last-of-type { border-bottom: 0; }
.service-label { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.service-label .icon-wrap { width: 72px; height: 72px; border-radius: 16px; background: var(--teal); color: #fff; }
.service-label .icon-wrap .icon { width: 36px; height: 36px; stroke-width: 1.4; }
.service-index { display: inline-block; margin-bottom: .8rem; padding: .3rem .7rem; border-radius: 6px; background: var(--gold); color: var(--navy); font: 700 .8rem/1 var(--font-head); }
.service-label h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.service-body > p { color: var(--muted); }
.service-body > p:first-child { font-size: 1.18rem; color: var(--text); font-weight: 500; }
.subhead { margin: 2.2rem 0 1rem; font: 700 1rem/1.2 var(--font-head); color: var(--teal); }
.check-list { list-style: none; display: grid; gap: .75rem; margin: 0 0 1.5rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list .icon { width: 24px; height: 24px; padding: 5px; margin-top: 1px; border-radius: 50%; background: var(--gold); color: var(--navy); stroke-width: 2.6; }
.check-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2rem; }
.form-list { list-style: none; display: grid; gap: 10px; margin: 0 0 1.5rem; }
.form-list li { display: flex; gap: 1rem; align-items: center; padding: 16px 20px; border-radius: 10px; background: var(--teal); color: #fff; }
.form-list .form-code { flex: none; min-width: 70px; font: 700 1.02rem/1 var(--font-head); color: var(--gold-2); }
.form-list span:last-child { color: rgba(255, 255, 255, .9); }
.service-body .notice { margin-top: 1.5rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 12px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font: 600 clamp(1.05rem, 1.5vw, 1.18rem)/1.35 var(--font-head); color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 2px 12px no-repeat,
    var(--gold);
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--teal); }
.faq-answer { padding: 0 26px 24px; color: var(--muted); }
.faq-answer a { color: var(--teal); font-weight: 600; }
.faq-answer ul, .faq-answer ol { padding-left: 1.25rem; margin: 0 0 1em; }
.faq-answer li { margin-bottom: .35em; }
.faq-answer > :last-child { margin-bottom: 0; }
.aside-card { position: sticky; top: calc(var(--header-h) + 32px); padding: 32px; border-radius: var(--radius); background: var(--teal); color: rgba(255, 255, 255, .86); }
.aside-card h2 { color: #fff; font-size: 1.45rem; }
.aside-card .btn { width: 100%; margin-top: .6rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-methods { list-style: none; display: grid; gap: 12px; margin: 1.5rem 0 2rem; }
.contact-method {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  border-radius: 12px; background: #fff; box-shadow: var(--shadow); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.contact-method:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.contact-method .icon-wrap { width: 50px; height: 50px; margin: 0; }
.contact-method .icon-wrap .icon { width: 22px; height: 22px; }
.contact-method small { display: block; font: 600 .8rem/1.2 var(--font-head); color: var(--teal); }
.contact-method .value { display: block; font: 700 1.05rem/1.3 var(--font-head); color: var(--navy); overflow-wrap: anywhere; }
.contact-method.whatsapp .icon-wrap { background: #25d366; color: #fff; }

.form-card { padding: clamp(26px, 4vw, 44px); border-radius: 18px; background: #fff; border-top: 6px solid var(--teal); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.55rem, 2.3vw, 1.95rem); margin-bottom: .3em; }
.form-card > p { margin-bottom: 1.8rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field legend { padding: 0; font: 600 .92rem/1.3 var(--font-head); color: var(--navy); }
.field legend { margin-bottom: 8px; }
.req { color: var(--coral); }
fieldset.field { border: 0; margin: 0; padding: 0; }
input, select, textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(11, 100, 112, .18); }
textarea { min-height: 150px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
  font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s;
}
.choice input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--teal); }
.choice:has(input:checked) { border-color: var(--teal); background: #eef6f6; }
.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; padding: 0; flex: none; accent-color: var(--teal); }
.consent a { color: var(--teal); font-weight: 600; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.form-foot small { color: var(--muted); max-width: 26em; }
.form-status:empty { display: none; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--cream); font-size: .96rem; }
.form-status.is-success { background: #e3f1ec; color: #134b3a; }
.form-status.is-error { background: #fbe6e1; color: #7f2412; }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.4rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.25rem; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--teal); font-weight: 600; }
.updated { color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: .96rem; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.25fr 1.25fr; gap: 40px; padding: clamp(56px, 7vw, 80px) 0 44px; }
.footer-brand .brand-mark { width: 76px; }
.footer-brand p { margin: 1.3rem 0 1.5rem; max-width: 30em; }
.footer-h { margin-bottom: 1.1rem; font: 700 1rem/1.2 var(--font-head); color: var(--gold); letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: .65rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .primary-nav a::after { display: none; }
.footer-contact a { display: inline-flex; align-items: center; gap: .65rem; overflow-wrap: anywhere; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy); }
.social a:hover { background: var(--gold-2); color: var(--navy); }
.social .icon { width: 19px; height: 19px; }
.footer-legal { padding: 28px 0 40px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: rgba(255, 255, 255, .6); }
.footer-legal strong { color: rgba(255, 255, 255, .88); }
.notary-notice { font-size: .8rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 22px; }

/* ---------- WhatsApp button ---------- */
.whatsapp-fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 40;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s, opacity .2s;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab .icon { width: 32px; height: 32px; }
.fab-label {
  position: absolute; right: calc(100% + 12px); padding: .5rem .8rem; border-radius: 8px;
  background: var(--navy); color: #fff; font: 500 .86rem/1.2 var(--font-head); white-space: nowrap;
  opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.whatsapp-fab:hover .fab-label, .whatsapp-fab:focus-visible .fab-label { opacity: 1; transform: none; }
body.no-scroll .whatsapp-fab { opacity: 0; pointer-events: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .primary-nav a { padding: .55rem .55rem; }
  .primary-nav a::after { left: .55rem; right: .55rem; }
  .header-inner { gap: 1.2rem; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; display: none; flex-direction: column;
    overflow-y: auto; padding: 12px var(--gutter) 40px; background: var(--navy);
  }
  .site-header.nav-open .primary-nav { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: 1.05rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 1.35rem; font-weight: 600; color: #fff; }
  .primary-nav a::after { display: none; }
  .primary-nav a[aria-current="page"] { color: var(--gold); }
  .nav-mobile-extra { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
  .nav-mobile-extra .btn-outline { border-color: rgba(255, 255, 255, .45); color: #fff; }

  .hero-grid, .split, .contact-layout, .faq-layout, .service-block { grid-template-columns: minmax(0, 1fr); }
  .hero-art { min-height: 460px; max-width: 560px; width: 100%; }
  .tiles, .card-grid.three, .values { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .service-label, .aside-card { position: static; }
  .cta-inner { grid-template-columns: auto minmax(0, 1fr); }
  .cta-band .btn-row { grid-column: 1 / -1; justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  body { font-size: 1rem; }
  .brand-mark { width: 48px; }
  .brand-name { font-size: .98rem; }
  .brand-sub { font-size: .68rem; }
  .lang-long { display: none; }
  .lang-short { display: inline; }
  .hero-art { min-height: 400px; }
  .hero-panel { border-radius: 160px 18px 18px 18px; }
  .hero-folder { width: 46%; top: 7%; }
  .hero { background-size: 100% auto, auto; }
  .hero-forms li { padding: 12px 14px; font-size: .92rem; }
  .feature-grid, .steps, .form-grid, .check-list.two-col, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 18px; gap: 16px; }
  .tile-icon { width: 44px; height: 44px; padding-right: 14px; }
  .tile-icon .icon { width: 32px; height: 32px; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-inner::before { width: 68px; height: 68px; background-size: 32px; }
  .btn-row .btn { flex: 1 1 auto; }
  .form-foot .btn { width: 100%; }
  .page-hero { background-size: 150px auto, min(420px, 90%) auto, auto; }
}

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

@media print {
  .site-header, .whatsapp-fab, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
