:root {
  --navy: #1d2241;
  --navy-deep: #14182f;
  --navy-soft: #2a315a;
  --gold: #c9996a;
  --gold-light: #e1bd96;
  --paper: #f7f4ef;
  --paper-2: #fbfaf7;
  --white: #fff;
  --ink: #161a2e;
  --muted: #6f7180;
  --line: rgba(29, 34, 65, .13);
  --line-light: rgba(255, 255, 255, .16);
  --display: "Calisto MT", "Book Antiqua", Georgia, "Times New Roman", serif;
  --body: "Myanmar Text", Arial, Helvetica, sans-serif;
  --container: min(1280px, calc(100% - 64px));
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-2);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open,
body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
svg { display: block; }
.container { width: var(--container); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .75; }
.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}
.lead { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.75; }

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  height: var(--header-h);
  color: var(--white);
  background: rgba(29,34,65,.91);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.home-page .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-110%);
  transition: opacity .45s ease, transform .58s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.home-page .site-header.is-scrolled {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  box-shadow: 0 14px 40px rgba(8,12,29,.16);
}
.header-inner {
  width: var(--container);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-symbol { width: 44px; height: 44px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: var(--display); font-size: 1.14rem; font-weight: 400; letter-spacing: .035em; }
.brand-copy small { margin-top: 5px; color: var(--gold-light); font-size: .66rem; letter-spacing: .10em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link, .nav-button {
  position: relative;
  padding: 29px 0 25px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.88);
  font-size: .94rem;
  cursor: pointer;
}
.nav-link::after, .nav-button::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 17px;
  height: 1px;
  background: var(--gold);
  transition: right .25s ease;
}
.nav-link:hover::after, .nav-button:hover::after, .nav-link.active::after { right: 0; }
.nav-dropdown { position: relative; }
.nav-chevron { display: inline-block; margin-left: 5px; color: var(--gold-light); transition: transform .25s ease; }
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  right: -28px;
  width: 330px;
  padding: 10px;
  background: rgba(248,245,239,.98);
  color: var(--navy);
  border: 1px solid rgba(201,153,106,.25);
  box-shadow: 0 26px 60px rgba(10,15,36,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px;
  border-bottom: 1px solid rgba(29,34,65,.08);
  font-family: var(--display);
  font-size: 1.15rem;
  transition: color .2s ease, padding-left .2s ease;
}
.dropdown-menu a:last-child { border-bottom: 0; }
.dropdown-menu a:hover { color: var(--gold); padding-left: 18px; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-button, .menu-toggle {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.icon-button svg { width: 19px; height: 19px; }
.icon-button:hover { color: var(--gold-light); border-color: var(--gold); background: rgba(201,153,106,.07); }
.whatsapp-icon { color: var(--gold); border-color: rgba(201,153,106,.48); }
.menu-toggle { display: none; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; width: 18px; height: 1px; background: currentColor; display: block; transition: .25s ease;
}
.menu-toggle span { margin: 4px 0; }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-deep);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.98) contrast(1.01) brightness(1);
  transform: scale(1.012);
  animation: heroZoom 14s ease-out forwards;
  transition: filter 1.7s cubic-bezier(.2,.8,.2,1), transform 1.7s ease;
}
.hero-darkening {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(10,15,34,.24), rgba(29,34,65,.38) 48%, rgba(11,15,34,.76)),
    linear-gradient(90deg, rgba(15,20,44,.43), rgba(29,34,65,.07) 48%, rgba(15,20,44,.38));
  transition: opacity 1.7s cubic-bezier(.2,.8,.2,1);
}
.hero-glow {
  position: absolute;
  z-index: 1;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,153,106,.12), transparent 68%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 1.2s ease .35s;
}
.hero-intro-active .hero-media img { filter: saturate(.70) contrast(1.04) brightness(.58); }
.hero-intro-active .hero-darkening { opacity: 1; }
.hero-intro-active .hero-glow { opacity: 1; }
.hero-content {
  position: relative;
  z-index: 4;
  width: min(860px, calc(100% - 42px));
  text-align: center;
  margin-top: 34px;
}
.hero-mark {
  width: min(660px, 74vw);
  margin: 0 auto 22px;
  opacity: 0;
  clip-path: inset(55% 0 45% 0);
  transform: translateY(14px) scale(.985);
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.18));
  transition: opacity 1.05s ease .38s, clip-path 1.15s cubic-bezier(.2,.8,.2,1) .28s, transform 1.1s cubic-bezier(.2,.8,.2,1) .28s;
}
.hero-intro-active .hero-mark { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
.hero-tagline, .hero-cta, .scroll-cue { opacity: 0; transform: translateY(12px); }
.hero-tagline {
  margin: 2px auto 30px;
  font-size: .83rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  transition: opacity .75s ease 1.05s, transform .75s ease 1.05s;
}
.hero-cta { transition: opacity .75s ease 1.18s, transform .75s ease 1.18s; }
.hero-intro-active .hero-tagline, .hero-intro-active .hero-cta { opacity: 1; transform: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .28s ease;
}
.btn:hover { background: transparent; color: var(--white); transform: translateY(-2px); }
.scroll-cue {
  position: absolute;
  z-index: 5;
  left: 50%; bottom: 22px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.65);
  font-size: .7rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  transition: opacity .7s ease 1.5s, transform .7s ease 1.5s;
  transform: translate(-50%, 10px);
}
.hero-intro-active .scroll-cue { opacity: 1; transform: translate(-50%, 0); }
.scroll-cue::after { content: ""; width: 1px; height: 32px; background: linear-gradient(var(--gold), transparent); }

/* Side navigation: lower, larger and visually centered in viewport. */
.hero-side-nav {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: clamp(28px, 5vw, 84px);
  width: min(330px, 29vw);
  transform: translateY(-46%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0,0,0,.30);
  transition: opacity .38s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.nav-condensed .hero-side-nav { opacity: 0; transform: translateY(calc(-46% - 18px)); pointer-events: none; }
.hero-nav-link, .hero-nav-trigger {
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
  letter-spacing: .018em;
  text-align: left;
  transition: color .22s ease, background .22s ease, padding-left .22s ease;
}
.hero-nav-link:hover, .hero-nav-trigger:hover, .hero-nav-accordion.open > .hero-nav-trigger {
  color: var(--gold-light);
  background: rgba(13,18,40,.25);
  padding-left: 18px;
}
.hero-nav-arrow { color: var(--gold-light); font-family: var(--body); font-size: 1.08rem; transition: transform .28s ease; }
.hero-nav-accordion.open .hero-nav-arrow { transform: rotate(180deg); }
.hero-nav-submenu { display: grid; grid-template-rows: 0fr; width: 100%; transition: grid-template-rows .36s cubic-bezier(.2,.8,.2,1); }
.hero-nav-accordion.open .hero-nav-submenu { grid-template-rows: 1fr; }
.hero-nav-submenu-inner { min-height: 0; overflow: hidden; display: grid; padding-left: 12px; }
.hero-nav-submenu a {
  display: block;
  padding: 6px 13px;
  color: rgba(255,255,255,.72);
  border-left: 1px solid rgba(201,153,106,.34);
  font-size: .86rem;
  transition: color .2s ease, background .2s ease, padding-left .2s ease, border-color .2s ease;
}
.hero-nav-submenu a:hover { color: var(--gold-light); background: rgba(201,153,106,.09); padding-left: 18px; border-color: var(--gold-light); }

.hero-corner-tools {
  position: absolute;
  z-index: 8;
  top: 30px;
  right: clamp(28px, 5vw, 84px);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: opacity .38s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.nav-condensed .hero-corner-tools { opacity: 0; transform: translateY(-16px); pointer-events: none; }
.hero-tool-button {
  width: 45px; height: 45px;
  display: grid; place-items: center;
  padding: 0;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 50%;
  background: rgba(10,15,34,.10);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s ease;
}
.hero-tool-button svg { width: 22px; height: 22px; }
.hero-tool-button:hover { color: var(--gold-light); border-color: var(--gold-light); background: rgba(13,18,40,.28); transform: translateY(-2px); }
.hero-whatsapp { color: var(--gold); border-color: rgba(201,153,106,.62); }

/* ================= ROTATING STRIP ================= */
.decision-strip { position: relative; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.decision-stage { position: relative; min-height: 126px; }
.decision-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.decision-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.decision-statement { justify-content: center; text-align: center; }
.decision-statement p {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 3.05rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.decision-metrics { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.metric { min-height: 84px; padding: 18px 28px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; padding-right: 0; }
.metric strong { color: var(--navy); font-family: var(--display); font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; line-height: .9; }
.metric span { margin-top: 7px; color: var(--muted); font-size: .82rem; letter-spacing: .045em; text-transform: uppercase; }

/* ================= INTRO ================= */
.intro { padding: 118px 0 54px; }
.intro-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 90px; align-items: end; }
.intro .display { max-width: 820px; color: var(--navy); font-size: clamp(3.2rem, 6vw, 5.9rem); }
.intro-copy { max-width: 460px; padding-bottom: 10px; }
.section-label { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.section-label > span { color: var(--gold); font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; }
.section-label p { margin: 0; max-width: 560px; color: var(--muted); }

/* ================= SERVICES GRID ================= */
.services { padding: 52px 0 124px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  grid-template-areas:
    "gerencial gerencial financiero marketing"
    "juridico contabilidad innovacion innovacion";
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(29,34,65,.12);
  border: 1px solid rgba(29,34,65,.12);
}
.service-card {
  position: relative;
  min-height: 260px;
  padding: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  color: var(--navy);
  transition: color .32s ease, background .32s ease, box-shadow .32s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  right: -150px; top: -150px;
  width: 210px; height: 210px;
  border: 1px solid rgba(201,153,106,.22);
  border-radius: 50%;
  transition: transform .5s ease, opacity .3s ease;
}
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,153,106,.055), transparent 58%); opacity: .75; }
.service-card:hover { color: var(--white); background: var(--navy); box-shadow: inset 0 0 0 1px rgba(201,153,106,.24); }
.service-card:hover::before { transform: scale(1.55); opacity: .62; }
.service-card > * { position: relative; z-index: 2; }
.service-card[data-area="gerencial"] { grid-area: gerencial; }
.service-card[data-area="financiero"] { grid-area: financiero; }
.service-card[data-area="marketing"] { grid-area: marketing; }
.service-card[data-area="juridico"] { grid-area: juridico; }
.service-card[data-area="contabilidad"] { grid-area: contabilidad; }
.service-card[data-area="innovacion"] { grid-area: innovacion; }
.service-number { color: var(--gold); font-size: .76rem; letter-spacing: .10em; }
.service-title { margin: 0 0 14px; font-family: var(--display); font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 400; line-height: .95; }
.service-text { margin: 0; max-width: 420px; color: var(--muted); line-height: 1.6; transition: color .3s ease; }
.service-card:hover .service-text { color: rgba(255,255,255,.72); }
.service-arrow { align-self: flex-end; color: var(--gold); font-size: 1.4rem; }

/* ================= BRANDS ================= */
.brands { padding: 108px 0 118px; background: #f0eee9; overflow: hidden; }
.brand-heading { margin-bottom: 42px; }
.brand-heading .display { color: var(--navy); font-size: clamp(3rem, 5vw, 5.3rem); }
.brand-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.brand-track { display: flex; width: max-content; animation: brandMarquee 28s linear infinite; }
.brand-marquee:hover .brand-track { animation-play-state: paused; }
.brand-group { display: flex; align-items: center; gap: 0; padding-right: 28px; }
.brand-card {
  position: relative;
  width: 230px;
  height: 132px;
  flex: 0 0 230px;
  display: grid;
  place-items: center;
  padding: 20px 28px;
  border-right: 1px solid rgba(29,34,65,.12);
}
.brand-card img {
  max-width: 182px;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) saturate(0) opacity(.72);
  transition: filter .25s ease, transform .25s ease;
}
.brand-card:hover img { filter: none; transform: scale(1.055); }
.brand-card span { display: none; color: var(--navy); font-family: var(--display); font-size: 1.15rem; text-align: center; }
.brand-card.missing img { display: none; }
.brand-card.missing span { display: block; }

/* ================= VISION / CONTACT / FOOTER ================= */
.vision { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--navy); }
.vision-bg { position: absolute; inset: 0; opacity: .22; }
.vision-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.45) saturate(.55); }
.vision::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,34,65,.98), rgba(29,34,65,.82), rgba(29,34,65,.48)); }
.vision-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 80px; }
.vision .display { max-width: 700px; font-size: clamp(3.2rem, 6vw, 5.8rem); }
.vision .lead { max-width: 620px; margin-top: 24px; color: rgba(255,255,255,.70); }
.play-button { width: 104px; height: 104px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); transition: .28s ease; }
.play-button svg { width: 34px; fill: currentColor; }
.play-button:hover { background: var(--gold); color: var(--navy); transform: scale(1.04); }
.contact-cta { padding: 112px 0; background: var(--paper-2); }
.contact-box { padding: 76px 76px 70px; background: var(--navy); color: var(--white); text-align: center; }
.contact-box .eyebrow::after { display: none; }
.contact-box .display { max-width: 980px; margin: 0 auto; font-size: clamp(3rem, 5.6vw, 5.5rem); }
.contact-box > p:not(.eyebrow) { max-width: 650px; margin: 24px auto 30px; color: rgba(255,255,255,.70); }
.site-footer { padding: 72px 0 26px; background: #11162e; color: rgba(255,255,255,.72); }
.footer-main { display: grid; grid-template-columns: 1.3fr .6fr 1fr; gap: 70px; padding-bottom: 56px; }
.footer-brand img { width: 285px; margin-bottom: 20px; }
.footer-brand p { max-width: 470px; margin: 0; }
.footer-title { margin: 0 0 14px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .10em; font-size: .78rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.10); font-size: .8rem; }

/* ================= SEARCH OVERLAY =================
   Full-screen editorial search inspired by the reference interaction:
   clean full-viewport reveal, oversized input, instant keyword results.
*/
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--navy);
  color: var(--white);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .62s cubic-bezier(.2,.8,.2,1), visibility .62s step-end;
}
.search-overlay.open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .62s cubic-bezier(.2,.8,.2,1), visibility 0s step-start;
}
.search-shell {
  position: relative;
  width: min(1420px, calc(100% - 80px));
  height: 100%;
  margin: 0 auto;
  padding: 34px 0 50px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.search-kicker { color: var(--gold-light); font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; }
.search-close { width: 48px; height: 48px; border: 0; background: transparent; color: var(--white); font-family: var(--body); font-size: 2.4rem; line-height: 1; cursor: pointer; transition: transform .24s ease, color .24s ease; }
.search-close:hover { color: var(--gold); transform: rotate(90deg); }
.search-input-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: clamp(70px, 10vh, 130px);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.search-input-row svg { width: clamp(30px, 3vw, 44px); color: var(--gold); }
.search-input-row input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2.9rem, 7vw, 7.2rem);
  line-height: 1;
  letter-spacing: -.03em;
}
.search-input-row input::placeholder { color: rgba(255,255,255,.38); opacity: 1; }
.search-meta { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 10px; color: rgba(255,255,255,.45); font-size: .76rem; text-transform: uppercase; letter-spacing: .11em; }
.search-results { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 50px; max-height: 46vh; overflow: auto; border-top: 1px solid rgba(255,255,255,.10); }
.search-results a { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.10); font-family: var(--display); font-size: clamp(1.3rem, 2vw, 2.05rem); transition: color .2s ease, padding-left .2s ease; }
.search-results a:hover { color: var(--gold-light); padding-left: 8px; }
.search-results .no-results { grid-column: 1/-1; padding: 26px 0; color: rgba(255,255,255,.58); }
.search-watermark { position: absolute; right: -80px; bottom: -100px; width: min(600px, 43vw); opacity: .045; pointer-events: none; }

/* ================= SERVICE PAGES ================= */
.service-page { background: var(--paper-2); }
.service-page .site-header { background: rgba(29,34,65,.94); }
.service-hero {
  position: relative;
  min-height: 76svh;
  padding: calc(var(--header-h) + 90px) 0 80px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.service-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 34%, rgba(201,153,106,.20), transparent 30%), linear-gradient(135deg, rgba(255,255,255,.025), transparent 44%); }
.service-hero-symbol { position: absolute; right: -6vw; top: 11vh; width: min(560px, 44vw); opacity: .075; }
.service-hero-inner { position: relative; z-index: 2; width: var(--container); margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 34px; color: rgba(255,255,255,.54); font-size: .82rem; }
.breadcrumb a:hover { color: var(--gold-light); }
.service-hero h1 { max-width: 1000px; margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(4.5rem, 9vw, 9rem); line-height: .82; letter-spacing: -.035em; }
.service-hero-lead { max-width: 790px; margin: 34px 0 0; color: rgba(255,255,255,.72); font-size: clamp(1.12rem, 1.7vw, 1.42rem); line-height: 1.65; }
.service-intro { padding: 108px 0; }
.service-intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: start; }
.service-intro .display { color: var(--navy); font-size: clamp(3rem, 5.3vw, 5.3rem); }
.service-copy { max-width: 700px; }
.service-copy p { margin: 0 0 18px; color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.capabilities { padding: 105px 0 118px; background: var(--paper); }
.capabilities-head { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 70px; margin-bottom: 48px; }
.capabilities-head .display { color: var(--navy); font-size: clamp(3rem, 5vw, 5.15rem); }
.capabilities-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap-card { min-height: 260px; padding: 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.62); transition: background .25s ease, color .25s ease; }
.cap-card:hover { background: var(--navy); color: var(--white); }
.cap-card .cap-num { display: block; margin-bottom: 42px; color: var(--gold); font-size: .78rem; letter-spacing: .10em; }
.cap-card h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; }
.cap-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.cap-card:hover p { color: rgba(255,255,255,.70); }
.method { padding: 108px 0; background: var(--white); }
.method .display { color: var(--navy); font-size: clamp(3rem, 5vw, 5.2rem); }
.method-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 52px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-step { min-height: 250px; padding: 32px 26px; border-right: 1px solid var(--line); }
.method-step:last-child { border-right: 0; }
.method-step strong { display: block; margin-bottom: 70px; color: var(--gold); font-family: var(--display); font-size: 2rem; font-weight: 400; }
.method-step h3 { margin: 0 0 8px; color: var(--navy); font-family: var(--display); font-size: 1.45rem; font-weight: 400; }
.method-step p { margin: 0; color: var(--muted); font-size: .92rem; }
.solutions { padding: 108px 0; background: var(--navy); color: var(--white); }
.solutions-head { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 70px; margin-bottom: 48px; }
.solutions .display { font-size: clamp(3rem, 5vw, 5.3rem); }
.solutions .lead { color: rgba(255,255,255,.66); }
.solution-list { border-top: 1px solid rgba(255,255,255,.16); }
.solution-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.16); transition: color .2s ease, padding-left .2s ease; }
.solution-row:hover { color: var(--gold-light); padding-left: 8px; }
.solution-row span:first-child { color: var(--gold); }
.solution-row strong { font-family: var(--display); font-size: clamp(1.4rem, 2.1vw, 2.05rem); font-weight: 400; }
.solution-row em { font-style: normal; color: rgba(255,255,255,.56); }

.placeholder-service { min-height: 100svh; padding: calc(var(--header-h) + 100px) 0 90px; display: grid; place-items: center; background: var(--navy); color: var(--white); text-align: center; }
.placeholder-service .display { font-size: clamp(4rem, 8vw, 8rem); }
.placeholder-service p { max-width: 640px; margin: 24px auto; color: rgba(255,255,255,.68); }

/* ================= ANIMATION HELPERS ================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes heroZoom { from { transform: scale(1.012); } to { transform: scale(1.05); } }
@keyframes brandMarquee { to { transform: translateX(-50%); } }

/* ================= RESPONSIVE ================= */
@media (max-width: 1120px) {
  :root { --container: min(100% - 44px, 1120px); }
  .main-nav { gap: 20px; }
  .intro-grid, .service-intro-grid, .capabilities-head, .solutions-head { gap: 50px; }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-areas: "gerencial gerencial" "financiero marketing" "juridico contabilidad" "innovacion innovacion";
    grid-template-rows: repeat(4, minmax(220px,auto));
  }
  .service-card { min-height: 220px; }
  .method-steps { grid-template-columns: repeat(3,1fr); }
  .method-step { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  :root { --container: calc(100% - 34px); --header-h: 76px; }
  .hero-side-nav, .hero-corner-tools { display: none; }
  .home-page .site-header, .home-page .site-header.is-scrolled { opacity: 1; pointer-events: auto; transform: translateY(0); background: rgba(29,34,65,.82); }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    padding: 24px 22px 34px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(20,24,47,.985);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .menu-open .main-nav { display: flex; }
  .nav-link, .nav-button { width: 100%; padding: 14px 0; text-align: left; font-family: var(--display); font-size: 1.4rem; }
  .nav-link::after, .nav-button::after { display: none; }
  .dropdown-menu { position: static; width: 100%; display: none; margin: 0 0 8px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .menu-toggle { display: grid; }
  .brand-copy { display: none; }
  .hero-content { margin-top: 34px; }
  .hero-mark { width: min(610px, 86vw); }
  .decision-stage { min-height: 150px; }
  .decision-metrics { grid-template-columns: repeat(2,1fr); }
  .metric { min-height: 74px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(3), .metric:nth-child(4) { border-bottom: 0; }
  .intro-grid, .service-intro-grid, .capabilities-head, .solutions-head { grid-template-columns: 1fr; gap: 32px; }
  .intro { padding-top: 88px; }
  .section-label { align-items: flex-start; flex-direction: column; }
  .brand-card { width: 200px; height: 118px; flex-basis: 200px; }
  .brand-card img { max-width: 158px; max-height: 76px; }
  .vision-inner { grid-template-columns: 1fr; }
  .play-button { width: 86px; height: 86px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .search-shell { width: calc(100% - 34px); }
  .search-results { grid-template-columns: 1fr; }
  .search-input-row { margin-top: 12vh; }
  .search-input-row input { font-size: clamp(2.8rem, 10vw, 5rem); }
  .capabilities-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .method-step { min-height: auto; border-right: 0; }
  .method-step strong { margin-bottom: 24px; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 24px); }
  .hero-tagline { font-size: .7rem; letter-spacing: .13em; }
  .btn { width: min(100%, 340px); }
  .decision-stage { min-height: 184px; }
  .decision-statement p { font-size: 2.2rem; }
  .metric strong { font-size: 2rem; }
  .metric span { font-size: .68rem; }
  .intro .display { font-size: 3.5rem; }
  .services-grid { grid-template-columns: 1fr; grid-template-areas: "gerencial" "financiero" "marketing" "juridico" "contabilidad" "innovacion"; grid-template-rows: none; }
  .service-card { min-height: 225px; padding: 26px; }
  .brand-heading .display { font-size: 3.3rem; }
  .brand-card { width: 180px; height: 110px; flex-basis: 180px; padding: 16px 22px; }
  .brand-card img { max-width: 145px; max-height: 70px; }
  .contact-box { padding: 58px 22px; }
  .service-hero { min-height: 70svh; padding-top: calc(var(--header-h) + 70px); }
  .service-hero h1 { font-size: 4.5rem; }
  .solution-row { grid-template-columns: 48px 1fr; }
  .solution-row em { display: 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; }
  .hero-media img { filter: saturate(.70) contrast(1.04) brightness(.58); }
  .hero-darkening, .hero-glow, .hero-mark, .hero-tagline, .hero-cta, .scroll-cue { opacity: 1 !important; clip-path: none !important; transform: none !important; }
}

/* ================= V4 REFINEMENTS ================= */
/* Keep the hero accordion arrows aligned on the same vertical axis. */
.hero-nav-accordion { width: 100%; }
.hero-nav-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  column-gap: 16px;
}
.hero-nav-arrow { width: 24px; text-align: center; justify-self: end; }
.hero-nav-submenu a {
  padding: 8px 14px;
  font-size: clamp(1rem, 1.05vw, 1.1rem);
  line-height: 1.35;
}

/* The large editorial 'Decisiones...' block was intentionally removed.
   The service grid now starts with a simple 06 Líneas heading. */
.services { padding: 88px 0 128px; }
.services .container { width: min(1640px, calc(100% - 80px)); }
.services-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 34px;
  color: var(--navy);
}
.services-heading span {
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(2.3rem, 3.4vw, 4rem);
  line-height: 1;
}
.services-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 5vw, 5.8rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.025em;
}
.services-grid {
  grid-template-rows: repeat(2, minmax(300px, 1fr));
}
.service-card {
  min-width: 0;
  min-height: 300px;
  padding: 40px 42px;
}
.service-card > div { min-width: 0; }
.service-title {
  max-width: 100%;
  font-size: clamp(2.25rem, 2.65vw, 3.25rem);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.service-text { max-width: 520px; }
.section-anchor { position: absolute; top: calc(var(--header-h) * -1); }
.vision { scroll-margin-top: var(--header-h); }

/* Larger partner marks and a calmer continuous pass. */
.brand-track { animation-duration: 32s; }
.brand-card {
  width: 270px;
  height: 150px;
  flex-basis: 270px;
  padding: 22px 30px;
}
.brand-card img { max-width: 220px; max-height: 96px; }

/* Compact floating search: the page remains visible behind it. */
body.search-open { overflow: auto; }
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: transparent;
  color: var(--white);
  clip-path: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s step-end;
}
.search-overlay.open {
  clip-path: none;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .18s ease, visibility 0s step-start;
}
.search-shell {
  position: absolute;
  top: 84px;
  right: clamp(28px, 5vw, 84px);
  width: min(440px, calc(100% - 40px));
  height: auto;
  max-height: min(610px, calc(100svh - 110px));
  margin: 0;
  padding: 18px 18px 14px;
  display: block;
  overflow: hidden;
  background: rgba(29,34,65,.975);
  border: 1px solid rgba(201,153,106,.36);
  box-shadow: 0 24px 70px rgba(9,13,31,.28);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  transform: translateY(-8px) scale(.985);
  transform-origin: top right;
  opacity: 0;
  transition: opacity .2s ease, transform .24s cubic-bezier(.2,.8,.2,1);
}
.search-overlay.open .search-shell { opacity: 1; transform: none; }
.search-head, .search-kicker, .search-watermark { display: none; }
.search-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  font-size: 1.55rem;
}
.search-input-row {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 9px 40px 11px 2px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.search-input-row svg { width: 19px; color: var(--gold); }
.search-input-row input {
  width: 100%;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0;
}
.search-input-row input::placeholder { color: rgba(255,255,255,.55); }
.search-meta {
  padding: 14px 0 7px;
  font-size: .68rem;
  letter-spacing: .1em;
}
.search-results {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0;
  max-height: 390px;
  overflow: auto;
  border-top: 1px solid rgba(255,255,255,.08);
}
.search-results a {
  padding: 10px 2px;
  font-family: var(--body);
  font-size: .92rem;
  line-height: 1.25;
}
.search-results a:hover { padding-left: 7px; }
.search-results .no-results { padding: 16px 2px; font-size: .88rem; }

/* Innovation Digital: outcome-led positioning without unsupported numerical claims. */
.digital-outcomes {
  padding: 0 0 108px;
  background: var(--paper-2);
}
.digital-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.digital-outcomes article {
  min-height: 235px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.45);
}
.digital-outcomes span {
  display: block;
  margin-bottom: 48px;
  color: var(--gold);
  font-size: .74rem;
  letter-spacing: .11em;
}
.digital-outcomes strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.05;
}
.digital-outcomes p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

@media (max-width: 1120px) {
  .services .container { width: min(100% - 44px, 1120px); }
  .service-card { padding: 34px; }
  .service-title { font-size: clamp(2.15rem, 3.4vw, 3.05rem); }
  .digital-outcomes-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .services .container { width: var(--container); }
  .services { padding-top: 72px; }
  .brand-card { width: 220px; height: 124px; flex-basis: 220px; }
  .brand-card img { max-width: 178px; max-height: 80px; }
  .search-shell {
    top: calc(var(--header-h) + 10px);
    right: 17px;
    width: min(430px, calc(100% - 34px));
  }
  .search-input-row { margin-top: 0; }
  .search-input-row input { font-size: 1rem; }
}

@media (max-width: 620px) {
  .services-heading { margin-bottom: 24px; }
  .services-heading h1 { font-size: 3.5rem; }
  .service-card { min-height: 240px; padding: 28px; }
  .service-title { font-size: 2.45rem; }
  .digital-outcomes-grid { grid-template-columns: 1fr; }
  .digital-outcomes article { min-height: auto; }
  .digital-outcomes span { margin-bottom: 24px; }
}

/* ================= V5 REFINEMENTS ================= */
/* Pantalla inicial: navegación un poco más arriba y completamente en mayúsculas. */
.hero-side-nav {
  top: 45.5%;
  transform: translateY(-50%);
}
.nav-condensed .hero-side-nav {
  transform: translateY(calc(-50% - 18px));
}
.hero-nav-link,
.hero-nav-trigger {
  text-transform: uppercase;
  letter-spacing: .035em;
}
.hero-nav-submenu a {
  text-transform: none;
}

/* 06 Líneas: mantiene el carácter editorial, pero sin dominar la sección. */
.services-heading {
  gap: 12px;
  margin-bottom: 30px;
}
.services-heading span {
  font-size: clamp(1.9rem, 2.55vw, 3rem);
}
.services-heading h1 {
  font-size: clamp(2.65rem, 3.85vw, 4.35rem);
  line-height: 1;
}

@media (max-width: 620px) {
  .services-heading h1 { font-size: 3rem; }
  .services-heading span { font-size: 2.05rem; }
}

/* ================= V6 REFINEMENTS ================= */
/* Premium footer across the site */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 92px 0 28px;
  background:
    radial-gradient(circle at 12% 14%, rgba(201,153,106,.10), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(201,153,106,.08), transparent 26%),
    linear-gradient(180deg, #151a34 0%, #0f142a 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -140px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(201,153,106,.08);
  box-shadow:
    0 0 0 60px rgba(201,153,106,.028),
    0 0 0 120px rgba(201,153,106,.018);
  pointer-events: none;
}
.footer-main {
  position: relative;
  z-index: 1;
  grid-template-columns: 1.35fr .7fr 1fr;
  gap: 80px;
  padding-bottom: 62px;
}
.footer-brand img { width: 320px; margin-bottom: 26px; }
.footer-brand p {
  max-width: 500px;
  color: rgba(255,255,255,.78);
  font-size: 1.02rem;
  line-height: 1.8;
}
.footer-title {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: .76rem;
  letter-spacing: .18em;
}
.footer-links { gap: 12px; }
.footer-links a {
  color: rgba(255,255,255,.76);
  transition: color .22s ease, transform .22s ease;
}
.footer-links a:hover { color: var(--gold-light); transform: translateX(4px); }
.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  color: rgba(255,255,255,.62);
}

/* Premium contact box */
.contact-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,153,106,.20);
  background:
    radial-gradient(circle at 82% 18%, rgba(201,153,106,.16), transparent 22%),
    linear-gradient(135deg, #1d2241 0%, #171c37 100%);
  box-shadow: 0 24px 80px rgba(11,15,34,.12);
}
.contact-box::before {
  content: "";
  position: absolute;
  inset: auto -40px -100px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(201,153,106,.10);
  box-shadow: 0 0 0 34px rgba(201,153,106,.035);
}
.contact-box > * { position: relative; z-index: 1; }
.contact-box .display { font-size: clamp(2.6rem, 4.8vw, 4.8rem); line-height: .95; }
.contact-box > p:not(.eyebrow) { max-width: 720px; }

/* Innovation Digital redesign */
.digital-service .service-hero {
  min-height: 78svh;
  align-items: center;
  padding: calc(var(--header-h) + 72px) 0 74px;
  background:
    radial-gradient(circle at 82% 22%, rgba(201,153,106,.18), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 38%),
    linear-gradient(135deg, #1d2241 0%, #171c37 48%, #1d2241 100%);
}
.digital-service .service-hero::before {
  background:
    radial-gradient(circle at 75% 35%, rgba(201,153,106,.14), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.03), transparent 48%);
}
.digital-service .service-hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(320px,.6fr);
  gap: 72px;
  align-items: end;
}
.digital-service .service-hero-symbol {
  right: -5vw;
  top: 16vh;
  width: min(500px, 38vw);
  opacity: .06;
}
.digital-service .service-hero h1 {
  max-width: 820px;
  font-size: clamp(4rem, 8vw, 7.3rem);
  line-height: .88;
}
.digital-service .service-hero-lead {
  max-width: 720px;
  margin-top: 26px;
  color: rgba(255,255,255,.8);
  font-size: clamp(1.06rem, 1.35vw, 1.28rem);
  line-height: 1.72;
}
.service-hero-panel {
  position: relative;
  padding: 28px 28px 24px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(201,153,106,.18);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 18px 44px rgba(7,10,24,.20);
}
.service-hero-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}
.service-panel-label {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.service-panel-copy {
  margin: 0;
  color: rgba(255,255,255,.73);
  font-size: .98rem;
  line-height: 1.78;
}
.service-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.service-pill-list li {
  padding: 9px 12px;
  border: 1px solid rgba(201,153,106,.28);
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.03);
  font-size: .82rem;
  letter-spacing: .04em;
}
.digital-service .service-intro {
  padding: 92px 0 88px;
}
.digital-service .service-intro-grid {
  grid-template-columns: .85fr 1.15fr;
  gap: 86px;
}
.digital-service .service-intro .display {
  max-width: 640px;
  font-size: clamp(2.6rem, 4.6vw, 4.9rem);
  line-height: .98;
}
.digital-service .service-copy {
  max-width: 760px;
  display: grid;
  gap: 22px;
}
.digital-service .service-copy p {
  margin: 0;
  color: #727687;
  font-size: 1.02rem;
  line-height: 1.84;
}
.digital-service .service-copy p strong { color: var(--navy); font-weight: 600; }
.digital-outcomes {
  padding: 0 0 110px;
  background: var(--paper-2);
}
.digital-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: rgba(29,34,65,.12);
  border: 1px solid rgba(29,34,65,.12);
}
.digital-outcomes article {
  min-height: 260px;
  padding: 30px 28px 26px;
  background: #fbfaf7;
}
.outcome-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.outcome-icon,
.cap-icon,
.method-icon {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(201,153,106,.30);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(201,153,106,.06);
}
.outcome-icon svg,
.cap-icon svg,
.method-icon svg { width: 24px; height: 24px; }
.digital-outcomes span {
  margin: 0;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .14em;
}
.digital-outcomes strong {
  font-size: 1.56rem;
  line-height: 1.06;
}
.capabilities {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--paper) 0%, #f3f0ea 100%);
}
.capabilities-head {
  margin-bottom: 58px;
  align-items: start;
}
.capabilities-head .display {
  font-size: clamp(3.2rem, 5.1vw, 5.5rem);
}
.capabilities-head .lead {
  max-width: 560px;
  font-size: 1.05rem;
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  border: 1px solid rgba(29,34,65,.12);
  background: rgba(29,34,65,.12);
}
.cap-card {
  position: relative;
  min-height: 300px;
  padding: 34px 32px 30px;
  border: 0;
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .28s ease, color .28s ease, transform .28s ease;
}
.cap-card:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}
.cap-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.cap-card .cap-num {
  margin: 0;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .14em;
}
.cap-card h3 {
  max-width: 310px;
  margin-bottom: 14px;
  font-size: 1.8rem;
  line-height: 1.02;
}
.cap-card p { font-size: .97rem; line-height: 1.72; }
.method {
  padding: 118px 0;
  background: var(--white);
}
.method-head {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}
.method-head .display {
  font-size: clamp(3.2rem, 5.4vw, 5.85rem);
}
.method-head .lead {
  font-size: .98rem;
  line-height: 1.8;
}
.method-steps {
  margin-top: 0;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 1px;
  border: 1px solid rgba(29,34,65,.12);
  background: rgba(29,34,65,.12);
}
.method-step {
  min-height: 290px;
  padding: 28px 24px 26px;
  border: 0;
  background: #fbfaf7;
}
.method-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.method-step strong {
  margin: 0;
  font-size: 1.65rem;
}
.method-step h3 { font-size: 1.48rem; line-height: 1.08; }
.method-step p { font-size: .94rem; line-height: 1.68; }
.digital-service .contact-cta { padding: 118px 0; }
.digital-service .contact-box {
  text-align: left;
  padding: 78px 76px 72px;
}
.digital-service .contact-box .display {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.9rem, 5vw, 5rem);
}
.digital-service .contact-box > p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 30px;
}
.digital-service .contact-box .btn { min-width: 290px; }

@media (max-width: 1120px) {
  .digital-service .service-hero-inner,
  .digital-service .service-intro-grid,
  .method-head {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .digital-outcomes-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .capabilities-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .method-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .site-footer { padding-top: 72px; }
  .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .digital-service .service-hero { min-height: auto; padding-bottom: 60px; }
  .digital-service .service-hero h1 { font-size: 4.6rem; }
  .service-hero-panel { padding: 24px 22px; }
  .digital-service .service-intro { padding: 76px 0 72px; }
  .digital-outcomes-grid,
  .capabilities-grid,
  .method-steps { grid-template-columns: 1fr; }
  .cap-card,
  .method-step,
  .digital-outcomes article { min-height: auto; }
  .method-head { margin-bottom: 36px; }
  .digital-service .contact-box { padding: 60px 28px; }
}


/* ================= V7 SIZE & HERO REFINEMENTS ================= */
/* HOME: smaller editorial titles and side navigation higher on the left */
.home-page .hero-side-nav {
  top: 39.5%;
  left: clamp(28px, 4.7vw, 78px);
}
.home-page .nav-condensed .hero-side-nav {
  transform: translateY(calc(-50% - 18px));
}
.home-page .services-heading span {
  font-size: clamp(1.65rem, 2.1vw, 2.45rem);
}
.home-page .services-heading h1 {
  font-size: clamp(2.25rem, 3.15vw, 3.45rem);
}
.home-page .service-title {
  font-size: clamp(1.85rem, 2.2vw, 2.75rem);
}
.home-page .brand-heading .display {
  font-size: clamp(2.55rem, 4vw, 4.2rem);
}
.home-page .vision .display {
  font-size: clamp(2.7rem, 4.4vw, 4.45rem);
}
.home-page .contact-box .display {
  font-size: clamp(2.45rem, 4vw, 4.1rem);
}

/* INNOVACIÓN DIGITAL: lighter, editorial first view */
.digital-service .innovation-hero {
  min-height: 70svh;
  padding: calc(var(--header-h) + 76px) 0 72px;
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.18)),
    #f3efe8;
  border-bottom: 1px solid rgba(29,34,65,.10);
}
.digital-service .innovation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(201,153,106,.10) 8% calc(8% + 1px), transparent calc(8% + 1px) 92%, rgba(201,153,106,.10) 92% calc(92% + 1px), transparent calc(92% + 1px)),
    linear-gradient(180deg, transparent 74%, rgba(201,153,106,.12) 74% calc(74% + 1px), transparent calc(74% + 1px));
  pointer-events: none;
}
.digital-service .innovation-hero .service-hero-symbol {
  right: 5.5vw;
  top: 50%;
  width: min(390px, 29vw);
  opacity: .085;
  transform: translateY(-45%);
  filter: sepia(.2) saturate(.9);
}
.digital-service .innovation-hero-number {
  position: absolute;
  left: clamp(30px, 5vw, 86px);
  bottom: 24px;
  color: rgba(201,153,106,.12);
  font-family: var(--display);
  font-size: clamp(7rem, 15vw, 15rem);
  line-height: .8;
  pointer-events: none;
  user-select: none;
}
.digital-service .innovation-hero-inner {
  display: block;
}
.digital-service .innovation-hero-center {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}
.digital-service .innovation-hero .breadcrumb {
  justify-content: center;
  margin-bottom: 30px;
  color: rgba(29,34,65,.52);
}
.digital-service .innovation-hero .breadcrumb a:hover { color: var(--gold); }
.digital-service .innovation-hero .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}
.digital-service .innovation-hero .eyebrow::after { display: none; }
.digital-service .innovation-hero h1 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--navy);
  font-size: clamp(3.4rem, 6.1vw, 5.7rem);
  line-height: .93;
  letter-spacing: -.03em;
}
.digital-service .innovation-hero .service-hero-lead {
  max-width: 760px;
  margin: 28px auto 0;
  color: #707383;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.78;
  text-align: center;
  font-weight: 400;
}

/* Intro: smaller title, centered support copy, no bold treatment */
.digital-service .service-intro {
  padding: 84px 0 82px;
}
.digital-service .service-intro-grid {
  display: block;
  max-width: 1020px;
}
.digital-service .service-intro-grid > div:first-child {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.digital-service .service-intro-grid .eyebrow {
  justify-content: center;
}
.digital-service .service-intro-grid .eyebrow::after { display: none; }
.digital-service .service-intro .display {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(2.35rem, 3.7vw, 3.85rem);
  line-height: 1.02;
}
.digital-service .service-copy {
  max-width: 800px;
  margin: 0 auto;
  gap: 18px;
  text-align: center;
}
.digital-service .service-copy p {
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}
.digital-service .service-copy strong { font-weight: 400; color: inherit; }

/* Four outcome blocks: slightly calmer proportions */
.digital-service .digital-outcomes {
  padding-bottom: 96px;
}
.digital-service .digital-outcomes article {
  min-height: 238px;
}
.digital-service .digital-outcomes strong {
  font-size: 1.42rem;
}

/* Capabilities: centered section title/support text and smaller title */
.digital-service .capabilities {
  padding: 100px 0 108px;
}
.digital-service .capabilities-head {
  display: block;
  max-width: 930px;
  margin: 0 auto 52px;
  text-align: center;
}
.digital-service .capabilities-head .eyebrow {
  justify-content: center;
}
.digital-service .capabilities-head .eyebrow::after { display: none; }
.digital-service .capabilities-head .display {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(2.55rem, 4vw, 4.15rem);
  line-height: 1;
}
.digital-service .capabilities-head .lead {
  max-width: 700px;
  margin: 22px auto 0;
  text-align: center;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.78;
}
.digital-service .cap-card h3 {
  font-size: 1.6rem;
}

/* Method: centered title/support copy and smaller scale */
.digital-service .method {
  padding: 100px 0 106px;
}
.digital-service .method-head {
  display: block;
  max-width: 860px;
  margin: 0 auto 46px;
  text-align: center;
}
.digital-service .method-head .eyebrow {
  justify-content: center;
}
.digital-service .method-head .eyebrow::after { display: none; }
.digital-service .method-head .display {
  margin: 0 auto;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1;
}
.digital-service .method-head .lead {
  max-width: 620px;
  margin: 18px auto 0;
  text-align: center;
  font-weight: 400;
  font-size: .98rem;
}
.digital-service .method-step h3 { font-size: 1.36rem; }

/* Contact CTA: smaller centered heading */
.digital-service .contact-box {
  text-align: center;
  padding: 68px 56px 64px;
}
.digital-service .contact-box .eyebrow {
  justify-content: center;
}
.digital-service .contact-box .display {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(2.35rem, 3.7vw, 3.85rem);
  line-height: 1;
}
.digital-service .contact-box > p:not(.eyebrow) {
  max-width: 690px;
  margin: 20px auto 30px;
  text-align: center;
  font-weight: 400;
}

/* General service-page title moderation */
.service-page:not(.digital-service) .placeholder-service .display {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

@media (max-width: 860px) {
  .home-page .hero-side-nav { top: 40%; }
  .digital-service .innovation-hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 68px);
  }
  .digital-service .innovation-hero .service-hero-symbol {
    width: 48vw;
    right: -5vw;
    opacity: .06;
  }
  .digital-service .innovation-hero-number {
    font-size: 8rem;
    left: 18px;
  }
  .digital-service .innovation-hero h1 { font-size: 4rem; }
  .digital-service .service-intro .display,
  .digital-service .capabilities-head .display,
  .digital-service .method-head .display,
  .digital-service .contact-box .display {
    font-size: 2.9rem;
  }
}

@media (max-width: 620px) {
  .digital-service .innovation-hero h1 { font-size: 3.35rem; }
  .digital-service .innovation-hero .service-hero-lead { font-size: .96rem; }
  .digital-service .service-intro .display,
  .digital-service .capabilities-head .display,
  .digital-service .method-head .display,
  .digital-service .contact-box .display {
    font-size: 2.45rem;
  }
  .digital-service .contact-box { padding: 54px 22px; }
}


/* ================= V8 REFINEMENTS ================= */
.home-page .services-heading {
  gap: 12px;
  align-items: baseline;
}
.home-page .services-heading span,
.home-page .services-heading h1 {
  font-size: clamp(1.7rem, 2.1vw, 2.4rem);
  line-height: 1;
}
.home-page .services-heading h1 {
  letter-spacing: -.01em;
  text-transform: none;
}
.home-page .brand-heading .display {
  font-size: clamp(2.1rem, 3vw, 3.15rem);
}

.digital-service .innovation-hero h1 {
  font-size: clamp(2.95rem, 4.8vw, 4.65rem);
}
.digital-service .innovation-hero .service-hero-lead {
  max-width: 720px;
  font-size: 1rem;
}
.digital-service .service-intro {
  padding: 86px 0 92px;
}
.digital-service .service-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: clamp(34px, 4vw, 66px);
  max-width: 1280px;
  align-items: center;
}
.digital-service .service-intro-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.digital-service .service-intro-grid > div:first-child {
  max-width: unset;
  margin: 0;
  text-align: center;
}
.digital-service .service-intro .display {
  max-width: 660px;
  margin: 0 auto;
  font-size: clamp(2rem, 2.9vw, 3rem);
  line-height: 1.04;
}
.digital-service .service-copy {
  max-width: 650px;
  margin: 22px auto 0;
  gap: 14px;
  text-align: center;
}
.digital-service .service-copy p {
  font-size: .98rem;
  line-height: 1.82;
  margin: 0;
}
.digital-service .service-intro-visual {
  position: relative;
  margin: 0;
  min-height: 100%;
}
.digital-service .service-intro-visual::before {
  content: "";
  position: absolute;
  inset: 20px -16px -20px 24px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(201,153,106,.18), rgba(29,34,65,.08));
  filter: blur(18px);
  z-index: 0;
}
.digital-service .service-intro-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 30px;
  border: 1px solid rgba(29,34,65,.08);
  box-shadow: 0 32px 70px rgba(24, 28, 54, .12);
}
.digital-service .service-intro-visual::after {
  content: "Operación + visibilidad + decisión";
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(29,34,65,.08);
  color: var(--navy);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.digital-service .capabilities-head .display {
  font-size: clamp(2.2rem, 3vw, 3.3rem);
}
.digital-service .method-head .display {
  font-size: clamp(2.2rem, 3vw, 3.3rem);
}
.digital-service .contact-box .display {
  font-size: clamp(2.1rem, 3vw, 3.15rem);
}

@media (max-width: 980px) {
  .digital-service .service-intro-grid {
    grid-template-columns: 1fr;
    max-width: 840px;
  }
  .digital-service .service-intro-visual {
    max-width: 520px;
    margin: 0 auto;
  }
}


/* ================= V9 CODE-ONLY VISUAL ================= */
.digital-service .service-process-visual {
  position: relative;
  min-height: 560px;
  padding: 34px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(29,34,65,.10);
  background:
    radial-gradient(circle at 85% 12%, rgba(201,153,106,.18), transparent 24%),
    linear-gradient(145deg, #f8f4ee 0%, #eee8de 58%, #e7e2da 100%);
  box-shadow: 0 30px 70px rgba(24,28,54,.09);
}
.digital-service .service-process-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,34,65,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,34,65,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 86%);
  pointer-events: none;
}
.process-orbit {
  position: absolute;
  border: 1px solid rgba(201,153,106,.17);
  border-radius: 50%;
  pointer-events: none;
}
.process-orbit-a { width: 330px; height: 330px; right: -120px; top: -90px; }
.process-orbit-b { width: 250px; height: 250px; left: -135px; bottom: -100px; }
.process-visual-head {
  position: relative;
  z-index: 2;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(29,34,65,.10);
}
.process-visual-head span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.process-visual-head strong {
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.05;
}
.process-flow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}
.process-node {
  min-width: 0;
  min-height: 260px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(29,34,65,.11);
  border-radius: 18px;
  background: rgba(255,255,255,.63);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.process-node-highlight {
  background: var(--navy);
  color: var(--white);
  border-color: rgba(201,153,106,.42);
}
.process-node-num {
  color: var(--gold);
  font-size: .7rem;
  letter-spacing: .12em;
}
.process-node-icon {
  width: 52px;
  height: 52px;
  margin: 30px 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201,153,106,.30);
  color: var(--gold);
  background: rgba(201,153,106,.08);
}
.process-node-icon svg { width: 24px; height: 24px; }
.process-node h3 {
  margin: 24px 0 7px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 400;
}
.process-node-highlight h3 { color: var(--white); }
.process-node p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}
.process-node-highlight p { color: rgba(255,255,255,.68); }
.process-connector {
  color: var(--gold);
  font-size: 1.35rem;
}
.process-visual-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.process-visual-footer span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(29,34,65,.10);
  background: rgba(255,255,255,.56);
  color: var(--navy);
  font-size: .72rem;
}

@media (max-width: 1180px) {
  .process-flow {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .process-connector { display: none; }
  .process-node { min-height: 210px; }
}

@media (max-width: 620px) {
  .digital-service .service-process-visual { min-height: auto; padding: 24px; }
  .process-flow { grid-template-columns: 1fr; }
  .process-node { min-height: 190px; }
}

/* ================= V10 SERVICES IMAGE CARDS ================= */
.home-page .services .container {
  max-width: 1460px;
}
.home-page .services-heading {
  gap: 10px;
  align-items: baseline;
  margin-bottom: 28px;
}
.home-page .services-heading span,
.home-page .services-heading h1 {
  font-size: clamp(2rem, 2.35vw, 2.5rem);
  line-height: 1;
}
.home-page .services-heading h1 {
  text-transform: none;
  letter-spacing: -.01em;
}
.home-page .brands .display {
  font-size: clamp(2.2rem, 3.1vw, 3.45rem);
}

.home-page .services-grid {
  gap: 18px;
  background: transparent;
  border: 0;
}
.home-page .service-card {
  min-height: 290px;
  padding: 30px 28px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(17, 22, 44, .10);
  isolation: isolate;
}
.home-page .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  border: 0;
  border-radius: inherit;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.01);
  opacity: .92;
  transition: transform .65s ease, opacity .35s ease;
}
.home-page .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(11,17,37,.12) 0%, rgba(17,23,43,.30) 30%, rgba(18,24,46,.78) 72%, rgba(15,19,37,.94) 100%),
    linear-gradient(135deg, rgba(29,34,65,.20), rgba(201,153,106,.12));
  opacity: 1;
  transition: background .35s ease, opacity .35s ease;
}
.home-page .service-card:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(17,22,44,.14);
}
.home-page .service-card:hover::before {
  transform: scale(1.06);
  opacity: 1;
}
.home-page .service-card:hover::after {
  background:
    linear-gradient(180deg, rgba(11,17,37,.06) 0%, rgba(17,23,43,.22) 28%, rgba(18,24,46,.72) 68%, rgba(15,19,37,.92) 100%),
    linear-gradient(135deg, rgba(29,34,65,.14), rgba(201,153,106,.18));
}
.home-page .service-card > div {
  margin-top: auto;
  max-width: 92%;
}
.home-page .service-number,
.home-page .service-title,
.home-page .service-text,
.home-page .service-arrow {
  position: relative;
  z-index: 2;
}
.home-page .service-number {
  color: rgba(255,255,255,.78);
  font-size: .74rem;
  letter-spacing: .16em;
}
.home-page .service-title {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(1.85rem, 2.5vw, 3rem);
  line-height: .95;
  text-wrap: balance;
}
.home-page .service-text {
  max-width: 450px;
  color: rgba(255,255,255,.84);
  font-size: .98rem;
  line-height: 1.62;
}
.home-page .service-card:hover .service-text,
.home-page .service-card:hover .service-number { color: rgba(255,255,255,.9); }
.home-page .service-arrow {
  align-self: flex-end;
  color: var(--gold-light);
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.home-page .service-card[data-area="gerencial"]::before { background-image: url('../img/services/gerencial.webp'); background-position: center center; }
.home-page .service-card[data-area="financiero"]::before { background-image: url('../img/services/financiero.webp'); background-position: center center; }
.home-page .service-card[data-area="marketing"]::before { background-image: url('../img/services/marketing.webp'); background-position: center center; }
.home-page .service-card[data-area="juridico"]::before { background-image: url('../img/services/juridico.webp'); background-position: center center; }
.home-page .service-card[data-area="contabilidad"]::before { background-image: url('../img/services/contabilidad.webp'); background-position: center center; }
.home-page .service-card[data-area="innovacion"]::before { background-image: url('../img/services/innovacion.webp'); background-position: left center; }

@media (max-width: 1100px) {
  .home-page .services-grid {
    gap: 14px;
  }
  .home-page .service-card {
    min-height: 250px;
    padding: 26px 24px;
  }
  .home-page .service-title {
    font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  }
}

@media (max-width: 768px) {
  .home-page .brands .display {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }
  .home-page .services-heading span,
  .home-page .services-heading h1 {
    font-size: 1.9rem;
  }
  .home-page .service-card {
    min-height: 220px;
    border-radius: 20px;
  }
  .home-page .service-title {
    font-size: 1.9rem;
  }
  .home-page .service-text {
    font-size: .94rem;
  }
}


/* ================= V11 MARKETING + INNOVATION REFINEMENTS ================= */
.digital-service .service-intro-grid,
.marketing-service .service-intro-grid {
  grid-template-columns: minmax(0, 1fr) minmax(560px, 660px);
  align-items: start;
  gap: clamp(38px, 4vw, 74px);
  max-width: 1380px;
}
.digital-service .service-intro-copy,
.marketing-service .service-intro-copy {
  max-width: 760px;
  margin: 0;
  text-align: left;
}
.digital-service .service-intro-grid > div:first-child,
.marketing-service .service-intro-grid > div:first-child {
  text-align: left;
}
.digital-service .service-intro .display,
.marketing-service .service-intro .display {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 2.55vw, 2.85rem);
  line-height: 1.08;
  text-wrap: balance;
}
.digital-service .service-copy,
.marketing-service .service-copy {
  max-width: 760px;
  margin: 22px 0 0;
  text-align: left;
}
.digital-service .service-copy p,
.marketing-service .service-copy p {
  font-size: .98rem;
  line-height: 1.8;
}
.digital-service .service-process-visual,
.marketing-service .service-process-visual {
  min-height: auto;
  padding: 32px;
}
.process-visual-head strong {
  display: block;
  max-width: 100%;
  font-size: clamp(1.72rem, 2.2vw, 2.15rem);
  line-height: 1.12;
  text-wrap: balance;
}
.process-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.process-connector { display: none; }
.process-node {
  min-height: 250px;
  padding: 18px 16px 18px;
  border-radius: 22px;
}
.process-node-icon {
  width: 58px;
  height: 58px;
  margin: 18px 0 auto;
}
.process-node h3 {
  margin: 20px 0 7px;
  font-size: 1.34rem;
  line-height: 1.02;
}
.process-node p {
  font-size: .92rem;
  line-height: 1.58;
}
.marketing-service .service-hero-lead,
.digital-service .service-hero-lead {
  max-width: 860px;
}
.marketing-service .innovation-hero-number,
.marketing-service .service-hero-symbol { opacity: .18; }
.marketing-service .benefits-head {
  margin-bottom: 34px;
}
.marketing-service .capabilities-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.marketing-service .cap-card p {
  max-width: 36ch;
}
.marketing-service .method-head .display,
.marketing-service .capabilities-head .display,
.marketing-service .contact-box .display {
  font-size: clamp(2.05rem, 3vw, 3rem);
}
.marketing-service .digital-outcomes {
  padding-top: 18px;
}
.marketing-service .digital-outcomes-grid article,
.marketing-service .cap-card,
.marketing-service .method-step {
  box-shadow: 0 16px 36px rgba(19,27,46,.06);
}
.marketing-service .service-process-visual {
  background:
    radial-gradient(circle at 90% 18%, rgba(201,153,106,.22), transparent 26%),
    linear-gradient(145deg, #f7f3ee 0%, #efe9dd 60%, #e8e2d9 100%);
}
.marketing-service .service-process-visual::after {
  content: 'Inteligencia + creatividad + posicionamiento';
}
.marketing-service .process-node-highlight { border-color: rgba(201,153,106,.52); }

@media (max-width: 1180px) {
  .digital-service .service-intro-grid,
  .marketing-service .service-intro-grid {
    grid-template-columns: 1fr;
    max-width: 920px;
  }
  .digital-service .service-intro-copy,
  .marketing-service .service-intro-copy,
  .digital-service .service-intro-grid > div:first-child,
  .marketing-service .service-intro-grid > div:first-child,
  .digital-service .service-copy,
  .marketing-service .service-copy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .digital-service .service-intro .display,
  .marketing-service .service-intro .display {
    margin-left: auto;
    margin-right: auto;
  }
  .process-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketing-service .capabilities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .digital-service .service-process-visual,
  .marketing-service .service-process-visual {
    padding: 22px;
    border-radius: 24px;
  }
  .process-flow { grid-template-columns: 1fr; }
  .process-node { min-height: 210px; }
  .process-visual-head strong { font-size: 1.56rem; }
  .marketing-service .capabilities-grid { grid-template-columns: 1fr; }
}

/* ================= V12 RESPONSIVE VIEWPORT SYSTEM ================= */
/* Keep every desktop/laptop view inside the viewport width. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body { min-width: 0; }
main,
section,
header,
footer,
.container,
.header-inner,
.services-grid,
.capabilities-grid,
.method-steps,
.digital-outcomes-grid,
.service-intro-grid,
.process-flow {
  min-width: 0;
  max-width: 100%;
}
img,
video,
svg { max-width: 100%; }
.service-title,
.cap-card h3,
.method-step h3,
.process-node h3,
.process-node p,
.service-copy p,
.lead {
  overflow-wrap: break-word;
  word-break: normal;
}

/* Desktop/laptop: each major content section is one viewport tall. */
@media (min-width: 901px) {
  :root {
    --header-h: 76px;
    --container: min(1360px, calc(100% - 56px));
  }

  .site-header { height: var(--header-h); }
  .header-inner { width: var(--container); gap: 24px; }
  .brand-symbol { width: 39px; height: 39px; }
  .brand-copy strong { font-size: 1.05rem; }
  .brand-copy small { font-size: .61rem; margin-top: 4px; }
  .main-nav { gap: clamp(18px, 2vw, 30px); }
  .nav-link,
  .nav-button { padding-top: 25px; padding-bottom: 22px; font-size: .9rem; }

  .home-page .hero { height: 100svh; min-height: 640px; }
  .home-page .hero-side-nav { top: 36%; }

  .home-page .services,
  .home-page .brands,
  .home-page .vision,
  .home-page .contact-cta,
  .digital-service main > .service-intro,
  .digital-service main > .digital-outcomes,
  .digital-service main > .capabilities,
  .digital-service main > .method,
  .digital-service main > .contact-cta,
  .marketing-service main > .service-intro,
  .marketing-service main > .digital-outcomes,
  .marketing-service main > .capabilities,
  .marketing-service main > .method,
  .marketing-service main > .contact-cta {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + clamp(20px, 3.2vh, 38px));
    padding-bottom: clamp(20px, 3.2vh, 38px);
    display: flex;
    align-items: center;
    scroll-margin-top: 0;
  }

  .home-page .services > .container,
  .home-page .brands > .container,
  .home-page .contact-cta > .container,
  .digital-service main > section > .container,
  .marketing-service main > section > .container {
    width: var(--container);
    max-width: 1360px;
    margin-inline: auto;
  }

  .home-page .services {
    padding-left: 0;
    padding-right: 0;
  }
  .home-page .services .container {
    width: min(1460px, calc(100% - 56px));
  }
  .home-page .services-heading { margin-bottom: clamp(18px, 2.4vh, 28px); }
  .home-page .services-grid {
    height: clamp(450px, 57vh, 600px);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1vw, 18px);
  }
  .home-page .service-card {
    min-height: 0;
    height: 100%;
    padding: clamp(20px, 2vw, 28px);
  }
  .home-page .service-title {
    font-size: clamp(1.65rem, 2vw, 2.55rem);
    line-height: .98;
  }
  .home-page .service-text {
    font-size: clamp(.82rem, .8vw, .96rem);
    line-height: 1.52;
    max-width: 46ch;
  }
  .home-page .service-arrow { width: 36px; height: 36px; }

  .home-page .brands {
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  .home-page .brand-heading { width: var(--container); margin: 0 auto clamp(26px, 4vh, 46px); }
  .home-page .brand-heading .display { font-size: clamp(2rem, 2.8vw, 3rem); }
  .home-page .brand-card {
    width: clamp(185px, 14vw, 230px);
    height: clamp(105px, 11vh, 132px);
    flex-basis: clamp(185px, 14vw, 230px);
  }
  .home-page .brand-card img { max-width: 82%; max-height: 74%; }

  .home-page .vision {
    justify-content: center;
    min-height: 100svh;
  }
  .home-page .vision-inner { width: var(--container); }
  .home-page .vision .display { font-size: clamp(2.65rem, 4vw, 4.25rem); }
  .home-page .vision .lead { font-size: .98rem; line-height: 1.65; }

  .home-page .contact-cta { justify-content: center; }
  .home-page .contact-box { padding: clamp(44px, 7vh, 72px) clamp(40px, 5vw, 70px); }

  /* Service-page hero occupies exactly one screen including the fixed header. */
  .digital-service .innovation-hero,
  .marketing-service .marketing-hero {
    height: 100svh;
    min-height: 640px;
    padding-top: calc(var(--header-h) + clamp(28px, 6vh, 64px));
    padding-bottom: clamp(28px, 5vh, 56px);
  }
  .digital-service .innovation-hero h1,
  .marketing-service .marketing-hero h1 {
    font-size: clamp(2.85rem, 4vw, 4.35rem);
  }
  .digital-service .innovation-hero .service-hero-lead,
  .marketing-service .marketing-hero .service-hero-lead {
    font-size: clamp(.9rem, .9vw, 1rem);
    line-height: 1.65;
    max-width: 760px;
  }

  /* Intro block: balanced two-column layout with a compact 2x2 process visual. */
  .digital-service .service-intro-grid,
  .marketing-service .service-intro-grid {
    width: 100%;
    max-width: 1320px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(30px, 4vw, 64px);
    align-items: center;
  }
  .digital-service .service-intro-copy,
  .marketing-service .service-intro-copy {
    min-width: 0;
    max-width: 620px;
  }
  .digital-service .service-intro .display,
  .marketing-service .service-intro .display {
    font-size: clamp(1.9rem, 2.5vw, 2.75rem);
  }
  .digital-service .service-copy,
  .marketing-service .service-copy { margin-top: 18px; }
  .digital-service .service-copy p,
  .marketing-service .service-copy p {
    font-size: clamp(.84rem, .78vw, .95rem);
    line-height: 1.65;
  }

  .digital-service .service-process-visual,
  .marketing-service .service-process-visual {
    width: 100%;
    height: clamp(440px, 60vh, 530px);
    min-height: 0;
    padding: clamp(22px, 2.1vw, 30px);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
  }
  .process-visual-head { padding-bottom: 18px; flex: 0 0 auto; }
  .process-visual-head span { font-size: .66rem; }
  .process-visual-head strong { font-size: clamp(1.45rem, 1.8vw, 1.9rem); }
  .process-flow {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
    min-height: 0;
  }
  .process-node {
    min-height: 0;
    height: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    row-gap: 7px;
    align-items: center;
  }
  .process-node-num { grid-column: 1 / -1; grid-row: 1; }
  .process-node-icon {
    grid-column: 1;
    grid-row: 2;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .process-node-icon svg { width: 20px; height: 20px; }
  .process-node > div:last-child { grid-column: 2; grid-row: 2; min-width: 0; }
  .process-node h3 { margin: 0 0 4px; font-size: clamp(1rem, 1.05vw, 1.18rem); line-height: 1.05; }
  .process-node p { margin: 0; font-size: clamp(.73rem, .72vw, .82rem); line-height: 1.35; }
  .process-visual-footer { margin-top: 14px; gap: 6px; flex: 0 0 auto; }
  .process-visual-footer span { padding: 5px 8px; font-size: .64rem; }

  /* Benefits: fit into one viewport. */
  .digital-service .digital-outcomes,
  .marketing-service .digital-outcomes { justify-content: center; }
  .digital-service .digital-outcomes-grid,
  .marketing-service .digital-outcomes-grid {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
  }
  .digital-service .digital-outcomes article,
  .marketing-service .digital-outcomes article {
    min-height: 215px;
    padding: 22px 20px;
  }
  .outcome-meta { margin-bottom: 18px; }
  .outcome-icon { width: 46px; height: 46px; }
  .digital-outcomes strong { font-size: clamp(1.12rem, 1.25vw, 1.35rem); }
  .digital-outcomes p { font-size: clamp(.78rem, .74vw, .88rem); line-height: 1.5; }
  .marketing-service .benefits-head {
    max-width: 1040px;
    margin: 0 auto 28px;
  }
  .marketing-service .benefits-head .display { font-size: clamp(1.9rem, 2.6vw, 2.8rem); }
  .marketing-service .benefits-head .lead { font-size: .9rem; line-height: 1.6; }

  /* Six service capabilities: compact 3x2 grid, one screen. */
  .digital-service .capabilities,
  .marketing-service .capabilities { justify-content: center; }
  .digital-service .capabilities-head,
  .marketing-service .capabilities-head {
    max-width: 980px;
    margin: 0 auto 24px;
  }
  .digital-service .capabilities-head .display,
  .marketing-service .capabilities-head .display {
    font-size: clamp(1.9rem, 2.6vw, 2.85rem);
  }
  .digital-service .capabilities-head .lead,
  .marketing-service .capabilities-head .lead {
    margin-top: 14px;
    font-size: .9rem;
    line-height: 1.55;
  }
  .digital-service .capabilities-grid,
  .marketing-service .capabilities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
  }
  .digital-service .cap-card,
  .marketing-service .cap-card {
    min-height: 185px;
    padding: 18px 20px;
  }
  .cap-card-top { margin-bottom: 12px; }
  .cap-icon { width: 42px; height: 42px; }
  .cap-icon svg { width: 20px; height: 20px; }
  .digital-service .cap-card h3,
  .marketing-service .cap-card h3 {
    font-size: clamp(1.12rem, 1.28vw, 1.4rem);
    margin-bottom: 8px;
  }
  .digital-service .cap-card p,
  .marketing-service .cap-card p {
    max-width: none;
    font-size: clamp(.74rem, .7vw, .84rem);
    line-height: 1.45;
  }

  /* Five-step method: one compact row on laptop/desktop. */
  .digital-service .method,
  .marketing-service .method { justify-content: center; }
  .digital-service .method-head,
  .marketing-service .method-head {
    max-width: 980px;
    margin: 0 auto 24px;
  }
  .digital-service .method-head .display,
  .marketing-service .method-head .display { font-size: clamp(1.9rem, 2.6vw, 2.85rem); }
  .digital-service .method-head .lead,
  .marketing-service .method-head .lead { margin-top: 12px; font-size: .88rem; line-height: 1.55; }
  .digital-service .method-steps,
  .marketing-service .method-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
  }
  .digital-service .method-step,
  .marketing-service .method-step {
    min-height: 205px;
    padding: 18px 16px;
  }
  .method-step-head { margin-bottom: 18px; }
  .method-icon { width: 42px; height: 42px; }
  .method-icon svg { width: 20px; height: 20px; }
  .method-step strong { font-size: 1.45rem; }
  .digital-service .method-step h3,
  .marketing-service .method-step h3 { font-size: 1.12rem; }
  .digital-service .method-step p,
  .marketing-service .method-step p { font-size: .76rem; line-height: 1.45; }

  .digital-service .contact-cta,
  .marketing-service .contact-cta { justify-content: center; }
  .digital-service .contact-box,
  .marketing-service .contact-box {
    padding: clamp(40px, 6vh, 66px) clamp(34px, 5vw, 68px);
  }
  .digital-service .contact-box .display,
  .marketing-service .contact-box .display { font-size: clamp(2rem, 2.8vw, 3rem); }
}

/* Medium laptop/tablet landscape: preserve 2 rows instead of turning Home into 4 rows. */
@media (min-width: 901px) and (max-width: 1120px) {
  :root { --container: min(100% - 40px, 1080px); }
  .header-inner { gap: 16px; }
  .main-nav { gap: 14px; }
  .brand-copy strong { font-size: .96rem; }
  .brand-copy small { font-size: .56rem; }
  .icon-button { width: 38px; height: 38px; }

  .home-page .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "gerencial financiero marketing"
      "juridico contabilidad innovacion";
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: clamp(430px, 56vh, 510px);
  }
  .home-page .service-title { font-size: clamp(1.35rem, 2.1vw, 1.8rem); }
  .home-page .service-text { font-size: .8rem; }

  .digital-service .service-intro-grid,
  .marketing-service .service-intro-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    max-width: 1060px;
  }
  .digital-service .service-intro .display,
  .marketing-service .service-intro .display { font-size: clamp(1.75rem, 2.7vw, 2.25rem); }
  .digital-service .service-copy p,
  .marketing-service .service-copy p { font-size: .82rem; }
  .digital-service .service-process-visual,
  .marketing-service .service-process-visual { height: clamp(420px, 58vh, 500px); padding: 20px; }
  .process-node { padding: 12px; }
  .process-node h3 { font-size: .98rem; }
  .process-node p { font-size: .72rem; }
}

/* Short laptop screens (e.g. 1366x768 / 1536x864): reduce vertical pressure. */
@media (min-width: 901px) and (max-height: 850px) {
  :root { --header-h: 68px; }
  .nav-link,
  .nav-button { padding-top: 22px; padding-bottom: 18px; }
  .home-page .hero-side-nav { top: 34%; }
  .home-page .services,
  .home-page .brands,
  .home-page .vision,
  .home-page .contact-cta,
  .digital-service main > .service-intro,
  .digital-service main > .digital-outcomes,
  .digital-service main > .capabilities,
  .digital-service main > .method,
  .digital-service main > .contact-cta,
  .marketing-service main > .service-intro,
  .marketing-service main > .digital-outcomes,
  .marketing-service main > .capabilities,
  .marketing-service main > .method,
  .marketing-service main > .contact-cta {
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 16px;
  }
  .home-page .services-grid { height: clamp(410px, 55vh, 475px); }
  .home-page .service-title { margin-bottom: 8px; }
  .home-page .brand-heading { margin-bottom: 22px; }
  .home-page .brand-card { height: 102px; }

  .digital-service .innovation-hero,
  .marketing-service .marketing-hero {
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 24px;
  }
  .digital-service .service-process-visual,
  .marketing-service .service-process-visual { height: min(470px, 61vh); }
  .digital-service .cap-card,
  .marketing-service .cap-card { min-height: 165px; padding: 15px 18px; }
  .digital-service .method-step,
  .marketing-service .method-step { min-height: 182px; padding: 15px 14px; }
  .digital-service .digital-outcomes article,
  .marketing-service .digital-outcomes article { min-height: 190px; padding: 18px; }
  .outcome-meta { margin-bottom: 12px; }
  .capabilities-head,
  .method-head { margin-bottom: 18px !important; }
}

/* Phones/tablets: natural vertical flow, never horizontal scroll. */
@media (max-width: 900px) {
  html,
  body { overflow-x: hidden; }
  :root { --container: calc(100% - 28px); }
  .container,
  .header-inner,
  .services .container { width: var(--container); max-width: 100%; }

  .home-page .services,
  .home-page .brands,
  .home-page .vision,
  .home-page .contact-cta,
  .digital-service main > section,
  .marketing-service main > section {
    height: auto;
    min-height: auto;
  }

  .home-page .services-grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-areas: "gerencial" "financiero" "marketing" "juridico" "contabilidad" "innovacion";
    grid-template-rows: none;
  }
  .home-page .service-card { min-height: 220px; height: auto; }

  .digital-service .service-intro-grid,
  .marketing-service .service-intro-grid { grid-template-columns: 1fr; }
  .digital-service .service-intro-copy,
  .marketing-service .service-intro-copy,
  .digital-service .service-intro-grid > div:first-child,
  .marketing-service .service-intro-grid > div:first-child,
  .digital-service .service-copy,
  .marketing-service .service-copy { text-align: center; margin-inline: auto; }
  .digital-service .service-intro .display,
  .marketing-service .service-intro .display { margin-inline: auto; }

  .digital-service .service-process-visual,
  .marketing-service .service-process-visual { width: 100%; height: auto; min-height: 0; }
  .process-flow { grid-template-columns: 1fr; grid-template-rows: none; }
  .process-node {
    min-height: 150px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }
  .process-node-num { grid-column: 1 / -1; }
  .process-node-icon { grid-column: 1; grid-row: 2; margin: 0; }
  .process-node > div:last-child { grid-column: 2; grid-row: 2; }
  .digital-service .digital-outcomes-grid,
  .marketing-service .digital-outcomes-grid,
  .digital-service .capabilities-grid,
  .marketing-service .capabilities-grid,
  .digital-service .method-steps,
  .marketing-service .method-steps { grid-template-columns: 1fr; }
}

/* ================= V13 HOME SPACING + NEW SERVICE EDITORIAL DESIGN ================= */
/* HOME: remove the excessive empty area before the 06 líneas grid. */
@media (min-width: 901px) {
  .home-page .services {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    padding: clamp(34px, 4.5vh, 54px) 0 clamp(44px, 5.5vh, 68px) !important;
  }
  .home-page .services .container {
    width: min(1540px, calc(100% - 72px));
  }
  .home-page .services-heading {
    margin: 0 0 clamp(20px, 2.6vh, 30px) !important;
  }
  .home-page .services-grid {
    height: clamp(430px, 55vh, 540px) !important;
  }

  /* Empresas: shorter section, but larger title and logos. */
  .home-page .brands {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    padding: clamp(58px, 7vh, 82px) 0 clamp(62px, 7.5vh, 88px) !important;
  }
  .home-page .brand-heading {
    width: min(1540px, calc(100% - 72px));
    margin: 0 auto clamp(30px, 4vh, 44px) !important;
  }
  .home-page .brand-heading .display {
    font-size: clamp(2.55rem, 3.5vw, 3.8rem) !important;
  }
  .home-page .brand-card {
    width: clamp(225px, 16vw, 270px) !important;
    height: clamp(122px, 13vh, 150px) !important;
    flex-basis: clamp(225px, 16vw, 270px) !important;
    padding: 18px 30px;
  }
  .home-page .brand-card img {
    max-width: 88% !important;
    max-height: 82% !important;
  }
}

/* ---------- Shared editorial service page ---------- */
.service-editorial {
  background: var(--paper);
}
.service-editorial main {
  overflow: hidden;
}
.editorial-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.editorial-hero-copy {
  min-width: 0;
  padding: calc(var(--header-h) + clamp(54px, 8vh, 92px)) clamp(42px, 6vw, 112px) clamp(54px, 7vh, 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 12% 10%, rgba(201,153,106,.12), transparent 26%),
    linear-gradient(145deg, #1d2241 0%, #151a34 100%);
}
.editorial-hero .breadcrumb {
  margin-bottom: clamp(28px, 4vh, 46px);
  color: rgba(255,255,255,.5);
}
.editorial-hero .breadcrumb a:hover { color: var(--gold-light); }
.editorial-hero .eyebrow {
  margin-bottom: 18px;
  color: var(--gold-light);
}
.editorial-hero .eyebrow::after { background: rgba(201,153,106,.7); }
.editorial-hero h1 {
  max-width: 740px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.35rem, 5.4vw, 6rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.editorial-hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(.95rem, 1.05vw, 1.12rem);
  line-height: 1.78;
}
.editorial-hero-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(201,153,106,.35);
  color: var(--gold-light);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.editorial-hero-media {
  position: relative;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.editorial-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21,26,52,.62), rgba(21,26,52,.08) 38%, rgba(21,26,52,.06)),
    linear-gradient(180deg, rgba(29,34,65,.08), rgba(29,34,65,.25));
}
.editorial-hero-media::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255,255,255,.16);
  pointer-events: none;
}
.editorial-hero-marketing .editorial-hero-media {
  background-image: url('../img/services/marketing.webp');
  background-position: center center;
}
.editorial-hero-innovation .editorial-hero-media {
  background-image: url('../img/services/innovacion.webp');
  background-position: center center;
}

.editorial-story {
  min-height: clamp(560px, 78svh, 760px);
  display: flex;
  align-items: center;
  padding: 74px 0;
  background: #f7f4ef;
}
.editorial-story-grid {
  display: grid;
  grid-template-columns: minmax(190px,.38fr) minmax(0,1.62fr);
  gap: clamp(56px, 8vw, 140px);
  align-items: start;
}
.editorial-story-kicker {
  padding-top: 8px;
  border-top: 1px solid rgba(29,34,65,.12);
}
.editorial-story-kicker > span {
  display: block;
  margin-bottom: 36px;
  color: rgba(29,34,65,.22);
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 1;
}
.editorial-story-kicker .eyebrow { margin: 0; }
.editorial-story-copy h2 {
  max-width: 980px;
  margin: 0 0 30px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(2.65rem, 4.2vw, 4.8rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.editorial-story-copy p {
  max-width: 850px;
  margin: 0 0 18px;
  color: #6f7382;
  font-size: 1.02rem;
  line-height: 1.82;
}

.editorial-benefits,
.editorial-services,
.editorial-method,
.editorial-cta {
  padding: clamp(72px, 9vh, 108px) 0;
}
.editorial-benefits { background: var(--white); }
.editorial-services { background: #f2efe9; }
.editorial-method { background: var(--white); }
.editorial-section-head {
  max-width: 980px;
  margin: 0 0 44px;
}
.editorial-section-head .eyebrow { margin-bottom: 16px; }
.editorial-section-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(2.35rem, 3.5vw, 3.85rem);
  font-weight: 400;
  line-height: 1.02;
  text-wrap: balance;
}
.editorial-section-head > p:last-child:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.editorial-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.editorial-benefit-grid article {
  min-width: 0;
  min-height: 250px;
  padding: 26px 24px;
  border: 1px solid rgba(29,34,65,.09);
  border-radius: 22px;
  background: #fbfaf7;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.editorial-benefit-grid article:hover {
  transform: translateY(-4px);
  background: var(--navy);
  color: var(--white);
}
.editorial-benefit-grid article > span,
.editorial-capability-grid article > span {
  margin-left: auto;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .14em;
}
.editorial-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201,153,106,.34);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(201,153,106,.07);
}
.editorial-icon svg { width: 24px; height: 24px; }
.editorial-benefit-grid h3 {
  margin: auto 0 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.75vw, 1.75rem);
  font-weight: 400;
  line-height: 1.08;
}
.editorial-benefit-grid article:hover h3 { color: var(--white); }
.editorial-benefit-grid article p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}
.editorial-benefit-grid article:hover p { color: rgba(255,255,255,.72); }

/* Marketing services: collapsed list keeps the whole section compact; details open on demand. */
.editorial-service-list {
  border-top: 1px solid rgba(29,34,65,.14);
}
.editorial-service-item {
  border-bottom: 1px solid rgba(29,34,65,.14);
  background: transparent;
}
.editorial-service-item summary {
  min-height: 84px;
  padding: 18px 4px;
  display: grid;
  grid-template-columns: 54px minmax(0,1fr) 44px;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
}
.editorial-service-item summary::-webkit-details-marker { display: none; }
.editorial-service-item .num {
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .13em;
}
.editorial-service-item .title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}
.editorial-service-item .title em {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted);
  font-family: var(--body);
  font-size: .72rem;
  font-style: normal;
  letter-spacing: .05em;
}
.editorial-service-item .plus {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29,34,65,.14);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.3rem;
  transition: transform .25s ease, background .25s ease;
}
.editorial-service-item[open] .plus {
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--gold-light);
}
.detail-copy {
  max-width: 950px;
  padding: 0 74px 28px;
}
.detail-copy p {
  margin: 0;
  color: #686d7d;
  line-height: 1.78;
}

.editorial-capability-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.editorial-capability-grid article {
  min-width: 0;
  min-height: 290px;
  padding: 26px;
  border: 1px solid rgba(29,34,65,.1);
  border-radius: 22px;
  background: #fbfaf7;
  display: flex;
  flex-direction: column;
}
.editorial-capability-grid .editorial-icon { margin-top: 26px; }
.editorial-capability-grid h3 {
  margin: auto 0 10px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.05;
}
.editorial-capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.58;
}

.editorial-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(29,34,65,.16);
}
.editorial-timeline li {
  position: relative;
  min-width: 0;
  padding: 30px 26px 0 0;
}
.editorial-timeline li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.editorial-timeline span { color: var(--gold); font-size: .74rem; letter-spacing: .13em; }
.editorial-timeline h3 { margin: 16px 0 8px; color: var(--navy); font-family: var(--display); font-size: 1.45rem; font-weight: 400; }
.editorial-timeline p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.55; }

.editorial-cta { background: #f2efe9; }
.editorial-cta-box {
  padding: clamp(42px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr);
  gap: clamp(38px, 6vw, 92px);
  align-items: end;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(201,153,106,.18), transparent 24%),
    linear-gradient(135deg,#1d2241,#141932);
  color: var(--white);
}
.editorial-cta-box .eyebrow { color: var(--gold-light); }
.editorial-cta-box h2 { margin: 0; font-family: var(--display); font-size: clamp(2.3rem, 3.6vw, 4rem); font-weight: 400; line-height: 1.02; }
.editorial-cta-box > div:last-child p { margin: 0 0 24px; color: rgba(255,255,255,.72); line-height: 1.7; }

/* Laptop refinement: no horizontal scroll and tighter sections. */
@media (min-width: 901px) and (max-width: 1366px) {
  .editorial-hero { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); }
  .editorial-hero-copy { padding-left: 54px; padding-right: 44px; }
  .editorial-hero h1 { font-size: clamp(3rem, 4.7vw, 4.75rem); }
  .editorial-story { min-height: 620px; padding: 64px 0; }
  .editorial-story-grid { gap: 62px; }
  .editorial-story-copy h2 { font-size: clamp(2.35rem, 3.6vw, 3.65rem); }
  .editorial-benefits, .editorial-services, .editorial-method, .editorial-cta { padding: 68px 0; }
  .editorial-benefit-grid article { min-height: 220px; padding: 22px 20px; }
  .editorial-capability-grid article { min-height: 255px; padding: 22px; }
}

@media (max-width: 900px) {
  .editorial-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .editorial-hero-copy {
    padding: calc(var(--header-h) + 54px) 24px 56px;
  }
  .editorial-hero h1 { font-size: clamp(3rem, 13vw, 4.6rem); }
  .editorial-hero-media { min-height: 52svh; }
  .editorial-story { min-height: auto; padding: 64px 0; }
  .editorial-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .editorial-story-kicker > span { margin-bottom: 16px; font-size: 3.8rem; }
  .editorial-story-copy h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .editorial-benefits, .editorial-services, .editorial-method, .editorial-cta { padding: 60px 0; }
  .editorial-benefit-grid, .editorial-capability-grid { grid-template-columns: 1fr; }
  .editorial-benefit-grid article, .editorial-capability-grid article { min-height: 210px; }
  .editorial-service-item summary { grid-template-columns: 42px minmax(0,1fr) 38px; gap: 10px; }
  .editorial-service-item .title { font-size: 1.25rem; }
  .editorial-service-item .title em { display: block; margin: 6px 0 0; }
  .detail-copy { padding: 0 0 24px 52px; }
  .editorial-timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid rgba(29,34,65,.16); margin-left: 8px; }
  .editorial-timeline li { padding: 0 0 34px 28px; }
  .editorial-timeline li::before { top: 4px; left: -5px; }
  .editorial-cta-box { grid-template-columns: 1fr; }
}


/* ================= V14 PRODUCTION LAUNCH ================= */
/* Home: Bogotá remains clean for 1s, then reveal is deliberately quicker. */
.home-page .hero-media img {
  transition: filter .72s cubic-bezier(.2,.8,.2,1), transform .72s ease;
}
.home-page .hero-darkening { transition: opacity .72s cubic-bezier(.2,.8,.2,1); }
.home-page .hero-glow { transition: opacity .55s ease .08s; }
.home-page .hero-mark {
  transition: opacity .58s ease .08s, clip-path .68s cubic-bezier(.2,.8,.2,1) .04s, transform .68s cubic-bezier(.2,.8,.2,1) .04s;
}
.home-page .hero-tagline { transition: opacity .42s ease .34s, transform .42s ease .34s; }
.home-page .hero-cta { transition: opacity .42s ease .44s, transform .42s ease .44s; }
.home-page .scroll-cue { transition: opacity .38s ease .54s, transform .38s ease .54s; }

/* Elegant temporary state for service lines still being prepared. */
.construction-page {
  min-height: 100svh;
  padding-top: var(--header-h);
  background: #f5f2ec;
  color: var(--navy);
}
.construction-shell {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(48px, 7vw, 100px) 24px;
}
.construction-shell::before,
.construction-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,153,106,.16);
  pointer-events: none;
}
.construction-shell::before {
  width: min(56vw, 680px);
  aspect-ratio: 1;
  right: -22vw;
  top: -28vw;
  box-shadow: 0 0 0 70px rgba(201,153,106,.025), 0 0 0 140px rgba(201,153,106,.014);
}
.construction-shell::after {
  width: min(38vw, 460px);
  aspect-ratio: 1;
  left: -19vw;
  bottom: -24vw;
}
.construction-card {
  position: relative;
  z-index: 1;
  width: min(850px, 100%);
  text-align: center;
}
.construction-mark {
  width: 98px;
  margin: 0 auto 30px;
  opacity: .85;
}
.construction-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.construction-card h1 {
  margin: 0 auto 18px;
  max-width: 760px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .96;
  font-weight: 400;
  letter-spacing: -.025em;
}
.construction-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 24px;
  padding: 9px 14px;
  border: 1px solid rgba(29,34,65,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.56);
  color: #636879;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.construction-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201,153,106,.12);
}
.construction-copy {
  max-width: 630px;
  margin: 0 auto 30px;
  color: #747887;
  font-size: 1.02rem;
  line-height: 1.8;
}
.construction-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.construction-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid rgba(29,34,65,.16);
  color: var(--navy);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .25s ease;
}
.construction-actions .btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}
@media (max-width: 680px) {
  .construction-shell { min-height: calc(100svh - 70px); padding: 40px 20px; }
  .construction-card h1 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .construction-copy { font-size: .96rem; }
}
