/* ===========================================================
   AXION LAW — Design System
   Paleta del logo: azul marino profundo, azul real, plata/acero
   Estética: arquitectónica / editorial (distinta a otros sitios)
   =========================================================== */
:root {
  --navy: #060d18;
  --navy-2: #0a1626;
  --navy-3: #0f2138;
  --blue: #1e4d8c;
  --blue-bright: #2f7ad1;
  --blue-soft: #5b9ee0;
  --blue-deep: #0e2c52;
  --silver: #c7d2de;
  --silver-soft: #9fb0c2;
  --white: #eef3f8;
  --grey: #93a2b3;
  --grey-dim: #64748b;
  --line: rgba(150,178,210,0.16);
  --line-strong: rgba(150,178,210,0.32);

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

  --maxw: 1180px;
  --shadow: 0 30px 70px rgba(0,0,0,0.55);
  --blue-grad: linear-gradient(135deg, var(--blue-bright), var(--blue));
  --silver-grad: linear-gradient(135deg, #e6edf4, var(--silver), var(--silver-soft));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Glows azules en el fondo */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 55% 45% at 18% 0%, rgba(47,122,209,0.16), transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 12%, rgba(30,77,140,0.18), transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 105%, rgba(14,44,82,0.35), transparent 60%);
  animation: drift 20s ease-in-out infinite alternate;
}
@keyframes drift { 0% { transform: scale(1); } 100% { transform: scale(1.14) translateY(-1.5%); } }
/* Textura tipo plano/blueprint */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background-image:
    linear-gradient(rgba(150,178,210,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,178,210,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 85%);
}

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: 0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

.blue-text { color: var(--blue-soft); }
.silver-text {
  background: var(--silver-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section { padding: 110px 0; position: relative; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--blue-soft); font-weight: 600; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--blue-soft); display: inline-block; }
.center .eyebrow::after { content: ""; width: 30px; height: 1px; background: var(--blue-soft); display: inline-block; }
.section-title { font-size: clamp(2.1rem, 4.8vw, 3.4rem); margin-bottom: 20px; }
.section-lead { color: var(--grey); max-width: 640px; font-size: 1.06rem; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* Botones — rectangulares, mayúsculas, con brillo */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 4px;
  font-family: var(--sans); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; border: none;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s, background 0.3s, color 0.3s;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--blue-grad); color: #fff; box-shadow: 0 12px 32px rgba(47,122,209,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(47,122,209,0.5); }
.btn-outline { background: transparent; color: var(--silver); border: 1px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--blue-soft); color: var(--white); transform: translateY(-3px); background: rgba(47,122,209,0.08); }
.btn-silver { background: var(--silver-grad); color: #0a1626; }
.btn-silver:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(199,210,222,0.25); }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg); transition: left 0.6s;
}
.btn:hover::after { left: 150%; }

/* ================= NAV ================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; transition: all 0.4s; }
.nav::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--blue-grad); opacity: 0.9; }
.nav.scrolled { background: rgba(6,13,24,0.86); backdrop-filter: blur(14px); padding: 12px 0; box-shadow: 0 10px 34px rgba(0,0,0,0.5); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 54px; width: auto; transition: height 0.4s; }
.nav.scrolled .brand img { height: 44px; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1; }
.brand-name span { display: block; font-family: var(--sans); font-size: 0.55rem; letter-spacing: 0.42em; color: var(--blue-soft); text-transform: uppercase; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); position: relative; padding: 6px 0; transition: color 0.3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue-grad); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.nav-cta::after { display: none; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--white); transition: 0.3s; border-radius: 2px; }

/* ================= HERO ================= */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 0 80px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 28px; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver); }
.hero-kicker .dot { width: 8px; height: 8px; background: var(--blue-bright); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,122,209,0.6);} 50% { box-shadow: 0 0 0 9px rgba(47,122,209,0);} }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5rem); margin-bottom: 24px; font-weight: 700; }
.hero .lead { font-size: 1.16rem; color: var(--grey); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-trust .ht { display: flex; align-items: center; gap: 9px; color: var(--grey); font-size: 0.86rem; }
.hero-trust .ht b { color: var(--silver); font-weight: 700; }

/* Medallón con anillo giratorio (eco del círculo del logo) */
.hero-medallion { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; margin: 0 auto; }
.hero-medallion .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-strong); }
.hero-medallion .ring.r2 { inset: 8%; border-style: dashed; border-color: rgba(91,158,224,0.3); animation: spin 32s linear infinite; }
.hero-medallion .ring.r3 { inset: -6%; border-color: rgba(91,158,224,0.14); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-medallion .ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 14px var(--blue-bright); }
.hero-medallion .glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(47,122,209,0.35), transparent 65%); filter: blur(34px); animation: breathe 5s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity:.5; transform: scale(.92);} to { opacity:1; transform: scale(1.06);} }
.hero-medallion img { position: relative; width: 78%; border-radius: 50%; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-14px);} }

/* ================= STATS ================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 34px 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--serif); font-size: 2.9rem; font-weight: 700; color: var(--white); }
.stat .label { font-size: 0.74rem; color: var(--grey-dim); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 8px; }

/* ================= EDITORIAL: fotos ================= */
.ph { position: relative; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.08) brightness(0.9); transition: transform 0.8s cubic-bezier(.2,.8,.2,1); }
.ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #1a4576, #0a1626); mix-blend-mode: color; opacity: 0.78; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,24,0.12), rgba(6,13,24,0.68)); }
.ph:hover img { transform: scale(1.06); }

/* Marco con esquinas tipo "bracket" */
.frame { position: relative; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.frame::before, .frame::after { content: ""; position: absolute; width: 34px; height: 34px; z-index: 3; pointer-events: none; }
.frame::before { top: 14px; left: 14px; border-top: 2px solid var(--blue-soft); border-left: 2px solid var(--blue-soft); }
.frame::after { bottom: 14px; right: 14px; border-bottom: 2px solid var(--blue-soft); border-right: 2px solid var(--blue-soft); }
.frame .tagchip { position: absolute; z-index: 4; bottom: 16px; left: 16px; background: rgba(6,13,24,0.72); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 4px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.tagchip .tc-num { font-family: var(--serif); font-size: 1.7rem; color: var(--blue-soft); line-height: 1; font-weight: 700; }
.tagchip .tc-label { font-size: 0.68rem; color: var(--grey); letter-spacing: 0.1em; text-transform: uppercase; }
.float-soft { animation: float 7s ease-in-out infinite; }

/* Filas alternadas */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
.feature.reverse .feature-media { order: 2; }
.feature-media { height: 440px; }
.feature .tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-soft); border-left: 2px solid var(--blue-soft); padding-left: 12px; margin-bottom: 18px; }
.feature h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.feature p { color: var(--grey); margin-bottom: 14px; }

/* ================= SERVICIOS: índice editorial ================= */
.svc-index { margin-top: 40px; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 70px 1fr 1.4fr auto; gap: 26px; align-items: center; padding: 30px 14px; border-bottom: 1px solid var(--line); transition: background 0.35s, padding 0.35s; position: relative; }
.svc-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue-grad); transition: width 0.35s; }
.svc-row:hover { background: rgba(47,122,209,0.05); padding-left: 26px; }
.svc-row:hover::before { width: 3px; }
.svc-row .svc-num { font-family: var(--serif); font-size: 1.5rem; color: var(--blue-soft); font-weight: 700; }
.svc-row .svc-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.svc-row .svc-desc { color: var(--grey); font-size: 0.96rem; }
.svc-row .svc-go { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--blue-soft); transition: 0.35s; flex: none; }
.svc-row:hover .svc-go { background: var(--blue-grad); color: #fff; border-color: transparent; transform: rotate(-45deg); }

/* Tarjetas (áreas / valores) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.card { position: relative; background: linear-gradient(165deg, var(--navy-2), var(--navy-3)); border: 1px solid var(--line); border-radius: 6px; padding: 36px 30px; transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 16px; left: 16px; width: 26px; height: 26px; border-top: 2px solid transparent; border-left: 2px solid transparent; transition: border-color 0.4s; }
.card:hover { transform: translateY(-8px); border-color: rgba(91,158,224,0.45); box-shadow: 0 26px 60px rgba(0,0,0,0.5), 0 0 40px rgba(47,122,209,0.12); }
.card:hover::before { border-color: var(--blue-soft); }
.card-ico { width: 56px; height: 56px; border-radius: 8px; display: grid; place-items: center; background: rgba(47,122,209,0.12); border: 1px solid rgba(47,122,209,0.3); margin-bottom: 22px; font-size: 1.6rem; transition: transform 0.4s; }
.card:hover .card-ico { transform: translateY(-3px) scale(1.06); }
.card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card p { color: var(--grey); font-size: 0.96rem; }

/* Proceso */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; position: relative; }
.process::before { content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.step { text-align: center; position: relative; z-index: 1; }
.step .snum { width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 8px; transform: rotate(45deg); background: var(--navy-2); border: 1px solid var(--blue); display: grid; place-items: center; box-shadow: 0 0 0 8px var(--navy); transition: 0.4s; }
.step .snum span { transform: rotate(-45deg); font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--blue-soft); }
.step:hover .snum { background: var(--blue-grad); transform: rotate(45deg) translateY(-4px); }
.step:hover .snum span { color: #fff; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--grey); font-size: 0.92rem; }

/* Banda con foto */
.band { position: relative; padding: 120px 0; overflow: hidden; background-size: cover; background-position: center; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,24,0.92), rgba(6,13,24,0.8)), radial-gradient(70% 120% at 90% 0%, rgba(47,122,209,0.28), transparent 55%); }
.band > .container { position: relative; z-index: 1; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.why { padding: 32px 26px; border: 1px solid var(--line); border-radius: 6px; background: rgba(10,22,38,0.6); backdrop-filter: blur(6px); transition: transform 0.4s, border-color 0.4s; }
.why:hover { transform: translateY(-6px); border-color: rgba(91,158,224,0.45); }
.why .why-ico { font-size: 1.8rem; margin-bottom: 14px; }
.why h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why p { color: var(--grey); font-size: 0.9rem; }

/* Misión / visión */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.mv-card { padding: 44px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(165deg, var(--navy-2), var(--navy-3)); position: relative; }
.mv-card .mv-ico { font-size: 2rem; margin-bottom: 16px; }
.mv-card h3 { font-size: 1.7rem; margin-bottom: 14px; }
.mv-card p { color: var(--grey); }

/* Testimonios */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.t-card { padding: 36px 30px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(165deg, var(--navy-2), var(--navy-3)); transition: transform 0.4s, border-color 0.4s; }
.t-card:hover { transform: translateY(-6px); border-color: rgba(91,158,224,0.4); }
.t-card .stars { color: var(--blue-soft); letter-spacing: 3px; margin-bottom: 14px; }
.t-card p { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--white); margin-bottom: 22px; line-height: 1.5; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--blue-soft); filter: grayscale(1) contrast(1.05); }
.t-author .ini { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-grad); color: #fff; font-family: var(--serif); font-weight: 700; }
.t-author b { display: block; font-family: var(--sans); font-size: 0.95rem; }
.t-author span { font-size: 0.8rem; color: var(--grey-dim); }

/* FAQ */
.faq { max-width: 820px; margin: 50px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 6px; margin-bottom: 14px; background: rgba(10,22,38,0.5); overflow: hidden; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(91,158,224,0.45); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--serif); font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { color: var(--blue-soft); font-size: 1.4rem; transition: transform 0.3s; flex: none; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .faq-body { padding: 0 26px 24px; color: var(--grey); }

/* CTA */
.cta { position: relative; text-align: center; padding: 88px 40px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(140deg, rgba(30,77,140,0.22), rgba(14,44,82,0.12)); }
.cta h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 18px; }
.cta p { color: var(--grey); max-width: 560px; margin: 0 auto 30px; }

/* Encabezado de página */
.page-head { padding: 190px 0 60px; text-align: center; position: relative; }
.page-head h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 14px; }
.page-head p { color: var(--grey); max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-dim); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--blue-soft); }
.page-head-photo { position: absolute; inset: 0; z-index: -1; }
.page-head-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,13,24,0.8), rgba(6,13,24,0.96)); }
.page-head-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(0.7); }
.page-head-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #1a4576, #0a1626); mix-blend-mode: color; opacity: 0.7; z-index: 1; }

/* Equipo */
.team img.team-photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; border: 1px solid var(--blue-soft); filter: grayscale(1) contrast(1.05) brightness(0.95); transition: transform 0.4s, filter 0.4s; }
.team-card { text-align: center; }
.team-card:hover img.team-photo { transform: scale(1.05); filter: grayscale(0.4) contrast(1.05); }
.team-card .role { color: var(--blue-soft); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 6px 0 12px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; background: var(--navy-2); border: 1px solid var(--line); border-radius: 4px; color: var(--white); font-family: var(--sans); font-size: 0.95rem; transition: border-color 0.3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.ci-item { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.ci-item .ci-ico { width: 48px; height: 48px; border-radius: 6px; background: rgba(47,122,209,0.12); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.ci-item b { display: block; }
.ci-item span { color: var(--grey); font-size: 0.92rem; }
.loc-card { display: flex; gap: 18px; align-items: flex-start; }
.loc-card .pin { flex: none; width: 50px; height: 50px; border-radius: 6px; background: var(--blue-grad); display: grid; place-items: center; font-size: 1.3rem; }
.loc-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.loc-card p { color: var(--grey); font-size: 0.94rem; }
.map-embed { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); margin-top: 40px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; filter: invert(0.92) hue-rotate(180deg) contrast(0.9); }

/* Legal */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--grey); margin-bottom: 14px; }
.legal ul { padding-left: 22px; }
.legal ul li { margin-bottom: 8px; }

/* ================= FOOTER ================= */
.footer { border-top: 1px solid var(--line); padding: 70px 0 30px; background: var(--navy-2); position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--blue-grad); opacity: 0.6; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 66px; margin-bottom: 18px; }
.footer-brand p { color: var(--grey); font-size: 0.92rem; max-width: 300px; }
.footer h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--grey); font-size: 0.92rem; transition: color 0.3s; }
.footer ul a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; margin-top: 6px; }
.footer-social a { width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--line); display: grid; place-items: center; transition: 0.3s; }
.footer-social a:hover { border-color: var(--blue-soft); background: rgba(47,122,209,0.1); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--grey-dim); font-size: 0.84rem; }
.footer-bottom a:hover { color: var(--blue-soft); }

/* ================= IMAGEN POR TEMA (reemplaza emojis) ================= */
.ico-photo { width: 100%; height: 150px; border-radius: 8px; overflow: hidden; margin-bottom: 22px; position: relative; border: 1px solid var(--line); }
.ico-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.9); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.ico-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #1a4576, #0a1626); mix-blend-mode: color; opacity: 0.72; }
.ico-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,24,0.1), rgba(6,13,24,0.55)); }
.card:hover .ico-photo img, .why:hover .ico-photo img { transform: scale(1.06); }
.why .ico-photo { height: 130px; margin-bottom: 18px; }

/* ================= PÁGINAS LEGALES (rediseño) ================= */
.legal-layout { display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: start; max-width: 1060px; margin: 0 auto; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc .toc-title { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 18px; }
.legal-toc nav { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.legal-toc nav a { padding: 10px 18px; margin-left: -1px; font-size: 0.9rem; color: var(--grey); border-left: 2px solid transparent; transition: color 0.3s, border-color 0.3s, background 0.3s; }
.legal-toc nav a:hover { color: var(--white); border-left-color: var(--blue-soft); background: rgba(47,122,209,0.06); }
.toc-card { margin-top: 26px; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(165deg, var(--navy-2), var(--navy-3)); }
.toc-card h4 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 8px; }
.toc-card p { color: var(--grey); font-size: 0.85rem; margin-bottom: 16px; }
.toc-card .btn { width: 100%; justify-content: center; padding: 12px 18px; }
.legal-updated { display: inline-flex; align-items: center; gap: 9px; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-soft); border: 1px solid var(--line); background: rgba(47,122,209,0.06); padding: 8px 16px; border-radius: 4px; margin-bottom: 34px; }
.legal-updated .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); }
.legal-section { padding: 30px 0 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.legal-section:last-of-type { border-bottom: none; }
.ls-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.ls-num { flex: none; width: 46px; height: 46px; border-radius: 8px; transform: rotate(45deg); display: grid; place-items: center; background: var(--blue-grad); box-shadow: 0 10px 26px rgba(47,122,209,0.3); }
.ls-num span { transform: rotate(-45deg); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.ls-head h2 { font-size: 1.5rem; margin: 0; }
.legal-section p, .legal-section li { color: var(--grey); margin-bottom: 14px; }
.legal-section ul { padding-left: 20px; margin-bottom: 14px; }
.legal-section ul li { margin-bottom: 8px; }
.legal-section a { color: var(--blue-soft); }
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; }
  .legal-toc nav { flex-flow: row wrap; border-left: none; gap: 6px; }
  .legal-toc nav a { border: 1px solid var(--line); border-radius: 4px; padding: 7px 14px; font-size: 0.82rem; }
}

/* WhatsApp flotante */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; align-items: center; height: 58px; padding: 0 17px; border-radius: 50px; background: #25D366; color: #fff; font-weight: 600; font-size: 0.9rem; box-shadow: 0 12px 34px rgba(37,211,102,0.45); overflow: hidden; max-width: 58px; transition: max-width 0.4s, transform 0.3s, box-shadow 0.3s; }
.wa-float .wa-ic { font-size: 1.6rem; flex: none; }
.wa-float .wa-label { white-space: nowrap; opacity: 0; margin-left: 0; transition: opacity 0.3s, margin 0.3s; }
.wa-float:hover { max-width: 320px; transform: translateY(-3px); }
.wa-float:hover .wa-label { opacity: 1; margin-left: 12px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50px; animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5);} 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; } .reveal.d2 { transition-delay: 0.2s; } .reveal.d3 { transition-delay: 0.3s; }

/* ================= RESPONSIVE ================= */
@media (min-width: 901px) { .band { background-attachment: fixed; } }
@media (max-width: 900px) {
  .hero-grid, .feature, .contact-grid, .mv-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-medallion { order: -1; max-width: 320px; }
  .feature.reverse .feature-media { order: -1; }
  .feature-media { height: 320px; }
  .grid-3, .grid-2, .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:first-child, .stat:nth-child(2) { border-top: none; }
  .process, .why-grid { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .svc-row { grid-template-columns: 50px 1fr auto; }
  .svc-row .svc-desc { display: none; }
  .t-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 330px; background: var(--navy-2); flex-direction: column; justify-content: center; gap: 30px; transition: right 0.4s; box-shadow: -20px 0 50px rgba(0,0,0,0.5); z-index: 200; }
  .nav-links.open { right: 0; }
  .menu-toggle { display: flex; z-index: 201; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .stats, .process, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 74px 0; }
  .hero { padding: 120px 0 60px; }
  .band { padding: 80px 0; }
  .svc-row { grid-template-columns: 44px 1fr auto; padding: 22px 6px; }
  .wa-float { bottom: 16px; right: 16px; }
}
