/* ALPHA Smart Solutions — public site styles */
@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #245abe;
  --blue-2: #345eae;
  --blue-light: #7db4ff;
  --navy: #11223d;
  --graphite: #606976;
  --bg: #f3f5f8;
  --line: #dce2eb;
  --white: #fff;
  --ink: #11223d;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(17, 34, 61, .06), 0 6px 18px rgba(17, 34, 61, .07);
  --header-h: 96px;
  --gutter: 32px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--graphite); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Icons */
.icon { width: 20px; height: 20px; flex: none; }
.icon--lg { width: 30px; height: 30px; }
.icon--xl { width: 38px; height: 38px; stroke-width: 1.6; }
svg use { pointer-events: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 22px; border-radius: var(--radius); font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #1c4ca6; }
.btn--primary:active { transform: translateY(1px); }
.btn--outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--light { background: #fff; color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 84px; width: 84px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 30px; }
.nav__list a { color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; }
.nav__list a:hover { color: var(--blue); }

.social { display: flex; gap: 10px; }
.social__link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; background: var(--blue); color: #fff; }
.social__link svg { width: 18px; height: 18px; fill: currentColor; }
.social__link:hover { background: #1c4ca6; }
.header__cta { flex: none; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 8px 24px 24px; box-shadow: 0 18px 30px rgba(17,34,61,.12); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu__list a { display: flex; align-items: center; min-height: 52px; color: var(--navy); font-weight: 600; font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--line); }
.social--menu { margin: 18px 0; }
.social--menu .social__link { width: 44px; height: 44px; }

/* Hero */
.hero { position: relative; isolation: isolate; background: var(--navy); color: #fff; min-height: 540px; display: flex; align-items: center; overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 72% center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,22,42,.94) 0%, rgba(17,34,61,.86) 32%, rgba(17,34,61,.35) 58%, rgba(17,34,61,0) 78%); }
.hero__content { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; max-width: 640px; }
.hero h1 span { color: var(--blue-light); }
.hero__lead { margin: 24px 0 32px; max-width: 460px; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.92); }

.strip { background: var(--blue); color: #fff; }
.strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip__item { display: flex; align-items: center; gap: 16px; padding: 26px 24px; font-weight: 600; font-size: 17px; line-height: 1.3; }
.strip__item + .strip__item { border-left: 1px solid rgba(255,255,255,.28); }

/* Sections */
.section { padding: 88px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg); }
.eyebrow { display: flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 600; color: var(--graphite); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--blue); }
.eyebrow--light { color: rgba(255,255,255,.75); }
.section__title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; color: var(--navy); }
.section__title span { color: var(--blue); }
.section__title--light { color: #fff; }
.section__title--light span { color: var(--blue-light); }
.section__lead { margin-top: 18px; max-width: 640px; font-size: 18px; color: var(--graphite); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(17,34,61,.06), 0 14px 28px rgba(17,34,61,.12); }
.card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 20px 22px 6px; flex: 1; }
.card__title { font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.card__body p { font-size: 15px; line-height: 1.5; }
.card__foot { padding: 14px 22px 22px; }
.card__more { position: static; }
.card__more::after { content: ""; position: absolute; inset: 0; }
.card:has(.card__more:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.card__more:focus-visible { outline: none; }
.card:hover .card__more { background: var(--blue); color: #fff; }
.note { margin-top: 16px; font-size: 13px; color: var(--graphite); }

.follow { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; padding: 22px 28px; background: #e4edfb; border-radius: 12px; }
.follow__title { font-size: 24px; font-weight: 700; color: var(--navy); padding-right: 28px; border-right: 1px solid #a9bfe6; }
.social--follow { gap: 24px; }
.social--follow .social__link { width: 52px; height: 52px; border-radius: 9px; }
.social--follow .social__link svg { width: 26px; height: 26px; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__text p:not(.eyebrow) { margin-top: 18px; font-size: 18px; }
.about__text .btn { margin-top: 28px; }
.about__text .section__title { margin-bottom: 4px; }

/* Gallery */
.gallery__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery__stage { position: relative; margin-top: 36px; }
.gallery__viewport { overflow: hidden; margin: 0 -8px; touch-action: pan-y; }
.gallery__track { display: flex; transition: transform .5s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.gallery__slide { flex: 0 0 calc(100% / var(--per-view, 3)); padding: 0 8px; }
.gallery__open { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery__open img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__open:hover img { transform: scale(1.03); }
.gallery__open::after { content: attr(aria-label); display: none; }
.badge { position: absolute; left: 12px; bottom: 12px; background: rgba(17,34,61,.82); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge--inline { position: static; display: inline-block; margin-left: 6px; }
.gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); box-shadow: 0 4px 14px rgba(17,34,61,.22); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gallery__arrow--prev { left: 12px; }
.gallery__arrow--next { right: 12px; }
.gallery__arrow:hover { background: #eef3fc; }
.gallery__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.gallery__toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gallery__toggle .icon--play { display: none; }
.gallery__toggle[aria-pressed="true"] .icon--pause { display: none; }
.gallery__toggle[aria-pressed="true"] .icon--play { display: block; }
.gallery__dots { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; }
.gallery__dot { width: 28px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gallery__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #b8c3d6; transition: background .2s, transform .2s; }
.gallery__dot[aria-current="true"]::before { background: var(--blue); transform: scale(1.2); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(8,16,30,.9); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { font-size: 15px; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* Reviews */
.reviews { background: var(--navy) linear-gradient(135deg, #0e1c33 0%, #11223d 55%, #17305a 100%); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.reviews__head { display: flex; align-items: center; gap: 24px; }
.reviews__g { width: 56px; height: 56px; flex: none; background: #fff; border-radius: 50%; padding: 11px; }
.reviews__pending { margin-top: 32px; max-width: 680px; padding: 22px 26px; border: 1px dashed rgba(255,255,255,.4); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.reviews__pending-title { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.reviews__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.review { background: #fff; color: var(--graphite); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.review__author { font-weight: 700; color: var(--navy); }
.review__stars { color: #f4b400; margin: 6px 0 8px; letter-spacing: 2px; }
.review__src { margin-top: 10px; font-size: 12px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.facts { display: grid; gap: 16px; margin-top: 32px; }
.facts li { display: flex; align-items: center; gap: 14px; color: var(--graphite); }
.facts strong { color: var(--navy); }
.facts .icon { color: var(--blue); }
.contact-list { margin-top: 28px; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--blue); }
.contact-list a { font-weight: 600; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 32px; }
.form__title { font-size: 24px; color: var(--navy); font-weight: 700; }
.form__sub { margin: 4px 0 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--graphite); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--navy); background: #fff; border: 1px solid #c3cddc; border-radius: var(--radius); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(36,90,190,.3); border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field__error { margin-top: 6px; font-size: 13px; color: #b3261e; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 22px; }
.form__status { margin-top: 14px; font-size: 15px; }
.form__status:not(:empty) { padding: 12px 14px; border-radius: var(--radius); }
.form__status.is-ok { background: #e6f4ea; color: #14532d; }
.form__status.is-error { background: #fdecea; color: #8a1c14; }
.form__legal { margin-top: 14px; font-size: 13px; text-align: center; }

/* Map */
.map { position: relative; min-height: 360px; background: var(--bg); border-top: 1px solid var(--line); }
.map__frame, .map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__pending { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: left; color: var(--graphite); }
.map__pending .icon, .map__card .icon { color: var(--blue); }
.map__title { font-weight: 700; color: var(--navy); }
.map__card { position: absolute; z-index: 2; left: max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter))); top: 24px; display: flex; gap: 12px; align-items: center; background: #fff; padding: 14px 20px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: calc(100% - 2 * var(--gutter)); }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.8); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 40px; padding-top: 56px; padding-bottom: 40px; align-items: start; }
.footer__logo { display: inline-block; background: #fff; border-radius: 16px; padding: 10px; line-height: 0; }
.footer__logo img { width: 168px; height: auto; }
.footer__tag { margin-top: 14px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--blue-light); }
.footer__head { color: #fff; font-weight: 600; margin-bottom: 12px; }
.footer__links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__area { display: flex; gap: 16px; }
.footer__area .icon { color: var(--blue-light); }
.social--footer .social__link { background: rgba(255,255,255,.12); }
.social--footer .social__link:hover { background: var(--blue); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }

/* Counters (home page, above the estimate button) */
.counters { display: flex; flex-wrap: wrap; gap: 12px; max-width: 540px; margin: 26px 0 0; }
.counter-card { flex: 1 1 140px; max-width: 176px; padding: 18px 14px 16px; text-align: center; color: #fff; background: linear-gradient(160deg, #143f91 0%, #0b2559 100%); border: 1px solid rgba(125, 180, 255, .3); border-radius: 14px; box-shadow: 0 12px 26px rgba(5, 14, 35, .38); }
.counter-card .counter-card__num, .about__text .counter-card .counter-card__num { font-size: clamp(32px, 4.2vw, 46px); line-height: 1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.counter-card .counter-card__sym, .about__text .counter-card .counter-card__sym { color: var(--blue-light); }
.counter-card .counter-card__label, .about__text .counter-card .counter-card__label { margin-top: 9px; font-size: 14px; line-height: 1.3; font-weight: 600; color: rgba(255, 255, 255, .9); overflow-wrap: anywhere; }

/* Responsive */
.gallery { --per-view: 3; }
@media (max-width: 1023px) {
  :root { --gutter: 28px; }
  .gallery { --per-view: 2; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid { gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --gutter: 22px; --header-h: 76px; }
  .brand img { height: 64px; width: 64px; }
  .section { padding: 60px 0; }
  .section--tight { padding: 52px 0; }
  .hero { min-height: 560px; align-items: flex-end; }
  .hero__media img { object-position: 68% center; }
  .hero::after { background: linear-gradient(0deg, rgba(10,22,42,.96) 0%, rgba(17,34,61,.82) 45%, rgba(17,34,61,.15) 100%); }
  .hero__content { padding-top: 200px; padding-bottom: 40px; }
  .hero__lead { font-size: 17px; }
  .counters { gap: 8px; margin-top: 22px; }
  .counter-card { flex: 1 1 92px; max-width: none; padding: 14px 6px 12px; }
  .counter-card .counter-card__num, .about__text .counter-card .counter-card__num { font-size: 30px; }
  .counter-card .counter-card__label, .about__text .counter-card .counter-card__label { font-size: 12.5px; margin-top: 7px; }
  .strip__inner { grid-template-columns: 1fr; padding-top: 6px; padding-bottom: 6px; }
  .strip__item { padding: 16px 0; }
  .strip__item + .strip__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.28); }
  .gallery { --per-view: 1; }
  .gallery__arrow--prev { left: 14px; }
  .gallery__arrow--next { right: 14px; }
  .cards { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .follow { padding: 20px; gap: 16px; }
  .follow__title { border: 0; padding: 0; width: 100%; text-align: center; font-size: 20px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .form { padding: 22px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .reviews__head { align-items: flex-start; gap: 16px; }
  .reviews__g { width: 44px; height: 44px; padding: 9px; }
  .map { min-height: 300px; }
  .map__pending { flex-direction: column; text-align: center; }
  .map__card { left: var(--gutter); right: var(--gutter); }
  .lightbox__inner { padding: 64px 12px 72px; }
  .lightbox__nav { top: auto; bottom: 12px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__logo img { width: 150px; }
  .footer__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Inner pages (privacy) */
.legal { padding: 64px var(--gutter) 88px; max-width: calc(760px + var(--gutter) * 2); }
.legal h1 { font-size: clamp(32px, 4vw, 44px); color: var(--navy); letter-spacing: -.02em; margin-bottom: 8px; }
.legal h2 { font-size: 20px; color: var(--navy); margin: 32px 0 8px; }
.legal p { margin-bottom: 10px; white-space: pre-line; }

/* Language switcher */
.header__lang { flex: none; }
.lang { display: flex; gap: 2px; }
.lang--codes { padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.lang--codes a { min-width: 40px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.lang--codes a:hover { background: var(--bg); }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
.lang--names { margin: 14px 0 4px; flex-direction: column; gap: 8px; }
.lang--names a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }
.lang__code { font-weight: 800; letter-spacing: .04em; }

/* Service page */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #17305a 58%, var(--blue-2) 100%); color: #fff; padding: 44px 0 64px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.025em; font-weight: 700; max-width: 860px; overflow-wrap: anywhere; }
.page-hero__lead { margin: 18px 0 30px; max-width: 640px; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.92); }
.crumbs { margin-bottom: 30px; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin: 0 10px; color: rgba(255,255,255,.55); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.service-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.service-detail__media { margin: 0; }
.service-detail__img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.service-detail__media figcaption { margin-top: 10px; font-size: 13px; }
.service-detail__text p { font-size: 18px; line-height: 1.75; color: var(--graphite); margin-bottom: 20px; overflow-wrap: break-word; hyphens: auto; }
.service-detail__text p:first-child { color: var(--navy); font-size: 19px; }
.cta-band { background: var(--blue); color: #fff; padding: 40px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; line-height: 1.2; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; }
.section__title--md { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 28px; }
.back-link { margin-top: 24px; }
.back-link a { font-weight: 600; }
.service-page .cards { margin-top: 0; }

@media (max-width: 1279px) {
  .social--header { display: none; }
  .header__inner { gap: 20px; }
  .nav__list { gap: 22px; }
}
@media (max-width: 1023px) {
  .service-detail__grid { gap: 36px; }
}
@media (max-width: 767px) {
  .page-hero { padding: 28px 0 44px; }
  .page-hero__lead { font-size: 17px; }
  .crumbs { margin-bottom: 20px; }
  .service-detail__grid { grid-template-columns: 1fr; gap: 28px; }
  .service-detail__text p, .service-detail__text p:first-child { font-size: 17px; }
  .cta-band { padding: 32px 0; }
  .cta-band .btn { width: 100%; }
  .header__lang { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .lang--codes a { min-width: 34px; min-height: 34px; }
  .brand img { height: 64px; width: 64px; }
}

/* Header: PT/ES labels are longer, so the full desktop header needs >= 1200px; below that the menu collapses. */
@media (max-width: 1199px) {
  .nav, .header__cta, .social--header { display: none; }
  .header__lang { margin-left: auto; }
  .nav-toggle { display: inline-flex; margin-left: 0; }
  .mobile-menu:not([hidden]) { display: block; }
}

/* ---------- Motion: subtle and optional (all of it is off with prefers-reduced-motion) ---------- */
@keyframes hero-drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.05) translate3d(-.4%, -.25%, 0); } }
@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* Hero: very slow zoom of the photo on desktop (still on phones); title, text and button rise in with short gaps so the button is there quickly */
.hero__media img { transform-origin: 70% 50%; animation: hero-drift 30s ease-in-out infinite alternate; will-change: transform; }
.hero__content h1, .hero__lead, .hero__content .btn { animation: rise-in .5s cubic-bezier(.22, .61, .36, 1) backwards; }
.hero__content h1 { animation-delay: .02s; }
.hero__lead { animation-delay: .1s; }
.hero__content .btn { animation-delay: .18s; }
@media (max-width: 767px) { .hero__media img { animation: none; will-change: auto; } }

/* Sections appear while scrolling (classes are added by site.js only to blocks that start below the fold) */
.reveal { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .45s cubic-bezier(.22, .61, .36, 1), transform .45s cubic-bezier(.22, .61, .36, 1); transition-delay: calc(var(--rv, 0) * 50ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Service cards: photo zooms slightly on hover (devices with a real pointer only) */
.card__img { transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
@media (hover: hover) { .card:hover .card__img { transform: scale(1.04); } }

/* Gallery: smooth slide; photos that are not in view are only slightly lighter and smaller, so they ease into place */
.gallery__track { transition-duration: .5s; transition-timing-function: cubic-bezier(.65, 0, .35, 1); }
.gallery__track.is-dragging { transition: none; }
.gallery__slide { transition: opacity .5s ease, transform .5s cubic-bezier(.65, 0, .35, 1); }
.gallery__slide[aria-hidden="true"] { opacity: .75; transform: scale(.98); }
.gallery__viewport { cursor: grab; }
.gallery__viewport.is-grabbing { cursor: grabbing; }
.gallery__open img { -webkit-user-drag: none; user-select: none; }

/* Photo viewer: full-screen overlay with a gentle open, smooth photo change and an optional browser full screen */
.lightbox[open] { animation: fade-in .3s ease; }
.lightbox[open]::backdrop { animation: fade-in .3s ease; }
.lightbox[open] .lightbox__figure { animation: pop-in .35s cubic-bezier(.22, .61, .36, 1); }
.lightbox__figure img { transition: opacity .3s ease; }
.lightbox__figure img.is-loading { opacity: 0; }
.lightbox__full { position: absolute; top: 12px; right: 68px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__full:hover { background: rgba(255, 255, 255, .28); }
.lightbox__full .icon--exit { display: none; }
.lightbox__full[aria-pressed="true"] .icon--enter { display: none; }
.lightbox__full[aria-pressed="true"] .icon--exit { display: block; }
.lightbox__inner:fullscreen { background: #08101e; padding: 40px 72px; }
.lightbox__inner:fullscreen .lightbox__figure img { max-height: calc(100vh - 110px); }

@media print { .reveal { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .card:hover .card__img { transform: none; }
  .gallery__open:hover img { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .gallery__slide[aria-hidden="true"] { opacity: 1; transform: none; }
}
