/* Google Fonts loaded in <head> of each page */
:root {
  --page-bg: #F7F7F7;
  --surface: #ECEDEE;
  --surface-contrast: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B6B;
  --accent: #1A2B4A;
  --accent-ink: #E6ECF6;
  --line: #E0E0E0;
  --line-soft: #E7E7E7;
  --hover-overlay: rgba(0,0,0,0.03);
  --shadow-sm: 0 1px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 50px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --container: 1200px;
  --grid-gap: 24px;
  --font-sans: "Manrope", system-ui, -apple-system, Arial, sans-serif;
  --fs-h1: clamp(40px, 5.4vw, 60px);
  --fs-h2: clamp(28px, 3.2vw, 40px);
  --fs-h3: clamp(20px, 2.0vw, 28px);
  --fs-body: 16px;
  --fs-small: 14px;
  --lh-tight: 1.15;
  --lh-snug: 1.25;
  --lh-normal: 1.6;
  --ls-tight: -0.01em;
  --hex-stroke: #E6E8EC;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background-color: #F7F7F7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { margin: 0 0 var(--space-5); letter-spacing: var(--ls-tight); color: var(--text-primary); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); font-weight: 700; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); font-weight: 600; }
p { margin: 0 0 var(--space-5); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-secondary); line-height: 1.7; }

.container { width: min(100% - 64px, var(--container)); margin-inline: auto; }
.grid { display: grid; gap: var(--grid-gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 920px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 920px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* Cards */
.card {
  background: var(--surface-contrast);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card--muted { background: var(--surface); }
.card--accent { background: var(--accent); color: #fff; }
.card--accent h3, .card--accent p { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 28px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent);
  background: var(--accent); color: #FFFFFF;
  cursor: pointer; transition: all .18s ease;
  text-decoration: none;
}
.btn:hover { background: #0F1E33; border-color: #0F1E33; transform: translateY(-1px); text-decoration: none; color: #fff; }
.btn--outline { background: transparent; color: var(--accent); }
.btn--outline:hover { background: var(--accent-ink); color: var(--accent); }
.btn--lg { padding: 16px 36px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,247,0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding-inline: var(--space-6);
  max-width: var(--container); margin: 0 auto;
}
.nav__brand { font-size: 18px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; }
.nav__brand:hover { text-decoration: none; }
.nav__links { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--text-primary); font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--accent); text-decoration: none; }
.nav__links a.active { color: var(--accent); }

/* Burger mobile */
.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; border-radius: 2px; transition: all .2s; }
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column;
    position: fixed; inset: 68px 0 0 0;
    background: var(--surface-contrast);
    padding: var(--space-7) var(--space-6);
    gap: var(--space-6); align-items: flex-start; z-index: 49;
  }
  .nav__burger { display: block; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--page-bg);
  padding: clamp(60px, 8vw, 120px) 0;
  overflow: hidden;
}
.hero__bg-hex {
  position: absolute; right: -60px; top: 0;
  width: 52%; height: 100%;
  pointer-events: none; opacity: 0.5;
}
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--space-4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }

/* Sections */
section { padding: clamp(48px, 6vw, 96px) 0; }
section:nth-child(even) { background: var(--surface); }
.section-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--space-4);
}

/* Criteria grid (4 items) */
.criteria-item { display: flex; flex-direction: column; gap: 8px; padding: var(--space-5); border-left: 2px solid var(--accent); }
.criteria-item__label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.criteria-item__text { color: var(--text-secondary); font-size: 15px; line-height: 1.55; }

/* Product cards */
.product-card { position: relative; }
.product-card__badge {
  display: inline-block; padding: 4px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-pill); margin-bottom: var(--space-4);
}
.product-card__price { font-size: 22px; font-weight: 700; color: var(--accent); margin: var(--space-4) 0; }
.product-card__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.product-card__features li { font-size: 14px; color: var(--text-secondary); padding-left: 16px; position: relative; }
.product-card__features li::before { content: "✶"; position: absolute; left: 0; color: var(--accent); font-size: 10px; top: 2px; }

/* Segment cards */
.segment-card__problem { font-size: 13px; color: var(--text-secondary); padding: var(--space-3) var(--space-4); background: var(--surface); border-radius: var(--radius-sm); margin-bottom: var(--space-3); }
.segment-card__solution { font-size: 13px; color: var(--text-primary); }

/* UTP block */
.utp-block {
  background: var(--accent);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  text-align: center;
}
.utp-block h2 { color: #fff; }
.utp-block p { color: rgba(255,255,255,0.85); font-size: clamp(16px, 1.8vw, 20px); line-height: 1.7; max-width: 820px; margin: 0 auto; }

/* Footer */
.site-footer {
  background: var(--accent); color: rgba(255,255,255,0.75);
  padding: clamp(40px, 5vw, 64px) 0 var(--space-6);
}
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer__brand { font-size: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-4); }
.footer__slogan { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: var(--space-6); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-5); font-size: 14px; }
.footer__bottom {
  margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; color: rgba(255,255,255,0.4);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
.footer__nav { display: flex; gap: var(--space-5); }

/* Forms */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-5); }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.04em; }
.form-group input, .form-group textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-sans); font-size: 15px;
  background: var(--surface-contrast); color: var(--text-primary);
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,43,74,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Divider */
.hr { height: 1px; background: var(--line); border: 0; margin: var(--space-7) 0; }

/* Blockquote */
blockquote {
  border-left: 3px solid var(--accent);
  margin: 0; padding: var(--space-5) var(--space-6);
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  background: var(--surface-contrast);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Contact info */
.contact-item { margin-bottom: var(--space-5); }
.contact-item__label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.contact-item__value { font-size: 16px; color: var(--text-primary); }
.contact-item__value a { color: var(--text-primary); }
.contact-item__value a:hover { color: var(--accent); text-decoration: none; }

/* Contacts grid */
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
@media (max-width: 768px) { .contacts__grid { grid-template-columns: 1fr; } }

/* Image dividers & decorative backgrounds */
.img-divider {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}
.img-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--page-bg) 0%, transparent 30%, transparent 70%, var(--page-bg) 100%);
  z-index: 1;
}

.section-bg-img {
  position: relative;
  overflow: hidden;
}
.section-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}
.section-bg-img > * {
  position: relative;
  z-index: 1;
}

.hero-deco-img {
  position: absolute;
  right: 0; top: 0;
  width: 45%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

/* Guarantee box */
.guarantee-box {
  margin-top: var(--space-7);
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--accent-ink);
}
.guarantee-box p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0; }
