/* Medina & Asociados — conventional law-firm site. Navy + gold. */

:root {
  --bg:#FFFFFF; --surface:#F2F4F7; --ink:#1A2336; --body:#3F4651; --muted:#6A7280; --line:#E4E7EC;
  --navy:#13203B; --navy-2:#0E1830; --gold:#B08D57; --gold-soft:#D9C4A1; --gold-ink:#7E5F30;
  --on-dark:#F3EEE4; --on-dark-muted:#CDC7BA; --focus:#B08D57;

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

  --header-h:78px;
  --maxw:1200px;
  --radius:6px;
  --shadow-sm:0 1px 2px rgba(19,32,59,.06), 0 1px 3px rgba(19,32,59,.05);
  --shadow-md:0 10px 30px rgba(19,32,59,.10), 0 2px 8px rgba(19,32,59,.06);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing:border-box; }
html { overflow-x:clip; scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 12px); -webkit-text-size-adjust:100%; }
body {
  margin:0; overflow-x:clip; background:var(--bg); color:var(--body);
  font-family:var(--sans); font-size:17px; line-height:1.65; font-weight:400;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-wrap:break-word;
}
.hero-grid > *, .about-grid > *, .lifenest-grid > *, .contact-grid > *, .footer-top > * { min-width:0; }
.cr-value, .footer-col a, .footer-col li, .breadcrumb { overflow-wrap:anywhere; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }

img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; }
button { font-family:inherit; }

h1,h2,h3 { font-family:var(--serif); color:var(--ink); font-weight:700; line-height:1.12; margin:0; letter-spacing:.2px; }
p { margin:0 0 1em; }

.container { width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:clamp(20px,5vw,40px); }

.skip-link {
  position:fixed; top:10px; left:10px; z-index:200; transform:translateY(-200%);
  background:var(--navy); color:var(--on-dark); padding:10px 16px; border-radius:var(--radius);
  font-size:14px; font-weight:600; transition:transform .15s ease;
}
.skip-link:focus { transform:translateY(0); }

:focus-visible { outline:2px solid var(--focus); outline-offset:3px; border-radius:3px; }

/* ---------- shared bits ---------- */
.label {
  display:inline-block; font-family:var(--sans); font-weight:600; font-size:12.5px;
  letter-spacing:.18em; text-transform:uppercase; color:var(--gold-ink); margin:0 0 14px;
}
.label.on-dark { color:var(--gold-soft); }
.section { padding:clamp(64px,9vw,108px) 0; }
.section-head { max-width:680px; }
.section-head h2 { font-size:clamp(30px,4.4vw,46px); margin-bottom:14px; }
.section-head p { color:var(--muted); font-size:clamp(16px,1.6vw,18px); margin:0; }
.center { text-align:center; margin-inline:auto; }

/* ---------- buttons ---------- */
.btn {
  --b:transparent;
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  font-family:var(--sans); font-weight:600; font-size:15px; line-height:1;
  padding:14px 26px; border-radius:var(--radius); border:1.5px solid var(--b);
  cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  text-align:center;
}
.btn:active { transform:translateY(1px); }
.btn-gold { background:var(--gold); color:#fff; --b:var(--gold); box-shadow:var(--shadow-sm); }
.btn-gold:hover { background:#9c7a48; --b:#9c7a48; box-shadow:var(--shadow-md); transform:translateY(-2px); }
.btn-outline { background:transparent; color:var(--ink); --b:var(--line); }
.btn-outline:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }
.btn-outline-light { background:transparent; color:var(--on-dark); --b:rgba(243,238,228,.45); }
.btn-outline-light:hover { border-color:var(--gold-soft); background:rgba(243,238,228,.06); transform:translateY(-2px); }
.btn[disabled] { opacity:.55; cursor:not-allowed; transform:none; box-shadow:none; }

/* ---------- header ---------- */
.header {
  position:sticky; top:0; z-index:100; background:rgba(255,255,255,.9);
  backdrop-filter:saturate(140%) blur(8px); border-bottom:1px solid var(--line);
  transition:box-shadow .2s ease, background-color .2s ease;
}
.header.scrolled { box-shadow:var(--shadow-sm); background:rgba(255,255,255,.98); }
.nav { display:flex; align-items:center; gap:24px; height:var(--header-h); }

.brand { display:flex; align-items:center; gap:12px; margin-right:auto; }
.brand-mark {
  width:42px; height:42px; flex:0 0 auto; border:1.6px solid var(--gold); border-radius:5px;
  display:grid; place-items:center; color:var(--gold); font-family:var(--serif);
  font-weight:700; font-size:16px; letter-spacing:.5px; background:rgba(176,141,87,.05);
}
.brand-text { display:flex; flex-direction:column; line-height:1.05; }
.brand-name { font-family:var(--serif); font-weight:700; font-size:22px; color:var(--ink); }
.brand-tag { font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); font-weight:600; }
.brand-logo { height:44px; width:auto; display:block; }
.brand-logo--footer { height:46px; }
.emblem-logo { width:min(82%,240px); height:auto; display:block; margin:0 auto; }
@media (max-width:560px){ .brand-logo { height:38px; } }

.nav-menu { display:flex; align-items:center; gap:6px; }
.nav-menu a {
  font-size:15px; font-weight:500; color:var(--body); padding:9px 12px; border-radius:5px;
  position:relative; transition:color .15s ease, background-color .15s ease;
}
.nav-menu a:hover { color:var(--navy); }
.nav-menu a.active { color:var(--navy); }
.nav-menu a.active::after {
  content:""; position:absolute; left:12px; right:12px; bottom:2px; height:2px; background:var(--gold); border-radius:2px;
}

.nav-actions { display:flex; align-items:center; gap:14px; }

.lang { display:inline-flex; gap:8px; border:0; background:none; padding:0; border-radius:0; overflow:visible; }
.lang button { width:30px; height:30px; padding:0; border:1px solid var(--line); border-radius:6px; overflow:hidden; background:none; cursor:pointer; line-height:0; opacity:.5; transition:opacity .15s ease, box-shadow .15s ease, border-color .15s ease; }
.lang button .flag { width:100%; height:100%; display:block; }
.lang button:hover { opacity:.85; }
.lang button[aria-pressed="true"] { opacity:1; border-color:var(--gold); box-shadow:0 0 0 2px rgba(176,141,87,.45); }
.lang button:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }

.hamburger {
  display:none; width:44px; height:44px; border:1px solid var(--line); border-radius:var(--radius);
  background:var(--surface); cursor:pointer; align-items:center; justify-content:center; color:var(--navy);
}
.hamburger svg { width:22px; height:22px; }

/* mobile overlay menu */
.mobile-menu {
  position:fixed; inset:var(--header-h) 0 0 0; z-index:99; background:var(--surface);
  border-top:1px solid var(--line); padding:24px clamp(20px,5vw,40px) 40px;
  display:none; flex-direction:column; gap:4px; overflow-y:auto;
}
.mobile-menu.open { display:flex; }
.mobile-menu a {
  font-family:var(--serif); font-size:26px; font-weight:600; color:var(--ink);
  padding:14px 0; border-bottom:1px solid var(--line);
}
.mobile-menu a:hover { color:var(--gold); }
.mobile-menu .btn { margin-top:22px; }
body.menu-open { overflow:hidden; }

/* ---------- hero ---------- */
.hero {
  position:relative; isolation:isolate;
  background:linear-gradient(135deg,var(--navy),var(--navy-2)); color:var(--on-dark);
  padding:clamp(72px,11vw,128px) 0 clamp(64px,9vw,108px);
}
.hero > .container { position:relative; z-index:1; }
.hero-bg { position:absolute; inset:0; overflow:hidden; z-index:0; }
.hero-bg::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(120deg, rgba(19,32,59,.90) 0%, rgba(19,32,59,.80) 45%, rgba(14,24,48,.74) 100%);
}
.kb-slide {
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transform:scale(1.0); will-change:transform, opacity;
  animation:kenburns 24s linear infinite;
}
.kb-1 { background-image:url("img/manzanares.jpg");  transform-origin:top left;     animation-delay:0s; }
.kb-2 { background-image:url("img/manizales.jpeg"); transform-origin:bottom right; animation-delay:-8s; }
.kb-3 { background-image:url("img/pereira.jpg");     transform-origin:top right;    animation-delay:-16s; }
@keyframes kenburns {
  0%   { opacity:0; transform:scale(1.0); }
  2%   { opacity:1; }
  31%  { opacity:1; }
  36%  { opacity:0; transform:scale(1.10); }
  100% { opacity:0; transform:scale(1.0); }
}
@media (prefers-reduced-motion:reduce){
  .kb-slide { animation:none; transform:none; }
  .kb-1 { opacity:1; }
  .kb-2, .kb-3 { opacity:0; }
}
.hero-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(36px,5vw,72px); align-items:center; }
.hero-kicker { color:var(--gold-soft); font-weight:600; font-size:13px; letter-spacing:.16em; text-transform:uppercase; margin:0 0 18px; }
.hero h1 { color:#fff; font-size:clamp(38px,6vw,66px); line-height:1.05; margin:0 0 22px; }
.hero-sub { color:var(--on-dark-muted); font-size:clamp(17px,1.8vw,20px); max-width:48ch; margin:0 0 32px; }
.hero-cta { display:flex; flex-wrap:wrap; gap:14px; }

.hero-emblem {
  border:1px solid rgba(217,196,161,.28); border-radius:10px; background:rgba(243,238,228,.05);
  padding:34px; display:flex; flex-direction:column; align-items:center; gap:18px; min-height:300px; justify-content:center;
}
.hero-emblem .emblem-mark {
  width:64px; height:64px; border:1.6px solid var(--gold-soft); border-radius:6px; display:grid; place-items:center;
  color:var(--gold-soft); font-family:var(--serif); font-weight:700; font-size:24px;
}
.hero-emblem .emblem-line { height:1px; background:rgba(217,196,161,.25); }
.hero-emblem .emblem-cap { color:var(--on-dark-muted); font-size:13.5px; letter-spacing:.04em; text-align:center; }
.hero-emblem .emblem-name { font-family:var(--serif); color:#fff; font-size:24px; font-weight:600; }

/* ---------- about ---------- */
.about-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(36px,5vw,72px); align-items:center; }
.figure {
  position:relative; aspect-ratio:4/5; border:1px solid var(--line); border-radius:8px;
  background:linear-gradient(160deg, rgba(176,141,87,.10), rgba(19,32,59,.06)); overflow:hidden;
  display:grid; place-items:end start;
}
.figure .fig-cap {
  margin:0; padding:18px 20px; font-size:13px; letter-spacing:.04em; color:var(--muted);
  font-family:var(--sans); font-variant-numeric:tabular-nums;
}
.figure .badge {
  position:absolute; top:16px; left:16px; background:var(--gold); color:#fff; font-size:11.5px;
  font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:6px 11px; border-radius:4px;
}
.about-body h2 { font-size:clamp(30px,4.4vw,46px); margin-bottom:18px; }
.about-body p { color:var(--body); margin-bottom:1.1em; }
.stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:30px; padding-top:30px; border-top:1px solid var(--line); }
.stat .stat-val { font-family:var(--serif); font-weight:700; color:var(--gold-ink); font-size:clamp(28px,3.4vw,40px); line-height:1; }
.stat .stat-label { display:block; margin-top:8px; font-size:13.5px; color:var(--muted); }

/* ---------- services ---------- */
.services { background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.services .section-head { margin-bottom:48px; }
.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.card {
  background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:34px 30px 30px;
  display:flex; flex-direction:column; box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:var(--gold-soft); }
.card-icon {
  width:54px; height:54px; border-radius:8px; background:rgba(176,141,87,.10); color:var(--gold-ink);
  display:grid; place-items:center; margin-bottom:22px;
}
.card-icon svg { width:28px; height:28px; }
.card-tag { font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); font-weight:600; margin-bottom:8px; }
.card h3 { font-size:25px; margin-bottom:12px; }
.card p { color:var(--body); font-size:15.5px; margin-bottom:22px; flex:1; }
.card-more {
  font-weight:600; font-size:14.5px; color:var(--gold-ink); display:inline-flex; align-items:center; gap:7px;
  align-self:flex-start; transition:gap .18s ease, color .18s ease;
}
.card-more:hover { gap:11px; color:#5f4622; }
.card-more .arrow { transition:transform .18s ease; }
.card-more:hover .arrow { transform:translateX(2px); }

/* ---------- lifenest band ---------- */
.lifenest { background:linear-gradient(135deg,var(--navy),var(--navy-2)); color:var(--on-dark); }
.lifenest-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(36px,5vw,72px); align-items:center; }
.lifenest h2 { color:#fff; font-size:clamp(30px,4.4vw,46px); margin-bottom:18px; }
.lifenest p { color:var(--on-dark-muted); font-size:clamp(16px,1.7vw,18.5px); margin-bottom:28px; max-width:52ch; }
.lifenest-fig {
  border:1px solid rgba(217,196,161,.28); border-radius:10px; background:rgba(243,238,228,.05);
  min-height:260px; display:grid; place-items:center; padding:34px; text-align:center; gap:14px;
}
.lifenest-fig .lf-mark {
  width:60px; height:60px; border:1.6px solid var(--gold-soft); border-radius:50%; display:grid; place-items:center;
  color:var(--gold-soft); margin-inline:auto;
}
.lifenest-fig .lf-cap { color:var(--on-dark-muted); font-size:14px; }

/* ---------- coverage ---------- */
.coverage .section-head { margin-bottom:44px; }
.sedes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.sede {
  background:var(--surface); border:1px solid var(--line); border-radius:8px; padding:30px 28px;
  border-top:3px solid var(--gold); box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease;
}
.sede:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.sede .sede-city { font-family:var(--serif); font-weight:700; font-size:28px; color:var(--ink); }
.sede .sede-region { font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-ink); font-weight:600; margin:6px 0 14px; }
.sede .sede-role { font-size:15px; color:var(--muted); margin:0; }

/* ---------- clients ---------- */
.clients { background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.clients .label { display:block; text-align:center; }
.logo-strip {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin-top:36px;
}
.logo-cell {
  display:grid; place-items:center; min-height:96px; padding:18px; border:1px solid var(--line);
  border-radius:8px; background:var(--bg);
}
.logo-cell img {
  max-height:52px; width:auto; object-fit:contain; filter:grayscale(1); opacity:.78;
  transition:filter .25s ease, opacity .25s ease;
}
.logo-cell img:hover { filter:grayscale(0); opacity:1; }
.logo-cell .logo-fallback {
  font-family:var(--serif); font-weight:600; font-size:18px; color:var(--ink); text-align:center; line-height:1.2;
}

/* ---------- contact ---------- */
.contact-grid { display:grid; grid-template-columns:.95fr 1.05fr; gap:clamp(36px,5vw,72px); align-items:start; }
.contact-info h2 { font-size:clamp(30px,4.4vw,46px); margin-bottom:14px; }
.contact-info > p { color:var(--muted); margin-bottom:28px; }
.contact-rows { display:flex; flex-direction:column; }
.contact-row {
  display:flex; flex-direction:column; gap:4px; padding:18px 0; border-top:1px solid var(--line);
}
.contact-row:last-child { border-bottom:1px solid var(--line); }
.contact-row .cr-label { font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); font-weight:600; }
.contact-row .cr-value { font-size:17px; color:var(--ink); font-weight:500; }
.contact-row a.cr-value { transition:color .15s ease; }
.contact-row a.cr-value:hover { color:var(--gold-ink); }

.form-card { background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:clamp(26px,3.4vw,40px); box-shadow:var(--shadow-md); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field { margin-bottom:18px; }
.field label { display:block; font-size:13.5px; font-weight:600; color:var(--ink); margin-bottom:7px; }
.field input, .field textarea {
  width:100%; font-family:var(--sans); font-size:15.5px; color:var(--ink); background:var(--bg);
  border:1px solid var(--line); border-radius:var(--radius); padding:12px 14px; transition:border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize:vertical; min-height:128px; }
.field input:focus, .field textarea:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(176,141,87,.18); }
.field .err { display:block; min-height:18px; margin-top:6px; font-size:13px; color:#b3261e; font-weight:500; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color:#b3261e; }
.form-card .btn-gold { width:100%; margin-top:4px; }
.form-status { min-height:22px; margin-top:14px; font-size:14.5px; color:#1f7a4d; font-weight:600; text-align:center; }

/* ---------- footer ---------- */
.footer { background:var(--navy-2); color:var(--on-dark-muted); }
.footer-top { display:grid; grid-template-columns:1.6fr 1fr 1.2fr; gap:clamp(32px,5vw,64px); padding:clamp(56px,7vw,80px) 0 48px; }
.footer .brand-name { color:#fff; }
.footer .brand-tag { color:var(--on-dark-muted); }
.footer .brand-mark { border-color:var(--gold-soft); color:var(--gold-soft); }
.footer-col h4 { font-family:var(--sans); font-size:12.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-soft); font-weight:700; margin:0 0 18px; }
.footer-tag { margin:18px 0 0; max-width:34ch; font-size:15px; line-height:1.6; }
.footer-col ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.footer-col a, .footer-col li { font-size:15px; color:var(--on-dark-muted); transition:color .15s ease; }
.footer-col a:hover { color:#fff; }
.footer-bottom {
  display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; align-items:center;
  padding:22px 0; border-top:1px solid rgba(243,238,228,.12); font-size:13.5px; color:var(--on-dark-muted);
}

/* ---------- service pages ---------- */
.page-hero { background:linear-gradient(135deg,var(--navy),var(--navy-2)); color:var(--on-dark); padding:clamp(56px,8vw,96px) 0 clamp(48px,6vw,72px); }
.page-hero.ph-legal { background-image:linear-gradient(135deg, rgba(19,32,59,.88), rgba(14,24,48,.82)), url("img/hero-juridicos.jpg"); background-size:cover; background-position:center; }
.page-hero.ph-accounting { background-image:linear-gradient(135deg, rgba(19,32,59,.88), rgba(14,24,48,.82)), url("img/hero-contables.jpg"); background-size:cover; background-position:center; }
.breadcrumb { display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-size:13px; letter-spacing:.04em; color:var(--on-dark-muted); margin-bottom:20px; }
.breadcrumb .sep { color:var(--gold-soft); }
.breadcrumb .crumb-cur { color:var(--gold-soft); }
.page-hero h1 { color:#fff; font-size:clamp(32px,5vw,52px); margin-bottom:20px; max-width:20ch; }
.page-hero .lead { color:var(--on-dark-muted); font-size:clamp(16px,1.8vw,19px); max-width:62ch; margin:0; }

.areas { display:grid; gap:0; }
.area {
  display:grid; grid-template-columns:auto 1fr; gap:24px; padding:32px 0; border-top:1px solid var(--line); align-items:start;
}
.area:last-child { border-bottom:1px solid var(--line); }
.area .area-num { font-family:var(--serif); font-weight:700; font-size:30px; color:var(--gold-ink); line-height:1; min-width:46px; }
.area h3 { font-size:24px; margin-bottom:10px; }
.area p { color:var(--body); font-size:16px; margin:0; }

.callout {
  background:var(--surface); border:1px solid var(--line); border-left:4px solid var(--gold); border-radius:6px;
  padding:clamp(28px,4vw,44px); margin-top:8px;
}
.callout p { font-family:var(--serif); font-weight:600; font-size:clamp(20px,2.6vw,28px); line-height:1.35; color:var(--ink); margin:0; }

.cta-band { background:linear-gradient(135deg,var(--navy),var(--navy-2)); color:var(--on-dark); text-align:center; }
.cta-band h2 { color:#fff; font-size:clamp(28px,4vw,42px); margin-bottom:16px; }
.cta-band p { color:var(--on-dark-muted); font-size:clamp(16px,1.7vw,18px); max-width:54ch; margin:0 auto 30px; }
.cta-band .cta-actions { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }

/* ---------- reveal animation ---------- */
.reveal { opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; will-change:opacity, transform; }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal { opacity:1; transform:none; transition:none; } }

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .hero-grid, .about-grid, .lifenest-grid, .contact-grid { grid-template-columns:1fr; }
  .hero-emblem, .lifenest-fig { order:-1; min-height:220px; }
  .about-grid .figure { max-width:420px; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .logo-strip { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:860px){
  .nav-menu, .nav-actions .btn-gold { display:none; }
  .hamburger { display:inline-flex; }
  .cards, .sedes { grid-template-columns:1fr; }
}
@media (max-width:560px){
  body { font-size:16px; }
  .stats { grid-template-columns:1fr; gap:18px; }
  .form-row { grid-template-columns:1fr; }
  .logo-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-top { grid-template-columns:1fr; }
  .brand-tag { display:none; }
}

/* ---------- about figure photo ---------- */
.figure { background:var(--navy); }
.fig-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.fig-overlay { position:absolute; inset:0; background:linear-gradient(160deg, rgba(19,32,59,.62), rgba(14,24,48,.76)); }
.fig-logo { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:min(74%,300px); height:auto; }

/* ---------- lifenest logo ---------- */
.lifenest-fig { background:var(--surface); place-items:center; }
.lf-logo { max-width:min(320px,78%); height:auto; object-fit:contain; }

/* ---------- nav dropdown (Servicios) ---------- */
.nav-item { position:relative; display:inline-flex; align-items:center; }
.has-dropdown > a { display:inline-flex; align-items:center; gap:5px; }
.has-dropdown > a::after { content:"\25BE"; font-size:11px; line-height:1; color:var(--gold-ink); transition:transform .18s ease; }
.has-dropdown:hover > a::after, .has-dropdown:focus-within > a::after { transform:rotate(180deg); }
.dropdown {
  position:absolute; top:100%; left:0; min-width:236px; background:var(--surface);
  border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow-md);
  padding:8px; display:flex; flex-direction:column; gap:2px; z-index:120;
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity:1; visibility:visible; transform:none; }
.dropdown a {
  display:block; padding:11px 14px; border-radius:7px; font-size:14.5px; font-weight:500;
  color:var(--ink); white-space:nowrap; transition:background-color .15s ease, color .15s ease;
}
.dropdown a:hover { background:var(--bg); color:var(--navy); }

/* ---------- floating WhatsApp button ---------- */
.wa-fab {
  position:fixed; right:20px; bottom:20px; z-index:90;
  width:58px; height:58px; border-radius:50%; background:#25D366; color:#fff;
  display:grid; place-items:center; box-shadow:0 8px 22px rgba(0,0,0,.28);
  transition:transform .18s ease, box-shadow .18s ease;
}
.wa-fab svg { width:32px; height:32px; }
.wa-fab:hover { transform:translateY(-3px); box-shadow:0 12px 28px rgba(0,0,0,.34); }
.wa-fab:focus-visible { outline:3px solid #fff; outline-offset:3px; }
@media (max-width:560px){ .wa-fab { right:16px; bottom:16px; width:54px; height:54px; } }
@media (prefers-reduced-motion:reduce){
  .dropdown { transition:none; transform:none; }
  .wa-fab { transition:none; }
  .has-dropdown > a::after { transition:none; }
}
