/* ===== VARIABLES ===== */
:root {
  --navy: #2B3A7A;
  --navy-light: #3447A0;
  --gold: #2EC4B2;
  --gold-light: #45D4C2;
  --white: #ffffff;
  --gray-50: #f5f7fb;
  --gray-100: #e8ecf5;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-800: #1a2035;
  --text: #2d3748;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(43,58,122,0.10);
  --shadow-lg: 0 8px 40px rgba(43,58,122,0.16);
  --transition: 0.25s ease;
  --max-width: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.7; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--gray { background: var(--gray-50); }
.section__eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section__title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); line-height: 1.25; margin-bottom: 24px; }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 64px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition); border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,145,63,0.35); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--navy); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(43,58,122,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.header.scrolled { background: var(--navy); box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.logo__img { height: 36px; width: 36px; object-fit: contain; flex-shrink: 0; display: inline-block; mix-blend-mode: screen; }
.logo div { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-family: var(--font-heading); font-size: 1.15rem; color: var(--white); font-weight: 700; white-space: nowrap; }
.logo__sub { font-family: var(--font-body); font-size: 0.68rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.85); padding: 8px 10px; border-radius: var(--radius); transition: all var(--transition); white-space: nowrap; }
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link--cta { background: var(--gold); color: var(--white) !important; padding: 10px 20px; }
.nav__link--cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  background: url("../image/5D7A153C-68B7-405F-AF5E-FEABC8075F1A.PNG") center center / cover no-repeat;
  display: flex; align-items: center; overflow: hidden;
}
.hero::before { content: none; }
.hero__overlay { display: none; }
.hero__content { position: relative; z-index: 2; max-width: 600px; padding-top: 72px; margin-left: 220px; margin-right: auto; }
.hero__eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero__title { font-family: var(--font-heading); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--white); line-height: 1.15; margin-bottom: 24px; text-shadow: 0 2px 12px rgba(0,0,0,0.6); white-space: nowrap; }
.hero__title span { color: var(--gold); }
.hero__desc { font-size: 1.1rem; color: rgba(255,255,255,0.95); max-width: 560px; margin-bottom: 40px; line-height: 1.8; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); animation: scrollLine 1.5s ease-in-out infinite; }
@keyframes scrollLine { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:0.3;transform:scaleY(0.5)} }

/* ===== STATS ===== */
.stats { background: var(--gold); padding: 40px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,0.25); }
.stat:last-child { border-right: none; }
.stat__num { display: block; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: 0.04em; text-transform: uppercase; }
.stat__label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.85); margin-top: 4px; }

/* ===== ABOUT ===== */
.about__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }
.about__img-wrap { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; }
.about__img-placeholder {
  aspect-ratio: 3/4; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px; display: flex; align-items: flex-end; padding: 32px;
  box-shadow: var(--shadow-lg);
}
.about__img-placeholder span { font-family: var(--font-heading); font-size: 1.2rem; color: var(--white); line-height: 1.4; }
.about__text p { color: var(--gray-600); margin-bottom: 16px; }
.about__text .btn { margin-top: 16px; }

/* ===== SERVICES ===== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: 12px; padding: 36px 28px;
  box-shadow: var(--shadow); transition: all var(--transition);
  border: 1px solid transparent; display: block;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service-card--featured { background: var(--navy); grid-column: span 1; }
.service-card--featured h3, .service-card--featured p { color: var(--white); }
.service-card--featured .service-card__link { color: var(--gold); }
.service-card__icon { font-size: 2rem; margin-bottom: 16px; width: 120px; height: 120px; overflow: hidden; border-radius: 8px; flex-shrink: 0; }
.service-card__icon img { width: 120px !important; height: 120px !important; max-width: none !important; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 600px) {
  .service-card__icon { width: 140px; height: 140px; margin: 0 auto 16px; }
  .service-card__icon img { width: 140px !important; height: 140px !important; }
}
.service-card h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }
.service-card__link { display: inline-block; margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--gold); }

/* ===== HIGHLIGHT ===== */
.highlight__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; }
.highlight__list { list-style: none; margin: 24px 0 32px; }
.highlight__list li { padding: 8px 0; font-size: 0.95rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); }
.highlight__list li:last-child { border-bottom: none; }
.highlight__quote {
  background: var(--navy); border-radius: 12px; padding: 48px 40px;
  position: relative; box-shadow: var(--shadow-lg);
}
.highlight__quote::before { content: '"'; position: absolute; top: 16px; left: 32px; font-family: var(--font-heading); font-size: 6rem; color: var(--gold); opacity: 0.3; line-height: 1; }
.highlight__quote blockquote { font-family: var(--font-heading); font-size: 1.15rem; color: var(--white); line-height: 1.7; font-style: italic; }

/* ===== TESTIMONIALS ===== */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--white); border-radius: 12px; padding: 36px 28px; box-shadow: var(--shadow); }
.testimonial__stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial cite { font-size: 0.85rem; font-weight: 600; color: var(--navy); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 96px 0; text-align: center;
}
.cta-section__inner h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 16px; }
.cta-section__inner h2 span { color: var(--gold); }
.cta-section__inner p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 40px; }
.cta-section__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float { position: fixed !important; bottom: 24px; right: 24px; z-index: 9999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.3); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.35); }
.whatsapp-float svg { width: 34px; height: 34px; }

/* ===== FOOTER ===== */
.footer { background: var(--gray-800); padding: 80px 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__brand .logo__name { color: var(--white); font-size: 1.1rem; }
.footer__brand p { color: var(--gray-400); font-size: 0.9rem; margin-top: 12px; line-height: 1.7; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.footer__social a:hover { background: var(--gold); }
.footer__social img { width: 20px; height: 20px; }
.footer__links h4 { color: var(--white); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: var(--gray-400); font-size: 0.9rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--gold); }
.footer__contact h4 { color: var(--white); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.footer__contact p { color: var(--gray-400); font-size: 0.9rem; margin-bottom: 10px; }
.footer__contact a { color: var(--gray-400); transition: color var(--transition); }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom { padding: 20px 0; }
.footer__bottom p { color: var(--gray-400); font-size: 0.8rem; text-align: center; }
.footer__bottom a { color: var(--gray-400); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--gold); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 160px 0 96px; text-align: center;
}
.page-hero__eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); margin-bottom: 20px; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }

/* ===== FAQ ===== */
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq__item { border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; }
.faq__question { width: 100%; background: none; border: none; padding: 24px 28px; text-align: left; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background var(--transition); }
.faq__question:hover { background: var(--gray-50); }
.faq__question.open { background: var(--navy); color: var(--white); }
.faq__icon { font-size: 1.2rem; transition: transform var(--transition); flex-shrink: 0; }
.faq__question.open .faq__icon { transform: rotate(45deg); }
.faq__answer { display: none; padding: 0 28px 24px; color: var(--gray-600); line-height: 1.8; font-size: 0.95rem; }
.faq__answer.open { display: block; }

/* ===== CONTACT ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.contact__info h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--navy); margin-bottom: 24px; }
.contact__detail { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact__detail-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact__detail-text strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 4px; }
.contact__detail-text p, .contact__detail-text a { color: var(--gray-600); font-size: 0.95rem; }
.contact__form { background: var(--white); border-radius: 12px; padding: 48px; box-shadow: var(--shadow-lg); }
.contact__form h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--navy); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-100);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text); background: var(--white); transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about__inner, .highlight__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__img-wrap { max-width: 400px; margin: 0 auto; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.25); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.25); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; height: calc(100vh - 72px); background: var(--navy); z-index: 99; padding: 32px 24px; flex-direction: column; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav__list { flex-direction: column; gap: 8px; width: 100%; }
  .nav__link { display: block; padding: 16px 20px; font-size: 1.1rem; color: var(--gold) !important; border-radius: var(--radius); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav__link:hover { background: rgba(255,255,255,0.07); color: var(--white) !important; }
  .nav__link--cta { background: var(--gold); color: var(--navy) !important; border-bottom: none; margin-top: 16px; text-align: center; }
  .hamburger { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .hero__content { margin-left: 0; margin-right: 0; max-width: 100%; padding-left: 0; }
  .hero__title { font-size: clamp(1.6rem, 7vw, 2.4rem); white-space: normal; overflow-wrap: break-word; word-break: break-word; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}

/* ===== BANNER DE COOKIES ===== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.cookie-banner--visible {
  transform: translateY(0);
}
.cookie-banner__text {
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
  min-width: 260px;
}
.cookie-banner__text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.cookie-banner__text a {
  color: var(--gold);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.cookie-btn--accept {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.cookie-btn--accept:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.cookie-btn--reject {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.cookie-btn--reject:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ===== ICONO ESPECIALIDADES (caja cuadrada navy) ===== */
.espec__icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.espec__icon svg {
  width: 38px;
  height: 38px;
  color: var(--white);
}

/* ===== SECCIÓN VALORES (Por qué elegirnos) ===== */
.valores__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.valor__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
  flex-shrink: 0;
}
.valor__icon svg {
  width: 34px;
  height: 34px;
  color: var(--white);
}
.valor h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.valor p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .valores__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== FOTO REAL ABOGADA ===== */
.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  display: block;
}

/* ===== ICONO SVG EN SERVICE CARDS ===== */
.service-card__icon-svg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card__icon-svg svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}
.service-card--featured .service-card__icon-svg {
  background: var(--white);
}
.service-card--featured .service-card__icon-svg svg {
  color: var(--navy);
}

/* ===== LOGOS DE ASOCIACIONES EN CARDS ===== */
.service-card__assoc-logo {
  height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card__assoc-logo img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.especialidad__item { display: grid; grid-template-columns: 80px 1fr; gap: 32px; align-items: start; }
.especialidad__item img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
@media (max-width: 600px) {
  .especialidad__item { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .especialidad__item img { width: 120px; height: 120px; margin: 0 auto; }
}

/* ===== PÁGINAS LEGALES ===== */
.legal-hero {
  background: var(--navy);
  padding: 140px 0 60px;
  text-align: center;
}
.legal-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-top: 12px;
}
.legal-content__inner {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content__inner h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-100);
}
.legal-content__inner h2:first-of-type { margin-top: 0; }
.legal-content__inner p { margin-bottom: 16px; color: var(--text); }
.legal-content__inner ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content__inner ul li { margin-bottom: 8px; }
.legal-content__inner a { color: var(--navy-light); text-decoration: underline; }
.legal-content__date {
  margin-top: 48px;
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: italic;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--gray-100);
}
.legal-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.legal-table tr:nth-child(even) td { background: var(--gray-50); }

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.25); }
  .stat:last-child { border-bottom: none; }
}
