@font-face { font-family: Gilroy; src: url('/media/fonts/Gilroy-Bold.woff') format('woff'); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --ink: #191919;
  --deep: #191919;
  --muted: #545454;
  --line: rgba(25, 25, 25, .16);
  --paper: #fff;
  --white: #fff;
  --accent: #facc22;
  --teal: #f83600;
  --brand-orange: #f83600;
  --soft-yellow: rgba(250, 204, 34, .12);
  --soft-gray: rgba(25, 25, 25, .045);
  --zone-green: #7ddd16;
  --zone-yellow: #ddc316;
  color: var(--ink);
  background: #fff;
}

body { background: #fff; color: var(--ink); }
:focus-visible { outline-color: var(--brand-orange); }
.skip-link { background: var(--accent); color: var(--ink); }
.site-header {
  background: rgba(25,25,25,.6);
  border: 0;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(0,0,0,.18);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}
.site-header .brand, .site-header .desktop-nav a { color: #fff; }
.site-header .desktop-nav a { font-weight: 500; }
.site-header .brand-mark { background: rgba(255,255,255,.13); }
.site-header .desktop-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
@media (min-width: 1101px) {
  .site-header .desktop-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; column-gap: 0; align-items: center; }
  .site-header .desktop-nav a { display: block; font-size: .92rem; line-height: 1.25; text-align: center; white-space: normal; }
}
@media (min-width: 1800px) {
  .site-header { width: min(1680px, calc(100% - 80px)); }
  .site-header .container { width: calc(100% - 56px); max-width: none; }
  .site-header .header-inner { grid-template-columns: max-content minmax(0, 1fr) max-content; column-gap: 30px; }
}
.header-button:not(.header-urgent) { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.header-button:not(.header-urgent):hover { background: var(--brand-orange); border-color: var(--brand-orange); color: var(--ink); }
.site-header .menu-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
@media (max-width:1100px) {
  .site-header .desktop-nav { background: rgba(25,25,25,.88); border-color: rgba(255,255,255,.23); border-radius: 16px; box-shadow: 0 18px 30px rgba(25,25,25,.25); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
  .site-header .desktop-nav a:hover { background: rgba(255,255,255,.13); }
}

/* The supplied work photo carries the first viewport. */
.hero {
  color: #fff;
  background: linear-gradient(90deg, rgba(25,25,25,.9) 0%, rgba(25,25,25,.76) 36%, rgba(25,25,25,.34) 72%, rgba(25,25,25,.08) 100%), url('./hero-brand.webp') center center / cover no-repeat;
}
.hero h1, .hero-lead { color: #fff; }
.hero h1 span { color: var(--accent); }
.hero-action small { color: rgba(255,255,255,.88); }
.hero-benefits { background: var(--ink); border-top: 1px solid rgba(250,204,34,.3); }
.benefit-grid > div { border-color: rgba(255,255,255,.22); }
.benefit-grid span { color: var(--accent); }
.benefit-grid strong { color: #fff; }
@media (max-width:590px) {
  .hero { background: linear-gradient(90deg, rgba(25,25,25,.92), rgba(25,25,25,.6)), url('./hero-brand.webp') 77% center / cover no-repeat; }
}

.button-primary, .zone-check-button:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.button-primary:hover, .zone-check-button:not(:disabled):hover { background: var(--brand-orange); border-color: var(--brand-orange); color: var(--ink); }
.button[data-open-quiz], .header-button[data-open-quiz], .quiz .button[data-next],
.button[data-open-quiz]:hover, .header-button[data-open-quiz]:hover, .quiz .button[data-next]:hover {
  background: linear-gradient(90deg, #facc22, #f83600);
  border: 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(25,25,25,.4);
  box-shadow: none;
}
.button-outline-dark, .button-back { background: #fff; border-color: var(--line); color: var(--ink); }
.button-outline-dark:hover, .button-back:hover { background: var(--soft-yellow); }
.button-outline-light { border-color: #fff; color: #fff; }
.button-outline-light:hover { background: rgba(255,255,255,.14); }

/* All urgent controls use the same WhatsApp treatment and icon. */
[data-urgent-contact] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #075e54;
  border-radius: 8px;
  background: linear-gradient(120deg, #0f786d, #075e54);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(7,94,84,.2);
}
[data-urgent-contact]:hover {
  background: linear-gradient(120deg, #0f786d, #064f47);
  border-color: #064f47;
  color: #fff;
}
[data-urgent-contact]::before {
  content: '';
  display: block;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  background: url('./whatsapp-mark.svg') center / contain no-repeat;
}
.hero [data-urgent-contact]::before, .zone-result [data-urgent-contact]::before { flex-basis: 23px; width: 23px; height: 23px; }
.site-header .header-actions { gap: 12px; }
.header-contact { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-width: 110px; }
.header-phone { color: #fff; font-size: 1.65rem; font-weight: 500; line-height: 1.1; white-space: nowrap; text-decoration: none; }
.header-phone:hover { color: var(--accent); }
.header-contact .availability-note { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: .68rem; font-style: italic; font-synthesis: style; line-height: 1.2; white-space: nowrap; }
.site-header .header-urgent[data-urgent-contact],
.site-header .header-urgent[data-urgent-contact]:hover {
  width: 178px;
  min-height: 52px;
  padding: 6px 8px;
  gap: 10px;
  justify-content: center;
  text-align: center;
  min-width: 0;
  border: 0;
  background: linear-gradient(180deg, #4ddc62, #03d22f);
  color: #fff;
  font-size: .88rem;
  line-height: 1.12;
  text-transform: uppercase;
  white-space: normal;
  text-shadow: 0 1px 2px rgba(25,25,25,.35);
  box-shadow: 0 9px 24px rgba(3,210,47,.2);
}
.site-header .header-urgent[data-urgent-contact]::before { flex: 0 0 44px; width: 44px; height: 44px; background-size: 40px 40px; }
@media (max-width: 1100px) { .site-header .header-urgent[data-urgent-contact], .site-header .header-urgent[data-urgent-contact]:hover { width: 100%; } }
.footer [data-urgent-contact] { margin-top: 4px; }

/* Services and case carousel. */
.cases, .advantages { background: #fff; }
.cases .section-heading > p:not(.overline), .case-gallery-heading p { color: var(--muted); }
.cases .section-heading h2 { font-size: clamp(1.7rem, 3.5vw, 3rem); }
@media (max-width: 820px) { .cases .section-heading h2 { font-size: clamp(1.7rem, 8vw, 3rem); } }
.text-link { color: #1a5bd8; border-bottom-color: #1a5bd8; }
.text-link:hover { color: #1246ad; border-bottom-color: #1246ad; background: rgba(26,91,216,.07); }
.work-board { background: var(--soft-yellow); border-color: var(--line); box-shadow: 0 14px 40px rgba(25,25,25,.06); }
.work-board-head { color: var(--ink); border-bottom-color: var(--line); }
.work-row, .work-board-note { border-color: var(--line); }
.work-row b { color: var(--ink); }
.work-row-content h3 { color: var(--ink); }
.work-row-content p { color: var(--ink); }
.work-row-content ul, .work-board-note { color: var(--muted); }
.work-row-content li + li::before { color: currentColor; }
.work-row-content li + li::before { content: " • "; }
.case-gallery { border-top-color: var(--line); }
.case-carousel-controls button { border-color: var(--line); background: #fff; color: var(--ink); }
.case-carousel-controls button:hover { background: var(--accent); border-color: var(--accent); }
.case-carousel-controls output { color: var(--muted); }
.case-placeholder-media { background: var(--soft-yellow); border-color: rgba(25,25,25,.24); color: var(--ink); }
.case-placeholder-media b, .case-placeholder figcaption { color: var(--ink); }
.case-photo-media { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 11px; background: var(--ink); }
.case-photo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .25s ease; }
.case-photo .case-photo-media img:not([aria-hidden="true"]) { opacity: 1; }
.case-photo-number, .case-photo-state { position: absolute; top: 14px; z-index: 1; padding: 7px 10px; border-radius: 6px; background: rgba(25,25,25,.72); color: #fff; font-size: .76rem; font-weight: 800; line-height: 1; }
.case-photo-number { left: 14px; }
.case-photo-state { top: auto; right: 14px; bottom: 14px; }
.case-photo[data-view="before"] .case-photo-state { background: #e1c529; color: var(--ink); }
.case-photo[data-view="after"] .case-photo-state { background: #6cc140; color: var(--ink); }
.case-photo-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; transform: translateY(-50%); border: 1px solid rgba(25,25,25,.17); border-radius: 50%; background: #fff; color: var(--ink); font: inherit; font-size: 1.35rem; line-height: 1; cursor: pointer; touch-action: manipulation; opacity: .5; box-shadow: 0 5px 15px rgba(0,0,0,.2); transition: opacity .18s ease, background-color .18s ease, border-color .18s ease; }
.case-photo-arrow-prev { left: 12px; }
.case-photo-arrow-next { right: 12px; }
.case-photo-media:has(.case-photo-arrow:hover) .case-photo-arrow,
.case-photo-media:has(.case-photo-arrow:focus-visible) .case-photo-arrow { opacity: 1; }
.case-photo-arrow:hover, .case-photo-arrow:focus-visible { background: #f2f2f2; border-color: rgba(25,25,25,.27); }
.case-photo-arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.case-photo-open { position: absolute; inset: 0; z-index: 1; width: 100%; padding: 0; border: 0; border-radius: 11px; background: transparent; cursor: pointer; }
.case-photo-open::after { content: "⤢"; position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(25,25,25,.72); color: #fff; font-size: 1.4rem; line-height: 1; opacity: 0; transition: opacity .18s ease, background-color .18s ease; }
.case-photo-media:hover .case-photo-open::after, .case-photo-open:focus-visible::after { opacity: 1; }
.case-photo-open:focus-visible { outline: 3px solid var(--accent); outline-offset: -4px; }
@media (max-width: 820px), (hover: none), (pointer: coarse) { .case-photo-arrow { opacity: 1; } }
@media (hover: none), (pointer: coarse) { .case-photo-open::after { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .case-photo-media img, .case-photo-arrow, .case-photo-open::after { transition: none; } }

/* The form stays light and keeps its selected states visible. */
.request { background: var(--soft-yellow); }
.request-note { color: var(--muted); border-color: var(--line); }
.request-note b { color: var(--ink); }
.quiz { background: #fff; box-shadow: 0 16px 48px rgba(25,25,25,.11); }
.quiz-top, .zone-progress { color: var(--ink); }
.progress-track { background: var(--soft-yellow); }
.progress-track span { background: var(--brand-orange); }
.step-help, .quiz-result > p, .field-label span { color: var(--muted); }
.choice-grid label span { border-color: var(--line); color: var(--ink); }
.choice-grid label span::before { border-color: var(--muted); }
.choice-grid input:checked + span { background: var(--soft-yellow); border-color: var(--brand-orange); box-shadow: 0 0 0 1px var(--brand-orange); }
.choice-grid input:checked + span::before { border-color: var(--brand-orange); }
.choice-grid input:focus-visible + span { outline-color: var(--brand-orange); }
.quiz select, .quiz input[type=text], .quiz textarea { background: #fff; border-color: var(--line); color: var(--ink); }
.form-error { background: var(--soft-yellow); color: var(--ink); border-left: 3px solid var(--brand-orange); }
.result-check { background: var(--accent); color: var(--ink); }
.message-preview { background: var(--soft-gray); border-color: var(--line); }
.copy-status { color: var(--ink); }
.restart-button, .text-button { color: var(--ink); text-decoration-color: var(--brand-orange); }

/* A dark introduction creates a clear break in the page. */
.master { background: var(--ink); color: #fff; }
.master-card { position: relative; isolation: isolate; background: var(--ink); color: #fff; }
.master-card-photo { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.master-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(15,19,20,.54), rgba(15,19,20,.04) 34%, rgba(15,19,20,.16) 62%, rgba(15,19,20,.7)), linear-gradient(90deg, rgba(15,19,20,.29), transparent 75%); }
.master-card-top, .master-card-center, .master-card-bottom { position: relative; z-index: 2; }
.master-card-top, .master-card-bottom, .master-card-center p { color: #fff; text-shadow: 0 1px 7px rgba(0,0,0,.7); }
.master-card-top, .master-card-bottom { text-shadow: 0 1px 3px rgba(0,0,0,.32); }
.master-card-highlight {
  background: linear-gradient(90deg, #facc22 0%, #f83600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.master-card-center { padding-top: clamp(6.8rem, 13.6vw, 11.9rem); }
@media (max-width: 820px) { .master-card-photo { object-position: center 12%; } }
@media (max-width: 590px) { .master-card-photo { object-position: center 30%; } .master-card-center { padding-top: 7.65rem; } }
.master-copy > p:not(.overline), .master-copy .master-lead { color: rgba(255,255,255,.9) !important; }
.master-copy #master-title {
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(90deg, #facc22 0%, #f83600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.master-points { gap: 12px 22px; }
.master-points span { padding: 0; border: 0; border-radius: 0; background: transparent; color: rgba(255,255,255,.9); font-size: .98rem; font-weight: 500; }

.advantage-grid article { border-color: var(--line); background: #fff; }
.advantage-index { color: var(--ink); }
.advantage-grid p, .reviews-heading p:not(.overline) { color: var(--muted); }
.reviews .overline, .overline { color: var(--ink); }
.review-card { background: var(--soft-yellow); border-color: var(--line); }
.review-main { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 14px; }
.review-avatar { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-card blockquote { color: var(--ink); }
.review-card figcaption { color: var(--ink); border-top-color: var(--line); }

.coverage { background: rgba(250,204,34,.06); }
.coverage-tags span { border-color: var(--line); color: var(--ink); background: #fff; }
.coverage-copy .map-caption { color: var(--muted) !important; }
.map-frame { background: var(--soft-yellow); border-color: var(--line); }
.map-label { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; max-width: calc(100% - 40px); background: #fff; color: var(--ink); box-shadow: 0 7px 25px rgba(25,25,25,.16); line-height: 1.25; }
.map-legend-item { display: inline-flex; align-items: center; gap: 8px; }
.map-dot { flex: 0 0 10px; }
.map-dot-core { background: var(--zone-green); }
.map-dot-agreement { background: var(--zone-yellow); }

.footer { background: var(--ink); color: rgba(255,255,255,.82); }
.footer-brand { color: var(--accent); font-size: clamp(1.35rem, 2vw, 1.5rem); line-height: 1.1; }
.footer-grid p, .footer-grid a:not(.footer-brand), .footer-link { color: rgba(255,255,255,.82); }
.footer-grid strong { color: #fff; }
.footer-bottom { color: rgba(255,255,255,.66); border-top-color: rgba(255,255,255,.24); }
.footer [data-urgent-contact] { color: #fff; }
.footer-socials { display: flex; gap: 18px; align-items: center; }
.footer .footer-socials .footer-social {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}
.footer .footer-socials .footer-social:hover { transform: translateY(-2px); opacity: .85; background: transparent; box-shadow: none; }
.footer .footer-socials .footer-social:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.footer .footer-socials .footer-social img { display: block; width: 52px; height: 52px; object-fit: contain; }

/* Modal and service-area quest. */
dialog, #zone-dialog { background: #fff; color: var(--ink); }
dialog::backdrop { background: rgba(25,25,25,.72); }
.close-dialog { background: var(--accent); color: var(--ink); }
.close-dialog:hover { background: var(--brand-orange); }
#contact-dialog p, .zone-intro, .zone-footnote, .zone-help, .zone-coordinates, .zone-result > p:not(.zone-footnote), .zone-result-actions small { color: var(--muted); }
.zone-options button, .zone-search input, .zone-map-wrap, .zone-result { border-color: var(--line); }
.zone-options button { background: #fff; color: var(--ink); }
.zone-options button:hover, .zone-options button.is-active { background: var(--soft-yellow); border-color: var(--brand-orange); }
.zone-options button > span { color: var(--brand-orange); }
.zone-status, .zone-back, .zone-restart, .zone-attribution a { color: var(--ink); text-decoration-color: var(--brand-orange); }
.zone-options small, .zone-attribution, .zone-map-controls button { color: var(--muted); }
.zone-search input { background: #fff; color: var(--ink); }
.zone-mini-map { background-color: #fff; background-image: linear-gradient(45deg, rgba(250,204,34,.12) 25%,transparent 25%,transparent 75%,rgba(250,204,34,.12) 75%),linear-gradient(45deg, rgba(250,204,34,.12) 25%,transparent 25%,transparent 75%,rgba(250,204,34,.12) 75%); }
.zone-center { background: var(--zone-green); box-shadow: 0 0 0 2px var(--zone-green); }
.zone-pin::before { background: var(--brand-orange); }
.zone-map-controls button { background: #fff; box-shadow: 0 2px 9px rgba(25,25,25,.18); }
.zone-check-button:not(:disabled) { box-shadow: 0 0 0 4px rgba(250,204,34,.22), 0 9px 25px rgba(248,54,0,.16); }
.zone-check-button:disabled { background: var(--soft-gray); border-color: var(--line); color: var(--muted); box-shadow: none; }
.zone-result { background: #fff; box-shadow: 0 12px 30px rgba(25,25,25,.07); }
.zone-result.is-outside { background: var(--soft-yellow); border-color: var(--accent); }
.zone-result-icon, .zone-result.is-outside .zone-result-icon { background: var(--accent); color: var(--ink); }

/* Hero hierarchy and the two direct contact routes. */
.hero { position: relative; z-index: 1; overflow: visible; }
.hero-main { align-items: center; padding-block: 0; }
.hero-copy { padding-block: 0; }
.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -.018em;
  font-weight: 900;
  font-synthesis: weight;
  margin-bottom: 24px;
  padding-block: .025em;
  overflow: visible;
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.38));
}
.hero .hero-title-primary,
.hero .hero-title-secondary { display: block; }
.hero .hero-title-primary {
  width: max-content;
  max-width: 100%;
  padding-right: .13em;
  font-size: .97em;
  letter-spacing: -.018em;
  background: linear-gradient(90deg, #facc22 0%, #f83600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero .hero-title-secondary { color: #fff; -webkit-text-fill-color: #fff; letter-spacing: -.018em; padding-right: .12em; }
.hero .hero-title-sheen {
  display: inline-block;
  padding-right: .045em;
  margin-right: -.045em;
  background: linear-gradient(180deg, #fff 0%, #f8f8f8 34%, #bdbdbd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-lead { font-size: clamp(1.14rem, 1.95vw, 1.52rem); line-height: 1.48; max-width: 740px; margin-bottom: 31px; }
.hero .button-primary,
.hero .button-primary:hover {
  background: linear-gradient(90deg, #facc22, #f83600);
  border: 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(25,25,25,.45);
  box-shadow: 0 9px 25px rgba(248,54,0,.22);
}
.hero .hero-action .button { min-height: 54px; text-transform: uppercase; }
.hero .hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 17px; width: min(100%, 530px); }
.hero .hero-action { position: relative; flex: none; width: 100%; max-width: none; }
.hero .hero-action .button { width: 100%; min-height: 60px; font-size: 1rem; }
.hero .hero-action:first-child .button { min-height: 74px; font-size: 1.16rem; }
.hero .hero-action:first-child .button-primary { animation: hero-cta-glow 3.6s ease-in-out infinite; }
.hero .hero-action:first-child .button-primary:hover,
.hero .hero-action:first-child .button-primary:focus-visible { animation: none; box-shadow: 0 0 48px 12px rgba(250,204,34,.18), 0 0 95px 30px rgba(248,54,0,.1); }
@keyframes hero-cta-glow {
  0%, 100% { box-shadow: 0 0 16px 2px rgba(248,54,0,0); }
  50% { box-shadow: 0 0 48px 12px rgba(250,204,34,.18), 0 0 95px 30px rgba(248,54,0,.1); }
}
.hero .hero-action small { padding-left: 3px; text-align: left; }
.hero .hero-action:first-child small { font-size: .92rem; line-height: 1.45; }
@media (min-width: 1101px) {
  .hero-lead, .hero .hero-actions { transform: translateY(30px); }
}
.availability-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #4ddc62; box-shadow: 0 0 0 3px rgba(77,220,98,.2), 0 0 9px #4ddc62; animation: availability-pulse 2.6s ease-in-out infinite; }
@keyframes availability-pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 3px rgba(77,220,98,.18), 0 0 8px rgba(77,220,98,.7); } 50% { opacity: .43; box-shadow: 0 0 0 5px rgba(77,220,98,.08), 0 0 2px rgba(77,220,98,.25); } }
.hero-benefits { margin-bottom: -52px; padding-bottom: 16px; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.hero-benefits .benefit-grid { gap: 14px; }
.hero-benefits .benefit-grid > div { position: relative; isolation: isolate; overflow: hidden; min-height: 142px; padding: 20px 16px; gap: 10px; align-items: center; justify-content: center; border: 0; border-radius: 16px; background: rgba(25,25,25,.28); backdrop-filter: blur(24px) brightness(.85); -webkit-backdrop-filter: blur(24px) brightness(.85); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.hero-benefits .benefit-grid > div:nth-child(1) { --benefit-number: url('./benefit-number-01.png'); --benefit-number-width: 124px; }
.hero-benefits .benefit-grid > div:nth-child(2) { --benefit-number: url('./benefit-number-02.png'); --benefit-number-width: 157px; }
.hero-benefits .benefit-grid > div:nth-child(3) { --benefit-number: url('./benefit-number-03.png'); --benefit-number-width: 159px; }
.hero-benefits .benefit-grid > div::before { position: absolute; top: 22px; left: 24px; z-index: 2; color: #fff; font-family: Gilroy, ui-sans-serif, system-ui, sans-serif; font-size: 1.1rem; font-weight: 500; line-height: 1; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.hero-benefits .benefit-grid > div:nth-child(1)::before { content: '.01'; }
.hero-benefits .benefit-grid > div:nth-child(2)::before { content: '.02'; }
.hero-benefits .benefit-grid > div:nth-child(3)::before { content: '.03'; }
.hero-benefits .benefit-grid > div::after { content: ''; position: absolute; right: 13px; bottom: 0; z-index: 1; width: var(--benefit-number-width); height: 83px; background: rgba(25,25,25,.28); opacity: .5; backdrop-filter: blur(12px) brightness(.85); -webkit-backdrop-filter: blur(12px) brightness(.85); -webkit-mask-image: var(--benefit-number); mask-image: var(--benefit-number); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: right bottom; mask-position: right bottom; pointer-events: none; }
.hero-benefits .benefit-grid > div > img,
.hero-benefits .benefit-grid > div > strong { position: relative; z-index: 2; }
.hero-benefits .benefit-icon { display: block; width: auto; height: 44px; flex: 0 0 auto; object-fit: contain; }
.hero-benefits .benefit-icon-cotizamos { height: 40px; transform: translateX(-5px); }
.hero-benefits .benefit-icon-precio { height: 48px; }
.hero-benefits .benefit-icon-puntuales { height: 47px; }
.hero-benefits .benefit-grid strong { display: inline-flex; align-items: baseline; gap: .28em; white-space: nowrap; font-size: clamp(1.18rem, 2vw, 1.55rem); line-height: 1.3; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.hero-benefits .benefit-grid strong em,
.hero-benefits .benefit-grid strong b { display: inline; font-style: normal; font-family: Gilroy, ui-sans-serif, system-ui, sans-serif; }
.hero-benefits .benefit-grid strong em { font-weight: 500; }
.hero-benefits .benefit-grid strong b { display: inline-block; font-weight: 900; font-synthesis: weight; background-image: linear-gradient(to right, #facc22 0%, #f83600 100%); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }

/* The four promises read as one sequence. */
.advantages-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 42px; }
.advantages .advantages-heading { min-width: 0; margin-bottom: 0; }
.advantages .advantage-carousel-controls { display: none; flex: 0 0 auto; }
.advantages .advantage-carousel-controls button { cursor: pointer; }
.advantages .advantage-carousel-controls button:disabled,
.advantages .advantage-carousel-controls button:disabled:hover { opacity: .38; cursor: default; background: #fff; color: #191919; border-color: rgba(25,25,25,.17); }
.advantages .advantage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.advantages .advantage-grid article { position: relative; min-width: 0; min-height: 320px; margin: 0; padding: 25px 22px; background: #fff; }
.advantages .advantage-grid article:not(:last-child)::after { content: '→'; position: absolute; top: 42px; right: -23px; z-index: 1; color: var(--brand-orange); font-size: 1.55rem; font-weight: 800; line-height: 1; text-shadow: 0 1px #fff, 0 -1px #fff; pointer-events: none; }
.advantages .advantage-grid article:nth-child(2)::after { top: 62px; }
.advantages .advantage-grid article:nth-child(3)::after { top: 82px; }
.advantages .advantage-next { display: none; }
.advantages .advantage-index { display: block; color: var(--brand-orange); font-size: .9rem; }
.advantages .advantage-grid article:nth-child(2) .advantage-index { transform: translateY(20px); }
.advantages .advantage-grid article:nth-child(3) .advantage-index { transform: translateY(40px); }
.advantages .advantage-grid article:nth-child(4) .advantage-index { transform: translateY(60px); }
.advantages .advantage-grid h3 { margin: 25px 0 12px; font-size: 1.22rem; line-height: 1.22; }
.advantages .advantage-grid article:nth-child(2) h3 { margin-top: 45px; }
.advantages .advantage-grid article:nth-child(3) h3 { margin-top: 65px; }
.advantages .advantage-grid article:nth-child(4) h3 { margin-top: 85px; }
.advantages .advantage-grid p { font-size: .91rem; line-height: 1.55; }
.advantages-cta { display: flex; justify-content: center; margin-top: 34px; }
.advantages-cta .button { width: min(100%, 320px); min-width: 0; min-height: 64px; padding: 16px 28px; border: 0; background: linear-gradient(90deg, #facc22, #f83600); color: #fff; font-size: 1.08rem; text-shadow: 0 1px 2px rgba(25,25,25,.4); }
.advantages-cta .button:hover { background: linear-gradient(90deg, #facc22, #f83600); color: #fff; }

/* Three complete services and a faded glimpse of the fourth. */
.work-board-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0 5px; }
.work-board-controls > span { font-size: .76rem; font-weight: 750; color: var(--muted); }
.work-board-controls > div { display: flex; align-items: center; gap: 9px; }
.work-board-controls button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.work-board-controls button:hover { background: var(--accent); border-color: var(--accent); }
.work-board-controls output { min-width: 88px; text-align: center; color: var(--muted); font-size: .78rem; font-weight: 750; }
.work-board-viewport {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  scroll-snap-type: y proximity;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - var(--peek, 60px)), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - var(--peek, 60px)), transparent 100%);
}
.work-board-viewport.is-at-end { -webkit-mask-image: none; mask-image: none; }
.work-board-viewport::-webkit-scrollbar { display: none; }
.work-board-viewport .work-row { scroll-snap-align: start; }
.work-board-viewport .work-row:last-child { border-bottom: 1px solid var(--line); }
.work-board-controls button:disabled { opacity: .38; cursor: default; background: #fff; border-color: var(--line); }
.work-board-note { padding-top: 19px; margin-top: 12px; }
.work-board-note strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 1.07rem; line-height: 1.35; }
.work-board-note p { margin: 0 0 17px; color: var(--muted); line-height: 1.55; font-size: .91rem; }
.work-board-note .button { display: flex; width: min(100%, 300px); min-height: 48px; margin-inline: auto; padding-inline: 19px; }

/* Keep these three yellow actions stable and add a soft glow on hover. */
.work-board-note .button[data-open-quiz],
.advantages-cta .button[data-open-quiz],
.coverage-check[data-open-zone] {
  background: #facc22;
  border: 1px solid #facc22;
  color: #191919;
  text-shadow: none;
  box-shadow: none;
  transition: transform .17s ease, box-shadow .25s ease;
}
.work-board-note .button[data-open-quiz]:hover,
.work-board-note .button[data-open-quiz]:focus-visible,
.advantages-cta .button[data-open-quiz]:hover,
.advantages-cta .button[data-open-quiz]:focus-visible,
.coverage-check[data-open-zone]:hover,
.coverage-check[data-open-zone]:focus-visible {
  background: #facc22;
  border-color: #facc22;
  color: #191919;
  box-shadow: 0 0 24px 6px rgba(250,204,34,.27), 0 0 55px 16px rgba(250,204,34,.12);
}

/* Controllable map shares the Heredia center and radius with the zone checker. */
.coverage-map { position: absolute; inset: 0; overflow: hidden; background: #e6eee8; cursor: grab; touch-action: none; user-select: none; }
.coverage-map.is-dragging { cursor: grabbing; }
.coverage-map-tiles { position: absolute; inset: 0; pointer-events: none; }
.coverage-map-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.service-zone-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.service-zone-agreement { fill: rgba(221,195,22,.14); fill-rule: evenodd; stroke: var(--zone-yellow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-zone-core { fill: rgba(125,221,22,.14); stroke: var(--zone-green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.coverage-map-center { position: absolute; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: var(--zone-green); box-shadow: 0 0 0 2px var(--zone-green); transform: translate(-50%,-50%); pointer-events: none; }
.coverage-zone-tooltip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; background: rgba(25,25,25,.9); color: #fff; font-size: .8rem; font-weight: 700; line-height: 1.25; white-space: nowrap; box-shadow: 0 5px 18px rgba(25,25,25,.22); pointer-events: none; }
.coverage-zone-tooltip[hidden], .coverage-zone-tooltip [hidden] { display: none; }
.map-reset { position: absolute; z-index: 3; left: 15px; top: 15px; max-width: calc(100% - 92px); min-height: 42px; padding: 9px 13px; border: 1px solid rgba(25,25,25,.18); border-radius: 8px; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 800; cursor: pointer; box-shadow: 0 5px 17px rgba(25,25,25,.27); animation: map-button-in .18s ease-out; }
.map-reset[hidden] { display: none; }
@keyframes map-button-in { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
.coverage-map-controls { position: absolute; z-index: 2; top: 15px; right: 15px; display: grid; gap: 5px; }
.coverage-map-controls button { width: 39px; height: 39px; border: 0; border-radius: 7px; background: #fff; color: var(--ink); font-size: 1.4rem; font-weight: 750; cursor: pointer; box-shadow: 0 3px 12px rgba(25,25,25,.2); }
.coverage-map-attribution { position: absolute; z-index: 2; right: 0; bottom: 0; padding: 3px 6px; background: rgba(255,255,255,.91); color: var(--ink); font-size: .7rem; }
.coverage-map-attribution a { color: var(--ink); }

@media (max-width: 1100px) and (min-width: 821px) { .hero-main { padding-top: 175px; } }
@media (max-width: 820px) {
  .hero h1 { font-size: clamp(2.75rem, 6vw, 4rem); }
  .hero-main { padding-top: 175px; }
  .benefit-grid > div { min-height: 105px; padding-inline: 12px; }
  .benefit-grid strong { font-size: 1rem; }
}
@media (max-width: 950px) and (min-width: 591px) {
  .hero-benefits .benefit-grid > div { padding-inline: 12px; gap: 8px; }
  .hero-benefits .benefit-grid > div::after { transform: scale(.8); transform-origin: right bottom; }
  .hero-benefits .benefit-grid strong { display: block; white-space: normal; font-size: clamp(1rem, 2vw, 1.18rem); }
  .hero-benefits .benefit-icon-cotizamos { height: 34px; }
  .hero-benefits .benefit-icon-precio { height: 40px; }
  .hero-benefits .benefit-icon-puntuales { height: 39px; }
}
@media (max-width: 950px) {
  .advantages-heading-row { margin-bottom: 22px; }
  .advantages .advantage-carousel-controls { display: flex; }
  .advantages .advantage-grid { position: relative; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(260px, 35vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 5px 3px 18px; }
  .advantages .advantage-grid article { min-height: 310px; scroll-snap-align: start; }
  .advantages .advantage-grid article:not(:last-child)::after { display: none; }
  .advantages .advantage-next { position: absolute; top: 28px; right: -34px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--brand-orange); font: 800 1.55rem/1 Gilroy, sans-serif; text-shadow: 0 1px #fff, 0 -1px #fff; cursor: pointer; }
  .advantages .advantage-grid article:nth-child(2) .advantage-next { top: 48px; }
  .advantages .advantage-grid article:nth-child(3) .advantage-next { top: 68px; }
  .advantages .advantage-next:hover, .advantages .advantage-next:focus-visible { background: rgba(250,204,34,.16); }
}
@media (max-width: 590px) {
  .advantages-heading-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .advantages .advantage-carousel-controls { align-self: flex-end; }
  .hero-main { align-items: flex-start; padding-top: 175px; padding-bottom: 95px; }
  .hero h1 { font-size: clamp(2.1rem, 8.6vw, 3.1rem); line-height: 1.12; white-space: normal; margin-bottom: 21px; }
  .hero .hero-title-primary { width: auto; padding-right: .04em; }
  .hero .hero-action:first-child .button { min-height: 66px; font-size: 1.05rem; }
  .hero .hero-action .button { min-height: 56px; font-size: .98rem; }
  .hero-lead { font-size: 1.07rem; line-height: 1.48; margin-bottom: 26px; }
  .hero-benefits { margin-bottom: -40px; padding-bottom: 14px; }
  .hero-benefits .benefit-grid { display: grid; grid-template-columns: 1fr; gap: 8px; width: calc(100% - 36px); }
  .hero-benefits .benefit-grid > div { display: flex; min-height: 78px; padding: 20px 12px 8px; gap: 10px; align-items: center; justify-content: center; border: 0; text-align: left; }
  .hero-benefits .benefit-grid > div::before { top: 10px; left: 30px; font-size: .85rem; }
  .hero-benefits .benefit-grid > div::after { right: 9px; bottom: 0; transform: scale(.85); transform-origin: right bottom; }
  .hero-benefits .benefit-grid strong { display: block; white-space: normal; font-size: 1.18rem; }
  .hero-benefits .benefit-icon-cotizamos { height: 32px; transform: none; }
  .hero .hero-action:first-child small { font-size: .88rem; }
  .work-board-controls > span { display: none; }
  .work-board-controls { justify-content: flex-end; }
  .map-reset { font-size: .74rem; padding: 8px 10px; }
  .advantages .advantage-grid { grid-auto-columns: minmax(245px, 82vw); gap: 25px; }
  .advantages .advantage-next { right: -34.5px; }
  .advantages .advantage-grid article { min-height: 0; padding: 24px 22px; }
  .advantages .advantage-grid article:nth-child(2) .advantage-index { transform: translateY(14px); }
  .advantages .advantage-grid article:nth-child(3) .advantage-index { transform: translateY(28px); }
  .advantages .advantage-grid article:nth-child(4) .advantage-index { transform: translateY(42px); }
  .advantages .advantage-grid article:nth-child(2) .advantage-next { top: 42px; }
  .advantages .advantage-grid article:nth-child(3) .advantage-next { top: 56px; }
  .advantages .advantage-grid article:nth-child(2) h3 { margin-top: 39px; }
  .advantages .advantage-grid article:nth-child(3) h3 { margin-top: 53px; }
  .advantages .advantage-grid article:nth-child(4) h3 { margin-top: 67px; }
  .advantages-cta .button { width: 100%; }
  .footer-grid > div:nth-child(2), .footer-grid > div:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 1100px) and (min-width: 591px) { .footer-grid { grid-template-columns: 1.4fr 1fr; gap: 36px; } .footer-grid > div:nth-child(3) { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .availability-dot, .hero .hero-action:first-child .button-primary { animation: none; } }

/* The standalone quiz keeps its original layout and styles inside a same-origin frame. */
.request.quiz-section { padding: 116px 0 70px; background: rgba(250,204,34,.06); }
.request-stage { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 70px); align-items: start; width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.request-stage .request-copy { min-width: 0; padding: 0; }
.request-stage .request-copy h2 { max-width: 520px; font-size: clamp(2.65rem, 4vw, 4.15rem); line-height: 1.07; }
.request-stage .request-copy p { max-width: 510px; margin: 22px 0 0; font-size: 1.08rem; line-height: 1.6; color: #545454; }
.request-quiz-frame { min-width: 0; overflow: hidden; border-radius: 15px; background: #fff; box-shadow: 0 20px 60px rgba(25,25,25,.13); }
.request-quiz-frame .quiz-embed { display: block; width: 100%; height: min(640px, calc(100svh - 135px)); min-height: 510px; border: 0; background: #fff; }
#quiz-dialog .quiz-embed { display: block; width: 100%; border: 0; background: #fff; }
#quiz-dialog { width: min(1120px, calc(100vw - 32px)); max-width: none; height: min(900px, calc(100dvh - 32px)); max-height: none; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #fff; }
#quiz-dialog .quiz-embed { height: calc(100% - 52px); min-height: 0; margin-top: 52px; }
#quiz-dialog .quiz-dialog-close { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(25,25,25,.18); border-radius: 50%; background: rgba(255,255,255,.94); color: #191919; font-size: 1.75rem; line-height: 1; box-shadow: 0 3px 12px rgba(25,25,25,.16); cursor: pointer; }
#quiz-dialog .quiz-dialog-close:hover, #quiz-dialog .quiz-dialog-close:focus-visible { background: #f2f2f2; }
body:has(#quiz-dialog[open]) { overflow: hidden; }
@media (max-width: 820px) {
  .request-stage { display: block; width: min(720px, calc(100% - 36px)); }
  .request-stage .request-copy { margin-bottom: 26px; }
  .request-stage .request-copy h2 { font-size: clamp(2.2rem, 6vw, 3.25rem); }
  .request-quiz-frame .quiz-embed { height: min(620px, 72dvh); min-height: 500px; }
}
@media (max-width: 590px) {
  .request.quiz-section { padding-top: 150px; padding-bottom: 54px; }
  .request-stage .request-copy h2 { font-size: clamp(2.1rem, 8vw, 2.9rem); }
  .request-stage .request-copy p { font-size: 1rem; margin-top: 16px; }
  .request-quiz-frame .quiz-embed { height: min(620px, 72dvh); min-height: 480px; }
  #quiz-dialog { inset: 0; width: 100vw; height: 100dvh; margin: 0; border-radius: 0; }
  #quiz-dialog .quiz-embed { height: calc(100% - 50px); margin-top: 50px; min-height: 0; }
  #quiz-dialog .quiz-dialog-close { top: max(10px, env(safe-area-inset-top)); right: 10px; width: 40px; height: 40px; }
}

/* The area checker follows the quiz's white canvas, answer cards and footer progress. */
#zone-dialog { width: min(960px, calc(100vw - 32px)); max-width: none; height: min(790px, calc(100dvh - 32px)); max-height: none; padding: 0; overflow: hidden; border-radius: 16px; background: #fff; color: #363636; font-family: Inter, Gilroy, Arial, sans-serif; }
body:has(#zone-dialog[open]) { overflow: hidden; }
#zone-dialog[open] { display: flex; flex-direction: column; }
#zone-dialog .dialog-head { flex: none; order: 0; align-items: center; padding: 13px 28px; border-bottom: 1px solid #ededed; }
#zone-dialog .dialog-head h2 { margin: 0; font-size: .92rem; line-height: 1.35; font-weight: 600; letter-spacing: 0; color: #666; }
#zone-dialog .close-dialog { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: #f7f7f7; color: #363636; border: 1px solid #e6e6e6; border-radius: 50%; cursor: pointer; }
#zone-dialog .close-dialog:hover { background: #f2f2f2; }
#zone-dialog .zone-step { flex: 1 1 auto; order: 1; min-height: 0; overflow: auto; padding: clamp(24px, 5vw, 52px); scrollbar-width: thin; }
#zone-dialog .zone-step h3 { max-width: 760px; margin: 0 0 13px; color: #363636; font-size: clamp(1.75rem, 3.2vw, 2.2rem); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
#zone-dialog .zone-intro { max-width: 720px; color: #666; font-size: 1rem; line-height: 1.5; }
#zone-dialog .zone-options { gap: 16px; margin-top: 30px; }
#zone-dialog .zone-options button { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; min-height: 126px; padding: 22px; gap: 3px 17px; border: 1px solid #e6e6e6; border-radius: 5px; background: #fff; color: #363636; transition: border-color .18s, box-shadow .18s, background .18s; cursor: pointer; }
#zone-dialog .zone-options button:hover, #zone-dialog .zone-options button.is-active { border-color: #ed4a1d; background: #fff; box-shadow: 0 4px 16px rgba(54,54,54,.08); }
#zone-dialog .zone-options button:focus-visible { outline: 2px solid #ed4a1d; outline-offset: 3px; }
#zone-dialog .zone-options button > span { grid-row: span 2; color: #ed4a1d; font-size: 2rem; }
#zone-dialog .zone-options strong { font-size: 1.03rem; font-weight: 600; }
#zone-dialog .zone-options small { color: #808080; font-size: .88rem; }
#zone-dialog .zone-status.is-denied { color: #c62828; }
#zone-dialog .zone-progress { flex: none; order: 2; display: flex; gap: 22px; align-items: center; padding: 21px 28px; color: #666; background: #fff; border-top: 1px solid #ededed; font-size: .82rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
#zone-dialog .zone-progress .progress-track { flex: 1; height: 6px; margin: 0; background: #e6e6e6; }
#zone-dialog .zone-progress .progress-track span { background: #ed4a1d; }
#zone-dialog .zone-search label { font-size: .95rem; color: #363636; }
#zone-dialog .zone-search input { border-color: #ccc; border-radius: 5px; }
#zone-dialog .zone-search input:focus-visible { outline: 2px solid #ed4a1d; outline-offset: 1px; }
#zone-dialog .zone-search .button, #zone-dialog .zone-check-button:not(:disabled), #zone-dialog .zone-result-actions .button-primary { border-color: #ed4a1d; background: #ed4a1d; color: #fff; box-shadow: none; }
#zone-dialog .zone-search .button, #zone-dialog .zone-check-button { font-weight: 400; }
#zone-dialog .zone-search .button:hover, #zone-dialog .zone-check-button:not(:disabled):hover, #zone-dialog .zone-result-actions .button-primary:hover { border-color: #c73810; background: #c73810; color: #fff; }
#zone-dialog .zone-check-button:disabled { background: #e6e6e6; border-color: #e6e6e6; color: #808080; }
#zone-dialog .zone-back, #zone-dialog .zone-restart { color: #ed4a1d; text-decoration-color: #ed4a1d; }
#zone-dialog .zone-map-wrap { border-color: #ddd; border-radius: 5px; }
#zone-dialog .zone-result, #zone-dialog .zone-result.is-outside { border: 0; border-radius: 0; background: #fff; box-shadow: none; }
#zone-dialog .zone-result-icon { background: var(--zone-green); color: #fff; }
#zone-dialog .zone-result.is-agreement .zone-result-icon { background: var(--zone-yellow); color: #191919; }
#zone-dialog .zone-result.is-outside .zone-result-icon { background: #777; color: #fff; }
#zone-dialog .zone-result-actions .button { border-radius: 5px; }
#zone-dialog .zone-result-actions .button-primary,
#zone-dialog .zone-result-actions .button-primary:hover,
#zone-dialog .zone-result-actions .button-primary:focus-visible { background: #facc22; border-color: #facc22; color: #191919; text-shadow: none; }
#zone-dialog .zone-result-actions .button-primary:hover,
#zone-dialog .zone-result-actions .button-primary:focus-visible { box-shadow: 0 0 20px rgba(250,204,34,.35); }
#zone-dialog .zone-result-actions .button-whatsapp,
#zone-dialog .zone-result-actions .button-whatsapp:hover,
#zone-dialog .zone-result-actions .button-whatsapp:focus-visible {
  border-color: #03d22f;
  background: linear-gradient(180deg, #4ddc62, #03d22f);
  color: #fff;
  box-shadow: 0 9px 24px rgba(3,210,47,.2);
}
@media (max-width: 590px) {
  #zone-dialog { inset: 0; width: 100vw; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
  #zone-dialog .dialog-head { padding: 9px 16px 9px 20px; }
  #zone-dialog .zone-step { padding: 24px 20px 30px; }
  #zone-dialog .zone-options { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  #zone-dialog .zone-options button { grid-template-columns: 38px minmax(0, 1fr); min-height: 108px; padding: 17px; }
  #zone-dialog .zone-options button > span { font-size: 1.7rem; }
  #zone-dialog .zone-progress { padding: 15px 20px calc(15px + env(safe-area-inset-bottom, 0px)); }
  #zone-dialog .zone-mini-map { height: 260px; }
  #zone-dialog .zone-result-actions { grid-template-columns: 1fr; }
}

/* Neutral, consistent circular controls across dialogs and carousels. */
#quiz-dialog .quiz-dialog-close, #zone-dialog .close-dialog,
.case-carousel-controls button, .work-board-controls button, .advantages .advantage-next {
  background: #fff; color: #191919; border: 1px solid rgba(25,25,25,.17); text-shadow: none;
  transition: background-color .18s ease, border-color .18s ease;
}
#quiz-dialog .quiz-dialog-close:hover, #quiz-dialog .quiz-dialog-close:focus-visible,
#zone-dialog .close-dialog:hover, #zone-dialog .close-dialog:focus-visible,
.case-carousel-controls button:hover, .case-carousel-controls button:focus-visible,
.work-board-controls button:hover:not(:disabled), .work-board-controls button:focus-visible,
.advantages .advantage-next:hover, .advantages .advantage-next:focus-visible {
  background: #f2f2f2; color: #191919; border-color: rgba(25,25,25,.27);
}
.advantages .advantage-next,
.advantages .advantage-next:hover,
.advantages .advantage-next:focus-visible { color: var(--brand-orange); }

@media (max-width: 590px) {
  .master-copy > .master-card { width: 100%; margin-top: 24px; }
  .master-copy > .master-points { margin-top: 22px; }
  .coverage-copy > .map-frame { width: 100%; margin-top: 24px; }
  .coverage-copy > .coverage-check { margin-top: 22px; }
}

/* Gallery photos open over the page while keeping the same case navigation. */
dialog#case-lightbox { position: fixed; inset: 0; box-sizing: border-box; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: rgba(12,12,12,.94); color: #fff; box-shadow: none; }
#case-lightbox::backdrop { background: rgba(0,0,0,.8); }
body:has(#case-lightbox[open]) { overflow: hidden; }
.case-lightbox-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 70px 22px 84px; pointer-events: none; }
.case-lightbox-frame { position: relative; flex: none; width: fit-content; max-width: min(84vw, 960px); max-height: min(78dvh, 900px); pointer-events: none; }
.case-lightbox-image { display: block; width: auto; height: auto; max-width: min(84vw, 960px); max-height: min(78dvh, 900px); object-fit: contain; border-radius: 5px; pointer-events: auto; }
.case-lightbox-close, .case-lightbox-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #191919; font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; pointer-events: auto; box-shadow: 0 5px 20px rgba(0,0,0,.25); transition: background-color .18s ease; }
.case-lightbox-arrow[hidden] { display: none; }
.case-lightbox-close:hover, .case-lightbox-arrow:hover { background: #f2f2f2; }
.case-lightbox-close:focus-visible, .case-lightbox-arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.case-lightbox-close { position: absolute; z-index: 3; top: max(12px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); }
.case-lightbox-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); }
.case-lightbox-prev { left: 12px; }
.case-lightbox-next { right: 12px; }
.case-lightbox-caption { position: absolute; bottom: -48px; left: 50%; width: max-content; max-width: calc(100vw - 36px); margin: 0; transform: translateX(-50%); color: #fff; font-size: .92rem; text-align: center; line-height: 1.35; pointer-events: none; }
@media (max-width: 590px) {
  .case-lightbox-stage { padding: max(58px, env(safe-area-inset-top)) 8px max(76px, env(safe-area-inset-bottom)); }
  .case-lightbox-frame, .case-lightbox-image { max-width: calc(100vw - 16px); max-height: min(72dvh, 720px); }
  .case-lightbox-arrow { width: 44px; height: 44px; }
  .case-lightbox-prev { left: 8px; }
  .case-lightbox-next { right: 8px; }
  .case-lightbox-caption { bottom: -57px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .case-lightbox-close, .case-lightbox-arrow { transition: none; } }

/* Keep the existing header grid; compact only the narrow-phone CTA. */
@media (max-width: 374px) {
  .site-header .header-urgent[data-urgent-contact],
  .site-header .header-urgent[data-urgent-contact]:hover {
    font-size: .78rem;
    gap: 5px;
    padding-inline: 5px;
  }
  .site-header .header-urgent[data-urgent-contact]::before {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    background-size: 30px 30px;
  }
}
