@font-face { font-family: "Open Sans"; src: url("assets/fonts/OpenSans-Regular.woff2") format("woff2"), url("assets/fonts/OpenSans-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/OpenSans-Semibold.woff2") format("woff2"), url("assets/fonts/OpenSans-Semibold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/OpenSans-Bold.woff2") format("woff2"), url("assets/fonts/OpenSans-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/OpenSans-ExtraBold.woff2") format("woff2"), url("assets/fonts/OpenSans-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "HP Simplified"; src: url("assets/fonts/hp-simplifiedRegular.woff2") format("woff2"), url("assets/fonts/hp-simplifiedRegular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "HP Simplified"; src: url("assets/fonts/hp-simplifiedBold.woff2") format("woff2"), url("assets/fonts/hp-simplifiedBold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Myriad Pro"; src: url("assets/fonts/Myriad-Pro-Regular.woff2") format("woff2"), url("assets/fonts/Myriad-Pro-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --page: #f2f3f1;
  --surface: #ffffff;
  --ink: #151719;
  --muted: #62676c;
  --line: #d9dde0;
  --footer: #101315;
  --footer-ink: #f7f8f6;
  --accent: #ffd400;
  --accent-ink: #171717;
  --blue: #0868ae;
  --hero-ink: #ffffff;
  --header-bg: #141719;
  --header-ink: #ffffff;
  --shadow: 0 20px 70px rgb(14 23 28 / 10%);
  --radius: 2px;
  --shell: min(1240px, calc(100% - 80px));
  color-scheme: light;
  font-family: "Open Sans", Arial, sans-serif;
  background: var(--page);
  color: var(--ink);
}

html[data-theme="2"] {
  --page: #f2f2ee;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #5f5f5a;
  --line: #d6d6cf;
  --footer: #090909;
  --footer-ink: #ffffff;
  --accent: #ffd400;
  --accent-ink: #111111;
  --blue: #111111;
  --hero-ink: #111111;
  --header-bg: transparent;
  --header-ink: #ffffff;
  --shadow: 0 30px 80px rgb(0 0 0 / 14%);
  --radius: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--page); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: 118px 0; }
.skip-link { position: fixed; z-index: 9999; left: 18px; top: 12px; transform: translateY(-180%); padding: 10px 16px; background: var(--accent); color: #111; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: relative; z-index: 100; background: var(--header-bg); color: var(--header-ink); border-bottom: 1px solid rgb(255 255 255 / 10%); }
.utility-bar { background: var(--accent); color: var(--accent-ink); font-family: "Myriad Pro", sans-serif; font-size: 12px; letter-spacing: .065em; text-transform: uppercase; }
.utility-bar__inner { min-height: 31px; display: flex; justify-content: space-between; align-items: center; }
.nav-shell { min-height: 92px; display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 38px; }
.brand { width: 142px; height: 76px; display: flex; align-items: center; overflow: hidden; }
.brand__image { width: 134px; height: 112px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.6vw, 40px); }
.main-nav a { position: relative; padding: 34px 0 31px; font-family: "HP Simplified", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 23px; height: 3px; background: var(--accent); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.language { border: 0; background: transparent; color: inherit; font-family: "Myriad Pro", sans-serif; font-size: 13px; letter-spacing: .06em; }
.language span { opacity: .45; padding: 0 4px; }
.language a { color: inherit; }
.language a:hover, .language a:focus-visible { color: var(--accent); }
.client-access { min-height: 44px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--accent); color: inherit; font-size: 13px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid currentColor; background: transparent; color: inherit; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 19px; height: 2px; background: currentColor; }

/* Hero */
.hero { position: relative; background: #0d1114; color: var(--hero-ink); }
.hero-stage { position: relative; min-height: 700px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; display: none; isolation: isolate; }
.hero-slide.is-active { display: block; }
.slide-media { position: absolute; inset: 0; z-index: -3; background-image: var(--slide-image); background-size: cover; background-position: center; }
.hero-scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgb(5 9 12 / 95%) 0%, rgb(5 9 12 / 78%) 34%, rgb(5 9 12 / 12%) 72%, transparent 100%); }
.hero-copy { min-height: 700px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 20px; padding-bottom: 60px; }
.hero :is(h1, h2) { max-width: 770px; margin: 22px 0 24px; font-family: "HP Simplified", sans-serif; font-size: clamp(48px, 5.35vw, 78px); line-height: .96; letter-spacing: -.025em; }
.hero-copy p { max-width: 650px; margin: 0; color: rgb(255 255 255 / 84%); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid transparent; font-family: "HP Simplified", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.button--primary, .button--submit { background: var(--accent); border-color: var(--accent); color: #111; }
.button--secondary { border-color: currentColor; color: #fff; background: rgb(0 0 0 / 8%); }
.carousel-arrow { position: absolute; z-index: 10; top: 50%; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 45%); background: rgb(7 12 15 / 30%); color: #fff; transform: translateY(-50%); }
.carousel-arrow svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.carousel-arrow--prev { left: 24px; }
.carousel-arrow--next { right: 24px; }
.carousel-pagination { position: absolute; z-index: 12; left: 50%; bottom: 34px; display: flex; gap: 10px; transform: translateX(-50%); }
.carousel-pagination button { width: 38px; height: 4px; padding: 0; border: 0; background: rgb(255 255 255 / 38%); }
.carousel-pagination button.is-active { background: var(--accent); }

/* Section heads */
.section-heading { display: grid; grid-template-columns: 1fr 2.2fr; align-items: end; gap: 40px; margin-bottom: 55px; }
.section-heading h2 { margin: 0; font-family: "HP Simplified", sans-serif; font-size: clamp(45px, 5.3vw, 78px); line-height: .94; letter-spacing: -.035em; }
.section-heading--center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }

/* Services — proposal 1 base */
.services { background: var(--page); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 440px; display: grid; grid-template-columns: 42% 58%; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.service-card__media { min-height: 100%; background: var(--service-image) center / cover no-repeat; filter: saturate(.7) contrast(1.04); }
.service-card__body { padding: 40px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.service-card h3 { margin: 16px 0; font-family: "HP Simplified", sans-serif; font-size: 25px; line-height: 1.08; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.service-card a { margin-top: auto; padding-top: 28px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.service-card a span { color: var(--blue); margin-left: 7px; }

/* About */
.about { overflow: hidden; background: #181c1f; color: #fff; }
.about-fingerprint { position: absolute; inset: -15% 48% -15% -10%; opacity: .09; background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 17px, #fff 18px 19px, transparent 20px 28px); transform: rotate(-12deg); }
.about-grid { position: relative; display: grid; grid-template-columns: .65fr 1.05fr .8fr; gap: 56px; align-items: center; }
.about-copy p { margin: 0; color: rgb(255 255 255 / 76%); font-size: 15px; line-height: 1.85; }
.about-copy h3 { margin: 30px 0 14px; font-family: "HP Simplified", sans-serif; font-size: 25px; }
.about-copy__rule { width: 80px; height: 4px; margin-top: 32px; background: var(--accent); }
.about-visual { position: relative; min-height: 410px; border: 1px solid rgb(255 255 255 / 22%); background: radial-gradient(circle at 50% 45%, rgb(255 212 0 / 15%), transparent 48%), #111517; }

/* Clients */
.clients { background: var(--surface); }
.client-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-logo { min-height: 200px; padding: 26px 24px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.client-logo img { width: 100%; max-height: 112px; max-width: 215px; object-fit: contain; }
/* Los originales chicos se amplían para leerse igual que el resto. */
.client-logo--boost img { max-height: 120px; max-width: 225px; transform: scale(1.2); transform-origin: center; }
.client-logo--dark { background: #e9edf0; }

/* Contact */
.contact { overflow: hidden; background: var(--surface); }
.contact-band { position: absolute; left: 0; top: 0; bottom: 0; width: 44%; background: var(--blue); }
.contact-grid { position: relative; display: grid; grid-template-columns: .83fr 1.17fr; gap: 86px; align-items: center; }
.contact-intro { color: #fff; }
.contact-intro h2 { max-width: 500px; margin: 24px 0 30px; font-family: "HP Simplified", sans-serif; font-size: clamp(46px, 5vw, 72px); line-height: .96; letter-spacing: -.035em; }
.contact-intro > p { max-width: 390px; margin: 0 0 30px; color: rgb(255 255 255 / 80%); font-size: 12px; line-height: 1.8; }
.contact-phone-wrap { display: inline-flex; flex-direction: column; }
.contact-phone { font-family: "HP Simplified", sans-serif; font-size: 28px; font-weight: 700; }
.contact-phone-label { margin-top: 3px; font-family: "Open Sans", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.contact-form { padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; background: var(--page); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; background: transparent; color: var(--ink); }
.form-field input { height: 48px; }
.form-field textarea { height: 105px; padding-top: 13px; resize: none; }
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--blue); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); opacity: .62; }
.form-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.captcha { min-height: 72px; padding: 12px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); background: var(--surface); }
.captcha__check { width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--blue); color: var(--blue); font-weight: 800; }
.captcha strong, .captcha small { display: block; }
.captcha strong { font-size: 12px; }
.captcha small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.captcha svg { width: 28px; fill: none; stroke: var(--blue); stroke-width: 1.5; }
.button--submit { justify-content: space-between; width: 100%; border: 0; }
.button--submit span { font-size: 20px; }

/* Footer */
.site-footer { background: var(--footer); color: var(--footer-ink); }
.footer-grid { padding: 84px 0 70px; display: grid; grid-template-columns: .72fr 1fr 1.45fr; gap: 64px; align-items: start; }
.footer-brand > img { width: 160px; height: 135px; object-fit: contain; object-position: left center; margin: -28px 0 12px; }
.footer-brand p { margin: 0; color: rgb(255 255 255 / 58%); font-size: 10px; line-height: 1.75; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a, .socials span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 25%); font-family: Arial, sans-serif; font-weight: 700; }
.socials span { color: rgb(255 255 255 / 48%); cursor: not-allowed; }
.socials a:hover, .socials a:focus-visible { border-color: var(--accent); color: var(--accent); }
.footer-nav { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; }
.footer-nav h3, .footer-certifications h3 { margin: 0 0 20px; color: var(--accent); font-family: "HP Simplified", sans-serif; font-size: 15px; }
.footer-nav a { display: block; margin-bottom: 12px; color: rgb(255 255 255 / 60%); font-size: 10px; line-height: 1.45; }
.certificate-list { display: grid; gap: 10px; }
.certificate-card { min-height: 108px; padding: 10px; display: grid; place-items: center; background: #fff; overflow: hidden; }
.certificate-card img { width: 100%; max-height: 108px; object-fit: contain; }
.certificate-link { display: block; width: 100%; height: 100%; }
.certificate-link img { display: block; transition: opacity .2s ease, transform .2s ease; }
.certificate-link:hover img, .certificate-link:focus-visible img { opacity: .86; transform: translateY(-2px); }
.certificate-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 12%); }
.footer-bottom__inner { min-height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: rgb(255 255 255 / 48%); font-size: 10px; letter-spacing: .04em; }
.footer-bottom__inner > :last-child { text-align: right; }
.signature { color: #fff; font-family: "HP Simplified", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .015em; }
.signature span { margin: 0 3px; }

/* WhatsApp */
.whatsapp { position: fixed; z-index: 90; right: 24px; bottom: 24px; height: 54px; padding: 0 18px 0 12px; display: flex; align-items: center; gap: 10px; border-radius: 28px; background: #20b85a; color: #fff; box-shadow: 0 12px 35px rgb(0 0 0 / 25%); font-size: 12px; font-weight: 800; }
.whatsapp svg { width: 31px; height: 31px; fill: currentColor; }

/* Proposal 2 — Archivo vivo / paper to data */
html[data-theme="2"] .hero { padding: 54px 0 70px; background: var(--page); }
html[data-theme="2"] .hero-stage { width: var(--shell); min-height: 650px; margin: 0 auto; background: #fff; box-shadow: var(--shadow); }
html[data-theme="2"] .hero-slide.is-active { display: grid; grid-template-columns: 46% 54%; }
html[data-theme="2"] .slide-media { position: relative; z-index: -1; grid-column: 2; grid-row: 1; min-height: 650px; background-position: 63% center; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
html[data-theme="2"] .hero-scrim { display: none; }
html[data-theme="2"] .hero-copy { width: auto; min-height: 650px; margin-left: max(50px, calc((100vw - 1240px) / 2)); margin-right: 30px; padding: 80px 0; grid-column: 1; grid-row: 1; color: var(--ink); }
html[data-theme="2"] .hero :is(h1, h2) { max-width: 540px; font-size: clamp(48px, 5vw, 70px); }
html[data-theme="2"] .hero-copy p { color: var(--muted); font-size: 14px; line-height: 1.75; }
html[data-theme="2"] .button--secondary { color: var(--ink); background: transparent; }
html[data-theme="2"] .carousel-arrow { top: auto; bottom: 0; width: 58px; height: 58px; border: 0; background: var(--ink); transform: none; }
html[data-theme="2"] .carousel-arrow--prev { left: auto; right: 58px; }
html[data-theme="2"] .carousel-arrow--next { right: 0; }
html[data-theme="2"] .carousel-pagination { left: 46%; bottom: 26px; transform: translateX(-100%); }
html[data-theme="2"] .carousel-pagination button { background: rgb(11 44 69 / 22%); }
html[data-theme="2"] .carousel-pagination button.is-active { background: var(--blue); }
html[data-theme="2"] .services { background: #fff; }
html[data-theme="2"] .section-heading { grid-template-columns: .7fr 2.3fr; }
html[data-theme="2"] .service-grid { display: block; border: 0; }
html[data-theme="2"] .service-card { min-height: 290px; grid-template-columns: 35% 1fr; border: 0; border-top: 1px solid var(--line); background: transparent; }
html[data-theme="2"] .service-card:last-child { border-bottom: 1px solid var(--line); }
html[data-theme="2"] .service-card:nth-child(even) { grid-template-columns: 1fr 35%; }
html[data-theme="2"] .service-card:nth-child(even) .service-card__media { grid-column: 2; grid-row: 1; }
html[data-theme="2"] .service-card__media { min-height: 290px; clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%); }
html[data-theme="2"] .service-card:nth-child(even) .service-card__media { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
html[data-theme="2"] .service-card__body { padding: 42px 58px; justify-content: center; }
html[data-theme="2"] .service-card a { margin-top: 26px; padding-top: 0; }
html[data-theme="2"] .about { background: #e7eef3; color: var(--ink); }
html[data-theme="2"] .about-fingerprint { opacity: .035; background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 17px, var(--blue) 18px 19px, transparent 20px 28px); }
html[data-theme="2"] .about-copy p { color: var(--muted); }
html[data-theme="2"] .about-visual { border-color: var(--line); background: radial-gradient(circle at 50% 45%, rgb(255 207 23 / 22%), transparent 48%), #f9fbfc; }
html[data-theme="2"] .contact-band { width: 100%; background: linear-gradient(90deg, var(--blue) 0 43%, #fff 43% 100%); }
html[data-theme="2"] .contact-grid { grid-template-columns: .72fr 1.28fr; }
html[data-theme="2"] .contact-form { box-shadow: 0 20px 60px rgb(8 39 63 / 18%); }

/* Responsive */
@media (max-width: 1060px) {
  :root { --shell: min(100% - 48px, 920px); }
  .nav-shell { grid-template-columns: 140px 1fr auto; gap: 20px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 12px; }
  .language { display: none; }
  .service-card { grid-template-columns: 38% 62%; }
  .about-grid { grid-template-columns: .7fr 1.3fr; }
  .about-visual { display: none; }
  .footer-grid { grid-template-columns: .7fr 1fr; }
  .footer-certifications { grid-column: 1 / -1; }
  .certificate-list { grid-template-columns: repeat(3, 1fr); }
  html[data-theme="2"] .hero-copy, html[data-theme="3"] .hero-copy { margin-left: 42px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 34px); }
  .section { padding: 74px 0; }
  .utility-bar__inner { min-height: 36px; justify-content: center; text-align: center; }
  .utility-bar__inner span:last-child { display: none; }
  .nav-shell { min-height: 76px; grid-template-columns: 104px 1fr auto; gap: 10px; }
  .brand { width: 100px; height: 66px; }
  .brand__image { width: 96px; height: 86px; }
  .main-nav { position: absolute; left: 0; right: 0; top: 112px; display: none; padding: 20px; flex-direction: column; align-items: stretch; background: var(--header-bg); border-top: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; justify-self: end; }
  .nav-actions { justify-self: end; }
  .client-access { min-height: 40px; padding: 0 12px; font-size: 10px; }
  .hero-stage, .hero-copy { min-height: 690px; }
  .slide-media { background-position: 66% center; }
  .hero-scrim { background: linear-gradient(0deg, rgb(5 9 12 / 94%) 0%, rgb(5 9 12 / 76%) 52%, rgb(5 9 12 / 16%) 100%); }
  .hero-copy { justify-content: flex-end; padding-bottom: 95px; }
  .hero :is(h1, h2) { margin: 16px 0; font-size: 42px; line-height: .98; }
  .hero-copy p { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.58; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
  .hero-actions { margin-top: 22px; }
  .button { min-height: 46px; padding: 0 16px; font-size: 11px; }
  .carousel-arrow { top: 40%; width: 42px; height: 42px; }
  .carousel-arrow--prev { left: 12px; }
  .carousel-arrow--next { right: 12px; }
  .section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 34px; }
  .section-heading h2 { font-size: 45px; }
  .service-grid { display: block; border: 0; }
  .service-card { min-height: auto; grid-template-columns: 1fr; border: 1px solid var(--line); border-bottom: 0; }
  .service-card:last-child { border-bottom: 1px solid var(--line); }
  .service-card__media { min-height: 195px; }
  .service-card__body { min-height: 270px; padding: 28px; }
  .service-card h3 { font-size: 23px; }
  .about-grid { display: block; }
  .about-copy p { font-size: 14px; line-height: 1.75; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo { min-width: 0; min-height: 110px; padding: 18px; }
  .client-logo:last-child { grid-column: 1 / -1; }
  .contact-band { width: 100%; height: 43%; bottom: auto; }
  .contact-grid { display: block; }
  .contact-intro { padding-bottom: 55px; }
  .contact-intro h2 { font-size: 48px; }
  .contact-form { padding: 27px 22px; grid-template-columns: 1fr; }
  .form-field--wide { grid-column: auto; }
  .footer-grid { display: block; padding: 65px 0 48px; }
  .footer-brand, .footer-nav { margin-bottom: 48px; }
  .footer-nav { grid-template-columns: 1fr 1.2fr; }
  .certificate-list { display: grid; grid-template-columns: 1fr; }
  .certificate-card { min-height: 110px; }
  .footer-bottom__inner { min-height: 110px; grid-template-columns: 1fr; gap: 9px; justify-items: center; padding: 20px 0; text-align: center; }
  .footer-bottom__inner > :last-child { text-align: center; }
  .signature { order: 3; }
  .whatsapp { right: 14px; bottom: 14px; width: 54px; padding: 0; justify-content: center; }
  .whatsapp span { display: none; }

  html[data-theme="2"] .hero { padding: 18px 0 36px; }
  html[data-theme="2"] .hero-stage { min-height: 720px; }
  html[data-theme="2"] .hero-slide.is-active { display: block; }
  html[data-theme="2"] .slide-media { position: absolute; inset: 0 0 auto; min-height: 310px; clip-path: none; background-position: 65% center; }
  html[data-theme="2"] .slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #fff 0, transparent 42%); }
  html[data-theme="2"] .hero-copy { position: absolute; inset: 280px 0 0; width: auto; min-height: 440px; margin: 0; padding: 40px 24px 82px; justify-content: flex-start; background: #fff; }
  html[data-theme="2"] .hero :is(h1, h2) { font-size: 40px; }
  html[data-theme="2"] .hero-copy p { -webkit-line-clamp: 5; }
  html[data-theme="2"] .carousel-arrow { bottom: 0; top: auto; }
  html[data-theme="2"] .carousel-arrow--prev { left: auto; right: 58px; }
  html[data-theme="2"] .carousel-arrow--next { right: 0; }
  html[data-theme="2"] .carousel-pagination { left: 24px; bottom: 26px; transform: none; }
  html[data-theme="2"] .service-card, html[data-theme="2"] .service-card:nth-child(even) { display: grid; grid-template-columns: 1fr; }
  html[data-theme="2"] .service-card:nth-child(even) .service-card__media { grid-column: 1; grid-row: auto; }
  html[data-theme="2"] .service-card__media, html[data-theme="2"] .service-card:nth-child(even) .service-card__media { min-height: 205px; clip-path: none; }
  html[data-theme="2"] .service-card__body { padding: 30px 26px 38px; }
  html[data-theme="2"] .contact-band { height: 42%; background: var(--blue); }
}

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

/* Criterios compartidos para las propuestas 2 y 3 */
.utility-bar { display: none; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  background: transparent;
  color: #fff;
  border: 0;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / 72%), transparent);
}

.nav-shell { min-height: 104px; }
.main-nav a { color: #fff; }
.language { color: #fff; }
.client-access { background: var(--accent); color: #111; border-color: var(--accent); }

.hero,
html[data-theme="2"] .hero,
html[data-theme="3"] .hero {
  padding: 0;
  background: #050505;
}

.hero-stage,
html[data-theme="2"] .hero-stage,
html[data-theme="3"] .hero-stage {
  width: 100%;
  min-height: 100svh;
  margin: 0;
  border: 0;
  background: #050505;
  box-shadow: none;
}

html[data-theme="2"] .hero-slide.is-active,
html[data-theme="3"] .hero-slide.is-active { display: block; }

.slide-media,
html[data-theme="2"] .slide-media,
html[data-theme="3"] .slide-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  min-height: 100%;
  background-position: center;
  clip-path: none;
  filter: none;
}

html[data-theme="2"] .hero-scrim {
  display: block;
  background: linear-gradient(90deg, rgb(0 0 0 / 28%) 0%, transparent 65%);
}

.hero-copy,
html[data-theme="2"] .hero-copy,
html[data-theme="3"] .hero-copy {
  position: relative;
  width: var(--shell);
  min-height: 100svh;
  margin: 0 auto;
  padding: 145px 0 105px;
  justify-content: center;
}

.hero-copy > * { position: relative; z-index: 1; }

/* Panel blanco del hero: envuelve el texto en lugar de ser una caja fija */
.hero-panel {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: clamp(30px, 3.2vw, 46px);
  background: #fff;
  border-top: 4px solid var(--accent);
  box-shadow: 0 28px 80px rgb(0 0 0 / 26%);
}

html[data-theme="2"] .hero :is(h1, h2) {
  max-width: 100%;
  margin-top: 0;
  color: #111;
  font-size: clamp(40px, 4.4vw, 66px);
}

html[data-theme="2"] .hero-panel > p { max-width: 100%; color: #3f3f3b; }
html[data-theme="2"] .button--secondary { color: #111; background: transparent; }

html[data-theme="2"] .carousel-pagination,
html[data-theme="3"] .carousel-pagination { left: 50%; bottom: 34px; transform: translateX(-50%); }

html[data-theme="2"] .carousel-pagination button,
html[data-theme="3"] .carousel-pagination button { background: rgb(255 255 255 / 40%); }

html[data-theme="2"] .carousel-pagination button.is-active,
html[data-theme="3"] .carousel-pagination button.is-active { background: var(--accent); }

html[data-theme="2"] .carousel-arrow,
html[data-theme="3"] .carousel-arrow {
  top: 50%;
  bottom: auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 40%);
  background: rgb(0 0 0 / 28%);
  transform: translateY(-50%);
}

html[data-theme="2"] .carousel-arrow--prev,
html[data-theme="3"] .carousel-arrow--prev { left: auto; right: 82px; }
html[data-theme="2"] .carousel-arrow--next,
html[data-theme="3"] .carousel-arrow--next { right: 22px; }

.section-heading,
html[data-theme="2"] .section-heading { display: block; }

.section-heading--center { text-align: center; }

.service-grid,
html[data-theme="2"] .service-grid,
html[data-theme="3"] .service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border: 0;
}

.service-card,
html[data-theme="2"] .service-card,
html[data-theme="2"] .service-card:nth-child(even),
html[data-theme="3"] .service-card {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 210px 1fr;
  border: 1px solid var(--line);
  background: var(--surface);
}

.service-card__media,
html[data-theme="2"] .service-card__media,
html[data-theme="2"] .service-card:nth-child(even) .service-card__media,
html[data-theme="3"] .service-card__media {
  grid-column: 1;
  grid-row: 1;
  min-height: 210px;
  clip-path: none;
  filter: saturate(.68) contrast(1.04);
}

.service-card__body,
html[data-theme="2"] .service-card__body,
html[data-theme="3"] .service-card__body {
  min-height: 308px;
  padding: 30px 26px;
  justify-content: flex-start;
}

.service-card h3,
html[data-theme="3"] .service-card h3 { margin: 0 0 16px; font-size: 22px; }

.service-card a,
html[data-theme="2"] .service-card a,
html[data-theme="3"] .service-card a { margin-top: auto; padding-top: 22px; color: var(--ink); }

html[data-theme="2"] .about { background: #0b0c0c; color: #fff; }
html[data-theme="2"] .about-copy p,
html[data-theme="3"] .about-copy p { color: rgb(255 255 255 / 74%); }

/* Las dos columnas de texto arrancan a la misma altura */
html[data-theme="2"] .about-grid { align-items: start; }
html[data-theme="2"] .about-copy__rule { margin-top: 0; }
html[data-theme="2"] .about-copy h3 { margin: 22px 0 16px; }
html[data-theme="2"] .about-logo-column { align-self: stretch; }

.about-visual,
html[data-theme="2"] .about-visual,
html[data-theme="3"] .about-visual {
  min-height: 360px;
  padding: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  background: transparent;
  overflow: hidden;
}

.about-logo { width: 100%; max-height: 300px; object-fit: contain; }

.contact,
html[data-theme="2"] .contact,
html[data-theme="3"] .contact { background: var(--accent); color: #111; }

.contact-band,
html[data-theme="2"] .contact-band,
html[data-theme="3"] .contact-band { display: none; }

.contact-intro,
html[data-theme="2"] .contact-intro,
html[data-theme="3"] .contact-intro { color: #111; }

.contact-intro h2 { margin-top: 0; }
.contact-intro > p,
html[data-theme="2"] .contact-intro > p,
html[data-theme="3"] .contact-intro > p { color: rgb(0 0 0 / 72%); }

.contact-phone { color: #111; }
html[data-theme="2"] .contact-form { background: #fff; border-color: #111; box-shadow: 0 20px 60px rgb(0 0 0 / 16%); }

.site-footer,
html[data-theme="2"] .site-footer,
html[data-theme="3"] .site-footer { background: #050505; color: #fff; }

.footer-grid { grid-template-columns: .72fr 1fr 1.55fr; }
.certificate-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.certificate-card { min-height: 0; padding: 0; background: transparent; aspect-ratio: 2.95 / 1; }
.certificate-card img { width: 100%; max-height: none; height: 100%; object-fit: contain; }

.signature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: currentColor;
  font-size: 10px;
  font-weight: 600;
  opacity: .62;
}

/* El planeta se pinta de blanco: brightness(0) lo lleva a negro sólido
   y invert(1) lo pasa a blanco, sin depender del color original del emoji. */
.signature-planet {
  display: inline-block;
  margin-inline: .08em;
  filter: grayscale(1) brightness(0) invert(1);
}

.whatsapp { background: var(--accent); color: #111; }

@media (max-width: 1060px) and (min-width: 761px) {
  .about-grid { grid-template-columns: .7fr 1.3fr; }
  .about-visual { grid-column: 1 / -1; min-height: 280px; }
  .about-logo { max-height: 230px; }
  .footer-grid { grid-template-columns: .8fr 1.2fr; }
  .footer-certifications { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { color: #fff; }
  .nav-shell { min-height: 78px; }
  .main-nav { top: 78px; background: #080808; border-color: #353531; }
  .nav-toggle { color: #fff; }

  .hero-stage,
  html[data-theme="2"] .hero-stage,
  html[data-theme="3"] .hero-stage { min-height: 100svh; }

  .slide-media,
  html[data-theme="2"] .slide-media,
  html[data-theme="3"] .slide-media {
    inset: 0;
    min-height: 100%;
    background-position: 66% center;
  }

  html[data-theme="2"] .slide-media::after,
  html[data-theme="3"] .slide-media::after { display: none; }

  html[data-theme="2"] .hero-scrim {
    background: linear-gradient(0deg, rgb(255 255 255 / 96%) 0%, rgb(255 255 255 / 86%) 48%, transparent 73%, rgb(0 0 0 / 30%) 100%);
  }

  .hero-copy,
  html[data-theme="2"] .hero-copy,
  html[data-theme="3"] .hero-copy {
    position: relative;
    inset: auto;
    width: var(--shell);
    min-height: 100svh;
    margin: 0 auto;
    padding: 130px 0 92px;
    justify-content: flex-end;
    background: transparent;
    color: #fff;
  }

  .hero-panel {
    max-width: 100%;
    padding: 26px 22px 30px;
    border-top-width: 3px;
    box-shadow: 0 -20px 55px rgb(0 0 0 / 12%);
  }

  html[data-theme="2"] .hero :is(h1, h2) { color: #111; font-size: clamp(36px, 10.8vw, 48px); }

  html[data-theme="2"] .hero-copy p { color: rgb(0 0 0 / 76%); }
  html[data-theme="2"] .button--secondary { color: #111; }

  html[data-theme="2"] .carousel-arrow,
  html[data-theme="3"] .carousel-arrow { top: 42%; bottom: auto; }
  html[data-theme="2"] .carousel-arrow--prev,
  html[data-theme="3"] .carousel-arrow--prev { left: 12px; right: auto; }
  html[data-theme="2"] .carousel-arrow--next,
  html[data-theme="3"] .carousel-arrow--next { right: 12px; }

  .service-grid,
  html[data-theme="2"] .service-grid,
  html[data-theme="3"] .service-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

  .service-card,
  html[data-theme="2"] .service-card,
  html[data-theme="2"] .service-card:nth-child(even),
  html[data-theme="3"] .service-card { min-height: auto; grid-template-columns: 1fr; grid-template-rows: 205px auto; margin: 0; border: 1px solid var(--line); }

  .service-card__body,
  html[data-theme="2"] .service-card__body,
  html[data-theme="3"] .service-card__body { min-height: 280px; padding: 28px 24px; }

  .about-grid { display: block; }
  .about-visual { min-height: 230px; margin-top: 38px; padding: 22px; }
  .about-logo { max-height: 190px; }

  .contact-intro { padding-bottom: 45px; }
  .contact-form { padding: 28px 22px; }

  .certificate-list { grid-template-columns: 1fr; }
  .certificate-card { min-height: 0; aspect-ratio: 2.95 / 1; }
  .signature { order: initial; }
}

/* Nosotros: logo en primera columna y textos distribuidos en las otras dos */
@media (min-width: 1061px) {
  .about-grid {
    grid-template-columns: minmax(220px, .82fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }

  .about-logo-column {
    min-height: 350px;
    padding: 28px;
  }

  .about-logo-column .about-logo { max-height: 280px; }
}

/* El logo blanco necesita una base oscura dentro de la variante clara */
html[data-theme="2"] .about-logo-column {
  background: #111517;
  color: #fff;
  border-color: #111517;
}

@media (max-width: 1060px) and (min-width: 761px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .about-logo-column {
    grid-column: 1 / -1;
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-logo-column {
    min-height: 220px;
    margin-top: 0;
  }
}

/* Logo oficial blanco en el extremo izquierdo de la barra */
.nav-shell {
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 30px;
}

.nav-shell > .brand {
  grid-column: 1;
  grid-row: 1;
}

.main-nav {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
}

.nav-actions {
  grid-column: 3;
  grid-row: 1;
  gap: 14px;
}

.nav-shell > .brand {
  width: 88px;
  min-width: 88px;
  height: 76px;
  justify-content: center;
}

.nav-shell > .brand .brand__image {
  width: 88px;
  height: 62px;
  object-fit: contain;
  object-position: center;
}

.footer-brand > img {
  width: 156px;
  height: 116px;
  object-fit: contain;
  object-position: center;
  margin: -18px 0 10px;
}

@media (max-width: 760px) {
  .nav-shell {
    display: flex;
    min-height: 78px;
    gap: 8px;
  }

  .nav-shell > .brand {
    order: 1;
    width: 58px;
    min-width: 58px;
    height: 56px;
  }

  .nav-shell > .brand .brand__image {
    width: 58px;
    height: 48px;
  }

  .main-nav {
    display: none;
    grid-column: auto;
    grid-row: auto;
  }

  .main-nav.is-open { display: flex; }

  .nav-actions {
    order: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
  }

  .nav-actions .client-access {
    min-height: 38px;
    padding: 0 10px;
    font-size: 10px;
  }

  .nav-toggle {
    order: 3;
    flex: 0 0 42px;
  }
}

@media (max-width: 1060px) {
  .language {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .language {
    font-size: 10px;
    letter-spacing: .03em;
  }

  .language span { padding: 0 2px; }
}

/* Receptorías — cobertura nacional incorporada al home aprobado */
.receptorias {
  overflow: hidden;
  background: #f2f2ee;
  color: #111;
}

.receptorias-fingerprint {
  display: none;
  position: absolute;
  inset: -20% 55% -25% -18%;
  opacity: .12;
  pointer-events: none;
  background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 18px, #111 19px 20px, transparent 21px 30px);
  transform: rotate(-14deg);
}

.receptorias-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(470px, 1.12fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}

.receptorias-copy h2 {
  max-width: 680px;
  margin: 0 0 28px;
  font-family: "HP Simplified", sans-serif;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: .94;
  letter-spacing: -.035em;
}

.receptorias-info {
  max-width: 640px;
  margin-bottom: 30px;
  border-top: 1px solid #d6d6cf;
  border-bottom: 1px solid #d6d6cf;
  border-left: 4px solid #ffd400;
  background: rgb(255 255 255 / 34%);
  color: #111;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

.receptorias-info > * {
  margin: 0;
  padding: 13px 18px;
}

.receptorias-info > * + * {
  border-top: 1px solid #d6d6cf;
}

.receptorias-lead,
.receptorias-note {
  max-width: none;
  font-size: 16px;
  line-height: 1.55;
}

.receptorias-note {
  color: #111;
}

.receptorias-time {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.receptorias-time strong,
.receptorias-time span {
  min-height: 0;
  padding: 0;
  color: #111;
  font-size: inherit;
  line-height: 1.55;
}

.receptorias-time strong {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.receptorias-time strong::after {
  content: " ·";
  color: #ffd400;
}

.receptorias-time span {
  font-weight: 400;
}

.receptorias-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  color: #111;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
}

.receptorias-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #111;
  text-decoration: underline;
  text-decoration-color: #ffd400;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.receptorias-contacts svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.receptorias-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d6d6cf;
  border-left: 1px solid #d6d6cf;
}

.receptorias-list span {
  min-height: 54px;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  border-right: 1px solid #d6d6cf;
  border-bottom: 1px solid #d6d6cf;
  background: rgb(255 255 255 / 62%);
  font-size: 14px;
  line-height: 1.35;
}

.receptorias-map {
  position: relative;
  min-height: 720px;
  padding: 30px 32px 26px;
  overflow: hidden;
  background: #111517;
  color: #fff;
  box-shadow: 0 24px 60px rgb(0 0 0 / 13%);
}

.receptorias-map::before,
.receptorias-map::after {
  display: none;
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
}

.receptorias-map::before {
  width: 440px;
  height: 440px;
  left: -260px;
  bottom: -185px;
}

.receptorias-map::after {
  width: 610px;
  height: 610px;
  left: -345px;
  bottom: -270px;
}

.receptorias-map__header,
.receptorias-map__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: "Myriad Pro", sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.receptorias-map__header {
  padding-bottom: 16px;
  border-bottom: 1px solid rgb(255 255 255 / 25%);
  color: #fff;
}

.receptorias-map__count {
  color: #ffd400;
}

.receptorias-map__image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 680px);
  height: auto;
  margin: 16px auto 4px;
  object-fit: contain;
}

.receptorias-map__footer {
  padding-top: 14px;
  border-top: 1px solid rgb(255 255 255 / 25%);
  color: rgb(255 255 255 / 70%);
  font-size: 9px;
  letter-spacing: .07em;
}

.receptorias-map__key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.receptorias-map__key i {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #ffd400;
}

@media (max-width: 1060px) {
  .receptorias-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .receptorias-map {
    width: min(100%, 620px);
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .receptorias-info > * {
    padding: 12px 14px;
  }

  .receptorias-list {
    grid-template-columns: 1fr;
  }

  .receptorias-map {
    min-height: 0;
    padding: 20px 16px 16px;
  }

  .receptorias-map__image {
    width: min(100%, 360px);
  }

  .receptorias-map__header,
  .receptorias-map__footer {
    font-size: 9px;
  }

  .receptorias-map__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

.client-access-wrap {
  position: relative;
  z-index: 120;
}

.client-access {
  cursor: pointer;
  font-family: "HP Simplified", sans-serif;
}

/* Submenú de servicios: hover en escritorio y apertura por toque/teclado. */
.services-menu-wrap {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: center;
}

.services-menu-trigger {
  position: relative;
  padding: 34px 0 31px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: "HP Simplified", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.services-menu-trigger::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 23px;
  left: 0;
  height: 3px;
  background: var(--accent);
  transition: right .2s ease;
}

.services-menu-wrap:hover .services-menu-trigger::after,
.services-menu-trigger:focus-visible::after,
.services-menu-trigger[aria-expanded="true"]::after {
  right: 0;
}

.services-menu {
  position: absolute;
  z-index: 125;
  top: calc(100% - 12px);
  left: 50%;
  width: 330px;
  padding: 9px 18px 14px;
  background: #202020;
  border-top: 3px solid var(--accent);
  box-shadow: 0 22px 55px rgb(0 0 0 / 34%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.services-menu-wrap:not(.is-hover-suppressed):hover .services-menu,
.services-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.main-nav .services-menu a {
  display: block;
  padding: 12px 2px;
  border-top: 1px solid rgb(255 255 255 / 17%);
  color: rgb(255 255 255 / 82%);
  font-family: "Myriad Pro", sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.4;
}

.main-nav .services-menu a:first-child { border-top: 0; }
.main-nav .services-menu a::after { display: none; }
.main-nav .services-menu a:hover,
.main-nav .services-menu a:focus-visible { color: var(--accent); }

@media (max-width: 1060px) and (min-width: 761px) {
  .services-menu-trigger { font-size: 12px; }
  .services-menu { width: 300px; }
}

@media (max-width: 760px) {

  .services-menu-wrap {
    display: block;
    width: 100%;
  }

  .services-menu-trigger {
    width: 100%;
    padding: 11px;
    color: #fff;
    text-align: left;
  }

  .services-menu-trigger::after { display: none; }

  .services-menu {
    position: static;
    width: 100%;
    margin: 2px 0 4px;
    padding: 5px 11px 9px;
    box-shadow: none;
    transform: none;
  }

  .services-menu-wrap:not(.is-hover-suppressed):hover .services-menu,
  .services-menu.is-open { transform: none; }

  .main-nav .services-menu a { padding: 10px 2px; }
}

/* El mapa adjunto tiene una base clara: se integra como una placa limpia */
.receptorias-map {
  background: #f5f5f4;
  color: #111;
  padding: 24px 0 20px;
}

.receptorias-map__header,
.receptorias-map__footer {
  margin-inline: 25px;
}

.receptorias-map__header {
  border-color: rgb(17 17 17 / 25%);
  color: #111;
}

.receptorias-map__count {
  color: #111;
}

.receptorias-map__image {
  width: min(100%, 680px);
  max-height: 760px;
  margin: 16px auto 4px;
  object-fit: contain;
}

.receptorias-map__footer {
  border-color: rgb(17 17 17 / 25%);
  color: rgb(17 17 17 / 70%);
}

@media (max-width: 600px) {
  .receptorias-map__header,
  .receptorias-map__footer {
    margin-inline: 16px;
  }

  .receptorias-map__image {
    width: min(100%, 360px);
    max-height: 430px;
  }
}

/* Ajuste final de la placa del hero para tablet. */
@media (max-width: 1060px) and (min-width: 761px) {
  .hero-panel { max-width: min(72%, 600px); }

  html[data-theme="2"] .hero :is(h1, h2) { font-size: clamp(42px, 5vw, 58px); }
}

/* En mobile el pie queda en una sola columna: se centra y las
   certificaciones pasan a ser un detalle, no un bloque a ancho completo. */
@media (max-width: 760px) {
  .footer-grid { text-align: center; }
  .footer-brand > img { margin-inline: auto; }
  .socials { justify-content: center; }
  .footer-nav { grid-template-columns: 1fr; gap: 34px; }

  .certificate-list {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 200px;
    margin-inline: auto;
  }

  .certificate-card { min-height: 0; aspect-ratio: 2.95 / 1; }

  .rite-strip { justify-content: center; }
  .rite-trigger { max-width: 210px; }
}

/* Acceso Clientes: se abre con click y muestra los dos sistemas como
   tarjetas lado a lado; la que está bajo el puntero o el foco se pinta
   de amarillo y su texto e ícono pasan a negro. */
.client-access[aria-expanded="true"] {
  border-color: #ffd400;
  background: #111;
  color: #ffd400;
}

.client-access-menu {
  --access-yellow: #ffd400;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(540px, calc(100vw - 34px));
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #141414;
  border-top: 3px solid var(--access-yellow);
  color: #fff;
  box-shadow: 0 26px 60px rgb(0 0 0 / 40%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.client-access-menu::before {
  content: "";
  position: absolute;
  top: -9px;
  right: 34px;
  width: 14px;
  height: 14px;
  background: var(--access-yellow);
  transform: rotate(45deg);
}

.client-access-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.client-access-menu > strong {
  font-family: "HP Simplified", sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .14em;
  color: rgb(255 255 255 / 64%);
}

.client-access-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.access-option {
  position: relative;
  min-height: 196px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(255 255 255 / 4%);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.access-option__icon {
  width: 52px;
  height: 52px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border: 2px solid var(--access-yellow);
  color: var(--access-yellow);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.access-option__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.access-option__eyebrow {
  margin: 22px 0 6px;
  font-family: "Myriad Pro", sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 58%);
  transition: color .2s ease;
}

.access-option__title {
  font-family: "HP Simplified", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.access-option__go {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: rgb(255 255 255 / 50%);
  transition: color .2s ease, transform .2s ease;
}

.access-option__go svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.access-option:hover,
.access-option:focus-visible {
  border-color: var(--access-yellow);
  background: var(--access-yellow);
  color: #111;
  transform: translateY(-2px);
  outline: none;
}

.access-option:focus-visible { box-shadow: 0 0 0 2px #141414, 0 0 0 4px #fff; }

.access-option:hover .access-option__icon,
.access-option:focus-visible .access-option__icon {
  border-color: #111;
  background: #fff;
  color: #111;
}

.access-option:hover .access-option__eyebrow,
.access-option:focus-visible .access-option__eyebrow { color: rgb(0 0 0 / 62%); }

.access-option:hover .access-option__go,
.access-option:focus-visible .access-option__go {
  color: #111;
  transform: translate(2px, -2px);
}

@media (max-width: 760px) {
  /* En mobile el botón no está pegado al borde derecho: anclado a él, el
     panel se salía por la izquierda. Se posiciona contra el header, que
     ocupa todo el ancho, y la flecha se oculta porque ya no apunta al botón. */
  .client-access-wrap { position: static; }

  .client-access-menu {
    top: calc(100% - 8px);
    right: 14px;
    z-index: 120;
    width: min(440px, calc(100% - 28px));
    padding: 14px;
    gap: 12px;
  }

  .client-access-menu::before { display: none; }

  .client-access-menu > strong { font-size: 12px; }
  .client-access-options { gap: 10px; }
  .access-option { min-height: 164px; padding: 14px 12px 14px; }
  .access-option__icon { width: 42px; height: 42px; }
  .access-option__icon svg { width: 23px; height: 23px; }
  .access-option__eyebrow { margin: 16px 0 5px; font-size: 9px; letter-spacing: .12em; }
  .access-option__title { font-size: 15px; }
  .access-option__go { top: 12px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .client-access-menu,
  .access-option,
  .access-option__icon,
  .access-option__go { transition: none; }
  .access-option:hover,
  .access-option:focus-visible { transform: none; }
}
