/* ============================================================
   GABINO VÁZQUEZ ABOGADOS — stylesheet
   Palette: navy / cream / gold, serif headings, Jost body
   ============================================================ */

:root{
  --navy: #0c1b33;
  --navy-2: #132a4d;
  --navy-3: #1c3763;
  --gold: #b98d3e;
  --gold-light: #d8b877;
  --cream: #f7f3ec;
  --cream-2: #efe8da;
  --ink: #1c2230;
  --ink-soft: #4b5468;
  --white: #ffffff;
  --whatsapp: #25D366;
  --whatsapp-dark: #1ea952;
  --shadow: 0 20px 50px -20px rgba(12,27,51,.35);
  --radius: 14px;
  --container: 1200px;
  --ff-serif: "Playfair Display", serif;
  --ff-script: "Cormorant Garamond", serif;
  --ff-sans: "Jost", sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--ff-sans);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4,h5{ font-family:var(--ff-serif); font-weight:600; margin:0 0 .5em; color:var(--navy); line-height:1.15; }
p{ margin:0 0 1em; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
section.section{ padding:100px 0; }
.on-navy{ background:var(--navy); color:#dfe4ee; }
.on-navy h2, .on-navy h3, .on-navy h4{ color:var(--white); }
.on-navy p{ color:#b7c0d4; }
.alt-bg{ background:var(--cream-2); }

/* ---------- utility ---------- */
.eyebrow{
  display:inline-block; font-family:var(--ff-sans); font-size:13px; letter-spacing:.18em;
  text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:14px;
}
.eyebrow.on-dark{ color:var(--gold-light); }
.divider-orn{ width:64px; height:3px; background:linear-gradient(90deg,var(--gold),var(--gold-light)); margin:18px 0 22px; border-radius:2px; }
.section-head{ max-width:720px; margin:0 auto 60px; text-align:center; }
.section-head h2{ font-size:clamp(28px,4vw,40px); }
.section-head p{ color:var(--ink-soft); font-size:17px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 28px; border-radius:999px; font-family:var(--ff-sans); font-weight:600;
  font-size:15px; letter-spacing:.01em; border:1px solid transparent; cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn:hover{ transform:translateY(-2px); }
.btn-whatsapp{ background:var(--whatsapp); color:#fff; box-shadow:0 14px 30px -12px rgba(37,211,102,.55); }
.btn-whatsapp:hover{ background:var(--whatsapp-dark); }
.btn-gold{ background:linear-gradient(135deg,var(--gold-light),var(--gold)); color:var(--navy); box-shadow:0 14px 30px -12px rgba(185,141,62,.55); }
.btn-gold span{ position:relative; }
.btn-outline-light{ border-color:rgba(255,255,255,.5); color:#fff; }
.btn-outline-light:hover{ background:rgba(255,255,255,.12); }
.btn-outline-dark{ border-color:rgba(12,27,51,.25); color:var(--navy); }
.btn-outline-dark:hover{ background:rgba(12,27,51,.06); }
.btn-sm{ padding:10px 20px; font-size:13.5px; }
.btn-block{ width:100%; }

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loading-screen{
  position:fixed; inset:0; z-index:9999; background:var(--navy);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px;
  transition:opacity .6s ease, visibility .6s ease;
}
#loading-screen.loaded{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-emblem{ width:120px; height:120px; border-radius:20%; background:#fff; display:flex; align-items:center; justify-content:center; padding:16px; box-shadow:0 20px 50px -15px rgba(0,0,0,.5); }
.loader-emblem img{ width:100%; height:100%; object-fit:contain; }
.loader-text{ font-family:var(--ff-serif); color:#fff; letter-spacing:.08em; font-size:15px; text-transform:uppercase; }
.loader-bar{ width:180px; height:3px; background:rgba(255,255,255,.15); border-radius:3px; overflow:hidden; position:relative; }
.loader-bar::after{ content:""; position:absolute; inset:0; width:40%; background:linear-gradient(90deg,var(--gold),var(--gold-light)); animation:loaderMove 1.1s ease-in-out infinite; border-radius:3px; }
@keyframes loaderMove{ 0%{ transform:translateX(-100%);} 100%{ transform:translateX(350%);} }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:500;
  background:rgba(247,243,236,.9); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(12,27,51,.08);
  transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.is-dark{ background:rgba(12,27,51,.92); border-bottom-color:rgba(255,255,255,.08); }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding-top:14px; padding-bottom:14px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:40px; width:auto; object-fit:contain; }
.brand-text{ display:flex; flex-direction:column; line-height:1.2; }
.brand-text strong{ font-family:var(--ff-serif); font-size:18px; color:var(--navy); }
.site-header.is-dark .brand-text strong{ color:#fff; }
.brand-text span{ font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); }

.main-nav ul{ display:flex; gap:32px; }
.main-nav a{ font-size:14.5px; font-weight:500; color:var(--ink); position:relative; padding:4px 0; }
.site-header.is-dark .main-nav a{ color:#dfe4ee; }
.main-nav a::after{ content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--gold); transition:width .25s ease; }
.main-nav a:hover::after{ width:100%; }

.header-cta{ display:flex; align-items:center; gap:16px; }
.nav-toggle{ display:none; flex-direction:column; justify-content:center; gap:5px; width:38px; height:38px; border:none; background:none; cursor:pointer; }
.nav-toggle span{ width:100%; height:2px; background:var(--navy); border-radius:2px; transition:transform .3s ease, opacity .3s ease; }
.site-header.is-dark .nav-toggle span{ background:#fff; }

.mobile-nav{
  position:fixed; inset:0; z-index:600; background:var(--navy);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:26px;
  transform:translateY(-100%); transition:transform .4s ease; padding:24px;
}
.mobile-nav.open{ transform:translateY(0); }
.mobile-nav a{ color:#fff; font-family:var(--ff-serif); font-size:22px; }
.mobile-nav .btn{ margin-top:10px; }
.mobile-nav-close{ position:absolute; top:22px; right:24px; width:42px; height:42px; border:none; background:rgba(255,255,255,.08); border-radius:50%; color:#fff; font-size:20px; cursor:pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; padding:170px 0 90px; background:radial-gradient(circle at 15% 15%, var(--navy-3), var(--navy) 55%);
  color:#fff; overflow:hidden;
}
.hero video.hero-bg-video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.22; mix-blend-mode:screen;
}
.hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(12,27,51,.2), var(--navy) 92%); }
.hero .container{ position:relative; z-index:2; }
.hero-emblem-float{ position:absolute; top:-40px; right:-60px; width:420px; opacity:.06; z-index:1; pointer-events:none; }
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:60px; align-items:center; }
.hero h1{ color:#fff; font-size:clamp(32px,4.2vw,50px); margin-bottom:22px; }
.hero h1 em{ color:var(--gold-light); font-style:italic; font-family:var(--ff-script); }
.hero .lead{ font-size:17.5px; color:#c7cede; max-width:560px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin:30px 0 44px; }

.hero-badges{ display:grid; grid-template-columns:repeat(4,auto); gap:28px; }
.hero-badge{ display:flex; flex-direction:column; gap:2px; }
.hero-badge .num{ font-family:var(--ff-serif); font-size:26px; color:var(--gold-light); }
.hero-badge span:last-child{ font-size:12.5px; color:#aeb8cc; max-width:120px; }

.hero-card{
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:var(--radius);
  padding:36px 34px; backdrop-filter:blur(6px); position:relative;
}
.hero-card .quote-mark{ font-family:var(--ff-script); font-size:60px; color:var(--gold); line-height:0; display:block; margin-bottom:8px; }
.hero-card p{ font-family:var(--ff-script); font-style:italic; font-size:22px; color:#f1ecdf; margin-bottom:24px; }
.hero-card .who{ display:flex; align-items:center; gap:14px; border-top:1px solid rgba(255,255,255,.14); padding-top:20px; }
.hero-card .who .mono{ width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,var(--gold-light),var(--gold)); color:var(--navy); display:flex; align-items:center; justify-content:center; font-family:var(--ff-serif); font-weight:700; }
.hero-card .who strong{ display:block; font-size:15px; color:#fff; }
.hero-card .who span{ font-size:13px; color:var(--gold-light); }

.scroll-cue{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; gap:8px; margin-top:70px; color:#9aa5bc; font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; }
.scroll-cue .line{ width:1px; height:36px; background:linear-gradient(180deg, var(--gold), transparent); animation:scrollCue 2s ease-in-out infinite; }
@keyframes scrollCue{ 0%,100%{ transform:scaleY(1); opacity:1;} 50%{ transform:scaleY(.5); opacity:.4;} }

/* ---------- trust bar ---------- */
.trust-bar{ background:var(--cream-2); border-bottom:1px solid rgba(12,27,51,.06); }
.trust-grid{ display:grid; grid-template-columns:repeat(4,1fr); padding:44px 24px; text-align:center; gap:20px; }
.trust-item .n{ font-family:var(--ff-serif); font-size:32px; color:var(--navy); }
.trust-item p{ margin:4px 0 0; font-size:13.5px; color:var(--ink-soft); }

/* ============================================================
   HISTORIA / NOSOTROS
   ============================================================ */
.history-wrap{ display:grid; grid-template-columns:.95fr 1.05fr; gap:60px; align-items:center; }
.history-media{ position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.history-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; }
.history-media .badge-float{
  position:absolute; left:20px; bottom:20px; background:rgba(12,27,51,.85); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.15); border-radius:10px; padding:14px 18px; color:#fff;
}
.history-media .badge-float strong{ display:block; font-family:var(--ff-serif); font-size:22px; color:var(--gold-light); }
.history-media .badge-float span{ font-size:12px; color:#c7cede; }
.history-copy .founder-quote,
.laboral-closing .founder-quote{
  font-family:var(--ff-script); font-style:italic; font-size:22px; color:var(--navy);
  border-left:3px solid var(--gold); padding-left:20px; margin:24px 0;
}
.generation-tags{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.generation-tags span{ background:var(--cream-2); border:1px solid rgba(12,27,51,.1); padding:8px 16px; border-radius:999px; font-size:13px; color:var(--navy); font-weight:500; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.service-card{
  position:relative; background:#fff; border-radius:var(--radius); padding:34px 30px;
  box-shadow:0 12px 30px -18px rgba(12,27,51,.25); border:1px solid rgba(12,27,51,.05);
  transition:transform .3s ease, box-shadow .3s ease;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:0 20px 40px -16px rgba(12,27,51,.3); }
.service-card .tag{ position:absolute; top:26px; right:28px; font-family:var(--ff-serif); font-size:15px; color:rgba(12,27,51,.18); }
.icon-badge{
  width:52px; height:52px; border-radius:12px; background:linear-gradient(135deg,var(--navy-3),var(--navy)); color:var(--gold-light);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.icon-badge svg{ width:24px; height:24px; stroke:var(--gold-light); }
.service-card h3{ font-size:19.5px; margin-bottom:10px; }
.service-card p{ font-size:14.5px; color:var(--ink-soft); margin-bottom:14px; }
.service-card ul.chips{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.service-card ul.chips li{ font-size:12px; color:var(--navy); background:var(--cream-2); padding:5px 10px; border-radius:999px; }
.learn{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:var(--navy); }
.learn svg{ width:16px; height:16px; transition:transform .25s ease; }
.learn:hover svg{ transform:translateX(4px); }

.probono-banner{
  margin-top:44px; background:linear-gradient(120deg,var(--navy),var(--navy-3)); border-radius:var(--radius);
  padding:36px 40px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; color:#fff;
}
.probono-banner h3{ color:#fff; font-size:22px; margin-bottom:6px; }
.probono-banner p{ color:#c7cede; margin:0; max-width:520px; font-size:14.5px; }

/* ============================================================
   MEDIA / GALLERY thumbnails (client flyers as lightbox items)
   ============================================================ */
.media-strip{ display:flex; gap:14px; margin-top:22px; flex-wrap:wrap; }
.media-thumb{
  width:86px; height:86px; border-radius:10px; overflow:hidden; cursor:zoom-in; border:1px solid rgba(12,27,51,.1);
  position:relative; flex-shrink:0;
}
.media-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.media-thumb:hover img{ transform:scale(1.08); }
.media-thumb::after{ content:"+"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; background:rgba(12,27,51,.35); font-size:22px; opacity:0; transition:opacity .25s ease; }
.media-thumb:hover::after{ opacity:1; }

#lightbox{
  position:fixed; inset:0; z-index:2000; background:rgba(8,14,26,.92); display:none; align-items:center; justify-content:center; padding:40px;
}
#lightbox.open{ display:flex; }
#lightbox img{ max-width:min(600px,90vw); max-height:86vh; border-radius:10px; box-shadow:0 30px 70px -20px rgba(0,0,0,.6); }
#lightbox-close{ position:absolute; top:24px; right:28px; width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.1); border:none; color:#fff; font-size:22px; cursor:pointer; }

/* ============================================================
   VIDEOS (Conócenos)
   ============================================================ */
.video-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:30px; }
.video-card{ position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); background:#000; }
.video-card video{ width:100%; display:block; aspect-ratio:16/9; object-fit:cover; }
.video-card .video-caption{ position:absolute; left:0; right:0; bottom:0; padding:20px 22px; background:linear-gradient(180deg, transparent, rgba(0,0,0,.75)); color:#fff; }
.video-card .video-caption strong{ display:block; font-family:var(--ff-serif); font-size:17px; }
.video-card .video-caption span{ font-size:12.5px; color:#d6dbe6; }
.video-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:64px; height:64px; border-radius:50%;
  background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:transform .25s ease, opacity .25s ease; box-shadow:0 10px 30px -8px rgba(0,0,0,.5);
}
.video-play svg{ width:22px; height:22px; fill:var(--navy); margin-left:3px; }
.video-card.is-playing .video-play{ opacity:0; pointer-events:none; transform:translate(-50%,-50%) scale(.8); }

/* ============================================================
   PROCESO
   ============================================================ */
.process-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:36px 30px; }
.process-item{ position:relative; padding-left:2px; }
.process-item .pnum{ font-family:var(--ff-serif); font-size:13px; letter-spacing:.12em; color:var(--gold); }
.process-item h3{ font-size:20px; margin:10px 0 8px; }
.process-item p{ font-size:14.5px; color:var(--ink-soft); }

/* ============================================================
   EMPRESAS SPOTLIGHT
   ============================================================ */
.empresa-wrap{ display:grid; grid-template-columns:.85fr 1.15fr; gap:54px; align-items:center; }
.empresa-media{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.empresa-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:3/4; }
.empresa-copy .price-tag{ display:inline-flex; align-items:baseline; gap:8px; background:var(--cream-2); border-radius:999px; padding:10px 20px; margin:18px 0 26px; }
.empresa-copy .price-tag strong{ font-family:var(--ff-serif); font-size:22px; color:var(--navy); }
.empresa-copy .price-tag span{ font-size:13px; color:var(--ink-soft); }
.empresa-list{ display:grid; gap:14px; margin-bottom:30px; }
.empresa-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; color:var(--ink); }
.empresa-list svg{ width:20px; height:20px; flex-shrink:0; margin-top:2px; stroke:var(--gold); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-wrap{ display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; align-items:flex-start; }
.contact-cards{ display:flex; flex-direction:column; gap:20px; }
.contact-card{ display:flex; gap:20px; background:#fff; border-radius:var(--radius); padding:28px; box-shadow:0 12px 30px -20px rgba(12,27,51,.3); }
.contact-card > div{ min-width:0; flex:1; }
.contact-card .role{ font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); font-weight:600; }
.contact-card h4{ font-size:19px; margin:6px 0 12px; }
.contact-card ul{ display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.contact-card li{ display:flex; align-items:center; gap:10px; font-size:14px; color:var(--ink-soft); overflow-wrap:anywhere; }
.contact-card svg{ width:18px; height:18px; stroke:var(--gold); flex-shrink:0; }
.mini-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.map-embed{ border-radius:var(--radius); overflow:hidden; box-shadow:0 12px 30px -20px rgba(12,27,51,.3); }
.map-embed iframe{ width:100%; height:260px; border:0; display:block; }

.contact-form{ background:var(--navy); border-radius:var(--radius); padding:40px; color:#fff; }
.contact-form h3{ color:#fff; }
.contact-form > p{ color:#b7c0d4; font-size:14.5px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:24px 0 8px; }
.field.full{ grid-column:1/-1; }
.field label{ display:block; font-size:13px; color:#c7cede; margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 16px; border-radius:8px; border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06); color:#fff; font-family:var(--ff-sans); font-size:14.5px;
}
.field textarea{ min-height:100px; resize:vertical; }
.field select option{ color:#111; }
.field input::placeholder, .field textarea::placeholder{ color:#8a93a8; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--gold); }
.form-foot{ margin-top:18px; }
.form-note{ font-size:12.5px; color:#8a93a8; margin-top:12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background:var(--navy); color:#b7c0d4; padding-top:70px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ height:34px; }
.footer-brand strong{ display:block; font-family:var(--ff-serif); color:#fff; font-size:17px; }
.footer-brand span{ font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-light); }
.footer-grid .desc{ font-size:14px; max-width:320px; }
.footer-social{ display:flex; gap:12px; margin-top:18px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:background .25s ease; }
.footer-social a:hover{ background:var(--gold); }
.footer-social svg{ width:16px; height:16px; fill:#fff; }
.footer-col h5{ color:#fff; font-family:var(--ff-sans); font-size:13px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:14px; }
.footer-col a:hover{ color:var(--gold-light); }
.footer-col li{ display:flex; align-items:flex-start; gap:8px; font-size:13.5px; overflow-wrap:anywhere; }
.footer-col svg{ width:16px; height:16px; stroke:var(--gold); flex-shrink:0; margin-top:2px; }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:24px 0; font-size:12.5px; color:#7c88a0; }
.footer-bottom a{ color:var(--gold-light); }

/* ============================================================
   FLOATING ACTIONS
   ============================================================ */
.wa-float{ position:fixed; right:24px; bottom:24px; z-index:400; display:flex; flex-direction:column; align-items:flex-end; gap:14px; }
.wa-menu{ display:flex; flex-direction:column; gap:10px; opacity:0; transform:translateY(10px); pointer-events:none; transition:opacity .25s ease, transform .25s ease; }
.wa-menu.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
.wa-menu a{ display:flex; align-items:center; gap:12px; background:#fff; border-radius:999px; padding:10px 18px 10px 10px; box-shadow:0 10px 26px -10px rgba(12,27,51,.4); font-size:13px; color:var(--navy); font-weight:500; }
.wa-menu .ico{ width:34px; height:34px; border-radius:50%; background:var(--whatsapp); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wa-menu .ico svg{ width:18px; height:18px; fill:#fff; }
.wa-menu small{ color:var(--ink-soft); font-weight:400; }
.wa-toggle{ width:60px; height:60px; border-radius:50%; background:var(--whatsapp); border:none; box-shadow:0 14px 30px -10px rgba(37,211,102,.6); cursor:pointer; display:flex; align-items:center; justify-content:center; animation:pulseWA 2.4s ease-in-out infinite; }
.wa-toggle svg{ width:30px; height:30px; fill:#fff; }
@keyframes pulseWA{ 0%,100%{ box-shadow:0 14px 30px -10px rgba(37,211,102,.6);} 50%{ box-shadow:0 14px 30px -6px rgba(37,211,102,.85);} }

.to-top{ position:fixed; left:24px; bottom:24px; z-index:400; width:48px; height:48px; border-radius:50%; background:var(--navy); border:none; color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; opacity:0; transform:translateY(10px); pointer-events:none; transition:opacity .3s ease, transform .3s ease; }
.to-top.show{ opacity:1; transform:translateY(0); pointer-events:auto; }
.to-top svg{ width:20px; height:20px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal]{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible{ opacity:1; transform:translateY(0); }
[data-reveal-delay="1"]{ transition-delay:.08s; }
[data-reveal-delay="2"]{ transition-delay:.16s; }
[data-reveal-delay="3"]{ transition-delay:.24s; }
[data-reveal-delay="4"]{ transition-delay:.32s; }
[data-reveal-delay="5"]{ transition-delay:.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px){
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .process-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width:900px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header-cta .btn{ display:none; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-badges{ grid-template-columns:repeat(2,1fr); }
  .history-wrap{ grid-template-columns:1fr; }
  .history-media img{ aspect-ratio:16/9; }
  .empresa-wrap{ grid-template-columns:1fr; }
  .empresa-media img{ aspect-ratio:16/9; }
  .contact-wrap{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .video-grid{ grid-template-columns:1fr; }
  .trust-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:640px){
  section.section{ padding:70px 0; }
  .hero{ padding:140px 0 60px; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ width:100%; }
  .hero-badges{ grid-template-columns:repeat(2,1fr); gap:20px; }
  .services-grid{ grid-template-columns:1fr; }
  .process-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; text-align:center; }
  .probono-banner{ flex-direction:column; align-items:flex-start; }
  .wa-float{ right:16px; bottom:16px; }
  .to-top{ left:16px; bottom:16px; width:42px; height:42px; }
  .contact-form{ padding:28px 22px; }
  .rights-wrap{ grid-template-columns:1fr !important; }
}

/* ---------- conoce tus derechos (penal quick-steps) ---------- */
.rights-wrap{ display:grid; grid-template-columns:.95fr 1.05fr; gap:60px; align-items:center; }
.rights-callout{ font-family:var(--ff-script); font-style:italic; font-size:22px; color:var(--gold-light); margin:22px 0; }
.steps-list{ display:flex; flex-direction:column; gap:22px; }
.step-row{ display:flex; gap:20px; align-items:flex-start; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:20px 22px; }
.step-row .step-num{ font-family:var(--ff-serif); font-size:22px; color:var(--gold); flex-shrink:0; }
.step-row h4{ color:#fff; font-size:16.5px; margin-bottom:4px; }
.step-row p{ font-size:13.5px; color:#b7c0d4; margin:0; }

/* keeps section intros readable when a section-head sits on a navy background */
.on-navy .section-head p{ color:#b7c0d4; }

/* ============================================================
   DERECHO LABORAL
   ============================================================ */
/* prose de entrada: dos columnas de texto, sin imagen */
.laboral-intro{ display:grid; grid-template-columns:1fr 1fr; gap:24px 56px; max-width:1000px; margin:0 auto; }
.laboral-intro p{ margin:0; font-size:15.5px; color:var(--ink-soft); }

/* los tres puntos concretos, como tarjetas */
.laboral-checks{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin:52px 0; align-items:stretch; }
.laboral-check{
  background:#fff; border:1px solid rgba(12,27,51,.05); border-top:3px solid var(--gold);
  border-radius:var(--radius); padding:30px 28px; box-shadow:0 12px 30px -20px rgba(12,27,51,.3);
  transition:transform .3s ease, box-shadow .3s ease;
}
.laboral-check:hover{ transform:translateY(-6px); box-shadow:0 20px 40px -18px rgba(12,27,51,.3); }
.laboral-check p{ margin:0; font-size:14.5px; color:var(--ink-soft); line-height:1.6; }

/* cierre centrado: párrafo, cita y llamada a la acción */
.laboral-closing{ max-width:820px; margin:0 auto; text-align:center; }
.laboral-closing p{ font-size:15.5px; color:var(--ink-soft); }
.laboral-closing .founder-quote{ color:var(--navy); text-align:left; display:inline-block; margin:26px 0 30px; }
.section-head.laboral-services-head{ margin-top:84px; }

/* ============================================================
   AMPAROS
   ============================================================ */
.amparos-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.amparo-item{
  display:flex; align-items:flex-start; gap:14px; background:#fff;
  border:1px solid rgba(12,27,51,.06); border-left:3px solid var(--gold);
  border-radius:10px; padding:18px 20px; box-shadow:0 12px 30px -22px rgba(12,27,51,.4);
  transition:transform .3s ease, box-shadow .3s ease;
}
.amparo-item:hover{ transform:translateY(-4px); box-shadow:0 18px 36px -18px rgba(12,27,51,.35); }
.amparo-item svg{ width:19px; height:19px; flex-shrink:0; margin-top:3px; stroke:var(--gold); }
.amparo-item span{ font-size:14.5px; color:var(--ink); line-height:1.5; }
.amparo-item-wide{ grid-column:span 2; }
.amparos-cta{
  margin-top:40px; background:#fff; border-radius:var(--radius); padding:28px 34px;
  box-shadow:0 12px 30px -22px rgba(12,27,51,.4);
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.amparos-cta p{ margin:0; font-size:15.5px; color:var(--ink); max-width:640px; }

/* ============================================================
   CONTRATOS EMPRESARIALES BÁSICOS
   ============================================================ */
.contratos-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.contrato-card{
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:12px;
  padding:28px 20px; text-align:center;
  transition:transform .3s ease, background .3s ease, border-color .3s ease;
}
.contrato-card:hover{ transform:translateY(-6px); background:rgba(255,255,255,.09); border-color:rgba(216,184,119,.45); }
.contrato-card .cnum{
  display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px;
  border-radius:50%; background:linear-gradient(135deg,var(--gold-light),var(--gold));
  color:var(--navy); font-family:var(--ff-serif); font-weight:700; font-size:16px; margin-bottom:16px;
}
.contrato-card h4{ color:#fff; font-size:17px; margin:0; line-height:1.25; }
.contrato-card h4 small{
  display:block; font-family:var(--ff-sans); font-weight:400; font-size:12.5px;
  color:var(--gold-light); margin-top:6px;
}
.contratos-alert{
  margin-top:34px; display:flex; align-items:center; justify-content:center; gap:14px;
  background:rgba(185,141,62,.14); border:1px solid rgba(216,184,119,.35);
  border-radius:999px; padding:16px 28px; text-align:center;
}
.contratos-alert svg{ width:22px; height:22px; stroke:var(--gold-light); flex-shrink:0; }
.contratos-alert span{ font-family:var(--ff-serif); font-size:18px; color:#fff; }
.contratos-cta{ margin-top:40px; display:flex; align-items:center; justify-content:center; gap:26px; flex-wrap:wrap; text-align:center; }
.contratos-cta h3{ color:#fff; font-size:22px; margin:0; }

/* ---------- responsive for the sections above ---------- */
@media (max-width:1080px){
  .amparos-grid{ grid-template-columns:repeat(2,1fr); }
  .contratos-grid{ grid-template-columns:repeat(3,1fr); }
}

@media (max-width:900px){
  .laboral-intro{ grid-template-columns:1fr; gap:16px; }
  .laboral-checks{ grid-template-columns:1fr; gap:18px; margin:40px 0; }
  .section-head.laboral-services-head{ margin-top:64px; }
}

@media (max-width:640px){
  .amparos-grid{ grid-template-columns:1fr; }
  .amparo-item-wide{ grid-column:auto; }
  .amparos-cta{ flex-direction:column; align-items:flex-start; padding:24px; }
  .contratos-grid{ grid-template-columns:repeat(2,1fr); }
  .contratos-alert{ border-radius:14px; padding:18px 20px; }
  .contratos-alert span{ font-size:16.5px; text-align:left; }
  .contratos-cta h3{ font-size:19px; }
}
