:root {
  --ab-blue: #2f7cff;
  --ab-blue-dark: #0b2741;
  --ab-blue-deep: #061725;
  --ab-red: #bd1232;
  --ab-yellow: #ffca16;
  --ab-text: #263544;
  --ab-muted: #647383;
  --ab-light: #f4f7fa;
  --ab-white: #fff;
  --ab-border: #dce4eb;
  --ab-shadow: 0 18px 55px rgba(6, 23, 37, .12);
  --ab-container: 1180px;
  --ab-radius: 6px;
  --ab-transition: 220ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ab-text);
  background: var(--ab-white);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ab-blue-dark); line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }

.container { width: min(calc(100% - 40px), var(--ab-container)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 18px; z-index: 9999; padding: 10px 16px;
  color: #fff; background: #000; transition: top var(--ab-transition);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; color: #fff;
  background: linear-gradient(180deg, rgba(4, 19, 31, .78), rgba(4, 19, 31, 0));
  transition: background var(--ab-transition), box-shadow var(--ab-transition);
}
.site-header.is-scrolled { color: var(--ab-blue-dark); background: rgba(255, 255, 255, .97); box-shadow: 0 8px 30px rgba(6, 23, 37, .11); }
.site-header__inner { width: calc(100% - 64px); max-width: 1380px; min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 30px; transition: min-height var(--ab-transition); }
.site-header.is-scrolled .site-header__inner { min-height: 76px; }
.site-brand { position: relative; display: flex; align-items: center; flex: 0 0 auto; width: 150px; height: 104px; overflow: hidden; transition: width var(--ab-transition), height var(--ab-transition); }
.site-brand img, .site-brand .custom-logo { width: 100%; height: 100%; object-fit: contain; }
.site-brand__logo { position: absolute; inset: 0; transition: opacity var(--ab-transition); }
.site-brand__logo--light { opacity: 1; }
.site-brand__logo--dark { opacity: 0; }
.site-header.is-scrolled .site-brand { width: 118px; height: 70px; padding: 2px; background: transparent; }
.site-header.is-scrolled .site-brand__logo--light { opacity: 0; }
.site-header.is-scrolled .site-brand__logo--dark { opacity: 1; }
.site-brand .custom-logo-link { display: block; width: 100%; height: 100%; }
.site-nav__list, .site-nav .menu { display: flex; align-items: center; gap: clamp(22px, 3.3vw, 48px); margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; display: block; padding: 12px 0; color: inherit; font-size: .98rem; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 6px; left: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--ab-transition); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav .current-menu-item > a::after, .site-nav .current-menu-ancestor > .specialties-menu__parent > a::after { transform: scaleX(1); transform-origin: left; }
.specialties-menu { position: relative; }
.specialties-menu__parent { display: flex; align-items: center; gap: 7px; }
.submenu-toggle { display: none; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.submenu-toggle > span[aria-hidden="true"] { display: block; font-size: 1.15rem; line-height: 1; transition: transform var(--ab-transition); }
.sub-menu { position: absolute; top: calc(100% - 2px); left: -25px; z-index: 5; width: 310px; margin: 0; padding: 13px 0; list-style: none; color: inherit; background: transparent; border: 0; box-shadow: none; visibility: hidden; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity var(--ab-transition), transform var(--ab-transition), visibility var(--ab-transition); }
.specialties-menu:hover > .sub-menu, .specialties-menu:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.site-nav .sub-menu li { margin: 0; }
.site-nav .sub-menu a { padding: 10px 24px; font-size: .91rem; line-height: 1.35; text-shadow: 0 2px 9px rgba(0,0,0,.72); }
.site-nav .sub-menu a::after { display: none; }
.site-nav .sub-menu a:hover, .site-nav .sub-menu a:focus-visible, .site-nav .sub-menu .current-menu-item > a { color: inherit; background: transparent; opacity: .7; }
.site-header.is-scrolled .site-nav .sub-menu a { text-shadow: none; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle__line { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: transform var(--ab-transition), opacity var(--ab-transition); }

.hero { position: relative; min-height: 780px; height: 100svh; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--ab-blue-deep); }
.hero__video, .hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { object-fit: cover; object-position: 54% 50%; }
.hero__overlay { background: linear-gradient(180deg, rgba(5, 23, 38, .48), rgba(28, 77, 118, .46) 58%, rgba(5, 23, 38, .55)); }
.hero__content { position: relative; z-index: 2; padding-top: 95px; text-align: center; }
.hero__eyebrow { margin-bottom: 18px; font-size: .9rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin-bottom: 9px; color: #fff; font-size: clamp(3.5rem, 9vw, 7.25rem); font-weight: 500; letter-spacing: -.045em; line-height: .96; }
.hero__lead { margin: 0 auto 38px; font-size: clamp(1.22rem, 2.25vw, 2rem); line-height: 1.35; text-transform: none; }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 13px 34px; border: 2px solid transparent; border-radius: 3px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: color var(--ab-transition), background var(--ab-transition), border var(--ab-transition), transform var(--ab-transition); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--ab-blue); }
.button--primary:hover, .button--primary:focus-visible { background: #155fd8; }
.button--light { color: var(--ab-blue-dark); background: #fff; }
.button--light:hover, .button--light:focus-visible { color: #fff; background: var(--ab-blue-dark); }
.button--outline { color: #fff; border-color: rgba(255,255,255,.7); }
.button--outline:hover, .button--outline:focus-visible { color: var(--ab-blue-dark); background: #fff; border-color: #fff; }
.button--dark { color: #fff; background: var(--ab-blue-dark); }
.button--dark:hover, .button--dark:focus-visible { background: var(--ab-blue); }
.hero__scroll { position: absolute; z-index: 2; bottom: 26px; left: 50%; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 4px; background: #fff; animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 18px); } }

.section { padding: 110px 0; }
.section-kicker { margin-bottom: 12px; color: var(--ab-blue); font-size: .82rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-heading { max-width: 750px; margin: 0 auto 54px; text-align: center; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading > p:last-child, .section-copy > p { color: var(--ab-muted); }
.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(55px, 8vw, 105px); }
.section-media { position: relative; }
.section-media::before { content: ""; position: absolute; top: -22px; left: -22px; width: 35%; height: 46%; background: var(--ab-blue); z-index: 0; }
.section-media img { position: relative; z-index: 1; width: 100%; min-height: 470px; object-fit: cover; box-shadow: var(--ab-shadow); }
.experience-card { position: absolute; right: -26px; bottom: -28px; z-index: 2; min-width: 210px; padding: 25px 28px; color: #fff; background: var(--ab-blue-dark); box-shadow: var(--ab-shadow); }
.experience-card strong, .experience-card span { display: block; }
.experience-card strong { font-size: 1.45rem; }
.experience-card span { color: rgba(255,255,255,.72); font-size: .9rem; }
.section-copy h2 { margin-bottom: 24px; }
.section-copy p { margin-bottom: 18px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 8px; color: var(--ab-blue-dark); font-weight: 800; text-decoration: none; }
.text-link span, .service-card a span { transition: transform var(--ab-transition); }
.text-link:hover span, .service-card a:hover span { transform: translateX(5px); }

.section--services { background: var(--ab-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 310px; padding: 34px 30px 30px; overflow: hidden; border: 1px solid var(--ab-border); background: #fff; transition: color var(--ab-transition), background var(--ab-transition), border var(--ab-transition), transform var(--ab-transition), box-shadow var(--ab-transition); }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--ab-blue); transform: scaleY(0); transform-origin: bottom; transition: transform var(--ab-transition); }
.service-card:hover { color: #fff; border-color: var(--ab-blue-dark); background: var(--ab-blue-dark); transform: translateY(-7px); box-shadow: var(--ab-shadow); }
.service-card:hover::before { transform: scaleY(1); }
.service-card__number { display: block; margin-bottom: 42px; color: var(--ab-blue); font-size: .9rem; font-weight: 800; letter-spacing: .13em; }
.service-card h3 { margin-bottom: 13px; transition: color var(--ab-transition); }
.service-card p { min-height: 88px; margin-bottom: 19px; color: var(--ab-muted); font-size: .94rem; line-height: 1.6; transition: color var(--ab-transition); }
.service-card:hover h3, .service-card:hover p { color: #fff; }
.service-card a { display: inline-flex; gap: 10px; align-items: center; color: var(--ab-blue); font-size: .88rem; font-weight: 800; text-decoration: none; }

.section--why { color: #fff; background: var(--ab-blue-dark); }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(55px, 9vw, 120px); }
.section--why h2, .section--why h3 { color: #fff; }
.section--why .section-copy > p:last-child, .benefit p { color: rgba(255,255,255,.68); }
.benefits-list { border-top: 1px solid rgba(255,255,255,.18); }
.benefit { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.benefit > span { color: var(--ab-blue); font-weight: 800; }
.benefit h3 { margin-bottom: 7px; }
.benefit p { margin-bottom: 0; }

.section-heading--row { max-width: none; display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 60px; text-align: left; }
.section-heading--row > p { margin-bottom: 10px; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 345px; gap: 22px; }
.project-card { position: relative; overflow: hidden; background: var(--ab-blue-dark); }
.project-card--wide { grid-column: 1 / -1; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease, opacity 600ms ease; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5, 23, 38, .88)); }
.project-card:hover img { transform: scale(1.045); opacity: .85; }
.project-card__overlay { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 32px; color: #fff; }
.project-card__overlay span { color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-card__overlay h3 { margin: 5px 0 0; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.project-card__overlay p { margin: 8px 0 0; color: rgba(255,255,255,.84); font-weight: 600; }
.section-action { display: flex; justify-content: center; margin-top: 42px; }

.section--clients { background: #f5f7fa; }
.section--clients .section-heading { max-width: 760px; margin-right: auto; margin-left: auto; text-align: center; }
.clients-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 980px; margin: 46px auto 0; }
.client-logo { display: flex; flex: 0 1 220px; align-items: center; justify-content: center; width: 220px; min-height: 122px; padding: 20px; background: #fff; border: 1px solid rgba(10, 43, 73, .08); box-shadow: 0 8px 24px rgba(10, 43, 73, .045); }
.client-logo img { display: block; width: 180px; height: 72px; object-fit: contain; opacity: .88; transition: opacity 220ms ease, transform 220ms ease; }
.client-logo:hover img { opacity: 1; transform: scale(1.04); }

.cta-band { padding: 85px 0; color: #fff; background: linear-gradient(120deg, var(--ab-blue) 0%, #1857b8 55%, var(--ab-blue-dark) 100%); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-band h2 { margin-bottom: 12px; color: #fff; }
.cta-band p { margin-bottom: 0; color: rgba(255,255,255,.8); }
.cta-band .section-kicker { color: rgba(255,255,255,.74); }
.cta-band__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 13px; }

.site-footer { color: rgba(255,255,255,.72); background: var(--ab-blue-deep); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .75fr 1fr; gap: 65px; padding-top: 75px; padding-bottom: 65px; }
.site-footer__brand img { width: 170px; height: 134px; margin: -16px 0 4px; object-fit: contain; }
.site-footer__brand p { max-width: 340px; }
.site-footer__title { margin-bottom: 21px; color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__links, .site-footer__links ul, .site-footer__contact, .site-footer .site-nav__list { display: block; margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a { text-decoration: none; transition: color var(--ab-transition); }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { padding: 19px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }
.site-footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-credit { color: rgba(255,255,255,.72); }
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 950; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform var(--ab-transition), box-shadow var(--ab-transition); }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 15px 36px rgba(0,0,0,.3); }
.whatsapp-float svg { width: 31px; fill: currentColor; }

.page-main { min-height: 70vh; padding-top: 76px; }
.corporate-page { padding-top: 0; }
.page-main + .site-footer { margin-top: 80px; }
.corporate-page + .site-footer { margin-top: 0; }
.page-hero { padding: 95px 0 65px; color: #fff; background: var(--ab-blue-dark); }
.page-hero h1 { margin: 0; color: #fff; font-size: clamp(2.5rem, 6vw, 4.75rem); }
.entry-content { padding-top: 70px; padding-bottom: 30px; }
.entry-content > * { max-width: 850px; }
.entry-content > .alignwide { max-width: var(--ab-container); }
.entry-content > .alignfull { max-width: none; }
.not-found { padding: 120px 0; text-align: center; }
.not-found .button { margin-top: 20px; }

/* Páginas corporativas */
.inner-hero { position: relative; min-height: 570px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--ab-blue-deep); }
.inner-hero__image, .inner-hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.inner-hero__image { object-fit: cover; object-position: center; }
.inner-hero__overlay { background: linear-gradient(90deg, rgba(4,19,31,.86) 0%, rgba(4,19,31,.6) 55%, rgba(4,19,31,.25) 100%), linear-gradient(0deg, rgba(4,19,31,.55), transparent 58%); }
.inner-hero__content { position: relative; z-index: 2; padding-top: 190px; padding-bottom: 82px; }
.inner-hero .section-kicker { color: #9dc0ff; }
.inner-hero h1 { max-width: 900px; margin-bottom: 18px; color: #fff; font-size: clamp(3.3rem, 8vw, 6.5rem); letter-spacing: -.045em; }
.inner-hero__content > p:last-child { max-width: 690px; margin-bottom: 0; color: rgba(255,255,255,.84); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.section--intro { padding-bottom: 80px; }

.section--process { background: var(--ab-light); }
.process-line { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ab-border); border-bottom: 1px solid var(--ab-border); }
.process-step { min-height: 280px; padding: 40px 34px; border-right: 1px solid var(--ab-border); background: #fff; }
.process-step:last-child { border-right: 0; }
.process-step > span, .service-detail__number, .complementary-service > span { display: block; margin-bottom: 40px; color: var(--ab-blue); font-size: .82rem; font-weight: 800; letter-spacing: .16em; }
.process-step h3 { margin-bottom: 13px; }
.process-step p { margin-bottom: 0; color: var(--ab-muted); }

.service-detail { padding: 105px 0; }
.service-detail--alt { background: var(--ab-light); }
.service-detail__grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(50px, 7vw, 92px); }
.service-detail--alt .service-detail__copy { order: 2; }
.service-detail--alt .service-gallery { order: 1; }
.service-detail__copy h2 { margin-bottom: 22px; font-size: clamp(2.1rem, 3.7vw, 3.15rem); }
.service-detail__copy > p:not(.section-kicker) { color: var(--ab-muted); }
.service-detail__number { margin-bottom: 28px; }
.scope-list { display: grid; gap: 9px; margin: 27px 0 0; padding: 0; list-style: none; }
.scope-list li { position: relative; padding-left: 24px; font-weight: 700; }
.scope-list li::before { content: ""; position: absolute; top: .72em; left: 0; width: 10px; height: 2px; background: var(--ab-blue); }
.service-gallery { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: repeat(2, 220px); gap: 12px; min-width: 0; }
.service-gallery img { width: 100%; height: 100%; object-fit: cover; }
.service-gallery__main { grid-row: 1 / 3; }
.section--complementary { background: var(--ab-blue-dark); }
.section--complementary h2, .section--complementary h3 { color: #fff; }
.section--complementary .section-heading > p:last-child { color: rgba(255,255,255,.68); }
.complementary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.complementary-service { padding: 45px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.035); color: rgba(255,255,255,.72); }
.complementary-service > span { margin-bottom: 34px; }
.complementary-service h3 { color: #fff; font-size: 1.65rem; }
.complementary-service .scope-list { grid-template-columns: repeat(2, 1fr); color: #fff; }

.projects-catalog { padding: 0 0 110px; }
.projects-catalog__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.portfolio-card { overflow: hidden; border: 1px solid var(--ab-border); background: #fff; box-shadow: 0 10px 35px rgba(6,23,37,.07); }
.portfolio-card__media { height: 340px; overflow: hidden; background: var(--ab-blue-dark); }
.portfolio-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease, opacity 600ms ease; }
.portfolio-card:hover .portfolio-card__media img { opacity: .9; transform: scale(1.04); }
.portfolio-card__content { padding: 28px 30px 31px; }
.portfolio-card__category { display: block; margin-bottom: 9px; color: var(--ab-blue); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.portfolio-card__content h2 { margin-bottom: 10px; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.portfolio-card__content p { margin-bottom: 0; color: var(--ab-muted); font-weight: 700; }

.contact-section { background: var(--ab-light); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(50px, 8vw, 105px); }
.contact-copy h2 { margin-bottom: 22px; }
.contact-copy > p:not(.section-kicker) { color: var(--ab-muted); }
.contact-methods { display: grid; margin-top: 38px; border-top: 1px solid var(--ab-border); }
.contact-method { display: flex; flex-direction: column; padding: 20px 0; border-bottom: 1px solid var(--ab-border); text-decoration: none; }
.contact-method span { color: var(--ab-muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-method strong { color: var(--ab-blue-dark); overflow-wrap: anywhere; }
a.contact-method:hover strong { color: var(--ab-blue); }
.contact-form-wrap { padding: clamp(27px, 4.5vw, 52px); background: #fff; box-shadow: var(--ab-shadow); }
.contact-form { display: grid; gap: 21px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-form label { display: grid; gap: 7px; color: var(--ab-blue-dark); font-size: .88rem; font-weight: 750; }
.contact-form label > span { color: var(--ab-red); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cbd5df; border-radius: 2px; padding: 12px 14px; color: var(--ab-text); background: #fff; outline: none; transition: border var(--ab-transition), box-shadow var(--ab-transition); }
.contact-form input, .contact-form select { min-height: 50px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--ab-blue); box-shadow: 0 0 0 3px rgba(47,124,255,.12); }
.contact-form .privacy-check { display: flex; grid-template-columns: none; align-items: flex-start; gap: 11px; color: var(--ab-muted); font-weight: 500; }
.contact-form .privacy-check input { flex: 0 0 auto; width: 18px; min-height: 0; height: 18px; margin-top: 3px; }
.contact-form .privacy-check span { color: inherit; }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-alert { margin-bottom: 24px; padding: 14px 17px; border-left: 4px solid; font-weight: 650; }
.form-alert--success { border-color: #1a9b55; color: #126f3e; background: #eaf8f0; }
.form-alert--error { border-color: var(--ab-red); color: #8a1228; background: #fff0f3; }

/* Especialidades independientes */
.specialty-hero { padding: 185px 0 100px; background: #f7f9fb; }
.specialty-hero__grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(55px, 8vw, 110px); }
.specialty-hero__copy h1 { margin-bottom: 18px; font-size: clamp(3.1rem, 6.5vw, 5.7rem); letter-spacing: -.045em; }
.specialty-hero__tagline { max-width: 690px; margin-bottom: 24px; color: var(--ab-blue-dark) !important; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 750; line-height: 1.45; }
.specialty-hero__copy > p:not(.section-kicker, .specialty-hero__tagline) { max-width: 690px; margin-bottom: 15px; color: var(--ab-muted); }
.specialty-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button--whatsapp { color: #fff; background: #199e52; }
.button--whatsapp:hover, .button--whatsapp:focus-visible { background: #128342; }
.specialty-hero__media { position: relative; height: 650px; margin: 0; }
.specialty-hero__media::before { content: ""; position: absolute; top: -20px; right: -20px; width: 42%; height: 35%; background: var(--ab-yellow); }
.specialty-hero__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; box-shadow: var(--ab-shadow); }
.specialty-scope { background: var(--ab-blue-dark); }
.specialty-scope h2 { color: #fff; }
.specialty-scope .section-copy > p:last-child { color: rgba(255,255,255,.68); }
.specialty-scope__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 9vw, 120px); align-items: start; }
.specialty-scope__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.specialty-scope__list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; }
.specialty-scope__list span { color: var(--ab-blue); font-size: .82rem; font-weight: 800; letter-spacing: .12em; }
.specialty-gallery-section { background: #fff; }
.specialty-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 310px; gap: 18px; }
.specialty-gallery__item { margin: 0; overflow: hidden; background: var(--ab-blue-dark); }
.specialty-gallery__item--featured { grid-column: 1 / -1; grid-row: span 2; }
.specialty-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease, opacity 600ms ease; }
.specialty-gallery__item:hover img { opacity: .9; transform: scale(1.035); }
.specialty-directory { padding: 70px 0; background: var(--ab-light); }
.specialty-directory__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.specialty-directory__links a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; padding: 17px 20px; border: 1px solid var(--ab-border); color: var(--ab-blue-dark); background: #fff; font-weight: 750; text-decoration: none; transition: color var(--ab-transition), border var(--ab-transition), transform var(--ab-transition); }
.specialty-directory__links a:hover { color: var(--ab-blue); border-color: var(--ab-blue); transform: translateY(-2px); }
.project-group { padding: 90px 0; scroll-margin-top: 80px; }
.project-group:nth-child(even) { background: var(--ab-light); }
.project-group__heading { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 60px; margin-bottom: 38px; }
.project-group__heading h2 { margin-bottom: 0; }
.project-group__heading > p { margin-bottom: 6px; color: var(--ab-muted); }
.portfolio-card__content h3 { margin-bottom: 10px; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.project-group__pending { padding: 34px; border-left: 4px solid var(--ab-blue); background: #fff; box-shadow: 0 10px 35px rgba(6,23,37,.07); }
.project-group__pending p { max-width: 820px; margin-bottom: 12px; color: var(--ab-muted); }

.reveal { opacity: 1; transform: none; transition: opacity 650ms ease, transform 650ms ease; }
.reveal.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
	.clients-grid { max-width: 760px; }
	.client-logo { flex-basis: 220px; }
  .site-header__inner { min-height: 88px; }
	.site-brand { width: 116px; height: 82px; }
  .nav-toggle { display: block; position: relative; z-index: 4; color: inherit; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: grid; place-items: center; padding: 100px 30px 40px; color: #fff; background: rgba(6,23,37,.98); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity var(--ab-transition), transform var(--ab-transition), visibility var(--ab-transition); }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav__list, .site-nav .menu { flex-direction: column; gap: 10px; }
  .site-nav a { font-size: 1.45rem; }
	.specialties-menu { width: min(100%, 380px); }
	.specialties-menu__parent { justify-content: center; }
	.submenu-toggle { display: grid; color: #fff; }
	.specialties-menu.is-submenu-open .submenu-toggle > span[aria-hidden="true"] { transform: rotate(180deg); }
	.sub-menu { position: static; width: 100%; max-height: 0; padding: 0; overflow: hidden; border-top: 0; color: #fff; background: transparent; box-shadow: none; visibility: hidden; opacity: 0; transform: none; pointer-events: none; transition: max-height 350ms ease, opacity var(--ab-transition), visibility var(--ab-transition); }
	.specialties-menu:hover > .sub-menu, .specialties-menu:focus-within > .sub-menu { visibility: hidden; opacity: 0; pointer-events: none; }
	.specialties-menu.is-submenu-open > .sub-menu { max-height: 430px; padding: 9px 0; visibility: visible; opacity: 1; pointer-events: auto; }
	.site-nav .sub-menu a { padding: 9px 18px; color: rgba(255,255,255,.82); font-size: 1rem; text-align: center; }
	.site-nav .sub-menu a:hover, .site-nav .sub-menu a:focus-visible, .site-nav .sub-menu .current-menu-item > a { color: #fff; background: transparent; opacity: .7; }
  .split-grid, .why-grid { grid-template-columns: 1fr; }
  .section-media { max-width: 720px; }
  .section-copy { max-width: 760px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { gap: 45px; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
	.process-line { grid-template-columns: 1fr; }
	.process-step { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ab-border); }
	.process-step:last-child { border-bottom: 0; }
	.service-detail__grid, .contact-grid { grid-template-columns: 1fr; }
	.service-detail--alt .service-detail__copy, .service-detail--alt .service-gallery { order: initial; }
	.specialty-hero__grid, .specialty-scope__grid { grid-template-columns: 1fr; }
	.specialty-hero__media { height: 560px; }
	.specialty-directory__links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
	.clients-grid { gap: 12px; }
	.client-logo { flex: 0 1 calc(50% - 6px); width: calc(50% - 6px); min-height: 100px; padding: 15px 12px; }
	.client-logo img { width: 150px; height: 62px; }
  .container { width: min(calc(100% - 30px), var(--ab-container)); }
  .site-header__inner { width: calc(100% - 30px); }
  .hero { min-height: 680px; }
  .hero__content { padding-top: 70px; }
  .hero__eyebrow { font-size: .75rem; letter-spacing: .15em; }
  .hero h1 { font-size: clamp(3.25rem, 19vw, 5.3rem); }
  .hero__lead br { display: none; }
  .button { width: 100%; }
  .hero__actions { width: min(100%, 350px); margin-inline: auto; }
  .section { padding: 78px 0; }
  .section-media img { min-height: 360px; }
  .section-media::before { top: -13px; left: -10px; }
  .experience-card { right: 10px; bottom: -25px; }
  .section-copy { padding-top: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card__number { margin-bottom: 28px; }
  .service-card p { min-height: 0; }
  .section-heading--row { grid-template-columns: 1fr; gap: 6px; }
  .projects-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .project-card--wide { grid-column: auto; }
  .cta-band { padding: 70px 0; }
  .cta-band__actions { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 38px; }
  .site-footer__brand img { margin-left: -8px; }
	.site-footer__bottom .container { flex-direction: column; gap: 6px; text-align: center; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
	.inner-hero { min-height: 490px; }
	.inner-hero__content { padding-top: 155px; padding-bottom: 58px; }
	.inner-hero h1 { font-size: clamp(3rem, 17vw, 4.6rem); }
	.service-detail { padding: 78px 0; }
	.service-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 145px; }
	.service-gallery__main { grid-column: 1 / -1; grid-row: auto; }
	.complementary-grid, .projects-catalog__grid, .form-row { grid-template-columns: 1fr; }
	.complementary-service { padding: 32px 26px; }
	.complementary-service .scope-list { grid-template-columns: 1fr; }
	.projects-catalog { padding-bottom: 78px; }
	.portfolio-card__media { height: 275px; }
	.portfolio-card__content { padding: 24px; }
	.contact-form .button { width: 100%; }
	.specialty-hero { padding: 145px 0 76px; }
	.specialty-hero__copy h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
	.specialty-hero__actions { width: 100%; }
	.specialty-hero__media { height: 430px; }
	.specialty-hero__media::before { top: -10px; right: -7px; }
	.specialty-gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
	.specialty-gallery__item--featured { grid-column: auto; grid-row: span 2; }
	.specialty-directory__links, .project-group__heading { grid-template-columns: 1fr; }
	.project-group__heading { gap: 10px; }
	.project-group { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
