/* ==========================================================
   Ocean's Bureau — estilos corporativos
   ========================================================== */
:root {
  --navy-900: #041a31;
  --navy-800: #06213d;
  --navy-700: #0a2f55;
  --brand-700: #054577;   /* texto del logo */
  --brand-500: #4f98d3;   /* azul del isotipo */
  --brand-100: #e6f1fa;
  --accent: #ff6b1a;      /* naranja de seguridad, como los chalecos */
  --accent-600: #e85a0c;
  --ink: #0d1b2a;
  --ink-2: #44546a;
  --line: #dfe6ee;
  --paper: #ffffff;
  --sand: #f5f8fb;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(4, 26, 49, .06), 0 12px 32px -12px rgba(4, 26, 49, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::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(--ink); background: var(--paper);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand-500); }
.eyebrow--light { color: #cfe4f6; }
.hero .eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(255, 107, 26, .25); }
.h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin-bottom: 20px; text-wrap: balance; }
.h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin-bottom: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 107, 26, .7); }
.btn--accent:hover { background: var(--accent-600); transform: translateY(-1px); }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--brand-700); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-700); text-decoration: none; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow svg { transition: transform .2s var(--ease); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, box-shadow .3s, height .3s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; position: relative; height: 64px; width: 154px; }
.header.is-solid .brand { height: 56px; width: 135px; }
.brand, .header.is-solid .brand { transition: height .3s, width .3s; }
.brand__logo { position: absolute; inset: 0; height: 100%; width: auto; transition: opacity .3s; }
.brand__logo--dark { opacity: 0; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; }
.nav__list a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; transition: color .2s; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .25s var(--ease); }
.nav__list a:hover::after, .nav__list a.is-active::after { right: 0; }

.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .06em; }
.lang__item { padding: 6px 9px; border-radius: 999px; color: rgba(255, 255, 255, .75); text-decoration: none; transition: background .2s, color .2s; }
a.lang__item:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.lang__item.is-current { background: #fff; color: var(--navy-800); }
.header.is-solid .lang { border-color: var(--line); }
.header.is-solid .lang__item { color: var(--ink-2); }
.header.is-solid a.lang__item:hover { color: var(--ink); background: var(--sand); }
.header.is-solid .lang__item.is-current { background: var(--navy-800); color: #fff; }

.header.is-solid { background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); --header-h: 68px; }
.header.is-solid .brand__logo--light { opacity: 0; }
.header.is-solid .brand__logo--dark { opacity: 1; }
.header.is-solid .nav__list a { color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.header.is-solid .burger span { background: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 960px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(4, 26, 49, .92) 0%, rgba(4, 26, 49, .7) 42%, rgba(4, 26, 49, .15) 100%),
  linear-gradient(0deg, rgba(4, 26, 49, .9) 0%, rgba(4, 26, 49, 0) 40%); }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 64px); padding-bottom: 56px; }
.hero__title { font-size: clamp(40px, 6.4vw, 78px); font-weight: 800; max-width: 15ch; margin-bottom: 24px; letter-spacing: -.035em; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--brand-500); }
.hero__lead { max-width: 56ch; font-size: clamp(17px, 1.6vw, 20px); color: #d6e4f0; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__content > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__content > :nth-child(3) { animation-delay: .2s; }
.hero__content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__stats { position: relative; border-top: 1px solid rgba(255, 255, 255, .15); background: rgba(4, 26, 49, .55); backdrop-filter: blur(10px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 20px; border-left: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: 2px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.stat__label { font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #a9c3da; }

/* ---------- standards ---------- */
.standards { border-bottom: 1px solid var(--line); background: var(--paper); }
.standards__inner { display: flex; align-items: center; gap: 40px; padding-block: 26px; flex-wrap: wrap; justify-content: space-between; }
.standards__label { margin: 0; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); max-width: 22ch; }
.standards__list { display: flex; align-items: center; gap: clamp(20px, 4vw, 52px); flex-wrap: wrap; }
.standards__list li { font-weight: 800; font-size: 22px; color: #8597ab; letter-spacing: -.01em; transition: color .2s; }
.standards__list li:hover { color: var(--brand-700); }
.standards__list img { height: 34px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.standards__list li:hover img { filter: none; opacity: 1; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about__badge {
  position: absolute; right: -24px; bottom: 40px; background: var(--navy-800); color: #fff;
  padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 220px;
}
.about__badge strong { display: block; font-size: 24px; line-height: 1.1; }
.about__badge span { font-size: 14px; color: #b9d0e4; }
.about__badge::before { content: ""; display: block; width: 32px; height: 4px; background: var(--accent); border-radius: 4px; margin-bottom: 12px; }
.about__text p { color: var(--ink-2); }
.about__text .lead { color: var(--ink); }
.checks { margin: 24px 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23054577' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}

.iso { margin: 4px 0 28px; }
.iso__title { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--brand-700) !important; margin-bottom: 12px; }
.iso__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.iso__item { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-top: 3px solid var(--brand-500); border-radius: 12px; background: var(--paper); }
.iso__item:nth-child(2) { border-top-color: #3aa76d; }
.iso__item:nth-child(3) { border-top-color: var(--accent); }
.iso__code { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.iso__code b { display: block; font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.iso__area { font-size: 13px; line-height: 1.35; color: var(--ink-2); }

/* ---------- services / tabs ---------- */
.services { background: var(--sand); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--light { color: #fff; }

.tabs__list {
  display: flex; gap: 4px; padding: 6px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list [role="tab"] {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 700 14px/1.2 var(--font); color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s;
}
.tabs__list [role="tab"] svg { width: 18px; height: 18px; }
@media (min-width: 921px) {
  .tabs__list { display: grid; grid-template-columns: repeat(6, 1fr); border-radius: 20px; overflow: visible; }
  .tabs__list [role="tab"] { flex-direction: column; gap: 10px; padding: 18px 10px; border-radius: 14px; white-space: normal; text-align: center; line-height: 1.3; }
  .tabs__list [role="tab"] svg { width: 22px; height: 22px; }
}
.tabs__list [role="tab"]:hover { color: var(--ink); background: var(--sand); }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--navy-800); color: #fff; }

.panel {
  display: grid; grid-template-columns: 5fr 7fr; background: var(--paper); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); min-height: 560px;
}
.panel[hidden] { display: none; }
.panel:not([hidden]) { animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel__media { position: relative; }
.panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__body { padding: clamp(28px, 4vw, 52px); }
.panel__body > p { color: var(--ink-2); }
.panel__kicker { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent-600) !important; margin-bottom: 14px; }
.list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 24px 0 28px; }
.list-grid li { position: relative; padding-left: 20px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.list-grid li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--brand-500); transform: rotate(45deg); }
.note { font-size: 14px; background: var(--brand-100); color: var(--brand-700) !important; padding: 12px 16px; border-radius: 10px; margin-top: -8px; }

/* ---------- why ---------- */
.why { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 152, 211, .22), transparent 65%);
}
.why__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__card {
  padding: 32px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.why__card:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); border-color: rgba(79, 152, 211, .5); }
.why__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-500); margin-bottom: 24px; }
.why__icon svg { width: 26px; height: 26px; color: #fff; }
.why__card h3 { font-size: 20px; margin-bottom: 10px; }
.why__card p { color: #b9cde0; font-size: 15px; margin: 0; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; margin-bottom: 72px; }
.step { position: relative; padding: 28px 28px 0 0; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step__num { display: block; font: 500 14px/1 var(--mono); color: var(--brand-500); margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }

.field { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.field__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.field__img--a { grid-row: span 2; min-height: 420px; }
.field__img--a img { object-position: 30% 0; }
.field__img--b { aspect-ratio: 16/10; }
.field__quote {
  margin: 0; padding: 32px; border-radius: var(--radius-lg); background: var(--brand-100); color: var(--brand-700);
  display: flex; flex-direction: column; justify-content: center;
}
.field__quote p { font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.field__quote cite { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; font-style: normal; }

/* ---------- coverage ---------- */
.coverage { position: relative; color: #fff; padding: clamp(96px, 14vw, 180px) 0; overflow: hidden; }
.coverage__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coverage__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 26, 49, .55), rgba(4, 26, 49, .88)); }
.coverage__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.coverage__text p { color: #d6e4f0; max-width: 46ch; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.office { padding: 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); }
.office__tag { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 12px; }
.office h3 { font-size: 24px; margin-bottom: 10px; }
.office p:last-child { margin: 0; color: #cfdeeb; font-size: 15px; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__list { display: grid; gap: 24px; margin-top: 36px; }
.contact__list li { display: flex; gap: 16px; }
.ci { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-100); color: var(--brand-700); flex: none; }
.contact__list small { display: block; font: 500 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.contact__list a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--brand-700); text-decoration: underline; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: grid; gap: 6px; }
.fld span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.fld input, .fld select, .fld textarea {
  width: 100%; font: 500 16px/1.4 var(--font); color: var(--ink); background: var(--sand);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.fld textarea { resize: vertical; min-height: 110px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 4px rgba(79, 152, 211, .18); }
.fld.is-invalid input, .fld.is-invalid select, .fld.is-invalid textarea { border-color: #d64545; background: #fff6f6; }
.form__msg { margin: 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form__msg.ok { color: #157347; }
.form__msg.err { color: #c03434; }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: #a9bdd1; padding: 72px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { width: 200px; height: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer__bottom p { margin: 0; }

/* ---------- reveal ---------- */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(24px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .coverage__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .burger { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 36px;
    background: var(--navy-900); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav__list { flex-direction: column; align-items: center; gap: 22px; }
  .nav__list a, .header.is-solid .nav__list a { color: #fff; font-size: 24px; font-weight: 700; }
  body.menu-open { overflow: hidden; }
  .header.is-solid .lang { border-color: rgba(255, 255, 255, .3); }
  .header.is-solid .lang__item { color: rgba(255, 255, 255, .75); }
  .header.is-solid .lang__item.is-current { background: #fff; color: var(--navy-800); }
  .lang { font-size: 14px; }
  .lang__item { padding: 8px 14px; }
  body.menu-open .header { backdrop-filter: none; background: transparent; box-shadow: none; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .header .burger span { background: #fff; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open .header .brand__logo--light { opacity: 1; }
  body.menu-open .header .brand__logo--dark { opacity: 0; }
  .brand { z-index: 2; }

  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .about__badge { right: 16px; }
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel__media { aspect-ratio: 16/9; }
  .field { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field__img--a { grid-row: auto; grid-column: span 2; min-height: 0; aspect-ratio: 16/10; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px 12px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .hero__content { padding-bottom: 36px; }
  .hero__shade { background: linear-gradient(0deg, rgba(4, 26, 49, .95) 25%, rgba(4, 26, 49, .6) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .standards__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .standards__list li { font-size: 18px; }
  .tabs__list { border-radius: 16px; }
  .list-grid { grid-template-columns: 1fr; }
  .iso__list { gap: 8px; }
  .iso__item { padding: 12px 10px; }
  .iso__code b { font-size: 20px; }
  .why__grid, .steps, .offices, .form__row { grid-template-columns: 1fr; }
  .field { grid-template-columns: minmax(0, 1fr); }
  .field__img--a { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal.is-pending, .hero__content > * { opacity: 1; transform: none; }
}
