/* ============================================================
   AP LAWYERS — main.css
   Paleta: Navy #0A1B2E · Gold #C9A24B · Cream #F7F3EC
   Fuentes: Fraunces (display) + Inter (body)
   ============================================================ */

:root {
  --navy: #0A1B2E;
  --navy-2: #0F2238;
  --gold: #C9A24B;
  --gold-2: #E4C47A;
  --cream: #F7F3EC;
  --white: #FFFFFF;
  --ink: #0B0F14;
  --muted: #6B7280;
  --line: rgba(10,27,46,.12);
  --line-dark: rgba(255,255,255,.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1360px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.02em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.container--narrow { max-width: 820px; }

.gold { color: var(--gold); }
.gold-italic { color: var(--gold); font-style: italic; font-weight: 400; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 30px;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__brand {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 28px;
  letter-spacing: .3em;
}
.loader__bar {
  width: 200px; height: 2px;
  background: rgba(201,162,75,.2);
  overflow: hidden;
  position: relative;
}
.loader__bar::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--gold);
  width: 0;
  animation: loadBar 1.2s var(--ease) forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 200;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .1s linear;
}
.reading-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 200;
  background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; mix-blend-mode: difference; }
.cursor__dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); }
.cursor__ring { position: absolute; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); transform: translate(-50%,-50%); transition: transform .25s var(--ease), width .25s var(--ease), height .25s var(--ease); }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; border-color: var(--gold); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 50px);
  z-index: 100;
  mix-blend-mode: difference;
  color: #fff;
  transition: transform .6s var(--ease), background .4s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-scrolled { mix-blend-mode: normal; background: rgba(10,27,46,.85); backdrop-filter: blur(12px); color: #fff; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 42px; height: 42px; }
.nav__wordmark { font-family: var(--font-display); font-size: 16px; letter-spacing: .2em; text-transform: uppercase; }
.nav__wordmark strong { color: var(--gold); font-weight: 600; }
.nav__menu { display: flex; align-items: center; gap: 36px; }
.nav__link { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; position: relative; }
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold);
  transition: width .4s var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 28px; }
.nav__burger span { display: block; width: 100%; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lang-switch { display: inline-flex; gap: 6px; font-size: 13px; letter-spacing: .1em; }
.lang-switch__btn { color: inherit; opacity: .5; transition: opacity .3s; font-family: var(--font-sans); }
.lang-switch__btn.is-active, .lang-switch__btn:hover { opacity: 1; color: var(--gold); }
.lang-switch__sep { opacity: .3; }

.nav-mobile {
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  clip-path: circle(0% at calc(100% - 50px) 50px);
  transition: clip-path .7s var(--ease);
}
.nav-mobile.is-open { clip-path: circle(150% at calc(100% - 50px) 50px); }
.nav-mobile__inner { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.nav-mobile__link { font-family: var(--font-display); font-size: 40px; }

@media (max-width: 960px) {
  .nav__menu, .nav__right .btn { display: none; }
  .nav__burger { display: flex; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-size: 13px; text-transform: uppercase; letter-spacing: .14em;
  font-weight: 600; font-family: var(--font-sans);
  border-radius: 999px;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.btn--lg { padding: 18px 36px; font-size: 14px; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: currentColor; border: 1px solid currentColor; }
.btn--ghost:hover { background: currentColor; color: var(--navy); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }

/* ============================================================
   SECTION LABELS & TITLES
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 12px; text-transform: uppercase; letter-spacing: .3em;
  color: var(--navy); opacity: .7; margin-bottom: 20px;
  font-weight: 500;
}
.section-label--light { color: var(--gold); opacity: 1; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 32px;
}

/* Split text helpers */
.split-char, .split-word { display: inline-block; will-change: transform, opacity; }

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
.hero__content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 20px; max-width: 1200px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 32px;
  padding: 8px 18px;
  border: 1px solid rgba(201,162,75,.4); border-radius: 999px;
}
.hero__eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 240px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.04em;
  margin-bottom: 30px;
  color: #fff;
}
.hero__ap { color: var(--gold); }
.hero__ap .split-char { color: var(--gold); }
.hero__dot {
  display: inline-block;
  width: 0.08em; height: 0.08em;
  background: #fff;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 0.06em;
  position: relative;
  top: -0.1em;
}
.hero__sub {
  font-size: clamp(16px, 1.5vw, 22px);
  max-width: 680px; margin: 0 auto 48px;
  color: rgba(255,255,255,.8);
  letter-spacing: .05em;
}
.hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero__scroll-line { width: 1px; height: 50px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:''; position:absolute; left:0; right:0; top:-100%; height: 100%; background: var(--gold); animation: scrollDown 2s infinite; }
@keyframes scrollDown { to { top: 100%; } }
.hero__side {
  position: absolute; top: 50%;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  writing-mode: vertical-rl;
  transform: rotate(180deg) translateY(50%);
}
.hero__side--left { left: 30px; }
.hero__side--right { right: 30px; transform: rotate(0) translateY(-50%); writing-mode: vertical-rl; }

@media (max-width: 768px) {
  .hero__side { display: none; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding: clamp(100px, 15vh, 200px) 0; background: var(--cream); color: var(--ink); }
.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400; line-height: 1.2;
  max-width: 1100px; margin: 0 0 80px;
}
.manifesto__divider { height: 1px; background: var(--line); margin: 60px 0; }
.manifesto__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stat__num { font-family: var(--font-display); font-size: clamp(48px, 6vw, 88px); color: var(--navy); font-weight: 500; line-height: 1; }
.stat__num::after { content: '+'; color: var(--gold); }
.stat__label { font-size: 13px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-top: 10px; }
@media (max-width: 768px) { .manifesto__stats { grid-template-columns: 1fr; } }

/* ============================================================
   ÁREAS PIN + HORIZONTAL SCROLL
   ============================================================ */
.areas-pin {
  background: var(--navy); color: #fff;
  position: relative;
  padding: 50px 0 0;
  overflow: hidden;
  /* Prevent white gap when GSAP pins this section */
  will-change: transform;
}
/* GSAP creates a .pin-spacer wrapper when pinning — color it to prevent white flash */
.pin-spacer { background: var(--navy) !important; }
.areas-pin__header { padding: 0 clamp(20px, 5vw, 80px); max-width: 1200px; margin: 0 auto 24px; }
.areas-pin__track { width: 100%; overflow: hidden; }
.areas-pin__row {
  display: flex; gap: 24px;
  padding: 0 clamp(20px, 5vw, 80px) 80px;
  will-change: transform;
}
.area-card {
  flex: 0 0 min(350px, 75vw);
  background: var(--navy-2);
  border: 1px solid rgba(201,162,75,.15);
  border-radius: 20px;
  padding: 32px 28px;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.area-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(201,162,75,.12), transparent 60%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.area-card:hover { transform: translateY(-8px); border-color: rgba(201,162,75,.5); }
.area-card:hover::before { opacity: 1; }
.area-card__num { font-family: var(--font-display); font-size: 14px; color: var(--gold); letter-spacing: .3em; }
.area-card__title { font-size: clamp(28px, 3vw, 38px); margin-top: 24px; color: #fff; }
.area-card__short { color: rgba(255,255,255,.65); margin-top: 20px; font-size: 15px; line-height: 1.6; }
.area-card__arrow { font-size: 32px; color: var(--gold); transition: transform .4s var(--ease); align-self: flex-end; margin-top: 30px; }
.area-card:hover .area-card__arrow { transform: translateX(8px); }

/* ============================================================
   ABOUT SPLIT (home)
   ============================================================ */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--cream);
  align-items: stretch;
}
.about-split__media {
  position: relative; overflow: hidden;
  background: var(--navy);
  min-height: 100%;
}
.about-split__image-wrap { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-split__image { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: grayscale(.15); }
.about-split__badge {
  position: absolute; bottom: 40px; right: 40px;
  width: 120px; height: 120px;
  background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  animation: rotateSeal 20s linear infinite;
}
.about-split__seal { width: 100%; height: 100%; }
@keyframes rotateSeal { to { transform: rotate(360deg); } }

.about-split__body {
  position: relative;
  padding: clamp(80px, 12vh, 160px) clamp(40px, 6vw, 100px);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 680px;
}
.about-split__title { font-size: clamp(40px, 5vw, 72px); margin-bottom: 32px; line-height: 1.05; }
.about-split__lead { font-size: 20px; color: var(--ink); margin-bottom: 20px; }
.about-split__body p { color: var(--muted); margin-bottom: 24px; }
.about-split__body .btn { align-self: flex-start; margin-top: 20px; }

@media (max-width: 960px) { .about-split { grid-template-columns: 1fr; } .about-split__media { min-height: 60vh; } }

/* ============================================================
   LATEST POSTS
   ============================================================ */
.latest-posts { background: var(--navy); color: #fff; padding: clamp(100px, 15vh, 180px) 0; }
.latest-posts__header { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 80px; }
.latest-posts__header .btn { margin-top: 20px; color: #fff; }
.latest-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 960px) { .latest-posts__grid { grid-template-columns: 1fr; } }

.post-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
  padding-bottom: 30px;
}
.post-card:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.5); }
.post-card__cover { aspect-ratio: 16/10; background: var(--navy); overflow: hidden; }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__cover img { transform: scale(1.05); }
.post-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, rgba(201,162,75,.2) 100%);
}
.post-card__meta { display: flex; gap: 10px; align-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); padding: 24px 28px 10px; }
.post-card__title { font-size: 22px; padding: 0 28px; color: #fff; line-height: 1.2; margin-bottom: 12px; }
.post-card__excerpt { color: rgba(255,255,255,.65); padding: 0 28px; font-size: 15px; line-height: 1.55; flex-grow: 1; }
.post-card__more { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; padding: 20px 28px 0; }

.tag { display: inline-block; font-size: 11px; padding: 4px 10px; border: 1px solid currentColor; border-radius: 999px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  background: var(--cream);
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 90;
  transition: padding .4s ease, top .4s ease;
}
.marquee-section.is-compact {
  padding: 6px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.marquee-section.nav-visible {
  top: 90px;
}
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track {
  display: inline-flex; gap: 60px; align-items: center;
  font-family: var(--font-display); font-size: clamp(36px, 5vw, 72px);
  color: var(--navy);
  animation: marquee 40s linear infinite;
  transition: font-size .4s ease, gap .4s ease;
}
.marquee-section.is-compact .marquee__track {
  font-size: clamp(11px, 1.2vw, 16px);
  gap: 24px;
}
.marquee__track .dot { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   CTA CONTACT
   ============================================================ */
.cta-contact { background: var(--navy); color: #fff; padding: clamp(120px, 18vh, 220px) 0; position: relative; overflow: hidden; }
.cta-contact__glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201,162,75,.18), transparent 60%);
}
.cta-contact__inner { position: relative; text-align: center; }
.cta-contact__title { font-size: clamp(44px, 7vw, 96px); margin-bottom: 30px; line-height: 1; color: #fff; }
.cta-contact__sub { font-size: 18px; color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto 50px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: #fff; padding: 100px 0 40px; position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 80px; padding: 0 clamp(20px, 5vw, 80px); max-width: var(--container); margin: 0 auto; }
.footer__logo { width: 60px; margin-bottom: 20px; }
.footer__tag { font-size: 32px; color: #fff; margin-bottom: 18px; }
.footer__manifesto { color: rgba(255,255,255,.6); max-width: 400px; line-height: 1.6; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer__col h4 { font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin-bottom: 20px; }
.footer__col a, .footer__col span { display: block; color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 10px; transition: color .3s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { margin-top: 80px; padding: 0 clamp(20px, 5vw, 80px); max-width: var(--container); margin-left: auto; margin-right: auto; }
.footer__giant {
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 260px);
  line-height: .85;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,162,75,.35);
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__legal { display: flex; justify-content: space-between; padding-top: 30px; font-size: 12px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr; gap: 50px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__legal { flex-direction: column; gap: 10px; text-align: center; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  position: relative; min-height: 100vh; color: #fff;
  display: flex; align-items: flex-end; padding: 120px clamp(20px, 5vw, 80px) 80px;
  overflow: hidden; background: var(--navy);
}
.about-hero__image-wrap { position: absolute; inset: 0; }
.about-hero__image { width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: grayscale(.3); }
.about-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,27,46,.3) 0%, rgba(10,27,46,.95) 100%); }
.about-hero__text { position: relative; max-width: 1200px; margin: 0 auto; width: 100%; }
.about-hero__title { font-size: clamp(64px, 12vw, 180px); margin-bottom: 20px; }
.about-hero__role { font-size: 18px; color: var(--gold); text-transform: uppercase; letter-spacing: .2em; }
.about-body { padding: clamp(100px, 15vh, 180px) 0; background: var(--cream); }
.about-body__lead { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 44px); line-height: 1.3; margin-bottom: 80px; color: var(--navy); }
.about-chapter { margin-bottom: 60px; }
.about-chapter h2 { font-size: clamp(28px, 3vw, 40px); color: var(--navy); margin-bottom: 20px; }
.about-chapter p { color: var(--ink); font-size: 17px; line-height: 1.75; }
.about-list { list-style: none; padding: 0; margin: 0; }
.about-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; position: relative; padding-left: 30px; }
.about-list li::before { content: '→'; color: var(--gold); position: absolute; left: 0; }
.pull-quote { font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px); font-style: italic; border-left: 3px solid var(--gold); padding-left: 30px; color: var(--navy); margin: 60px 0; }
.pull-quote cite { display: block; font-size: 14px; font-style: normal; color: var(--muted); margin-top: 20px; letter-spacing: .1em; text-transform: uppercase; }

/* ============================================================
   AREAS PAGE
   ============================================================ */
.page-hero {
  background: var(--navy); color: #fff;
  padding: clamp(180px, 25vh, 280px) 0 clamp(80px, 12vh, 140px);
  position: relative;
}
.page-hero__title { font-size: clamp(72px, 13vw, 200px); line-height: .9; margin-bottom: 30px; }
.page-hero__sub { font-size: 20px; color: rgba(255,255,255,.7); max-width: 600px; }

.areas-grid { padding: clamp(80px, 12vh, 160px) 0; background: var(--cream); }
.area-row {
  display: grid; grid-template-columns: 80px 1fr 60px;
  gap: 40px; padding: 50px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.area-row:last-child { border-bottom: 1px solid var(--line); }
.area-row:hover { padding-left: 20px; }
.area-row__num { font-family: var(--font-display); color: var(--gold); font-size: 24px; }
.area-row__title { font-size: clamp(28px, 3.5vw, 48px); color: var(--navy); margin-bottom: 20px; }
.area-row__content { color: var(--ink); font-size: 16px; line-height: 1.7; }
.area-row__arrow { font-size: 32px; color: var(--gold); align-self: center; transition: transform .4s var(--ease); }
.area-row:hover .area-row__arrow { transform: translateX(10px); }
@media (max-width: 768px) { .area-row { grid-template-columns: 1fr; gap: 20px; } .area-row__arrow { display: none; } }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact { min-height: 100vh; background: var(--navy); color: #fff; padding: 140px 0 80px; }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px);
}
.contact__title { font-size: clamp(40px, 5.5vw, 80px); margin: 20px 0 30px; }
.contact__lead { color: rgba(255,255,255,.7); font-size: 18px; margin-bottom: 40px; }
.contact__list { list-style: none; padding: 0; margin: 0; }
.contact__list li { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.contact__list li span { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; }
.contact__list a { color: #fff; transition: color .3s; }
.contact__list a:hover { color: var(--gold); }

.contact__form { display: flex; flex-direction: column; gap: 24px; }
.field { position: relative; }
.form-field {
  width: 100%;
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25);
  padding: 18px 0 12px; color: #fff; font-size: 16px; font-family: var(--font-sans);
  outline: none; transition: border-color .4s;
}
.form-field:focus { border-color: var(--gold); }
.field label {
  position: absolute; left: 0; top: 18px;
  color: rgba(255,255,255,.5); font-size: 16px; pointer-events: none;
  transition: top .3s var(--ease), font-size .3s var(--ease), color .3s var(--ease);
}
.form-field:focus + label, .form-field:not(:placeholder-shown) + label {
  top: -6px; font-size: 11px; color: var(--gold); letter-spacing: .15em; text-transform: uppercase;
}
.field small { color: #ff7b7b; font-size: 12px; }

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

/* ============================================================
   BLOG
   ============================================================ */
.blog-list { padding: clamp(80px, 12vh, 140px) 0; background: var(--cream); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 60px; }
.chip { display: inline-block; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--navy); transition: all .3s; }
.chip:hover, .chip.is-active { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.featured-post {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px;
  margin-bottom: 80px; padding: 40px;
  background: var(--white); border-radius: 20px;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease);
}
.featured-post:hover { transform: translateY(-4px); }
.featured-post__cover { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--navy); }
.featured-post__cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-post__body { display: flex; flex-direction: column; justify-content: center; }
.featured-post__body h2 { font-size: clamp(32px, 3.5vw, 48px); color: var(--navy); margin: 20px 0; line-height: 1.1; }
.featured-post__body p { color: var(--muted); font-size: 16px; }
.featured-post__meta { display: flex; gap: 15px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .15em; margin: 20px 0; }
.featured-post__more { color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: .2em; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-grid .post-card { background: var(--white); border-color: var(--line); color: var(--ink); }
.blog-grid .post-card__title { color: var(--navy); }
.blog-grid .post-card__excerpt { color: var(--muted); }
.blog-grid .post-card__meta { color: var(--muted); }
.blog-grid .post-card__more { color: var(--gold); }
@media (max-width: 960px) { .blog-grid, .featured-post { grid-template-columns: 1fr; } }

.pagination { display: flex; justify-content: center; gap: 30px; margin-top: 60px; align-items: center; }
.pagination a { color: var(--navy); font-size: 14px; text-transform: uppercase; letter-spacing: .15em; }
.pagination span { color: var(--muted); }

/* Blog detail */
.post-hero { position: relative; min-height: 80vh; color: #fff; padding: 180px clamp(20px,5vw,80px) 80px; overflow: hidden; background: var(--navy); display: flex; align-items: flex-end; }
.post-hero__cover { position: absolute; inset: 0; }
.post-hero__cover img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.post-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,27,46,.3) 0%, rgba(10,27,46,.95) 100%); }
.post-hero__content { position: relative; max-width: 900px; margin: 0 auto; width: 100%; }
.post-hero__meta { display: flex; gap: 15px; font-size: 12px; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.7); margin-bottom: 30px; }
.post-hero__title { font-size: clamp(40px, 6vw, 88px); line-height: 1.05; margin-bottom: 30px; }
.post-hero__excerpt { font-size: 20px; color: rgba(255,255,255,.8); max-width: 700px; }
.post-hero__author { margin-top: 40px; color: var(--gold); font-size: 14px; }

.post-body { background: var(--cream); padding: clamp(80px, 12vh, 160px) 0; }
.post-body__content.rich { font-size: 19px; line-height: 1.8; color: var(--ink); }
.rich h1, .rich h2, .rich h3 { font-family: var(--font-display); color: var(--navy); margin: 60px 0 20px; line-height: 1.15; }
.rich h2 { font-size: clamp(28px, 3.5vw, 44px); }
.rich h3 { font-size: clamp(22px, 2.5vw, 30px); }
.rich p { margin-bottom: 24px; }
.rich a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.rich img { border-radius: 14px; margin: 40px 0; }
.rich blockquote, .rich .pull-quote {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); font-style: italic;
  border-left: 3px solid var(--gold); padding-left: 30px; margin: 50px 0;
  color: var(--navy);
}
.rich ul, .rich ol { padding-left: 24px; margin-bottom: 24px; }
.rich li { margin-bottom: 10px; }
.rich [data-animate] { will-change: transform, opacity; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 60px 0 20px; }
.post-share { display: flex; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); align-items: center; font-size: 14px; }
.post-share span { color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; }
.post-share a { color: var(--navy); transition: color .3s; }
.post-share a:hover { color: var(--gold); }
.post-related { background: var(--navy); color: #fff; padding: clamp(100px,15vh,160px) 0; }

/* ============================================================
   FLASH / WhatsApp float
   ============================================================ */
.flash-messages { position: fixed; top: 100px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.flash { padding: 14px 22px; background: var(--gold); color: var(--navy); border-radius: 10px; font-size: 14px; font-weight: 500; animation: flashIn .5s var(--ease); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .4s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
