/* =========================================================
   Deltamedix Holding L.L.C. — Stylesheet
   Palette derived from the brand logo (blue → cyan gradient + silver)
   ========================================================= */

:root {
  --navy:      #07335a;
  --blue:      #0a4d7c;
  --blue-2:    #1577b8;
  --cyan:      #2ca6e0;
  --cyan-soft: #6fcbf0;
  --silver:    #8a9ba8;
  --silver-lt: #c6d3dd;

  --ink:       #0e2435;
  --body:      #4a5b69;
  --muted:     #7c8a97;
  --line:      #e3ebf2;

  --bg:        #ffffff;
  --bg-soft:   #f4f8fc;
  --bg-soft-2: #eaf3fb;

  --grad:      linear-gradient(135deg, #0a4d7c 0%, #1577b8 45%, #2ca6e0 100%);
  --grad-soft: linear-gradient(135deg, #eaf3fb 0%, #f4f8fc 100%);
  --grad-text: linear-gradient(120deg, #1577b8, #2ca6e0);

  --shadow-sm: 0 4px 14px rgba(10, 77, 124, .07);
  --shadow:    0 14px 40px rgba(10, 77, 124, .12);
  --shadow-lg: 0 30px 70px rgba(10, 77, 124, .18);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --container:  1200px;
  --ease:       cubic-bezier(.22, .61, .36, 1);

  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--alt { background: var(--bg-soft); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *{ animation: none !important; transition: none !important; }
  [data-reveal]{ opacity: 1; transform: none; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 1000; transition: width .1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(21, 119, 184, .35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(21, 119, 184, .45); }
.btn--ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--cyan); color: var(--cyan); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn--outline-white:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
  position: relative; padding-left: 30px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 2px; background: var(--grad-text); border-radius: 2px;
}
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head .eyebrow { padding-left: 0; }
.section__head .eyebrow::before { display: none; }
.section__title { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.01em; }
.section__sub { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* =========================================================
   Top bar
   ========================================================= */
.topbar {
  background: var(--navy); color: rgba(255,255,255,.82);
  font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.topbar__left { display: flex; gap: 26px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar__item .ico { font-size: 15px; color: var(--cyan-soft); }
.topbar__item:hover { color: #fff; }
.topbar__right { display: flex; gap: 6px; }
.topbar__social {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  font-size: 15px; transition: background .2s, color .2s, transform .2s;
}
.topbar__social:hover { background: var(--cyan); color: #fff; transform: translateY(-2px); }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, padding .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; transition: height .3s; }
.header.scrolled .header__inner { height: 66px; }
.brand__logo { height: 46px; width: auto; transition: height .3s; }
.header.scrolled .brand__logo { height: 40px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--ink);
  padding: 9px 15px; border-radius: 10px; position: relative; transition: color .2s, background .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--grad-text); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--cyan); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--blue); }
.nav__cta { margin-left: 10px; }
.nav__cta::after { display: none; }

.header__actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.lang__btn { color: var(--muted); padding: 4px 6px; border-radius: 6px; transition: color .2s, background .2s; }
.lang__btn.active { color: #fff; background: var(--grad); }
.lang__sep { color: var(--silver-lt); }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 12px; }
.burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; background: var(--grad-soft); }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.blob--1 { width: 520px; height: 520px; background: radial-gradient(circle, #6fcbf0, transparent 70%); top: -160px; right: -120px; }
.blob--2 { width: 460px; height: 460px; background: radial-gradient(circle, #b9def5, transparent 70%); bottom: -180px; left: -120px; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10,77,124,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(10,77,124,.05) 1px, transparent 1px);
  background-size: 46px 46px; -webkit-mask-image: radial-gradient(circle at 60% 30%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 60% 30%, #000, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--blue);
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; padding: 8px 16px;
  border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(44,166,224,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(44,166,224,.55);} 70%{box-shadow:0 0 0 11px rgba(44,166,224,0);} 100%{box-shadow:0 0 0 0 rgba(44,166,224,0);} }

.hero__title { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.02em; margin: 22px 0 20px; }
.hero__title span { display: block; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { font-size: 18px; max-width: 540px; color: var(--body); }
.hero__cta { display: flex; gap: 14px; margin: 30px 0 32px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.trust-item .ico { font-size: 20px; color: var(--cyan); }

/* Hero visual */
.hero__visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-card--main {
  position: relative; width: 330px; max-width: 100%; background: #fff; border-radius: var(--radius-lg);
  padding: 48px 36px; text-align: center; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  z-index: 2;
}
.hero-card__ring {
  position: absolute; inset: -2px; border-radius: var(--radius-lg); padding: 2px;
  background: conic-gradient(from 0deg, var(--cyan), var(--blue), var(--cyan-soft), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-card__logo { width: 200px; margin: 0 auto 18px; }
.hero-card__slogan { font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: 15px; }

.float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px; z-index: 3; border: 1px solid var(--line);
  animation: floaty 5s ease-in-out infinite;
}
.float-card__num { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--blue); line-height: 1; }
.float-card__icon { font-size: 24px; color: var(--cyan); display: inline-flex; }
.float-card__label { font-size: 12.5px; color: var(--muted); font-weight: 500; max-width: 130px; }
.float-card--1 { top: 16px; left: -12px; animation-delay: 0s; }
.float-card--2 { bottom: 64px; left: -26px; animation-delay: 1.4s; }
.float-card--3 { bottom: 8px; right: -8px; animation-delay: .7s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--silver); border-radius: 14px; z-index: 1; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 5px; height: 8px; background: var(--cyan); border-radius: 3px; animation: cue 1.6s infinite; }
@keyframes cue { 0%{ opacity: 0; transform: translate(-50%, 0); } 40%{ opacity: 1; } 80%{ opacity: 0; transform: translate(-50%, 14px); } }

/* =========================================================
   Stats
   ========================================================= */
.stats { margin-top: -50px; position: relative; z-index: 5; }
.stats__grid {
  background: var(--grad); border-radius: var(--radius-lg); padding: 44px 30px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; box-shadow: var(--shadow-lg);
}
.stat { text-align: center; color: #fff; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 14%; height: 72%; width: 1px; background: rgba(255,255,255,.22); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.stat__label { margin-top: 8px; font-size: 14.5px; opacity: .9; }

/* =========================================================
   About
   ========================================================= */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__imgwrap {
  position: relative; border-radius: var(--radius-lg); padding: 56px 36px; background: var(--grad-soft);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; min-height: 360px;
  display: grid; place-items: center;
}
.about__pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(21,119,184,.12) 1.4px, transparent 1.4px);
  background-size: 22px 22px; opacity: .6;
}
.about__logo { width: 78%; max-width: 320px; position: relative; z-index: 1; filter: drop-shadow(0 20px 40px rgba(10,77,124,.18)); }
.about__badge {
  position: absolute; bottom: 22px; right: 22px; background: #fff; border-radius: 16px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); z-index: 2; border: 1px solid var(--line);
}
.about__badge .ico { font-size: 30px; color: var(--cyan); }
.about__badge strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15px; }
.about__badge span { font-size: 12.5px; color: var(--muted); }

.about__content p { margin-bottom: 16px; }
.about__list { margin: 22px 0 28px; display: grid; gap: 13px; }
.about__list li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink); }
.about__list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* =========================================================
   Mission / Vision / Purpose
   ========================================================= */
.mvv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mvv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 30px;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; overflow: hidden;
}
.mvv-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.mvv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-card--feature { background: var(--grad); color: #fff; }
.mvv-card--feature h3, .mvv-card--feature p { color: #fff; }
.mvv-card--feature::before { display: none; }
.mvv-card__icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 30px;
  background: var(--bg-soft-2); color: var(--blue); margin-bottom: 22px;
}
.mvv-card--feature .mvv-card__icon { background: rgba(255,255,255,.16); color: #fff; }
.mvv-card h3 { font-size: 22px; margin-bottom: 12px; }
.mvv-card p { font-size: 15.3px; }

/* =========================================================
   Products
   ========================================================= */
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm); cursor: pointer; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.product-card::after {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .35s; z-index: 0;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card:hover::after { opacity: 1; }
.product-card > * { position: relative; z-index: 1; transition: color .35s; }
.product-card__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 32px;
  background: var(--bg-soft-2); color: var(--blue); margin-bottom: 20px; transition: background .35s, color .35s, transform .35s;
}
.product-card:hover .product-card__icon { background: rgba(255,255,255,.18); color: #fff; transform: scale(1.05); }
.product-card__title { font-size: 20px; margin-bottom: 9px; }
.product-card:hover .product-card__title, .product-card:hover .product-card__desc { color: #fff; }
.product-card__desc { font-size: 14.5px; color: var(--muted); min-height: 44px; }
.product-card__meta {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head);
  font-weight: 600; font-size: 14px; color: var(--blue); transition: border-color .35s, color .35s;
}
.product-card:hover .product-card__meta { border-color: rgba(255,255,255,.25); color: #fff; }
.product-card__meta .arr { transition: transform .3s; }
.product-card:hover .product-card__meta .arr { transform: translateX(5px); }

/* =========================================================
   Services
   ========================================================= */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 60px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px;
  text-align: center; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card__icon {
  width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 20px; display: grid; place-items: center;
  font-size: 32px; color: #fff; background: var(--grad);
  box-shadow: 0 12px 24px rgba(21, 119, 184, .3); transition: transform .35s var(--ease);
}
.service-card:hover .service-card__icon { transform: translateY(-4px) rotate(-4deg); }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--muted); }

.services__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.info-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.info-panel__title { font-size: 19px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.info-panel__title::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad-text); }
.info-panel__title--mt { margin-top: 30px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li {
  background: var(--bg-soft-2); color: var(--blue); font-weight: 500; font-size: 14px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
}
.hours-list li { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.hours-list li:last-child { border-bottom: none; }
.hours-list b { font-family: var(--font-head); color: var(--ink); }

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner { background: var(--grad); position: relative; overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.5px); background-size: 26px 26px;
}
.cta-banner__inner { position: relative; padding: 60px 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; color: #fff; }
.cta-banner h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 520px; }
.cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   Contact
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.contact-item:hover { transform: translateX(5px); box-shadow: var(--shadow); border-color: var(--cyan-soft); }
.contact-item__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 22px; flex: none; }
.contact-item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15px; }
.contact-item span { font-size: 14.5px; color: var(--muted); }
.contact__socials { display: flex; gap: 12px; margin-top: 6px; }
.contact__socials a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: #fff; color: var(--blue); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: background .25s, color .25s, transform .25s; }
.contact__socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }

.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 13.5px; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(44,166,224,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; }
.form-note.ok { background: #e8f7ee; color: #1f7a44; border: 1px solid #bfe6cd; }
.form-note.err { background: #fdeaea; color: #b23b3b; border: 1px solid #f3c7c7; }

.contact__map { margin-top: 50px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact__map iframe { display: block; filter: grayscale(.15); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { height: 50px; width: auto; background: #fff; padding: 9px 14px; border-radius: 12px; margin-bottom: 18px; }
.footer__col p { font-size: 14.5px; margin-bottom: 12px; }
.footer__slogan { font-family: var(--font-head); font-style: italic; color: var(--cyan-soft); }
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer__col a { display: block; font-size: 14.5px; margin-bottom: 11px; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: var(--cyan-soft); padding-left: 5px; }
.footer__socials { display: flex; gap: 10px; margin-top: 16px; }
.footer__socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; background: rgba(255,255,255,.08); margin: 0; padding: 0; }
.footer__socials a:hover { background: var(--cyan); color: #fff; padding-left: 0; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer__made { color: var(--silver); }

/* =========================================================
   Modal
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 1100; display: none; }
.modal.open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(7,51,90,.55); backdrop-filter: blur(4px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal__dialog {
  position: relative; max-width: 640px; width: calc(100% - 36px); margin: 7vh auto; background: #fff;
  border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); max-height: 84vh; overflow-y: auto;
  animation: pop .4s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(28px) scale(.97); } }
.modal__close { position: absolute; top: 18px; right: 20px; font-size: 30px; line-height: 1; color: var(--muted); width: 40px; height: 40px; border-radius: 50%; transition: background .2s, color .2s; }
.modal__close:hover { background: var(--bg-soft); color: var(--ink); }
.modal__head { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; padding-right: 30px; }
.modal__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; color: var(--blue); background: var(--grad-soft); flex: none; }
.modal__head h3 { font-size: 24px; }
.modal__head p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.modal__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-bottom: 28px; }
.modal__list li { position: relative; padding-left: 26px; font-size: 14.6px; color: var(--ink); }
.modal__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* =========================================================
   To top
   ========================================================= */
.to-top {
  position: fixed; bottom: 26px; right: 26px; width: 50px; height: 50px; border-radius: 14px;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 22px;
  box-shadow: var(--shadow); z-index: 800; opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s, visibility .3s, transform .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 360px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .mvv__grid, .products__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .topbar__phone, .topbar__item:not(.topbar__phone) { font-size: 12.5px; }
  .topbar__left { gap: 14px; }

  .nav {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(82vw, 340px);
    background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 92px 26px 30px; gap: 4px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: 850;
  }
  .nav.open { transform: none; }
  .nav__link { font-size: 17px; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 16px 0 0; text-align: center; }
  .burger { display: flex; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; padding: 34px 20px; }
  .stat:nth-child(2)::after { display: none; }
  .stat::after { display: none; }

  .mvv__grid, .products__grid, .services__grid, .services__bottom, .footer__grid, .field-row, .modal__list { grid-template-columns: 1fr; }
  .footer__grid { gap: 32px; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .float-card--1 { left: 0; }
  .float-card--2 { left: 0; bottom: 80px; }
  .float-card--3 { right: 0; }
}

@media (max-width: 460px) {
  .container { padding: 0 18px; }
  .topbar__item:not(.topbar__phone) { display: none; }
  .hero__cta .btn { width: 100%; }
  .modal__dialog { padding: 28px 22px; }
  .hero-card--main { padding: 38px 26px; }
}
