:root {
  --primary: #0a8ee8;
  --primary-dark: #0869ad;
  --secondary: #0f2e47;
  --secondary-2: #163d5c;
  --accent: #d9ecf9;
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --text: #102238;
  --muted: #607086;
  --border: #dbe5ed;
  --shadow: 0 14px 35px rgba(21, 55, 81, 0.12);
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  background: #fff;
  min-height: 76px;
  border-bottom: 1px solid #eef2f5;
  display: flex;
  align-items: center;
}
.header-inner { display: flex; justify-content: flex-end; align-items: center; }

.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  min-height: 62px;
  padding: 8px 18px 8px 42px;
  text-decoration: none;
  overflow: hidden;
}
.brand-logo::before {
  content: "";
  position: absolute;
  inset: 17px 18px 7px 12px;
  background: linear-gradient(135deg, #eff2f3 20%, #c9cdd0 90%);
  clip-path: polygon(28% 0, 100% 100%, 5% 100%);
  z-index: 0;
}
.brand-mark {
  position: absolute;
  top: 6px;
  left: 10px;
  width: 112px;
  height: 30px;
  background: linear-gradient(90deg, #0489df, #146ba4);
  clip-path: polygon(0 100%, 38% 0, 100% 26%, 42% 21%);
  z-index: 1;
}
.brand-copy { position: relative; z-index: 2; line-height: .86; letter-spacing: -.02em; }
.brand-copy strong { display: block; font-size: 18px; font-weight: 900; color: #090d12; }

.hero {
  min-height: 430px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0f2e47;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/images/hero-bg.webp");
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.01);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(5, 24, 39, .96) 0%, rgba(7, 35, 56, .84) 31%, rgba(9, 36, 56, .38) 60%, rgba(0, 0, 0, .05) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -25px;
  width: 350px;
  height: 170px;
  background: linear-gradient(135deg, rgba(10,142,232,.95), rgba(7,92,154,.9));
  clip-path: polygon(28% 10%, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.hero-inner { min-height: 430px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.hero-content { max-width: 610px; color: white; padding: 52px 0; }
.eyebrow { margin: 0 0 6px; color: var(--primary); font-weight: 900; letter-spacing: .28em; font-size: 12px; }
.eyebrow-light { color: #fff; }
.hero h1 { margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: .96; letter-spacing: -.045em; }
.hero-lead { margin: 22px 0 26px; max-width: 560px; font-size: 18px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid rgba(10,142,232,.42); outline-offset: 3px; }
.btn-primary { color: white; background: linear-gradient(135deg, var(--primary), #0087df); box-shadow: 0 10px 24px rgba(0, 122, 207, .24); }
.btn-outline { color: white; border-color: rgba(255,255,255,.8); background: rgba(12, 34, 53, .35); backdrop-filter: blur(4px); }
.btn-icon { font-size: 21px; }
.btn small { display: block; font-weight: 500; opacity: .8; line-height: 1.1; }
.hero-note { align-self: flex-end; margin-bottom: 56px; width: 245px; color: #fff; font-size: 28px; font-style: italic; transform: rotate(-5deg); text-align: center; font-family: "Segoe Print", "Bradley Hand", cursive; line-height: 1.32; }
.hero-note span { display: block; }

.section { padding: 26px 0 32px; }
.section-heading { margin-bottom: 22px; }
.centered { text-align: center; }
.section-heading h2, .about-copy h2, .contact-card h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.025em; }
.section-heading p:last-child { margin: 8px auto 0; color: var(--muted); max-width: 730px; }

.products { background: linear-gradient(#fff, #f9fcfe); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 20px rgba(25, 60, 85, .07); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card picture { display: block; height: 205px; overflow: hidden; background: #d9e2e9; }
.product-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; transition: transform .4s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-body { padding: 18px 20px 20px; }
.product-body h3 { margin: 0; font-size: 23px; }
.product-body p { color: var(--muted); margin: 6px 0 16px; min-height: 50px; }
.card-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 18px; color: #fff; background: var(--primary); border-radius: 7px; text-decoration: none; font-weight: 800; }

.benefits { background: #f0f6fa; border-block: 1px solid #e2edf4; padding: 18px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.benefit { display: flex; align-items: center; gap: 13px; padding: 8px 10px; }
.benefit-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: white; display: grid; place-items: center; font-size: 22px; font-weight: 900; }
.benefit strong, .benefit small { display: block; }
.benefit small { color: var(--muted); margin-top: 1px; }

.about {
  position: relative;
  overflow: hidden;
  padding: 42px 0;
  background:
    linear-gradient(90deg, rgba(8, 31, 49, .84) 0%, rgba(8, 31, 49, .68) 32%, rgba(8, 31, 49, .22) 62%, rgba(8, 31, 49, .10) 100%),
    url("assets/images/about-bg-2.webp") center/cover no-repeat;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  pointer-events: none;
}
.about-shell {
  position: relative;
  z-index: 1;
  min-height: 240px;
  display: flex;
  align-items: center;
}
.about-copy {
  color: #fff;
  background: rgba(255,255,255,.92);
  color: var(--text);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(11, 37, 57, .16);
  backdrop-filter: blur(2px);
}
.about-copy-compact {
  max-width: 650px;
  padding: 28px clamp(22px, 3vw, 34px);
}
.about-copy h2 { margin-bottom: 12px; }
.about-copy p { color: var(--muted); max-width: 600px; margin: 0 0 12px; }
.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 14px;
  font-weight: 800;
  color: var(--secondary);
  font-size: 15px;
}

.contact-section { padding: 44px 0; background: linear-gradient(180deg, #eff7fc, #f8fbfd); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.form-card { padding: 28px; }
.contact-intro { color: var(--muted); margin: 8px 0 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 13px; }
.field label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 800; }
.field input, .field textarea {
  width: 100%; border: 1px solid #cbd9e3; border-radius: 8px; padding: 12px 13px; color: var(--text); background: #fff;
  transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10,142,232,.10); outline: none; }
.field textarea { resize: vertical; min-height: 122px; }
.field.invalid input, .field.invalid textarea { border-color: #c83f3f; }
.error { display: block; min-height: 17px; color: #a42c2c; font-size: 12px; margin-top: 3px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-btn { width: 100%; border: 0; }
.form-status { min-height: 20px; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.direct-contact { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.direct-contact a { color: var(--secondary); font-weight: 800; text-decoration: none; }
.direct-contact a:hover { color: var(--primary-dark); }
.map-card { display: flex; flex-direction: column; }
.map-frame { min-height: 365px; flex: 1; background: #dcebdc; }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 365px; }
.map-info { padding: 18px 20px 20px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.map-info h3 { margin: 0 0 4px; font-size: 20px; }
.map-info address { font-style: normal; color: var(--muted); }
.map-btn { white-space: nowrap; min-height: 44px; }

.site-footer { background: linear-gradient(135deg, #0c273b, #123b5b); color: #fff; }
.footer-main { min-height: 145px; display: grid; grid-template-columns: 1.3fr 1fr 1.15fr; gap: 30px; align-items: center; padding-block: 28px; }
.brand-logo-footer { filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
.brand-logo-footer::before { background: #d9dde1; }
.footer-brand p { margin: 0 0 0 20px; font-size: 11px; letter-spacing: .22em; opacity: .9; }
.footer-block { display: flex; flex-direction: column; gap: 3px; color: #eaf3fa; }
.footer-block a { text-decoration: none; color: #eaf3fa; }
.footer-block a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: 20px; padding-block: 14px 18px; font-size: 13px; color: #c7d7e3; }

@media (max-width: 980px) {
  .product-grid { gap: 15px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-shell { min-height: 220px; }
  .hero-note { display: none; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { min-height: 68px; }
  .brand-logo { min-width: 205px; padding-right: 8px; }
  .brand-copy strong { font-size: 17px; }
  .hero, .hero-inner { min-height: 500px; }
  .hero-image { background-position: center center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,22,36,.94), rgba(5,31,51,.78) 72%, rgba(8,33,52,.46)); }
  .hero-content { padding: 50px 0 80px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; }
  .btn { width: 100%; }
  .hero::after { width: 220px; height: 120px; }
  .section { padding: 28px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: 38% 1fr; min-height: 190px; }
  .product-card picture { height: 100%; min-height: 190px; }
  .product-body p { min-height: auto; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefit { align-items: flex-start; }
  .about { padding: 30px 0; background-position: center center; }
  .about-shell { min-height: 0; }
  .about-copy-compact { padding: 22px 18px; }
  .about-points { gap: 10px 14px; font-size: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .map-info { flex-direction: column; align-items: stretch; }
  .map-btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 18px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .header-inner { justify-content: flex-end; }
  .site-header .brand-logo { transform: scale(.92); transform-origin: right center; margin-right: -8px; }
  .hero, .hero-inner { min-height: 540px; }
  .hero h1 { font-size: 49px; }
  .hero-content { align-self: end; padding-bottom: 50px; }
  .product-card { grid-template-columns: 1fr; }
  .product-card picture { height: 190px; min-height: 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { padding-inline: 2px; }
  .contact-section { padding: 26px 0; }
  .form-card { padding: 22px 18px; }
  .map-frame, .map-frame iframe { min-height: 330px; }
  .direct-contact { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
