/* =====================================================================
   GESTIÓN GRUPO DAM S.A.S. — Sistema de diseño
   ===================================================================== */
:root {
  --navy: #172D45;
  --navy-deep: #102238;
  --navy-ink: #0B1828;
  --gold: #C69B51;
  --gold-soft: #E5CC9C;
  --gold-dark: #A47E3C;
  --white: #FFFFFF;
  --gray-50: #F4F6F8;
  --gray-100: #E9EDF1;
  --gray-200: #D8DEE5;
  --text: #5B6573;
  --ink: #172D45;
  --success: #2F7D55;
  --danger: #B3403A;

  --font-head: 'Manrope', 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,34,56,.06), 0 2px 8px rgba(16,34,56,.05);
  --shadow: 0 10px 30px -12px rgba(16,34,56,.18);
  --shadow-lg: 0 30px 60px -25px rgba(16,34,56,.35);
  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--gold); color: var(--navy-deep); padding: .6rem 1rem; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.15rem, 4vw, 2rem); }
.container-narrow { max-width: 820px; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-sm { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,.8); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.bg-navy .eyebrow, .on-dark .eyebrow { color: var(--gold-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; }
.gold-rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 1.5rem 0; }

/* ---------- Botones ---------- */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .01em; padding: .95rem 1.6rem; border-radius: 10px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; line-height: 1.2; min-height: 48px; }
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: var(--shadow); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { --bg: var(--gold); --fg: var(--navy-deep); }
.btn-gold:hover { --bg: #D2AA64; }
.btn-navy { --bg: var(--navy); --fg: #fff; }
.btn-navy:hover { --bg: var(--navy-deep); }
.btn-outline { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn-outline:hover { --bg: var(--navy); --fg: #fff; }
.btn-ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { --bg: rgba(255,255,255,.08); border-color: #fff; }
.btn-wa { --bg: #1FA855; --fg: #fff; }
.btn-wa:hover { --bg: #178F47; }
.btn-sm { padding: .65rem 1.1rem; font-size: .88rem; min-height: 42px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--navy); }
.link-arrow svg { transition: transform .25s var(--ease); color: var(--gold); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(16,34,56,.3); border-color: var(--gray-100); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-text strong { font-size: 1rem; font-weight: 800; letter-spacing: .02em; color: var(--navy); }
.brand-text span { font-size: .72rem; font-weight: 600; letter-spacing: .32em; color: var(--gold-dark); margin-top: 3px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.main-nav > ul > li > a { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--navy); text-decoration: none; border-radius: 8px; position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after { transform: scaleX(1); }
.main-nav > ul > li > a svg { transition: transform .25s; }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: 620px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); padding: 1.1rem; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-mega:hover > a svg { transform: rotate(180deg); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }
.mega-item { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-radius: 10px; text-decoration: none; color: var(--navy); font-size: .92rem; transition: background .2s; }
.mega-item strong { font-family: var(--font-head); font-weight: 600; }
.mega-item:hover { background: var(--gray-50); color: var(--navy); }
.mega-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--gray-50); color: var(--navy); flex-shrink: 0; }
.mega-item.is-featured .mega-icon { background: var(--navy); color: var(--gold); }
.mega-all { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .8rem; padding-top: .9rem; border-top: 1px solid var(--gray-100); font-family: var(--font-head); font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--gold-dark); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--navy); padding: .4rem; cursor: pointer; border-radius: 8px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-deep); overflow-y: auto; padding: 1.5rem clamp(1.15rem, 4vw, 2rem) 2.5rem; animation: navIn .3s var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > nav > ul:first-child > li > a { display: block; padding: .95rem 0; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav a.active { color: var(--gold); }
.mobile-nav-label { margin: 1.8rem 0 .6rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.mobile-services a { font-size: 1rem; display: flex; align-items: center; gap: .6rem; padding: .55rem 0; color: rgba(255,255,255,.85); text-decoration: none; }
.mobile-services svg { color: var(--gold); }
.mobile-nav .btn { margin-top: 1.8rem; }
body.nav-open { overflow: hidden; }

/* ---------- Breadcrumbs / encabezado interior ---------- */
.page-hero { position: relative; background: var(--navy-deep); color: rgba(255,255,255,.82); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; isolation: isolate; }
.page-hero h1 { color: #fff; max-width: 860px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.page-hero .lead { max-width: 720px; color: rgba(255,255,255,.8); margin-bottom: 0; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(198,155,81,.12); border: 1px solid rgba(198,155,81,.35); color: var(--gold); display: grid; place-items: center; margin-bottom: 1.5rem; }
.breadcrumbs { margin-bottom: 1.6rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; font-size: .85rem; }
.breadcrumbs li { display: flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.6); }
.breadcrumbs li + li::before { content: "/"; color: var(--gold); opacity: .8; }
.breadcrumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-soft); }
.breadcrumbs [aria-current] { color: var(--gold-soft); }

/* Arte de marca: arcos concéntricos (inspirados en el isotipo) */
.brand-arcs { position: absolute; z-index: -1; pointer-events: none; color: var(--gold); }
.brand-arcs svg { width: 100%; height: 100%; }
.page-hero .brand-arcs { right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); opacity: .14; }
.grid-texture { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }

/* ---------- Hero inicio ---------- */
.hero { position: relative; min-height: min(calc(100vh - var(--header-h)), 860px); display: flex; align-items: center; background: var(--navy-deep); color: rgba(255,255,255,.85); overflow: hidden; isolation: isolate; padding: clamp(4rem, 9vw, 6rem) 0 clamp(5rem, 10vw, 7rem); }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(16,34,56,.97) 0%, rgba(16,34,56,.88) 45%, rgba(23,45,69,.55) 100%); }
.hero:not(.has-photo) .hero-overlay { background: radial-gradient(ellipse at 85% 20%, rgba(198,155,81,.16), transparent 50%), radial-gradient(ellipse at 10% 90%, rgba(23,45,69,.9), transparent 60%), linear-gradient(135deg, #102238 0%, #172D45 100%); }
.hero .brand-arcs { right: -8%; top: 50%; width: min(62vw, 760px); aspect-ratio: 1; transform: translateY(-50%); opacity: .2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 600px; margin-bottom: 2.2rem; }
.hero-tag { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .95rem .45rem .5rem; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: rgba(255,255,255,.88); margin-bottom: 1.8rem; }
.hero-tag b { background: var(--gold); color: var(--navy-deep); border-radius: 99px; padding: .15rem .6rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-head); }
.hero-panel { position: relative; display: grid; gap: .9rem; }
.hero-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.35rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-decoration: none; color: rgba(255,255,255,.78); transition: transform .35s var(--ease), background .35s, border-color .35s; font-size: .92rem; line-height: 1.55; }
.hero-card:nth-child(2) { margin-left: 2.2rem; }
.hero-card:nth-child(3) { margin-left: 1rem; }
.hero-card:hover { transform: translateX(-6px); background: rgba(255,255,255,.1); border-color: rgba(198,155,81,.55); color: rgba(255,255,255,.9); }
.hero-card strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.02rem; margin-bottom: .15rem; }
.hero-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(198,155,81,.14); color: var(--gold); flex-shrink: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.scroll-cue span.line { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue span.line::after { content: ""; position: absolute; left: 0; top: -42px; width: 1px; height: 42px; background: #fff; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 42px; } }
.scroll-cue:hover { color: var(--gold-soft); }

/* ---------- Presentación ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.check-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.bg-navy .check-list li { color: rgba(255,255,255,.9); }
.media-frame { position: relative; border-radius: var(--radius-lg); }
.media-frame img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-lg); }
.media-frame::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; opacity: .6; }
.media-frame { isolation: isolate; }
.art-panel { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; color: rgba(255,255,255,.85); isolation: isolate; }
.art-panel .brand-arcs { left: -30%; top: -18%; width: 120%; aspect-ratio: 1; opacity: .28; }
.art-panel .grid-texture { mask-image: none; -webkit-mask-image: none; opacity: .7; }
.art-stat { position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.2rem 1.3rem; backdrop-filter: blur(6px); }
.art-stat + .art-stat { margin-top: .8rem; }
.art-stat small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: .2rem; font-weight: 600; }
.art-stat strong { color: #fff; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.art-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; margin: 1.5rem 0 1.2rem; }
.art-bars span { flex: 1; background: linear-gradient(to top, rgba(198,155,81,.25), rgba(198,155,81,.9)); border-radius: 6px 6px 2px 2px; transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.art-bars span:nth-child(1){height:34%;animation-delay:.1s}.art-bars span:nth-child(2){height:48%;animation-delay:.2s}.art-bars span:nth-child(3){height:42%;animation-delay:.3s}.art-bars span:nth-child(4){height:63%;animation-delay:.4s}.art-bars span:nth-child(5){height:74%;animation-delay:.5s}.art-bars span:nth-child(6){height:92%;animation-delay:.6s}
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- Tarjetas de servicio ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 2rem 1.8rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--gray-100); text-decoration: none; color: var(--text); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; overflow: hidden; isolation: isolate; }
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.service-card:hover::after { transform: scaleX(1); }
.service-card h3 { margin: 1.4rem 0 .7rem; }
.service-card p { font-size: .95rem; flex: 1; }
.service-card .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--gray-50); color: var(--navy); transition: background .35s, color .35s; }
.service-card:hover .ic { background: var(--navy); color: var(--gold); }
.service-card .link-arrow { margin-top: .6rem; }
.service-card.is-featured { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.78); padding: 2.4rem 2rem; }
.service-card.is-featured h3 { color: #fff; font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.service-card.is-featured .ic { background: rgba(198,155,81,.14); color: var(--gold); width: 62px; height: 62px; }
.service-card.is-featured:hover { color: rgba(255,255,255,.85); background: var(--navy-deep); }
.service-card.is-featured:hover .ic { background: var(--gold); color: var(--navy-deep); }
.service-card.is-featured .link-arrow { color: #fff; }
.service-card .badge { position: absolute; top: 1.4rem; right: 1.4rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; font-family: var(--font-head); color: var(--gold); border: 1px solid rgba(198,155,81,.5); padding: .25rem .6rem; border-radius: 99px; }
.service-card.is-featured .card-arcs { position: absolute; right: -90px; bottom: -90px; width: 240px; height: 240px; color: var(--gold); opacity: .08; z-index: -1; transition: opacity .4s, transform .6s var(--ease); }
.service-card.is-featured:hover .card-arcs { opacity: .16; transform: rotate(-12deg); }
.services-grid.secondary .service-card { padding: 1.7rem 1.6rem; }
.services-grid + .services-grid { margin-top: 1.4rem; }

/* ---------- Atributos ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); }
.feature { padding: 2.2rem 2rem; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); background: #fff; transition: background .35s; position: relative; }
.feature:hover { background: var(--gray-50); }
.feature .ic { color: var(--gold-dark); margin-bottom: 1.1rem; }
.feature h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.feature p { font-size: .94rem; margin: 0; }
.feature .num { position: absolute; top: 1.6rem; right: 1.8rem; font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: var(--gray-200); letter-spacing: .1em; }

/* ---------- Metodología (línea de tiempo) ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.timeline-track { position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px; background: rgba(255,255,255,.14); }
.timeline-track span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .6s var(--ease); }
.step { position: relative; align-self: start; display: block; width: 100%; text-align: center; padding: 0 .5rem; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.step-dot { position: relative; z-index: 1; width: 70px; height: 70px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 2px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7); transition: all .45s var(--ease); }
.step-dot::after { content: counter(step, decimal-leading-zero); counter-increment: step; position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-deep); border: 1px solid rgba(255,255,255,.2); font-family: var(--font-head); font-size: .68rem; font-weight: 800; display: grid; place-items: center; color: var(--gold-soft); }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; color: #fff; }
.step .step-title { font-family: var(--font-head); color: rgba(255,255,255,.92); font-weight: 600; font-size: .98rem; margin-bottom: .6rem; line-height: 1.4; }
.step .step-text { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.6; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .5s; }
.step.is-active .step-dot, .step:hover .step-dot { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: scale(1.06); box-shadow: 0 0 0 8px rgba(198,155,81,.14); }
.step.is-active .step-text { max-height: 200px; opacity: 1; }
.step:focus-visible { outline-offset: 6px; }
.on-light .timeline-track { background: var(--gray-200); }
.on-light .step-dot { background: #fff; border-color: var(--gray-200); color: var(--navy); }
.on-light .step-dot::after { background: #fff; border-color: var(--gray-200); color: var(--gold-dark); }
.on-light .step h3 { color: var(--ink); }
.on-light .step .step-title { color: var(--ink); }
.on-light .step .step-text { color: var(--text); }

/* ---------- CTA ---------- */
.cta-band { position: relative; background: var(--navy); color: rgba(255,255,255,.82); overflow: hidden; isolation: isolate; }
.cta-band .brand-arcs { left: -160px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); opacity: .12; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .8rem; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Valores / misión ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.mv-card { padding: 2.6rem 2.4rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.mv-card.dark { background: var(--navy); color: rgba(255,255,255,.82); border-color: var(--navy); }
.mv-card.dark h3 { color: #fff; }
.mv-card .ic { color: var(--gold); margin-bottom: 1.2rem; }
.mv-card p { font-size: 1.05rem; margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.value-card { padding: 1.8rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-100); transition: transform .35s var(--ease), box-shadow .35s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--gray-50); color: var(--gold-dark); margin-bottom: 1rem; }
.value-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.value-card p { font-size: .92rem; margin: 0; }
.values-grid .value-card:last-child:nth-child(4n+3) { grid-column: span 2; }

/* ---------- Detalle de servicio ---------- */
.svc-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-content h2 { margin-top: 0; }
.svc-block + .svc-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.problem-list li { display: flex; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--gray-50); color: var(--ink); font-weight: 500; border-left: 3px solid var(--gold); }
.problem-list svg { color: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }
.items-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; list-style: none; padding: 0; margin: 0; }
.items-grid li { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border: 1px solid var(--gray-100); border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: .96rem; background: #fff; transition: border-color .25s, box-shadow .25s; }
.items-grid li:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.items-grid li span.dot { width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.benefit { padding: 1.6rem; border-radius: var(--radius); background: var(--navy); color: rgba(255,255,255,.78); }
.benefit h3 { color: #fff; font-size: 1.08rem; margin-bottom: .4rem; display: flex; gap: .6rem; align-items: center; }
.benefit h3 svg { color: var(--gold); }
.benefit p { margin: 0; font-size: .93rem; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.2rem; }
.aside-card { padding: 1.8rem; border-radius: var(--radius-lg); background: var(--gray-50); border: 1px solid var(--gray-100); }
.aside-card.dark { background: var(--navy); color: rgba(255,255,255,.8); border-color: var(--navy); }
.aside-card.dark h3 { color: #fff; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card .btn + .btn { margin-top: .7rem; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem 0; border-bottom: 1px solid var(--gray-200); text-decoration: none; font-weight: 500; font-size: .94rem; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links svg { color: var(--gold); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--gray-200); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gray-200); display: grid; place-items: center; flex-shrink: 0; color: var(--gold-dark); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--navy); color: var(--gold); border-color: var(--navy); }
.faq .faq-body { padding: 0 3rem 1.4rem 0; animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Sectores ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.sector-card { display: flex; flex-direction: column; padding: 1.9rem 1.6rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--gray-100); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sector-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 1.2rem; }
.sector-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.sector-card p { font-size: .93rem; flex: 1; }
.sector-card .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 99px; background: var(--gray-50); color: var(--navy); text-decoration: none; border: 1px solid var(--gray-100); transition: background .2s, color .2s; }
a.chip:hover { background: var(--navy); color: #fff; }
.chip.gold { background: rgba(198,155,81,.12); color: var(--gold-dark); border-color: rgba(198,155,81,.3); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Equipo ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.team-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--gray-100); transition: transform .35s var(--ease), box-shadow .35s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo { aspect-ratio: 1/1; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); display: grid; place-items: center; color: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .initials { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--gold); letter-spacing: .04em; }
.team-body { padding: 1.5rem 1.6rem 1.7rem; }
.team-body h3 { margin-bottom: .2rem; font-size: 1.18rem; }
.team-role { color: var(--gold-dark); font-weight: 600; font-family: var(--font-head); font-size: .92rem; margin-bottom: .8rem; }
.team-body dl { margin: 0; font-size: .9rem; display: grid; gap: .55rem; }
.team-body dt { font-weight: 600; color: var(--ink); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.team-body dd { margin: 0; }
.team-body .linkedin { display: inline-flex; gap: .4rem; align-items: center; margin-top: 1rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
.team-card.placeholder { border: 2px dashed var(--gray-200); background: var(--gray-50); }
.team-card.placeholder .team-photo { background: var(--gray-100); color: var(--gray-200); }
.team-card.placeholder .team-photo svg { color: #B7C0CB; }
.placeholder-note { font-size: .85rem; color: var(--text); background: #fff; border-radius: 8px; padding: .7rem .9rem; border: 1px solid var(--gray-200); margin: 0; }

/* ---------- Blog ---------- */
.blog-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 2.4rem; }
.blog-cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.search-form { display: flex; align-items: center; background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; padding: 0 .4rem 0 1rem; min-width: min(100%, 320px); }
.search-form input { border: 0; outline: 0; padding: .8rem .5rem; font: inherit; flex: 1; background: transparent; min-width: 0; }
.search-form button { background: var(--navy); color: #fff; border: 0; border-radius: 8px; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; }
.search-form:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,155,81,.2); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--gray-100); text-decoration: none; color: var(--text); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--text); }
.post-thumb { aspect-ratio: 16/10; background: var(--navy); position: relative; overflow: hidden; isolation: isolate; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb .brand-arcs { right: -30%; bottom: -40%; width: 90%; aspect-ratio: 1; opacity: .22; z-index: 0; }
.post-thumb .thumb-label { position: absolute; left: 1.3rem; bottom: 1.1rem; right: 1.3rem; font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.05rem; line-height: 1.3; z-index: 1; }
.post-thumb .thumb-ic { position: absolute; left: 1.3rem; top: 1.2rem; color: var(--gold); z-index: 1; }
.post-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--text); margin-bottom: .8rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-meta svg { color: var(--gold-dark); }
.post-card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.post-card p { font-size: .93rem; flex: 1; }
.article-head .post-meta { color: rgba(255,255,255,.7); font-size: .88rem; margin-top: 1.4rem; }
.article-head .post-meta svg { color: var(--gold); }
.prose { font-size: 1.06rem; line-height: 1.8; color: #4A5462; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-top: 2.4rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold-dark); }
.prose blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 4px solid var(--gold); background: var(--gray-50); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.prose strong { color: var(--ink); }
.editorial-note { display: flex; gap: .9rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-100); font-size: .9rem; margin-top: 2.6rem; }
.editorial-note svg { color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2rem; }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--gray-200); text-decoration: none; font-weight: 600; padding: 0 .8rem; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty-state { text-align: center; padding: 4rem 1.5rem; border: 2px dashed var(--gray-200); border-radius: var(--radius-lg); }
.empty-state svg { color: var(--gold); margin: 0 auto 1rem; }

/* ---------- Formularios ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); }
.form-card h2, .form-card h3 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .4rem; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--gray-50); border: 1.5px solid var(--gray-100); border-radius: 10px; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s, background .2s; min-height: 50px; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23C69B51' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(198,155,81,.16); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #FDF5F4; }
.field .err { display: none; color: var(--danger); font-size: .82rem; margin-top: .35rem; }
.field.has-error .err { display: block; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .86rem; line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.consent.has-error { color: var(--danger); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: 10px; font-size: .95rem; margin-top: 1rem; gap: .7rem; align-items: flex-start; }
.form-status.show { display: flex; }
.form-status.ok { background: #EEF7F1; color: var(--success); border: 1px solid #CDE7D7; }
.form-status.error { background: #FBEFEE; color: var(--danger); border: 1px solid #F0D2CF; }
.form-status svg { flex-shrink: 0; margin-top: 2px; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn[aria-busy="true"]::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; margin-top: 1.4rem; }
.form-foot small { font-size: .8rem; }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-100); }
.contact-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.contact-item strong { display: block; font-family: var(--font-head); color: var(--ink); }
.contact-item a { word-break: break-word; }
.contact-item.pending { border-style: dashed; }
.contact-item.pending small { color: var(--text); }

/* ---------- Legales ---------- */
.legal-draft { display: flex; gap: .9rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: #FFF8EC; border: 1px solid #F1DDB6; color: #7A5A20; font-size: .95rem; margin-bottom: 2.4rem; }
.legal-draft svg { flex-shrink: 0; margin-top: 2px; }
.prose .ph { background: #FFF1D6; padding: 0 .3em; border-radius: 4px; color: #7A5A20; font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--navy-deep); color: rgba(255,255,255,.8); position: relative; overflow: hidden; isolation: isolate; padding: 5rem 0; }
.notfound .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold); margin-bottom: 1rem; }
.notfound h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.notfound .btn-row { justify-content: center; margin-top: 2rem; }
.notfound .brand-arcs { left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%,-50%); opacity: .07; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: .94rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-top: clamp(3.5rem, 7vw, 5rem); padding-bottom: 3rem; }
.footer-brand img { width: 150px; margin-bottom: 1.3rem; }
.footer-slogan { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.05rem; margin-bottom: .6rem; }
.footer-legal-id { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-title { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.2rem; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); }
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0 1.6rem; font-size: .84rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; }
.footer-policies { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer-policies .link-btn { color: rgba(255,255,255,.78); text-decoration: none; font-size: inherit; }
.footer-policies .link-btn:hover { color: var(--gold-soft); }
.footer-credit { margin: 1rem 0 0 !important; font-size: .75rem; color: rgba(255,255,255,.4); }
.footer-credit a { color: rgba(255,255,255,.55) !important; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: .6rem; background: #1FA855; color: #fff; border-radius: 99px; padding: .85rem; box-shadow: 0 12px 28px -8px rgba(31,168,85,.55); text-decoration: none; transition: transform .3s var(--ease), padding .3s var(--ease); }
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: .92rem; transition: max-width .4s var(--ease); }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 120px; padding-right: .4rem; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1FA855; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- Cookies ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 95; display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { max-width: 820px; width: 100%; background: var(--navy-ink); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 1.2rem 1.4rem; display: flex; gap: 1.2rem; align-items: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); font-size: .9rem; animation: navIn .4s var(--ease); }
.cookie-inner p { margin: 0; flex: 1; }
.cookie-inner a { color: var(--gold-soft); }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero .anim { opacity: 0; transform: translateY(22px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero .anim { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav > ul > li > a { padding: .5rem .55rem; font-size: .9rem; }
  .values-grid, .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid .value-card:last-child:nth-child(4n+3) { grid-column: auto; }
  .values-grid .value-card:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-grid, .split, .cta-inner, .svc-layout, .contact-layout, .article-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-panel { max-width: 520px; }
  .hero-card:nth-child(2), .hero-card:nth-child(3) { margin-left: 0; }
  .services-grid, .posts-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .svc-aside { position: static; }
  .media-frame::before { inset: 1rem -.8rem -1rem .8rem; }
  .art-panel { aspect-ratio: auto; min-height: 380px; }
}
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline-track { top: 35px; bottom: 35px; left: 35px; right: auto; width: 2px; height: auto; }
  .timeline-track span { width: 100% !important; height: var(--p, 0%); transition: height .6s var(--ease); }
  .step { display: grid; grid-template-columns: 70px 1fr; gap: 0 1.2rem; text-align: left; padding: 0 0 1.8rem; }
  .step-dot { margin: 0; grid-row: span 3; }
  .step h3 { margin-top: .6rem; }
  .step .step-text { max-height: none; opacity: 1; }
}
@media (max-width: 640px) {
  .services-grid, .posts-grid, .team-grid, .features, .mv-grid, .values-grid, .sector-grid, .benefits-grid, .items-grid, .form-grid { grid-template-columns: 1fr; }
  .values-grid .value-card:last-child:nth-child(odd) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: auto; padding-top: 3.5rem; }
  .hero .btn-row .btn { width: 100%; }
  .hero-panel { display: none; }
  .scroll-cue { display: none; }
  .cta-band .btn-row .btn { width: 100%; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
  .brand-text strong { font-size: .92rem; }
  .faq .faq-body { padding-right: 0; }
  .feature { padding: 1.8rem 1.5rem; }
}
@media print {
  .site-header, .site-footer, .wa-float, .cookie-banner, .cta-band { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.field label.consent { display: flex; font-family: var(--font-body); font-weight: 400; font-size: .86rem; color: var(--text); margin: 0; }
.field .consent input { width: 20px; height: 20px; min-height: 0; padding: 0; }
