/* ==========================================================================
   شركة الأمواج الزرقاء للمعدات البحرية — Blue Waves Marine Equipment
   style.css  |  Front-end template (ready for ASP.NET Core MVC)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — sampled from the company profile artwork */
  --navy-950: #021A34;
  --navy-900: #02203F;
  --navy-800: #033264;
  --navy-700: #08447E;
  --blue-600: #0B57A8;
  --blue-500: #1268C3;
  --aqua-500: #17A2C4;
  --aqua-400: #35B6D6;
  --aqua-300: #7FD6E8;
  --aqua-100: #DFF3F9;

  --ink: #0A1D2E;
  --body: #43596E;
  --muted: #7189A0;
  --line: #E2E9F0;
  --line-soft: #EFF3F7;
  --surface: #F2F5F8;
  --surface-2: #F8FAFC;
  --white: #FFFFFF;

  /* Typography */
  --f-display: "Noto Kufi Arabic", "Sora", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
  --f-util: "IBM Plex Sans Arabic", system-ui, sans-serif;

  --fs-display: clamp(2rem, 1.15rem + 3.9vw, 4.15rem);
  --fs-h2: clamp(1.5rem, 1.02rem + 2.1vw, 2.65rem);
  --fs-h3: clamp(1.12rem, 0.95rem + 0.75vw, 1.45rem);
  --fs-lead: clamp(0.98rem, 0.9rem + 0.4vw, 1.16rem);
  --fs-body: clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  --fs-sm: clamp(0.8rem, 0.77rem + 0.15vw, 0.875rem);
  --fs-xs: 0.75rem;

  /* Space & shape */
  --gutter: clamp(1rem, 0.5rem + 2.2vw, 2.5rem);
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(3, 50, 100, .06);
  --shadow-md: 0 14px 34px -18px rgba(3, 50, 100, .34);
  --shadow-lg: 0 30px 70px -30px rgba(2, 32, 63, .45);

  --header-h: 82px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img,
svg,
video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
}

button { cursor: pointer; }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 3px solid var(--aqua-400);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--aqua-300); color: var(--navy-900); }

/* Latin typography when the page switches to English */
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] .display { font-family: "Sora", var(--f-display); letter-spacing: -0.02em; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: min(1240px, 100%);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.section { padding-block: var(--section-y); position: relative; }
.section--surface { background: var(--surface-2); }
.section--navy { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.skip-link {
  position: absolute;
  inset-inline-start: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 2000;
  background: var(--navy-800);
  color: #fff;
  padding: .7rem 1.4rem;
  border-radius: 0 0 12px 12px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

/* Section heading block ---------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-util);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--aqua-500);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--aqua-300); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-title { font-size: var(--fs-h2); }
.section-text { font-size: var(--fs-lead); margin-top: 1rem; color: var(--body); }
.section--navy .section-text { color: rgba(255, 255, 255, .74); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .92em 1.7em;
  min-height: 48px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-util);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1;
  position: relative;
  overflow: hidden;
  transition:
    transform .5s cubic-bezier(.2, .75, .3, 1),
    box-shadow .5s cubic-bezier(.2, .75, .3, 1),
    background .45s var(--ease),
    color .45s var(--ease),
    filter .45s var(--ease);
  box-shadow: 0 10px 24px -14px rgba(3, 50, 100, .8);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -18px rgba(3, 50, 100, .78); filter: brightness(1.05); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .icon-arrow { transition: transform .3s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(-4px); }
html[dir="ltr"] .icon-arrow,
html[dir="ltr"] .product__more svg { transform: scaleX(-1); }
html[dir="ltr"] .btn:hover .icon-arrow { transform: scaleX(-1) translateX(-4px); }

.btn--accent { --btn-bg: linear-gradient(120deg, var(--aqua-500), var(--blue-500)); box-shadow: 0 12px 28px -14px rgba(23, 162, 196, .9); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  box-shadow: inset 0 0 0 1.5px rgba(3, 50, 100, .22);
}
.btn--ghost:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-800); }
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
}
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 26, 52, .75), rgba(2, 26, 52, 0));
  pointer-events: none;
  transition: opacity .35s var(--ease);
  z-index: -1;
}
.site-header.is-solid {
  background: rgba(2, 26, 52, .93);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
}
.site-header.is-solid::after { opacity: 0; }

/* Floating buttons must never sit above the open menu */
.fab-stack { transition: opacity .3s var(--ease), visibility .3s; }
body.is-locked .fab-stack { opacity: 0; visibility: hidden; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 2vw, 2rem);
  height: var(--header-h);
  transition: height .35s var(--ease);
}
.site-header.is-solid .nav { height: 70px; }

/* Brand */
.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand__mark {
  width: clamp(38px, 8vw, 46px);
  height: clamp(38px, 8vw, 46px);
  flex: none;
}
.brand__text { display: grid; line-height: 1.25; }
.brand__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(.82rem, .72rem + .4vw, 1.02rem);
  color: #fff;
  white-space: nowrap;
}
.brand__sub {
  font-size: clamp(.58rem, .52rem + .25vw, .7rem);
  letter-spacing: .12em;
  color: var(--aqua-300);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Desktop links */
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(.2rem, 1vw, 1.1rem);
  margin-inline-start: auto;
}
.nav-link {
  position: relative;
  display: block;
  padding: .55rem .55rem;
  font-size: clamp(.8rem, .74rem + .22vw, .92rem);
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: .55rem;
  bottom: .18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--aqua-400);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
html[dir="ltr"] .nav-link::after { transform-origin: left; }
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

/* Actions */
.nav-actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  height: 40px;
  min-width: 82px;
  padding-inline: .85rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background .25s var(--ease);
}
.lang-switch:hover { background: rgba(255, 255, 255, .2); }
.lang-switch svg { width: 17px; height: 17px; }

.nav-cta { padding: .7em 1.25em; min-height: 42px; }

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  place-items: center;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — full-screen panel, identical behaviour in RTL and LTR */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 950;
  width: 100%;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(23, 162, 196, .22), transparent 60%),
    linear-gradient(165deg, #04294D 0%, var(--navy-950) 62%, #01101F 100%);
  padding: calc(1rem + env(safe-area-inset-top, 0px)) var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vh, 1.75rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity .3s var(--ease), transform .36s var(--ease), visibility .36s;
}
.nav-drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(127, 214, 232, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 214, 232, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(90% 60% at 50% 30%, #000, transparent);
  mask-image: radial-gradient(90% 60% at 50% 30%, #000, transparent);
}
.nav-drawer > * { position: relative; }
.nav-drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.drawer-head .brand { pointer-events: none; }
.drawer-close {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  display: grid;
  place-items: center;
}
.drawer-close svg { width: 20px; height: 20px; }

.drawer-list { display: grid; gap: .2rem; }
.drawer-list a {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 56px;
  padding: .85rem .7rem;
  border-radius: 14px;
  color: rgba(255, 255, 255, .88);
  font-family: var(--f-display);
  font-size: clamp(1.05rem, .95rem + .6vw, 1.3rem);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .25s var(--ease), color .25s var(--ease), padding .25s var(--ease);
}
.nav-drawer.is-open .drawer-list a { animation: menuItemIn .5s var(--ease) both; }
.nav-drawer.is-open .drawer-list li:nth-child(1) a { animation-delay: .06s; }
.nav-drawer.is-open .drawer-list li:nth-child(2) a { animation-delay: .11s; }
.nav-drawer.is-open .drawer-list li:nth-child(3) a { animation-delay: .16s; }
.nav-drawer.is-open .drawer-list li:nth-child(4) a { animation-delay: .21s; }
.nav-drawer.is-open .drawer-list li:nth-child(5) a { animation-delay: .26s; }
.nav-drawer.is-open .drawer-list li:nth-child(6) a { animation-delay: .31s; }
@keyframes menuItemIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.drawer-list a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aqua-400);
  opacity: .5;
  flex: none;
}
.drawer-list a:hover, .drawer-list a.is-active { background: rgba(255, 255, 255, .09); color: #fff; padding-inline-start: 1.1rem; }
.drawer-list a.is-active::before { opacity: 1; box-shadow: 0 0 0 4px rgba(53, 182, 214, .18); }

.drawer-foot {
  margin-top: auto;
  display: grid;
  gap: .9rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.drawer-contact { display: grid; gap: .5rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); }
.drawer-contact a { display: flex; gap: .6rem; align-items: center; }
.drawer-contact svg { width: 16px; height: 16px; color: var(--aqua-400); flex: none; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: rgba(2, 26, 52, .6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.overlay.is-visible { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   6. Hero — fixed 100svh stage, identical in Arabic and English
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;               /* fallback */
  height: 100svh;              /* stable on mobile: ignores the URL bar */
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(1.25rem, 3.5vw, 2.5rem));
  padding-bottom: clamp(5.5rem, 9vw, 8rem);
  background: var(--navy-950);
  color: rgba(255, 255, 255, .82);
  overflow: hidden;
  isolation: isolate;
}

/* Slides — a slow lateral drift, never a zoom */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  background: var(--navy-950);
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  filter: saturate(1.04) contrast(1.02);
  transition: opacity 1.5s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
}
.hero__slide.is-active {
  opacity: 1;
  animation: heroPan 8s linear forwards;
}
@keyframes heroPan {
  from { transform: scale(1.06) translate3d(-1.4%, 0, 0); }
  to   { transform: scale(1.06) translate3d(1.4%, 0, 0); }
}

/* Shading — four quiet layers instead of one flat wash */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(to bottom,
      rgba(1, 18, 36, .80) 0%,
      rgba(1, 18, 36, .18) 24%,
      rgba(1, 18, 36, .08) 55%,
      rgba(1, 18, 36, .46) 85%,
      rgba(1, 18, 36, .80) 100%),
    linear-gradient(to left,
      rgba(1, 18, 36, .80) 0%,
      rgba(1, 18, 36, .42) 34%,
      rgba(1, 18, 36, .02) 70%,
      rgba(1, 18, 36, .10) 100%);
}
html[dir="ltr"] .hero__veil {
  background:
    linear-gradient(to bottom,
      rgba(1, 18, 36, .80) 0%,
      rgba(1, 18, 36, .18) 24%,
      rgba(1, 18, 36, .08) 55%,
      rgba(1, 18, 36, .46) 85%,
      rgba(1, 18, 36, .80) 100%),
    linear-gradient(to right,
      rgba(1, 18, 36, .80) 0%,
      rgba(1, 18, 36, .42) 34%,
      rgba(1, 18, 36, .02) 70%,
      rgba(1, 18, 36, .10) 100%);
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(112% 80% at 50% 42%, rgba(1, 18, 36, 0) 50%, rgba(1, 18, 36, .34) 100%);
}

/* Blueprint depth grid — the signature texture of the whole site */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .4;
  background-image:
    linear-gradient(rgba(127, 214, 232, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 214, 232, .09) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(78% 66% at 50% 40%, #000 18%, transparent 100%);
  mask-image: radial-gradient(78% 66% at 50% 40%, #000 18%, transparent 100%);
}

.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 45rem; }

/* Staged entrance — one orchestrated sequence, not scattered effects */
.hero.js-anim .hero__content > * { opacity: 0; transform: translateY(20px); }
.hero.js-anim.is-ready .hero__content > * { animation: heroIn .95s cubic-bezier(.2, .75, .3, 1) both; }
.hero.js-anim.is-ready .hero__badge   { animation-delay: .08s; }
.hero.js-anim.is-ready .hero__title   { animation-delay: .2s; }
.hero.js-anim.is-ready .hero__text    { animation-delay: .34s; }
.hero.js-anim.is-ready .hero__actions { animation-delay: .46s; }
.hero.js-anim.is-ready .hero__meta    { animation-delay: .58s; }
.hero.js-anim.is-ready .hero__ticks   { animation-delay: .72s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .48rem 1.05rem .48rem .72rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(127, 214, 232, .32);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #fff;
  margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
}
.hero__badge b { color: var(--aqua-300); font-weight: 700; letter-spacing: .04em; }
.hero__badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--aqua-400);
  box-shadow: 0 0 0 0 rgba(53, 182, 214, .7);
  animation: pulse 2.6s infinite;
  flex: none;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 11px rgba(53, 182, 214, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 182, 214, 0); }
}

.hero__title {
  font-size: var(--fs-display);
  color: #fff;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 30px rgba(1, 16, 33, .45);
}
.hero__title .accent {
  background: linear-gradient(100deg, var(--aqua-300), #6FD3EC 40%, #A7E4F5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__text {
  font-size: var(--fs-lead);
  max-width: 38rem;
  margin-top: clamp(.9rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, .75);
  text-shadow: 0 1px 18px rgba(1, 16, 33, .5);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.4rem, 3vw, 2.1rem);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3.5vw, 2.6rem);
  margin-top: clamp(1.6rem, 3.5vw, 2.8rem);
  padding-top: clamp(1.1rem, 2.4vw, 1.7rem);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__meta div { min-width: 92px; }
.hero__meta dt {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, .9rem + 1.1vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.hero__meta dd { font-size: var(--fs-xs); letter-spacing: .06em; color: var(--aqua-300); }

.hero__ticks { display: flex; gap: .45rem; margin-top: clamp(1.2rem, 2.6vw, 2rem); }
.hero__tick {
  width: clamp(28px, 5vw, 48px);
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}
.hero__tick i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--aqua-400), var(--aqua-300));
}
.hero__tick.is-active i { animation: tickFill 5600ms linear forwards; }
@keyframes tickFill { from { width: 0; } to { width: 100%; } }

/* Trust strip — overlaps the straight hero edge */
.trust {
  position: relative;
  z-index: 3;
  margin-top: clamp(-4.5rem, -6vw, -2.75rem);
}
.trust__inner {
  background-image: linear-gradient(115deg, var(--navy-800), var(--navy-700) 55%, var(--blue-600));
  border-radius: var(--r-lg);
  box-shadow: 0 34px 70px -34px rgba(1, 20, 40, .75), inset 0 0 0 1px rgba(255, 255, 255, .07);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: clamp(1rem, 2vw, 1.6rem) clamp(.85rem, 1.6vw, 1.45rem);
  color: rgba(255, 255, 255, .9);
  border-inline-end: 1px solid rgba(255, 255, 255, .12);
  transition: background .35s var(--ease);
}
.trust__item:hover { background: rgba(255, 255, 255, .06); }
.trust__item:last-child { border-inline-end: 0; }
.trust__item svg { width: 30px; height: 30px; flex: none; color: var(--aqua-300); }
.trust__item span { font-size: var(--fs-sm); font-weight: 500; line-height: 1.5; }

/* Short viewports: drop the least important block rather than overflow */
@media (max-height: 780px) {
  .hero__meta { display: none; }
}
@media (max-height: 620px) {
  .hero { padding-bottom: clamp(4rem, 8vw, 6rem); }
  .hero__ticks { display: none; }
  .hero__badge { margin-bottom: .7rem; }
}
@media (max-height: 520px) {
  .hero__title { font-size: clamp(1.5rem, 1rem + 2.2vw, 2.1rem); }
  .hero__text { display: none; }
  .hero__actions { margin-top: 1.1rem; }
  .hero { padding-bottom: 3rem; }
}

/* --------------------------------------------------------------------------
   7. About
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about__media { position: relative; }
.about__figure {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  aspect-ratio: 4 / 3.4;
}
.about__figure img { width: 100%; height: 100%; object-fit: cover; }

.about__stamp {
  position: absolute;
  inset-inline-end: clamp(-8px, -1vw, 0px);
  bottom: clamp(-18px, -2vw, -10px);
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: .1rem;
  min-width: 168px;
  border: 1px solid var(--line);
}
.about__stamp b {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  color: var(--navy-800);
  line-height: 1.2;
}
.about__stamp span { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .05em; }

.about__body p + p { margin-top: 1rem; }
.about__list { display: grid; gap: .85rem; margin-top: 1.8rem; }
.about__list li { display: flex; gap: .8rem; align-items: flex-start; font-size: var(--fs-body); color: var(--ink); font-weight: 500; }
.about__list svg {
  width: 22px; height: 22px;
  flex: none;
  color: var(--aqua-500);
  margin-top: .2rem;
}
.about__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* Pillars: vision / mission / values ---------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--aqua-400), var(--blue-500));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
html[dir="ltr"] .pillar::before { transform-origin: left; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--aqua-100);
  color: var(--navy-800);
  margin-bottom: 1.2rem;
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: var(--fs-h3); margin-bottom: .6rem; }
.pillar p { font-size: var(--fs-sm); }
.pillar__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.pillar__tags span {
  font-size: var(--fs-xs);
  padding: .3rem .75rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--navy-800);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   8. Services
   -------------------------------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.service::after {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  top: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 182, 214, .16), transparent 68%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service:hover::after { opacity: 1; }
.service__num {
  font-family: var(--f-util);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--aqua-500);
}
.service__icon {
  width: 52px; height: 52px;
  color: var(--navy-800);
  margin: .9rem 0 1.1rem;
}
.service__icon svg { width: 100%; height: 100%; }
.service h3 { font-size: var(--fs-h3); margin-bottom: .55rem; }
.service p { font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   9. Products
   -------------------------------------------------------------------------- */
.products__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.filters {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  flex-wrap: nowrap;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .35rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { height: 4px; }
.filters::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.filter {
  flex: none;
  padding: .6rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--body);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: all .25s var(--ease);
}
.filter:hover { color: var(--navy-800); box-shadow: inset 0 0 0 1px var(--aqua-400); }
.filter.is-active {
  background: var(--navy-800);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--navy-800);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product.is-hidden { display: none; }

.product__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(rgba(3, 50, 100, .05) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, rgba(3, 50, 100, .05) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(150deg, #eef4fa, #dceaf5);
  overflow: hidden;
}
.product__thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8%;
  transition: transform .5s var(--ease);
}
.product:hover .product__thumb img { transform: scale(1.06); }
.product__tag {
  position: absolute;
  top: .8rem;
  inset-inline-start: .8rem;
  background: rgba(3, 50, 100, .9);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.product__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; gap: .55rem; }
.product__name { font-size: 1.03rem; line-height: 1.4; }
.product__desc {
  font-size: var(--fs-sm);
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.product__swatches { display: flex; align-items: center; gap: .35rem; margin-top: .1rem; }
.swatch-dot {
  width: 17px; height: 17px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(10, 29, 46, .18), 0 1px 3px rgba(10, 29, 46, .18);
}
.product__swatches small { font-size: var(--fs-xs); color: var(--muted); margin-inline-start: .2rem; }
.product__more {
  margin-top: auto;
  padding-top: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--f-util);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-800);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.product__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.product:hover .product__more { color: var(--aqua-500); gap: .75rem; }

.products__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
}
.products__empty.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   10. Product modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(.75rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 26, 52, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal__dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: 90vh;
  max-height: min(92svh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.97);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .35s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; opacity: 1; }

.modal__close {
  position: absolute;
  top: .9rem;
  inset-inline-end: .9rem;
  z-index: 4;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  color: var(--navy-800);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.modal__close:hover { background: var(--navy-800); color: #fff; transform: rotate(90deg); }
.modal__close svg { width: 20px; height: 20px; }

.modal__grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal__media {
  background:
    linear-gradient(rgba(3, 50, 100, .06) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(3, 50, 100, .06) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(160deg, #eef4fa, #d9e8f4);
  display: grid;
  place-items: center;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  min-height: 260px;
}
.modal__media img { width: 100%; max-height: 380px; object-fit: contain; }

.modal__content { padding: clamp(1.4rem, 3.5vw, 2.6rem); display: grid; align-content: start; gap: 1rem; }
.modal__cat {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--aqua-500);
  text-transform: uppercase;
}
.modal__title { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); }
.modal__desc { font-size: var(--fs-body); }

.modal__block-title {
  font-family: var(--f-util);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .7rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.modal__block-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.colors { display: flex; flex-wrap: wrap; gap: .55rem; }
.color-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .9rem .4rem .5rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
}
.color-chip .sq {
  width: 20px; height: 20px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(10, 29, 46, .2);
  flex: none;
}

.specs { display: grid; gap: .1rem; }
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: var(--fs-sm);
}
.specs li:last-child { border-bottom: 0; }
.specs b { color: var(--ink); font-weight: 600; }
.specs span { color: var(--muted); text-align: end; }

.modal__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }

/* --------------------------------------------------------------------------
   11. Why us + counters
   -------------------------------------------------------------------------- */
.why { position: relative; overflow: hidden; }
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 214, 232, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 214, 232, .07) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent);
}
.why > .container { position: relative; z-index: 1; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.why__card {
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.why__card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-5px); }
.why__card svg { width: 34px; height: 34px; color: var(--aqua-300); margin-bottom: 1rem; }
.why__card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.why__card p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .68); }

.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3.2rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
}
.counter b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.counter span { font-size: var(--fs-sm); color: var(--aqua-300); }

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band { padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta-band__inner {
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background: linear-gradient(115deg, var(--navy-800), var(--blue-600) 60%, var(--aqua-500));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band__inner::after {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  bottom: -90px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
}
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); position: relative; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: .5rem; max-width: 46ch; position: relative; }
.cta-band .btn { position: relative; }

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label .req { color: #d9534f; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { min-height: 48px; cursor: pointer; }
.field input::placeholder,
.field textarea::placeholder { color: #9CADBE; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--aqua-400);
}
.field.has-error input,
.field.has-error textarea { box-shadow: inset 0 0 0 2px #E5534B; }
.field .error-msg { font-size: var(--fs-xs); color: #D24B43; min-height: 1em; }

.form-note { font-size: var(--fs-xs); color: var(--muted); margin-top: .9rem; }
.form-status {
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #E7F7F0; color: #12694A; box-shadow: inset 0 0 0 1px #B7E6D2; }
.form-status--err { background: #FDECEA; color: #A32C24; box-shadow: inset 0 0 0 1px #F5C6C2; }

.info-list { display: grid; gap: .9rem; }
.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.info-card__icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--aqua-100);
  color: var(--navy-800);
}
.info-card__icon svg { width: 21px; height: 21px; }
.info-card h3 { font-size: .98rem; margin-bottom: .2rem; }
.info-card p, .info-card a { font-size: var(--fs-sm); color: var(--body); }
.info-card a:hover { color: var(--aqua-500); }
.info-card .ltr { direction: ltr; display: inline-block; unicode-bidi: isolate; }

.map-frame {
  margin-top: 1rem;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--surface);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .68); position: relative; }
.footer-wave { display: block; width: 100%; height: clamp(46px, 6vw, 84px); fill: var(--navy-950); background: var(--surface-2); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.6rem, 3vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3.4rem);
}
.footer h3 {
  font-size: .98rem;
  color: #fff;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer h3::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 34px; height: 2px;
  background: var(--aqua-400);
  border-radius: 2px;
}
.footer__about p { font-size: var(--fs-sm); margin-top: 1rem; }
.footer__brand { display: flex; align-items: center; gap: .7rem; }

.footer__links { display: grid; gap: .55rem; }
.footer__links a {
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.footer__links a::before { content: "—"; color: var(--aqua-400); opacity: .6; }
.footer__links a:hover { color: #fff; gap: .75rem; }

.footer__contact { display: grid; gap: .8rem; font-size: var(--fs-sm); }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--aqua-400); flex: none; margin-top: .35rem; }

.socials { display: flex; gap: .55rem; margin-top: 1.2rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: var(--aqua-500); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: .8rem 1rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #fff;
  font-size: var(--fs-sm);
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter button {
  width: 48px;
  border-radius: var(--r-sm);
  background: var(--aqua-500);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .25s var(--ease);
}
.newsletter button:hover { background: var(--blue-500); }
.newsletter svg { width: 19px; height: 19px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  font-size: var(--fs-xs);
}
.footer__bottom a:hover { color: var(--aqua-300); }

/* --------------------------------------------------------------------------
   15. Floating actions
   -------------------------------------------------------------------------- */
.fab-stack {
  position: fixed;
  inset-inline-end: clamp(.85rem, 2.5vw, 1.6rem);
  bottom: clamp(.85rem, 2.5vw, 1.6rem);
  z-index: 880;
  display: grid;
  gap: .6rem;
  justify-items: center;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(2, 26, 52, .6);
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab svg { width: 26px; height: 26px; }
.fab--wa { background: #25D366; }
.fab--top { background: var(--navy-800); opacity: 0; visibility: hidden; }
.fab--top svg { width: 20px; height: 20px; }
.fab--top.is-visible { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   16. Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-cta { display: none; }
}

@media (max-width: 1140px) {
  .nav-list { gap: .1rem; }
  .nav-link { font-size: .8rem; padding-inline: .4rem; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav-list, .nav-cta { display: none; }
  .burger { display: grid; }
  .nav-actions { margin-inline-start: auto; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; max-width: 620px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .trust__inner { grid-template-columns: repeat(3, 1fr); }
  .trust__item:nth-child(3) { border-inline-end: 0; }
  .trust__item:nth-child(n + 4) { border-top: 1px solid rgba(255, 255, 255, .12); }
}

@media (max-width: 860px) {
  .modal__grid { grid-template-columns: 1fr; }
  .modal__media { min-height: 220px; }
  .modal__media img { max-height: 260px; }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
}

@media (max-width: 680px) {
  .hero__veil,
  html[dir="ltr"] .hero__veil {
    background: linear-gradient(to bottom, rgba(1, 18, 36, .86), rgba(1, 18, 36, .5) 45%, rgba(1, 18, 36, .9));
  }
  .hero__slide { background-position: 56% center; }
  .hero__meta { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__item { border-inline-end: 1px solid rgba(255, 255, 255, .12); }
  .trust__item:nth-child(2n) { border-inline-end: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .products__grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
}

@media (max-width: 480px) {
  :root { --header-h: 66px; }
  body { line-height: 1.78; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__item { border-inline-end: 0; }
  .trust__item + .trust__item { border-top: 1px solid rgba(255, 255, 255, .12); }
  .products__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .about__stamp { position: static; margin-top: 1rem; width: 100%; }
  .modal__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  :root { --gutter: .85rem; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: .78rem; }
  .brand__sub { font-size: .54rem; letter-spacing: .08em; }
  .lang-switch { padding-inline: .6rem; height: 38px; min-width: 44px; }
  .lang-switch span { display: none; }
  .burger { width: 44px; height: 44px; }
  .drawer-list a { min-height: 52px; font-size: 1.02rem; }
  .drawer-head .brand__sub { display: none; }
  .counters { grid-template-columns: 1fr; }
  .fab { width: 48px; height: 48px; }
}

@media (max-width: 340px) {
  .site-header .brand__text { display: none; }
  .drawer-list a { min-height: 48px; }
}

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

@media print {
  .site-header, .fab-stack, .modal, .nav-drawer, .overlay { display: none !important; }
  body { color: #000; }
}
