/* ============================================================
   Santos Chipembere Advocacia — folha de estilo principal
   ============================================================ */
:root {
  --navy-900: #070d1f;
  --navy-800: #0b132b;
  --navy-700: #14203f;
  --navy-600: #1f2d52;
  --gold: #b08d57;
  --gold-600: #9a7b4f;
  --gold-200: #e7d8bd;
  --red: #c4121a;
  --ink: #1a1f2e;
  --muted: #5b6275;
  --line: #e6e2da;
  --paper: #faf8f4;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(11, 19, 43, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.05rem; }
em { font-style: italic; color: var(--gold); }
p { margin: 0; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.fill { fill: currentColor; stroke: none; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-800); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans); cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: #c4a26b; box-shadow: 0 10px 30px -10px rgba(176, 141, 87, .7); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--wa { background: #1f9d55; color: #fff; }
.btn--wa:hover { background: #22b35f; transform: translateY(-2px); }
.btn--wa:hover svg { transform: none; }
.btn--sm { padding: 11px 20px; font-size: .85rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0; color: var(--white);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .96); color: var(--navy-800);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 10px 0; box-shadow: 0 10px 30px -18px rgba(11,19,43,.35);
}
.nav.is-scrolled .nav__toggle span { background: var(--navy-800); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: .9rem; white-space: nowrap; }
.nav__links a:not(.btn) { position: relative; opacity: .85; transition: opacity .2s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* Logótipo SC (reprodução do logótipo oficial) */
.brand { display: flex; align-items: center; gap: 14px; color: var(--white); flex-shrink: 0; }
.brand__mark {
  display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--red); color: #fff; font: 600 1.55rem/1 "Playfair Display", Georgia, serif;
}
.brand__mark span:first-child { transform: translateY(-2px); }
.brand__mark span:last-child { margin-left: -.14em; transform: translateY(3px); }
.brand__bar { width: 1.5px; height: 42px; background: var(--red); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; font-family: "Montserrat", var(--sans); }
.brand__text strong { font-size: 1.12rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.brand__text small { font-size: .5rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin-top: 5px; opacity: .75; }
.nav.is-scrolled .brand__text { color: var(--red); }
.nav.is-scrolled .brand__text small { opacity: 1; }
.brand__img { height: 50px; width: auto; }
.brand__img--dark, .nav.is-scrolled .brand__img--light { display: none; }
.nav.is-scrolled .brand__img--dark { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-800); color: var(--white);
  padding: 150px 0 110px; min-height: 100vh; display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 85% 20%, rgba(176,141,87,.18), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(179,38,43,.12), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero__watermark {
  position: absolute; right: -4vw; top: 50%; transform: translateY(-50%);
  font: 600 clamp(18rem, 42vw, 40rem)/1 "Playfair Display", Georgia, serif; letter-spacing: -.12em;
  color: rgba(196, 18, 26, .07); pointer-events: none; user-select: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 600; margin-bottom: 26px; }
.hero__lead { font-size: 1.12rem; color: rgba(255,255,255,.75); max-width: 560px; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; font-size: .88rem; color: rgba(255,255,255,.7); }
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust svg { color: var(--gold); }

.hero__photo { position: relative; margin: 0; }
.hero__photo::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px;
  border: 1px solid rgba(176,141,87,.5); border-radius: calc(var(--radius) + 6px);
}
.hero__photo img {
  position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%;
  border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.hero__photo figcaption {
  position: absolute; left: -28px; bottom: 36px;
  background: var(--white); color: var(--navy-800);
  padding: 16px 22px; border-radius: 12px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border-left: 3px solid var(--gold);
}
.hero__photo figcaption strong { font: 700 1.25rem var(--serif); }
.hero__photo figcaption span { font-size: .8rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { padding: 46px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 30%; height: 40%; width: 1px; background: var(--line); }
.stat__num { display: block; font: 700 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); color: var(--navy-800); margin-bottom: 10px; }
.stat__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--alt { background: var(--white); }
.section__head { max-width: 720px; margin-bottom: 60px; }
.section__head h2 { margin-bottom: 18px; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.section__head--center { text-align: center; margin-inline: auto; }

/* Escritório */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__badge {
  position: absolute; right: -24px; bottom: 40px;
  background: var(--navy-800); color: var(--white); padding: 22px 26px; border-radius: 12px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.split__badge span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.split__badge strong { font: 600 1.4rem var(--serif); }
.split__copy h2 { margin-bottom: 24px; }
.split__copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-bottom: 40px; }
.pillars { display: grid; gap: 26px; }
.pillar { display: flex; gap: 18px; }
.pillar__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(176,141,87,.12); color: var(--gold-600);
}
.pillar h3 { margin-bottom: 4px; }
.pillar p { color: var(--muted); font-size: .95rem; }

/* Quote */
.quote {
  background: var(--navy-800); color: var(--white); padding: 110px 0; text-align: center;
  background-image: radial-gradient(700px 300px at 50% 0%, rgba(176,141,87,.15), transparent 70%);
}
.quote blockquote { margin: 0 auto; max-width: 900px; font: 500 clamp(1.8rem, 3.6vw, 2.8rem)/1.3 var(--serif); }

/* Áreas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 26px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy-800);
  transition: border-color .3s, box-shadow .35s var(--ease), background .3s, transform .35s var(--ease);
}
.area::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.area:hover { background: var(--white); border-color: var(--gold-200); box-shadow: var(--shadow); transform: translateY(-4px); }
.area:hover::after { transform: scaleX(1); }
.area h3 { font-size: 1.12rem; line-height: 1.3; }
.area p {
  color: var(--muted); font-size: .92rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.area__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  background: var(--navy-800); color: var(--gold); transition: background .3s, color .3s;
}
.area__icon svg { width: 22px; height: 22px; }
.area:hover .area__icon { background: var(--gold); color: var(--navy-800); }
.area__more { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--gold-600); }
.area__more svg { transition: transform .3s var(--ease); }
.area:hover .area__more svg { transform: translateX(4px); }

/* ---------- Página de área ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-800); color: var(--white); padding: 150px 0 90px; }
.page-hero--short { min-height: 70vh; display: flex; align-items: center; }
.page-hero .hero__watermark { font-size: clamp(14rem, 32vw, 30rem); }
.page-hero__inner { position: relative; max-width: 860px; margin-left: max(20px, calc((100% - 1180px) / 2)); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 20px; }
.page-hero__lead { font-size: 1.15rem; color: rgba(255,255,255,.75); max-width: 680px; margin-bottom: 34px; }
.page-hero__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; margin-bottom: 24px;
  background: rgba(176,141,87,.15); color: var(--gold); border: 1px solid rgba(176,141,87,.35);
}
.page-hero__icon svg { width: 30px; height: 30px; }
.page-hero .hero__actions { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 30px; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: rgba(255,255,255,.9); }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.rich { font-size: 1.05rem; color: #3a4152; max-width: 720px; }
.rich > :first-child { margin-top: 0; }
.rich p { margin: 0 0 18px; }
.rich h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--navy-800); margin: 48px 0 16px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.rich > h2:first-child { padding-top: 0; border-top: 0; }
.rich h3 { font-size: 1.15rem; color: var(--navy-800); margin: 28px 0 10px; }
.rich ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.rich li {
  position: relative; padding: 16px 18px 16px 52px; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px;
}
.rich li::before {
  content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b132b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.rich strong { color: var(--navy-800); }

.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside__card { background: var(--navy-800); color: var(--white); border-radius: 16px; padding: 28px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.aside__card h3 { font: 600 1.5rem/1.2 var(--serif); }
.aside__card > p { color: rgba(255,255,255,.7); font-size: .92rem; margin-bottom: 6px; }
.aside__contacts { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 6px; font-size: .9rem; }
.aside__contacts a { color: rgba(255,255,255,.8); }
.aside__contacts a:hover { color: var(--gold); }
.aside__areas { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 2px; }
.aside__areas h4 { margin: 0 0 10px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); }
.aside__areas a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 8px; font-size: .9rem; color: var(--navy-700); transition: background .2s, color .2s; }
.aside__areas a:hover { background: var(--paper); color: var(--red); }
.aside__areas svg { color: var(--gold-600); }
.btn--block { width: 100%; }

.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.highlight { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .35s var(--ease), box-shadow .35s; }
.highlight:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); }
.highlight__num { display: block; font: 700 2.4rem/1 var(--serif); color: var(--gold-200); margin-bottom: 14px; }
.highlight h3 { font-size: 1.08rem; color: var(--navy-800); margin-bottom: 8px; line-height: 1.3; }
.highlight p { color: var(--muted); font-size: .93rem; }

.cta-band { background: var(--navy-800); color: var(--white); padding: 80px 0; background-image: radial-gradient(600px 300px at 90% 50%, rgba(196,18,26,.18), transparent 70%); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.7); font-size: 1.05rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.pager { display: flex; justify-content: space-between; gap: 20px; padding-block: 50px; }
.pager__link { display: grid; gap: 4px; max-width: 48%; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.pager__link:hover { border-color: var(--gold); box-shadow: 0 10px 30px -18px rgba(11,19,43,.35); }
.pager__link small { color: var(--muted); font-size: .8rem; }
.pager__link strong { color: var(--navy-800); }
.pager__link--next { text-align: right; margin-left: auto; }

/* Método */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px 36px; transition: transform .35s var(--ease), box-shadow .35s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::after {
  content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.step__num { display: block; font: 700 3.2rem/1 var(--serif); color: var(--gold-200); margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--navy-800); }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Notícias ---------- */
.section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section__head--split h2 { margin-bottom: 0; }
.btn--outline { border-color: var(--line); color: var(--navy-800); background: var(--white); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-600); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.news-card a:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.news-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-800); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card a:hover .news-card__img img { transform: scale(1.05); }
.news-card__ph { display: grid; place-items: center; height: 100%; font: 600 4rem/1 "Playfair Display", Georgia, serif; color: rgba(196,18,26,.55); letter-spacing: -.12em; background: radial-gradient(circle at 70% 30%, rgba(176,141,87,.25), transparent 60%), var(--navy-800); }
.news-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .78rem; color: var(--muted); }
.news-card__meta span { color: var(--red); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; }
.news-card h3 { font: 600 1.35rem/1.25 var(--serif); color: var(--navy-800); }
.news-card__body > p:not(.news-card__meta) { color: var(--muted); font-size: .92rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chips a { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); font-size: .88rem; color: var(--navy-700); transition: border-color .2s, background .2s, color .2s; }
.chips a:hover { border-color: var(--gold); }
.chips a.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.chips em { font-style: normal; opacity: .6; font-size: .78rem; margin-left: 2px; }
.pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 50px; }
.pages a { min-width: 42px; padding: 9px 14px; text-align: center; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-size: .9rem; }
.pages a:hover { border-color: var(--gold); }
.pages a.is-active { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); display: grid; justify-items: center; gap: 16px; }
.empty-state__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--gold-600); }
.empty-state__icon svg { width: 28px; height: 28px; }

.page-hero--news { padding-bottom: 80px; }
.page-hero--article { padding-bottom: 70px; }
.page-hero--article h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.article-meta strong { color: var(--white); font-weight: 600; }
.avatar-sm { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; flex-shrink: 0; }
.article-cover { margin-top: -40px; position: relative; z-index: 2; max-width: 1000px; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-section { padding-top: 70px; }
.article-wrap { max-width: 760px; }
.rich--news { max-width: none; font-size: 1.1rem; line-height: 1.8; }
.rich--news h2 { border-top: 0; padding-top: 0; margin-top: 40px; }
.rich--news ul { list-style: disc; padding-left: 1.3em; gap: 6px; }
.rich--news li { background: none; border: 0; padding: 0; }
.rich--news li::before { display: none; }
.rich a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.rich figure { margin: 32px 0; }
.rich figure img { width: 100%; border-radius: 12px; }
.rich figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }
.rich blockquote { margin: 32px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold); font: 500 1.5rem/1.4 var(--serif); color: var(--navy-800); }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); color: var(--navy-800); cursor: pointer; font: 500 .85rem var(--sans); transition: border-color .2s, color .2s; }
.share a:hover, .share button:hover { border-color: var(--gold); color: var(--gold-600); }
.share button.is-done { border-color: #22a55a; color: #17803d; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding: 30px 32px; background: var(--navy-800); color: var(--white); border-radius: 16px; }
.article-cta h3 { font: 600 1.5rem/1.2 var(--serif); margin-bottom: 4px; }
.article-cta p { color: rgba(255,255,255,.7); font-size: .95rem; }
.preview-bar { position: sticky; top: 0; z-index: 60; background: #fff4d6; color: #7a5200; text-align: center; padding: 10px 16px; font-size: .9rem; border-bottom: 1px solid #f0d58c; }
.preview-bar a { font-weight: 600; text-decoration: underline; }

/* Contacto */
.contact { background: var(--navy-800); color: var(--white); padding: 120px 0 80px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; margin-bottom: 70px; }
.contact__info h2 { margin-bottom: 20px; }
.contact__info > p:not(.eyebrow) { color: rgba(255,255,255,.7); margin-bottom: 40px; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.contact__list li { display: flex; gap: 18px; }
.contact__list small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.contact__list a { color: rgba(255,255,255,.88); transition: color .2s; }
.contact__list a:hover { color: var(--gold); }
.contact__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(176,141,87,.45); color: var(--gold);
}

.form { background: var(--white); color: var(--ink); border-radius: 18px; padding: 40px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); display: grid; gap: 16px; }
.form h3 { font: 600 1.8rem var(--serif); color: var(--navy-800); }
.form__note { color: var(--muted); font-size: .9rem; margin-top: -8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--navy-700); }
.form input, .form select, .form textarea {
  width: 100%; font: 400 .95rem var(--sans); color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(176,141,87,.15); }
.form .is-invalid { border-color: var(--red); }
.form__error { color: var(--red); font-size: .85rem; min-height: 1em; }
.form__fields { display: grid; gap: 16px; }
.form__fields[hidden], .form__success[hidden] { display: none; }
.form__success {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 12px;
  background: #eef8f1; color: #17603a; border: 1px solid #bfe3cc;
}
.form__success svg { width: 26px; height: 26px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.form__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); height: 340px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* Footer */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 70px 0 30px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__tag { margin-top: 18px; max-width: 320px; }
.footer__more { color: var(--gold) !important; margin-top: 4px; }
.footer__addr { margin: 12px 0 0; font-size: .88rem; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15); transition: border-color .2s, color .2s;
}
.footer__social a:hover { border-color: var(--gold); }
.footer h4 { color: var(--white); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 16px; }
.footer nav a, .footer__grid > div > a:not(.brand) { display: block; padding: 4px 0; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .8rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: pulse 2.4s infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .areas, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .split { gap: 50px; }
}
@media (max-width: 1100px) {
  .nav__toggle { display: block; position: relative; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--navy-900); font-size: 1.2rem;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav__links a:not(.btn) { color: var(--white); }
  .nav.is-open .nav__toggle span { background: var(--white); }
  .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 900px) {

  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero__grid, .split, .contact__grid { grid-template-columns: 1fr; }
  .hero__photo { max-width: 420px; margin: 20px auto 0; }
  .hero__photo figcaption { left: 12px; }
  .split__media { max-width: 480px; }
  .split__badge { right: 12px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .areas, .steps { grid-template-columns: 1fr; }
  .section { padding: 90px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .brand { gap: 10px; }
  .brand__mark { width: 42px; height: 42px; font-size: 1.3rem; }
  .brand__bar { height: 34px; }
  .brand__text strong { font-size: .95rem; }
  .brand__text small { font-size: .42rem; letter-spacing: .2em; }
  .hero__actions .btn { width: 100%; }
  .stat { padding: 34px 10px; }
  .form { padding: 28px 22px; }
  .form__row, .form__actions { grid-template-columns: 1fr; }
  .areas, .aside, .news-grid { grid-template-columns: 1fr; }
  .article-cover { margin-top: -30px; }
  .article-cta { padding: 24px 22px; }
  .rich--news { font-size: 1.02rem; }
  .page-hero { padding: 120px 0 70px; }
  .page-hero__inner { margin-left: 16px; margin-right: 16px; }
  .page-hero .btn { width: 100%; }
  .pager { flex-direction: column; }
  .pager__link { max-width: none; }
  .rich li { padding-left: 46px; }
  .rich li::before { left: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .map { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
