@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700;800;900&display=swap');

/* ============================
   DESIGN TOKENS
   ============================ */
:root {
  --navy:        #0B1D3A;
  --navy-mid:    #152D55;
  --blue:        #2563EB;
  --blue-light:  #60A5FA;
  --blue-pale:   #EEF4FF;
  --surface:     #FFFFFF;
  --bg:          #F7F9FF;
  --text:        #0F172A;
  --muted:       #64748B;
  --border:      rgba(30, 60, 130, 0.1);

  /* legacy aliases kept for compatibility */
  --primary:       var(--navy);
  --primary-dark:  var(--navy);
  --primary-light: var(--blue);
  --accent:        var(--blue-light);
  --surface-soft:  var(--blue-pale);

  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --shadow-sm:  0 2px 12px rgba(11, 29, 58, 0.07);
  --shadow-md:  0 8px 32px rgba(11, 29, 58, 0.10);
  --shadow-lg:  0 20px 60px rgba(11, 29, 58, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ============================
   LAYOUT
   ============================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

section { padding: 100px 0; }

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.15;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 16px;
}

h2 + .section-intro { margin-top: 0; }

h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 2px;
  margin: 16px auto 52px;
}

.section-intro {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin: -36px auto 52px;
  line-height: 1.8;
}

/* ============================
   HEADER
   ============================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

nav { display: flex; align-items: center; }

.menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.menu li a:hover { background: var(--blue-pale); color: var(--blue); }

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown-arrow {
  font-size: 9px;
  margin-left: 4px;
  display: inline-block;
  transition: transform var(--transition);
}

.has-dropdown:hover .dropdown-arrow,
.has-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 230px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text) !important;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  background: transparent !important;
}

.dropdown li a:hover { background: var(--blue-pale) !important; color: var(--blue) !important; }

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  transition: color var(--transition);
  white-space: nowrap;
}

.header-phone:hover { color: var(--blue); }

/* Lang switcher */
.locale-switcher { display: flex; gap: 4px; }

.lang-switch {
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.lang-switch.active,
.lang-switch:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Burger */
.burger {
  width: 28px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  display: none;
}

.burger span {
  display: block;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Back-to-top */
.btn-up {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-up.show { opacity: 1; visibility: visible; }
.btn-up:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45); }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, var(--blue), #1D4ED8);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.30);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.40);
  background: linear-gradient(135deg, #1D4ED8, var(--blue));
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  box-shadow: none;
}

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

/* ============================
   HERO
   ============================ */
#hero {
  padding: 130px 0 110px;
  background:
    linear-gradient(135deg, rgba(11,29,58,0.93) 0%, rgba(21,45,85,0.88) 60%, rgba(37,99,235,0.30) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?fm=jpg&q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(96,165,250,0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 700px; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(96,165,250,0.18);
  border: 1px solid rgba(96,165,250,0.35);
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: -1px;
  line-height: 1.05;
}

.hero-text p:not(.hero-eyebrow) {
  color: #fff;
}

.hero-list {
  margin-bottom: 44px;
}

.hero-list li {
  position: relative;
  padding: 9px 0 9px 36px;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  background: var(--blue-light);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(96,165,250,0.6);
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================
   STATS BAR
   ============================ */
#stats-bar {
  padding: 0;
  background: var(--navy);
  position: relative;
  z-index: 2;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.04); }

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number--small { font-size: clamp(18px, 2.5vw, 26px); }

.stat-label {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ============================
   BENEFITS
   ============================ */
#benefits { background: var(--bg); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-pale) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.benefit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.benefit-card:hover::before { opacity: 1; }

.benefit-number {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), #1D4ED8);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(37,99,235,0.30);
  position: relative;
  z-index: 1;
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.benefit-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ============================
   SERVICES
   ============================ */
#services {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover { background: var(--surface); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.service-card:hover .service-icon-wrap { background: linear-gradient(135deg, var(--blue), #1D4ED8); }
.service-card:hover .service-icon-wrap .service-svg { color: #fff; }

.service-svg {
  width: 28px; height: 28px;
  color: var(--blue);
  transition: color var(--transition);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.service-card ul { margin-bottom: 24px; }

.service-card li {
  padding: 7px 0 7px 24px;
  color: var(--muted);
  font-size: 14px;
  position: relative;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  background: var(--blue-light);
  border-radius: 50%;
}

/* ============================
   CONTACT PERSON
   ============================ */
#contact-person {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
}

.contact-person-wrapper {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-person-card {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  flex-wrap: wrap;
}

.contact-person-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid rgba(96,165,250,0.5);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.contact-person-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.contact-person-role {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 20px;
}

.contact-person-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-person-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  background: rgba(37,99,235,0.6);
  padding: 10px 22px;
  border-radius: 999px;
  transition: background var(--transition);
}

.contact-person-phone::before {
  content: '📞';
  font-size: 14px;
}

.contact-person-phone:hover { background: var(--blue); }

.contact-person-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  background: rgba(255,255,255,0.10);
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all var(--transition);
}

.contact-person-email:hover { background: rgba(255,255,255,0.18); color: #fff; }

.consultation-free {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  position: relative;
  padding-left: 24px;
}

.consultation-free::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ADE80;
  font-weight: 700;
}

/* ============================
   PHONE BLOCK
   ============================ */
#phone-block {
  background: var(--blue-pale);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.phone-block-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.phone-block-text h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.phone-big {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--blue);
  transition: color var(--transition);
  letter-spacing: -0.5px;
}

.phone-big:hover { color: var(--navy); }

/* ============================
   ABOUT
   ============================ */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.about-card:hover::before { opacity: 1; }

.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.about-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ============================
   AUDITORS
   ============================ */
#auditors { background: var(--surface); }

.auditors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.auditor-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.auditor-card:hover {
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.auditor-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 20px;
  border: 3px solid var(--blue-pale);
  transition: border-color var(--transition);
}

.auditor-card:hover img { border-color: var(--blue-light); }

.auditor-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.auditor-card p {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ============================
   REDUCTION STATS
   ============================ */
#reduction-stats {
  background: linear-gradient(135deg, var(--navy) 0%, #1A3A6E 100%);
  position: relative;
  overflow: hidden;
}

#reduction-stats::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

#reduction-stats h2 {
  color: #fff;
}

#reduction-stats h2::after {
  background: linear-gradient(90deg, var(--blue-light), rgba(96,165,250,0.4));
}

.reduction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 52px;
}

.reduction-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: background var(--transition);
}

.reduction-item:hover { background: rgba(255,255,255,0.10); }

.reduction-pct {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.reduction-item p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.7;
}

.reduction-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.reduction-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
}

.reduction-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: rgba(74,222,128,0.2);
  border: 1px solid rgba(74,222,128,0.4);
  color: #4ADE80;
  font-weight: 700;
  font-size: 13px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================
   CONTACT FORM
   ============================ */
#contact { background: var(--bg); }

#contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contact p {
  font-size: 16px;
  color: var(--muted);
  margin: 6px 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  width: 100%;
  margin: 12px auto 0;
}

form input,
form textarea {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

form input::placeholder,
form textarea::placeholder { color: #A0AEC0; }

form input:focus,
form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
  background: #fff;
}

form textarea {
  resize: vertical;
  min-height: 130px;
}

form button {
  padding: 16px 40px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--blue), #1D4ED8);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(37,99,235,0.30);
  margin-top: 6px;
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37,99,235,0.40);
}

/* ============================
   NEWS / BLOG
   ============================ */
#news { background: var(--surface); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.news-card:hover { background: var(--surface); box-shadow: var(--shadow-md); transform: translateY(-5px); }

.news-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  width: fit-content;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}

.news-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: color var(--transition);
  margin-top: auto;
}

.news-link:hover { color: var(--navy); }

/* ============================
   REVIEWS
   ============================ */
.reviews-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 60px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  max-width: 580px;
  margin: 0 auto;
}

.reviews-link:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.reviews-link h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.reviews-link p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.reviews-link span {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: color var(--transition);
}

.reviews-link:hover span { color: var(--navy); }

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--navy);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-logo-img {
  width: 36px; height: 36px;
  border-radius: 8px;
  opacity: 0.9;
}

.footer-logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--blue-light); }

.footer-contact-col { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-col h4 { margin-bottom: 8px; }

.footer-phone {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  transition: color var(--transition);
}

.footer-phone:hover { color: var(--blue-light); }

.footer-email {
  color: rgba(255,255,255,0.60);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-email:hover { color: var(--blue-light); }

.footer-col address {
  color: rgba(255,255,255,0.50);
  font-size: 14px;
  line-height: 1.7;
}

.footer-hours {
  color: rgba(255,255,255,0.40);
  font-size: 13px;
}

.social { margin-top: 4px; }

.social a {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  transition: all var(--transition);
}

.social a:hover { color: #fff; border-color: rgba(255,255,255,0.40); background: rgba(255,255,255,0.07); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

/* legacy footer-nav */
.footer-nav { display: none; }

/* ============================
   MODAL
   ============================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,29,58,0.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 100px rgba(11,29,58,0.25);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition);
}

.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }

.modal-box h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--bg);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}

.modal-close:hover { background: #FFE4E4; color: #DC2626; }

#modalForm { display: flex; flex-direction: column; gap: 14px; margin: 0; }

.modal-success {
  display: none;
  text-align: center;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  padding: 24px 0 8px;
  line-height: 1.6;
}

/* ============================
   ANIMATIONS
   ============================ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}

.fade-in.active { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}

.fade-in-left.active { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}

.fade-in-right.active { opacity: 1; transform: translateX(0); }

/* ============================
   RESPONSIVE — tablet 1024px
   ============================ */
@media (max-width: 1024px) {
  header { padding: 0 24px; }
  .menu { gap: 2px; }
  .menu li a { padding: 8px 9px; font-size: 13px; }
  .header-phone { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================
   RESPONSIVE — mobile 768px
   ============================ */
@media (max-width: 768px) {
  header { padding: 0 20px; }

  .burger { display: flex; }

  .menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px 24px 32px;
    gap: 4px;
    box-shadow: 0 20px 40px rgba(11,29,58,0.15);
    z-index: 999;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .menu.active { display: flex; }
  .menu li a { color: var(--navy); font-size: 15px; padding: 12px 14px; }

  .dropdown {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none; border: none;
    border-radius: 0; background: transparent;
    padding: 0 0 0 16px;
    display: none;
    transition: none;
  }

  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding: 8px 14px; font-size: 14px; color: var(--navy) !important; background: transparent !important; }

  section { padding: 72px 0; }

  #hero { padding: 88px 0 72px; }

  .hero-text h1 { font-size: 36px; }
  .hero-list li { font-size: 15px; }
  .hero-btns { flex-direction: column; align-items: stretch; }

  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }

  .benefits-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 18px; }
  .auditors-grid { grid-template-columns: 1fr; gap: 18px; }
  .reduction-grid { grid-template-columns: 1fr; gap: 18px; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }

  h2 { font-size: 28px; }
  h2::after { margin-bottom: 36px; }

  .contact-person-card { flex-direction: column; text-align: center; padding: 32px 28px; }
  .contact-person-links { justify-content: center; }
  .contact-person-wrapper { gap: 24px; }

  .phone-block-inner { flex-direction: column; text-align: center; }
  .phone-big { font-size: 30px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-bottom { flex-direction: column; align-items: center; }

  .reviews-link { padding: 40px 28px; }

  .modal-box { padding: 40px 28px; }

  .btn-up { bottom: 24px; right: 20px; width: 44px; height: 44px; font-size: 18px; }
}

/* ============================
   RESPONSIVE — small 480px
   ============================ */
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  header { padding: 0 16px; }

  .hero-text h1 { font-size: 28px; letter-spacing: -0.5px; }
  .hero-eyebrow { font-size: 11px; }

  .stats-bar-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 28px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:first-child { padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .btn { padding: 13px 28px; font-size: 14px; }
  .modal-box { padding: 36px 22px; }

  /* Header: remove double padding (header provides its own side padding) */
  header .container { padding: 0; }
  /* Allow logo to shrink on very small screens */
  .logo-container { flex: 0 1 auto; min-width: 0; }
  .logo-text { overflow: hidden; text-overflow: ellipsis; min-width: 0; }

  /* Section padding reductions */
  section { padding: 56px 0; }
  #hero { padding: 72px 0 56px; }
  #contact-person { padding: 48px 0; }
  #phone-block { padding: 40px 0; }

  /* Hero CTA: allow text wrap so button doesn't overflow at 320px */
  .hero-btns .btn { white-space: normal; text-align: center; }

  /* Stats bar: reduce excessive vertical padding */
  .stat-item { padding: 28px 16px; }

  /* Cards: reduce horizontal padding to prevent overflow */
  .benefit-card { padding: 28px 22px; }
  .reduction-item { padding: 32px 24px; }
  .contact-person-card { padding: 24px 20px; }

  /* Phone number: prevent overflow at 320px (28px ≈ 280px > content area) */
  .phone-big { font-size: 22px; }
}

/* ============================
   RESPONSIVE — extra small ≤390px
   (covers 320px, 375px, 390px test breakpoints)
   ============================ */
@media (max-width: 390px) {
  /* Compact header layout */
  .header-container { gap: 10px; }
  .logo-container { gap: 8px; }
  .logo-img { width: 36px; height: 36px; }
  .logo-text { font-size: 13px; }
  .lang-switch { padding: 5px 8px; font-size: 11px; }

  /* Smaller stat numbers to avoid wrap */
  .stat-number { font-size: 24px; }

  /* Hero H1 slightly smaller for very narrow screens */
  .hero-text h1 { font-size: 24px; }
}

/* ---- Review thumbnails & lightbox ---- */
.review-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
  cursor: zoom-in;
  position: relative;
  background: var(--navy-mid);
}
.review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.review-thumb:hover img { transform: scale(1.05); }
.review-thumb-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  color: #fff;
  font-size: 2.4rem;
  opacity: 0;
  transition: opacity 0.25s, background 0.25s;
  user-select: none;
}
.review-thumb:hover .review-thumb-zoom {
  opacity: 1;
  background: rgba(0,0,0,0.38);
}

.review-doc-prev {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  margin-bottom: 16px;
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: background 0.2s;
}
.review-doc-prev:hover { background: var(--navy); }
.review-doc-prev .doc-icon { font-size: 3rem; }
.review-doc-prev .doc-type {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
.lb-overlay.active { display: flex; }
.lb-overlay > img {
  max-width: min(90vw, 960px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
  cursor: default;
}
.lb-close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.14);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.lb-close:hover { background: rgba(255,255,255,0.28); }
