/* =========================================================
   AS Consulting Group Sucursal Monterrey — Home Premium
   Sin frameworks. Poppins como tipografía principal.
   ========================================================= */

:root {
  --navy-950: #040b1f;
  --navy-900: #0a1a3d;
  --navy-800: #10295a;
  --blue-700: #0b4f94;
  --blue-600: #0f63b8;
  --blue-500: #1f7ad8;
  --sky: #8fd0ff;
  --gold: #f7c948;
  --gold-600: #e2ab14;
  --ink: #0d1628;
  --body: #2c3650;
  --muted: #56627a;
  --line: #e3e9f3;
  --soft: #f5f8fc;
  --white: #ffffff;
  --wa: #25d366;
  --wa-600: #1ebe5a;

  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --shadow-sm: 0 6px 20px rgba(10, 26, 61, .07);
  --shadow: 0 22px 50px -18px rgba(10, 26, 61, .22);
  --shadow-lg: 0 40px 80px -30px rgba(4, 11, 31, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;               /* cuerpo ~17px (regla visual de la referencia) */
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}
h1, h2, h3 { margin: 0; color: var(--navy-900); font-family: inherit; }
h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.16; letter-spacing: -.02em; font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1.05em; }
ul { margin: 0; }
.ico { flex: none; }

.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 200;
  background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 16px; }

.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); }

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .lead { margin: 6px auto 0; max-width: 680px; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .eyebrow { justify-content: flex-start; }
.section-cta { text-align: center; margin-top: 52px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: .02em; line-height: 1.25;
  text-align: center; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 58px; padding: 16px 32px; font-size: 15.5px; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--gold {
  background: linear-gradient(180deg, #ffd45c, var(--gold)); color: var(--navy-950);
  box-shadow: 0 16px 34px -12px rgba(247, 201, 72, .65);
}
.btn--gold:hover { box-shadow: 0 20px 40px -12px rgba(247, 201, 72, .8); }
.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: var(--white);
  box-shadow: 0 16px 34px -14px rgba(15, 99, 184, .65);
}
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .05); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.btn--light { color: var(--navy-900); background: var(--white); }
.btn--light:hover { box-shadow: 0 14px 30px -12px rgba(255, 255, 255, .5); }
.btn--outline { color: var(--navy-900); background: var(--white); border-color: #c9d6ea; }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn--wa { background: var(--wa); color: var(--white); box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .6); }
.btn--wa:hover { background: var(--wa-600); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background-color .35s, box-shadow .35s, padding .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(10, 26, 61, .35);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); line-height: 1.15; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white); font-weight: 800; font-size: 17px; letter-spacing: -.03em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 10px 20px -10px rgba(31, 122, 216, .8);
}
.brand__text { font-weight: 600; font-size: 16px; }
.brand__text small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.site-header.is-scrolled .brand { color: var(--navy-900); }

.menu { display: flex; align-items: center; gap: 30px; }
.menu a { position: relative; color: rgba(255, 255, 255, .95); font-size: 15px; font-weight: 500; }
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.menu a:hover::after { transform: scaleX(1); }
.site-header.is-scrolled .menu a { color: var(--navy-900); }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .3s; }
.site-header.is-scrolled .nav-toggle span { background: var(--navy-900); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel { display: none; background: var(--white); box-shadow: var(--shadow); margin-top: 12px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.mobile-panel.is-open { display: block; }
.mobile-panel__inner { display: grid; padding-top: 8px; padding-bottom: 22px; }
.mobile-panel__inner a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--navy-900); font-weight: 500; }
.mobile-panel__cta { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  padding: 150px 0 118px;
  background:
    radial-gradient(900px 560px at 88% -5%, rgba(247, 201, 72, .16), transparent 62%),
    radial-gradient(900px 700px at -5% 10%, rgba(31, 122, 216, .38), transparent 60%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 68%, #0c3a74 100%);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
}
.hero__sierra {
  position: absolute; left: 0; right: 0; bottom: 0; height: 300px; z-index: -1;
  background: url("/assets/img/hero-sierra.svg") center bottom / cover no-repeat;
  opacity: .95;
}
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); margin: 4px 0 24px; }
.hero__lead { font-size: 18.5px; line-height: 1.75; color: rgba(255, 255, 255, .84); max-width: 640px; margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__card {
  position: relative; padding: 34px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 28px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}
.hero__card-kicker { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.hero__card-title { color: var(--white); font-size: 21px; font-weight: 600; line-height: 1.35; margin: 0 0 22px; }
.hero__card-btns { display: grid; gap: 12px; }
.hero__card-sub { margin: 26px 0 12px; font-size: 14px; color: rgba(255, 255, 255, .7); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 14px; }
.chips li a, .chips--dark li a {
  display: inline-block; padding: 8px 15px; border-radius: 999px; color: var(--white);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  transition: background-color .25s, border-color .25s;
}
.chips li a:hover { background: rgba(255, 255, 255, .18); border-color: var(--gold); }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -72px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
  background: var(--white); border-radius: 24px; box-shadow: var(--shadow);
}
.stat { padding: 32px 22px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong {
  display: block; font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  color: var(--blue-600); font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.4; }

/* ---------- Nosotros ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.intro h2 { margin-bottom: 18px; }
.intro .lead { margin-bottom: 30px; }
.intro__text p { color: var(--body); font-size: 17px; }
.intro__text { padding-top: 6px; }

/* ---------- Servicios ---------- */
.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 30px; background: var(--white); color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe0f7; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--blue-600);
  background: linear-gradient(135deg, #eaf3ff, #d6e7ff);
  transition: background .35s, color .35s;
}
.service-card:hover .service-card__icon { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: var(--white); }
.service-card h3 { color: var(--navy-900); margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
.service-card__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--blue-600);
}
.service-card__more .ico { transition: transform .3s var(--ease); }
.service-card:hover .service-card__more .ico { transform: translateX(5px); }

/* ---------- Internacional (oscuro) ---------- */
.intl {
  color: #e6edf8;
  background:
    radial-gradient(800px 420px at 100% 0, rgba(31, 122, 216, .32), transparent 62%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900));
}
.intl h2 { color: var(--white); }
.intl p { color: rgba(230, 237, 248, .84); }
.intl .eyebrow--light { margin-bottom: 14px; }
.intl__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.intl__panel {
  padding: 42px; border-radius: 28px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.intl__big strong {
  display: block; font-size: clamp(68px, 8vw, 108px); font-weight: 700; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(180deg, #ffffff 10%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intl__big span { display: block; color: rgba(255, 255, 255, .85); font-size: 17px; margin-top: 8px; }
.intl__chips-title { margin: 30px 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.intl .chips li {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--white);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.intl__more { margin: 18px 0 0; font-size: 15px; color: rgba(255, 255, 255, .7); }

/* ---------- Por qué (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento__card {
  display: flex; flex-direction: column; gap: 22px; padding: 38px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  min-height: 240px;
}
.bento__card--wide { grid-column: span 2; }
.bento__card--gold { grid-column: span 2; background: linear-gradient(160deg, #fff8dc, #ffe9a6); border-color: #f5d46b; }
.bento__card--dark { background: linear-gradient(160deg, var(--navy-900), var(--blue-700)); border: 0; }
.bento__icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none;
  background: #eaf3ff; color: var(--blue-600);
}
.bento__card--dark .bento__icon { background: rgba(255, 255, 255, .14); color: var(--gold); }
.bento__card--gold .bento__icon { background: var(--navy-900); color: var(--gold); }
.bento__text { margin: 0; font-size: 17px; color: var(--body); line-height: 1.7; }
.bento__card--gold .bento__text { margin-top: auto; }
.bento__card--dark .bento__text { color: rgba(255, 255, 255, .92); font-size: 18px; font-weight: 500; }
.bento__card--gold .bento__text { color: var(--navy-900); font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }

/* ---------- Garantía ---------- */
.guarantee { background: var(--soft); }
.guarantee__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.guarantee__grid h2 { margin-bottom: 0; }
.shield {
  width: 76px; height: 76px; border-radius: 22px; margin-bottom: 26px;
  display: grid; place-items: center; color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--navy-900));
  box-shadow: 0 18px 30px -14px rgba(15, 99, 184, .6);
}
.guarantee__grid p { color: var(--body); }
.pull {
  margin: 30px 0 34px; padding: 26px 30px;
  background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--navy-900);
}

/* ---------- Confianza ---------- */
.trust__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.trust__grid h2 { margin-bottom: 0; }
.trust__body p { color: var(--body); }
.trust__final { margin-top: 10px; padding-left: 20px; border-left: 3px solid var(--blue-500); font-size: 19px; font-weight: 600; color: var(--navy-900); line-height: 1.5; }

/* ---------- Divisiones ---------- */
.divisions { background: var(--soft); }
.division-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.division {
  padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.division:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.division__icon {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 20px;
  display: grid; place-items: center; color: var(--white);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
}
.division h3 { color: var(--navy-900); margin-bottom: 10px; font-size: 19px; }
.division p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ---------- CTA principal ---------- */
.cta-section { padding: 0 0 clamp(72px, 9vw, 120px); }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.25fr auto; gap: 40px; align-items: center;
  padding: clamp(40px, 6vw, 72px); border-radius: 34px; color: var(--white);
  background:
    radial-gradient(600px 300px at 95% 0, rgba(247, 201, 72, .28), transparent 62%),
    radial-gradient(500px 300px at 0 100%, rgba(31, 122, 216, .45), transparent 62%),
    linear-gradient(135deg, var(--navy-900), var(--blue-700));
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { margin: 0; font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 640px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 280px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__cover {
  position: relative; height: 196px; display: grid; place-items: center; color: rgba(255, 255, 255, .92); overflow: hidden;
}
.post__cover::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.post__cover--1 { background: radial-gradient(360px 200px at 80% 0, rgba(247, 201, 72, .35), transparent 60%), linear-gradient(135deg, #0a1a3d, #1f7ad8); }
.post__cover--2 { background: radial-gradient(360px 200px at 20% 0, rgba(143, 208, 255, .35), transparent 60%), linear-gradient(135deg, #10295a, #0b4f94); }
.post__cover--3 { background: radial-gradient(360px 200px at 75% 100%, rgba(247, 201, 72, .3), transparent 60%), linear-gradient(135deg, #061433, #0f63b8); }
.post__cover .ico { position: relative; z-index: 1; opacity: .9; }
.post__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 26px 28px; }
.post__tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.post h3 { font-size: 19px; line-height: 1.35; }
.post h3 a { color: var(--navy-900); }
.post h3 a:hover { color: var(--blue-600); }
.post p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.post .link-arrow { margin-top: auto; padding-top: 6px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--blue-600); }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Mapa ---------- */
.map__frame {
  height: clamp(300px, 40vw, 440px); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 84px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.6fr 1fr; gap: 44px; }
.footer__brand .brand { margin-bottom: 22px; }
.footer__need { color: var(--gold); font-weight: 600; margin: 0 0 12px; }
.footer__col h4 {
  margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white);
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer__col a { color: rgba(255, 255, 255, .72); transition: color .25s; }
.footer__col a:hover { color: var(--gold); }
.footer__col--wide ul { grid-template-columns: 1fr; }
.footer__bottom {
  margin-top: 64px; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px; color: rgba(255, 255, 255, .6);
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: rgba(255, 255, 255, .85); }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- Flotantes ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white); background: var(--wa);
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .65);
  animation: wa-pulse 2.8s infinite;
  transition: transform .25s var(--ease);
}
.float-wa:hover { transform: scale(1.06); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45), 0 14px 30px -8px rgba(37, 211, 102, .65); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 14px 30px -8px rgba(37, 211, 102, .65); }
}
.to-top {
  position: fixed; right: 26px; bottom: 98px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--navy-900);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.mobile-bar { display: none; }

/* ---------- Animación de entrada (solo con JS) ---------- */
.has-anim .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.has-anim .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .menu, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-panel { display: none; }
  .mobile-panel.is-open { display: block; }
  .site-header { padding: 14px 0; }
  .site-header.is-scrolled { padding: 10px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__card { max-width: 560px; }
  .intro__grid, .intl__grid, .guarantee__grid, .trust__grid { grid-template-columns: 1fr; gap: 40px; }
  .service-grid, .division-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--wide, .bento__card--gold { grid-column: span 2; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--wide { grid-column: span 2; }
  .footer__col--wide ul { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .cta-band__actions .btn { flex: 1 1 220px; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; padding-bottom: 84px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .lead { font-size: 17.5px; }
  h2 { font-size: 29px; }
  .hero { padding: 124px 0 96px; }
  .hero h1 { font-size: 38px; }
  .hero__lead { font-size: 17px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero__card { padding: 26px; border-radius: 22px; }
  .stats { margin-top: -48px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 12px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-grid, .division-grid, .blog-grid, .bento { grid-template-columns: 1fr; }
  .bento__card--wide, .bento__card--gold { grid-column: auto; }
  .bento__card { padding: 28px; min-height: 0; }
  .service-card { padding: 26px; }
  .intl__panel { padding: 28px; }
  .pull { font-size: 18px; padding: 22px; }
  .trust__final { font-size: 17px; }
  .cta-band { padding: 34px 24px; border-radius: 24px; }
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; flex: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__col--wide { grid-column: auto; }
  .footer__col--wide ul { grid-template-columns: 1fr; }
  .footer__bottom { margin-top: 44px; }

  .float-wa { display: none; }
  .to-top { right: 16px; bottom: 96px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 -10px 30px -16px rgba(10, 26, 61, .45);
  }
  .mobile-bar .btn { min-height: 52px; padding: 10px 12px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .has-anim .reveal { opacity: 1; transform: none; }
}

/* ---------- Páginas internas: hero corto + artículo ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  padding: 150px 0 72px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(247, 201, 72, .14), transparent 60%),
    linear-gradient(165deg, var(--navy-950), var(--navy-800) 75%, #0c3a74);
}
.page-hero h1 { color: var(--white); margin: 12px 0 0; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .72); }
.crumbs a { color: rgba(255, 255, 255, .88); }
.crumbs a:hover { color: var(--gold); }
.article-wrap { padding-top: clamp(56px, 7vw, 96px); }
.article { max-width: 800px; margin: 0 auto; }
.article h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 56px 0 18px; }
.article h2:first-child { margin-top: 0; }
.article p { color: var(--body); font-size: 17px; line-height: 1.8; }
.article ul { padding-left: 22px; margin: 0 0 1.2em; color: var(--body); }
.article li { margin-bottom: 8px; line-height: 1.7; }
.article strong { color: var(--navy-900); font-weight: 600; }
.article-cta { margin-top: 52px; text-align: center; }
@media (max-width: 760px) {
  .page-hero { padding: 124px 0 56px; }
  .article h2 { margin-top: 40px; }
}

/* ---------- Mejoras SEO/CRO páginas internas ---------- */
.article a:not(.btn) { color: var(--blue-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article a:not(.btn):hover { color: var(--navy-900); }
.article-callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin: 48px 0 8px; padding: 26px 30px; border-radius: var(--radius);
  background: var(--soft); border-left: 4px solid var(--gold);
}
.article-callout p { margin: 0; font-size: 18px; font-weight: 600; color: var(--navy-900); }
.stats--page { margin-top: -72px; }
@media (max-width: 760px) {
  .article-callout { padding: 22px; }
  .article-callout .btn { width: 100%; }
}
.page-hero { padding-bottom: 132px; }
@media (max-width: 760px) { .page-hero { padding-bottom: 104px; } }

/* ---------- Logotipo oficial ---------- */
.brand__logo { height: 46px; width: auto; max-width: 100%; }
.site-header.is-scrolled .brand__logo { filter: brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(2400%) hue-rotate(208deg) brightness(.75); }
.footer__brand .brand__logo { height: 52px; }
@media (max-width: 1080px) { .brand__logo { height: 40px; } }
@media (max-width: 480px) { .brand__logo { height: 34px; } }

/* ---------- Blog, artículo y contacto ---------- */
.post__cover--img { height: 196px; padding: 0; display: block; }
.post__cover--img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.post:hover .post__cover--img img { transform: scale(1.04); }
.blog--page { padding-top: clamp(56px, 7vw, 96px); }
.page-hero--article { padding-bottom: 96px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; font-size: 15px; color: rgba(255, 255, 255, .8); }
.article-hero { margin: -110px auto 44px; max-width: 800px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900); }
.article-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article img { max-width: 100%; height: auto; border-radius: 16px; margin: 28px 0; }
.article blockquote { margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--soft); color: var(--navy-900); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article blockquote p { margin: 0; color: var(--navy-900); }
.contact { background: var(--soft); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__intro h2 { margin-bottom: 18px; }
.contact__intro .lead { margin-bottom: 30px; }
.contact__intro .btn { margin-top: 6px; }
.contact__card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-sm); min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 26px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.field em { font-style: normal; color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fbfcfe;
  border: 1.5px solid #d7e0ee; border-radius: 12px; padding: 13px 15px; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31, 122, 216, .15); }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.page-hero + .section .contact-form { margin: 0; }
@media (max-width: 1080px) { .contact__grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact__card { padding: 26px; border-radius: 20px; }
  .article-hero { margin-top: -70px; }
  .post__cover--img { height: 180px; }
}

/* ---------- Blog y contacto ---------- */
.page-hero--article h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.12; max-width: 920px; }
.post__tag--light { color: var(--gold); margin: 6px 0 10px; }
.article-meta { margin: 16px 0 0; font-size: 15px; color: rgba(255, 255, 255, .75); }
.article-hero-img { margin: 0 0 44px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); box-shadow: var(--shadow-sm); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-page-image { width: fit-content; max-width: 100%; margin: 0 auto 44px; aspect-ratio: auto; }
.service-page-image img { width: auto; max-width: 100%; height: auto; object-fit: contain; }
.post__media { display: block; height: 200px; overflow: hidden; background: var(--soft); }
.post__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.post:hover .post__media img { transform: scale(1.04); }
.post__title { font-size: 19px; line-height: 1.35; margin: 0; }
.post__title a { color: var(--navy-900); }
.blog--related { background: var(--soft); }
.contact-wrap { padding-top: clamp(56px, 7vw, 96px); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid h2 { margin-bottom: 16px; }
.contact-grid .btn { margin-top: 10px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.field .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  padding: 13px 15px; border: 1.5px solid #cfdbec; border-radius: 12px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--blue-600); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; margin: 0 0 22px; font-weight: 600; font-size: 15px; }
.notice--ok { background: #e7f8ee; color: #135c2e; }
.notice--err { background: #fdecec; color: #8a1f1f; }
@media (max-width: 1080px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 760px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px; }
  .post__media { height: 180px; }
}
.article ul.faq li { margin: 0 0 14px; }
.article ul.faq li strong { color: var(--navy-900); }
.thanks { padding-top: clamp(56px, 7vw, 96px); }
.thanks__box { max-width: 640px; margin: 0 auto; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); }
.thanks__box p { color: var(--body); margin: 0 0 14px; }
.thanks__box .lead { color: var(--navy-900); font-weight: 600; }
.thanks__box .btn { margin-top: 18px; }

.contact-address { display: flex; gap: 12px; align-items: flex-start; font-style: normal; color: var(--body); margin: 0 0 14px; line-height: 1.6; }
.contact-address .ico { flex: none; margin-top: 3px; color: var(--blue-600); }

/* Botón de WhatsApp en contorno (fondos oscuros; variante -light para fondos claros) */
.btn--wa-line { color: var(--white); background: rgba(255, 255, 255, .04); border: 1.5px solid rgba(255, 255, 255, .38); border-radius: 12px; font-weight: 700; min-height: 52px; padding: 14px 26px; box-shadow: none; }
.btn--wa-line:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); box-shadow: none; }
.btn--wa-line-light { color: var(--navy-900); background: var(--white); border-color: var(--navy-900); }
.btn--wa-line-light:hover { background: var(--navy-900); color: var(--white); }
.footer__social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 22px 0 0; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--white); border: 1px solid rgba(255, 255, 255, .22); transition: background-color .25s, border-color .25s, color .25s; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
/* ---------- Páginas de servicio y landings (WordPress migrado) ---------- */
.cta-row { margin: 22px 0 30px; }
.cta-row .btn--wa-line-light { color: var(--navy-900); }
.form-card--inline { margin: 40px 0; max-width: none; }
.form-card--inline .btn--block { margin-top: 6px; }
.article .btn { font-size: 15px; }


/* ---------- Landing de despacho para tráfico de búsqueda pagada ---------- */
.lead-landing-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  padding: clamp(36px, 4.5vw, 60px) 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(247, 201, 72, .14), transparent 60%),
    linear-gradient(165deg, var(--navy-950), var(--navy-800) 75%, #0c3a74);
}
.lead-landing-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  grid-template-areas: "form copy";
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.lead-landing-hero__copy { grid-area: copy; max-width: 590px; }
.lead-landing-hero__form { grid-area: form; min-width: 0; }
.lead-landing-hero h1 {
  max-width: 620px; color: var(--white); font-size: clamp(36px, 4vw, 50px);
  line-height: 1.1; letter-spacing: -.03em;
}
.lead-landing-hero__intro {
  margin: 20px 0 22px; color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.55vw, 20px); line-height: 1.6;
}
.lead-landing-hero__benefits {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px; margin: 0 0 26px; padding: 0; list-style: none;
}
.lead-landing-hero__benefits li {
  position: relative; padding-left: 24px; color: rgba(255, 255, 255, .92);
  font-size: 15px; line-height: 1.5;
}
.lead-landing-hero__benefits li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700;
}
.lead-landing-hero__whatsapp { min-height: 50px; }
.form-card--landing {
  margin: 0; max-width: none; padding: clamp(24px, 2.8vw, 34px);
  border-radius: 20px; box-shadow: 0 20px 48px rgba(4, 11, 31, .28);
}
.form-card--landing h2 {
  margin: 0 0 8px; color: var(--navy-900); font-size: clamp(25px, 2.2vw, 30px); line-height: 1.2;
}
.form-card--landing > p { margin: 0 0 20px; color: var(--body); font-size: 15px; line-height: 1.55; }
.form-card--landing .form-row { gap: 12px; }
.form-card--landing .field { margin-bottom: 13px; }
.form-card--landing .field input, .form-card--landing .field select {
  min-height: 48px; padding: 10px 13px; font-size: 16px;
}
.form-card--landing .btn--block { min-height: 54px; margin-top: 4px; }
.lead-landing-hero__privacy { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.lead-landing-hero__privacy a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }
.lead-landing-article { padding-top: clamp(40px, 5vw, 64px); }
@media (max-width: 980px) {
  .lead-landing-hero { padding: 36px 0 48px; }
  .lead-landing-hero__grid {
    max-width: 760px; grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "form"; gap: 30px;
  }
  .lead-landing-hero__copy { max-width: none; }
  .lead-landing-hero h1 { max-width: 760px; font-size: clamp(34px, 5vw, 46px); }
}
@media (max-width: 760px) {
  .lead-landing-hero { padding: 28px 0 38px; }
  .lead-landing-hero__grid { gap: 24px; }
  .lead-landing-hero__intro { margin: 16px 0 18px; font-size: 17px; }
  .lead-landing-hero__benefits { grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px; }
  .form-card--landing { padding: 22px 18px; border-radius: 18px; }
}


/* Navegación de conversión para la landing de despacho */
.lead-landing-hero .form-card--landing { scroll-margin-top: 104px; }
.site-header--landing .header-cta__short { display: none; }
@media (max-width: 1080px) {
  .site-header--landing .nav { gap: 8px; }
  .site-header--landing .nav-toggle { display: none; }
  .site-header--landing .header-cta { display: inline-flex; min-height: 40px; padding: 8px 10px; font-size: 12px; }
  .site-header--landing .header-cta__label { display: none; }
  .site-header--landing .header-cta__short { display: inline; }
}
@media (max-width: 480px) { .site-header--landing .brand__logo { height: 30px; } }
@media (max-width: 980px) {
  .lead-landing-hero__grid { grid-template-areas: "title" "intro" "form" "benefits" "whatsapp"; gap: 22px; }
  .lead-landing-hero__copy { display: contents; }
  .lead-landing-hero h1 { grid-area: title; }
  .lead-landing-hero__intro { grid-area: intro; margin: 0; }
  .lead-landing-hero__form { grid-area: form; }
  .lead-landing-hero__benefits { grid-area: benefits; margin: 0; }
  .lead-landing-hero__whatsapp { grid-area: whatsapp; justify-self: start; }
}
@media (max-width: 760px) {
  .lead-landing-hero__grid { gap: 18px; }
  .lead-landing-hero__intro { font-size: 17px; }
  .lead-landing-hero__benefits { grid-template-columns: 1fr; gap: 8px; }
}


/* Ajustes móviles de conversión para la landing de despacho */
@media (max-width: 767px) {
  html { scroll-padding-top: 84px; }

  body:has(.site-header--landing) {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }

  .site-header--landing + main .lead-landing-hero {
    padding-top: 84px;
  }

  .site-header--landing + main #ascg-mty-form {
    scroll-margin-top: 84px;
    scroll-margin-bottom: 110px;
  }

  body:has(.site-header--landing) .mobile-bar {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  body:has(.site-header--landing) .mobile-bar a {
    min-height: 48px;
    line-height: 1.2;
    font-size: clamp(12px, 3.6vw, 14px);
  }

  body:has(.site-header--landing):has(#ascg-mty-form:focus-within) .mobile-bar {
    display: none;
  }
}
