/* Elektriķis Olainē — Brand Colours: Teal #2a8fa8 / Navy #1e3a5f / Amber #f59e0b */
:root {
  --blue: #1e3a5f;
  --blue-dark: #142a47;
  --blue-light: #2a5080;
  --teal: #2a8fa8;
  --teal-dark: #1a7a8f;
  --teal-light: #3ab0cc;
  --yellow: #f59e0b;
  --yellow-dark: #d97706;
  --yellow-light: #fbbf24;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(30,58,95,0.10);
  --shadow-lg: 0 4px 24px rgba(30,58,95,0.16);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue);
}

h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1rem; color: var(--gray-700); }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.5rem 0; }
.section-alt { background: var(--gray-50); }

/* ───── ANNOUNCEMENT BAR ───── */
.ann-bar {
  background: var(--blue);
  color: rgba(255,255,255,0.92);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  letter-spacing: 0.01em;
}
.ann-bar strong {
  color: var(--yellow-light);
  font-weight: 700;
}

/* ───── HEADER ───── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--teal);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: 1rem;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 36px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }

.site-nav a, .site-nav span.nav-item {
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.site-nav a:hover { background: var(--gray-100); color: var(--teal); }
.site-nav a.active { color: var(--teal); font-weight: 700; }

.lang-switcher { display: flex; gap: 0.25rem; align-items: center; margin-left: 0.5rem; }
.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  color: var(--gray-500);
  background: var(--gray-100);
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.03em;
}
.lang-btn:hover { background: var(--gray-200); color: var(--blue); }
.lang-btn.active { background: var(--teal); color: var(--white); pointer-events: none; }

.header-cta {
  background: var(--yellow);
  color: var(--blue) !important;
  font-weight: 700;
  padding: 0.55rem 1.1rem !important;
  border-radius: 7px;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background var(--transition);
}
.header-cta:hover { background: var(--yellow-dark) !important; }

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ───── HERO ───── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 60%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245,158,11,0.18);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--yellow-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero-subtitle { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-bottom: 1.5rem; }

.hero-trust { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 2rem; }
.trust-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: rgba(255,255,255,0.85); }
.trust-item strong { color: var(--yellow-light); }

.hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.18); }

.btn-primary { background: var(--yellow); color: var(--blue); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--blue); }

.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }

/* Hero form card */
.hero-form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
}
.hero-form-card h3 { color: var(--blue); margin-bottom: 0.25rem; font-size: 1.1rem; }
.hero-form-card p { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 1.25rem; }

.form-group { margin-bottom: 0.9rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.3rem; }
.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 7px;
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition);
  font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--teal); }
.form-control::placeholder { color: var(--gray-300); }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; cursor: pointer; }

textarea.form-control { resize: vertical; min-height: 90px; }

/* form-grid: 2-col layout for full forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid .form-group { margin-bottom: 0.9rem; }
.form-grid .form-group.full { grid-column: 1 / -1; }

/* response promise highlight */
.form-promise {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 7px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #166534;
  text-align: center;
  margin-bottom: 1.1rem;
  letter-spacing: 0.01em;
}
.form-promise strong { color: #15803d; font-size: 1rem; }

.form-submit { width: 100%; padding: 0.8rem; font-size: 0.95rem; margin-top: 0.25rem; }

.form-disclaimer { font-size: 0.72rem; color: var(--gray-500); text-align: center; margin-top: 0.75rem; }

/* ───── SERVICES GRID ───── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }

.service-icon { font-size: 2rem; margin-bottom: 0.75rem; line-height: 1; }
.service-card h3 { font-size: 1rem; color: var(--blue); margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: var(--gray-500); flex: 1; margin-bottom: 1rem; }
.service-card .card-link { font-size: 0.875rem; font-weight: 600; color: var(--teal); display: flex; align-items: center; gap: 0.3rem; }
.service-card .card-link:hover { color: var(--teal-dark); }

/* ───── AREA CARDS ───── */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.area-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: border-color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.area-card:hover { border-color: var(--teal); background: var(--white); }
.area-card .area-icon { font-size: 1.3rem; flex-shrink: 0; }
.area-card .area-name { font-weight: 600; color: var(--blue); font-size: 0.95rem; }
.area-card .area-sub { font-size: 0.78rem; color: var(--gray-500); }

/* area chips */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-chip {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  transition: background var(--transition), border-color var(--transition);
}
.area-chip:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ───── PROCESS / HOW IT WORKS ───── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--teal-light);
}
.step h4 { font-size: 0.95rem; color: var(--blue); margin-bottom: 0.4rem; }
.step p { font-size: 0.82rem; color: var(--gray-500); }

/* ───── TESTIMONIALS ───── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.stars { color: var(--yellow); font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 0.9rem; color: var(--gray-700); font-style: italic; margin-bottom: 1rem; line-height: 1.6; }
.testimonial-author { font-weight: 700; font-size: 0.875rem; color: var(--blue); }
.testimonial-loc { font-size: 0.78rem; color: var(--gray-500); }

/* ───── FAQ ───── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  color: var(--blue);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: inherit;
}
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 300; flex-shrink: 0; color: var(--teal); transition: transform var(--transition); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 1.25rem 1rem; font-size: 0.9rem; color: var(--gray-700); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ───── PRICES TABLE ───── */
.prices-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.prices-table th { background: var(--blue); color: var(--white); padding: 0.85rem 1.1rem; text-align: left; font-weight: 600; }
.prices-table td { padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--gray-200); }
.prices-table tr:last-child td { border-bottom: none; }
.prices-table tr:nth-child(even) td { background: var(--gray-50); }
.prices-table .price-col { color: var(--teal); font-weight: 700; white-space: nowrap; }

/* ───── SERVICE FEATURES ───── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.feature-icon { font-size: 1.75rem; margin-bottom: 0.6rem; }
.feature-card h4 { font-size: 0.95rem; color: var(--blue); margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.85rem; color: var(--gray-500); }

/* ───── SECTION HEADERS ───── */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--gray-500); font-size: 1rem; max-width: 580px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: rgba(42,143,168,0.12);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* ───── CTA BANNER ───── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 1.75rem; font-size: 1.05rem; }
.cta-banner .btn-primary { font-size: 1.05rem; }

/* ───── ABOUT ───── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.stat-card { background: var(--teal); color: var(--white); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.stat-num { font-size: 2rem; font-weight: 700; display: block; line-height: 1; color: var(--yellow); }
.stat-label { font-size: 0.8rem; opacity: 0.9; }

/* ───── AREA PAGE HERO ───── */
.area-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 70%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
}
.area-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.area-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 1.5rem; }
.area-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
}

/* ───── BREADCRUMB ───── */
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-bottom: 0.75rem; }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); margin: 0 0.4rem; }

.breadcrumb-lv { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 0.75rem; padding: 0.5rem 0; }
.breadcrumb-lv a { color: var(--gray-500); }
.breadcrumb-lv a:hover { color: var(--teal); }
.breadcrumb-lv span { color: var(--gray-300); margin: 0 0.4rem; }

/* ───── CONTENT ARTICLE ───── */
.content-article h2 { margin: 1.75rem 0 0.75rem; }
.content-article h3 { margin: 1.25rem 0 0.5rem; }
.content-article p { margin-bottom: 0.9rem; }
.content-article ul { margin: 0.75rem 0 1rem 1.5rem; list-style: disc; }
.content-article ul li { margin-bottom: 0.4rem; color: var(--gray-700); font-size: 0.925rem; }

/* service list in area page */
.service-list { display: flex; flex-direction: column; gap: 0.6rem; }
.service-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
}
.service-list-item:hover { border-color: var(--teal); background: var(--gray-50); color: var(--teal-dark); }
.service-list-item .si-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ───── LEGAL PAGE ───── */
.legal-content h2 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.legal-content p, .legal-content li { font-size: 0.9rem; color: var(--gray-700); line-height: 1.7; }
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; list-style: disc; }
.legal-content li { margin-bottom: 0.35rem; }

/* ───── FOOTER ───── */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; }

.footer-col h4 { color: var(--white); font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--yellow); }
.footer-legal-links { display: flex; gap: 1rem; }

/* ───── NOTICE / SUCCESS ───── */
.form-success { display: none; text-align: center; padding: 1rem; }
.form-success-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--teal); font-weight: 600; font-size: 0.95rem; }
.form-error { color: #dc2626; font-size: 0.8rem; margin-top: 0.25rem; display: none; }

/* ───── PRICES PAGE ───── */
.price-note { background: rgba(245,158,11,0.1); border-left: 3px solid var(--yellow); padding: 0.85rem 1.1rem; border-radius: 0 8px 8px 0; font-size: 0.9rem; color: var(--gray-700); margin-bottom: 1.5rem; }

/* ───── OVERVIEW PAGE (services / areas) ───── */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; }

/* ───── RESPONSIVE ───── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-card { max-width: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 640px) {
  .site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--blue); padding: 1rem; gap: 0.15rem; }
  .site-nav.open { display: flex; }
  .site-nav a, .site-nav span.nav-item { padding: 0.6rem 1rem; width: 100%; color: rgba(255,255,255,0.9) !important; }
  .site-nav a:hover { background: rgba(255,255,255,0.12) !important; color: var(--white) !important; }
  .site-nav a.active { color: var(--yellow) !important; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .lang-switcher { margin-left: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 0.6rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
}

/* ───── INNER PAGE HERO WITH FORM ───── */
.page-hero-form {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 60%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 3rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero-form::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-form .phf-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.page-hero-form .phf-content .breadcrumb-lv a,
.page-hero-form .phf-content .breadcrumb-lv span {
  color: rgba(255,255,255,0.65);
}
.page-hero-form h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero-form .phf-content p { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 1.5rem; }
.page-hero-form .phf-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.page-hero-form .breadcrumb-lv { margin-bottom: 1rem; font-size: 0.82rem; }
.page-hero-form .phf-trust { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.page-hero-form .phf-trust .trust-item { color: rgba(255,255,255,0.85); font-size: 0.875rem; display: flex; align-items: center; gap: 0.35rem; }
.page-hero-form .phf-lead { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 1.5rem; }
.page-hero-form .phf-trust { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-hero-form .trust-item { color: rgba(255,255,255,0.85); font-size: 0.875rem; }
.page-hero-form .hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(245,158,11,0.18); border: 1px solid rgba(245,158,11,0.45); color: var(--yellow-light, #fcd34d); font-size: 0.82rem; font-weight: 600; padding: 0.3rem 0.85rem; border-radius: 20px; margin-bottom: 1rem; letter-spacing: 0.04em; }
.page-hero-form .hero-checklist { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.page-hero-form .hero-checklist li { color: rgba(255,255,255,0.88); font-size: 0.97rem; padding-left: 1.6rem; position: relative; }
.page-hero-form .hero-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow, #f59e0b); font-weight: 700; }
.page-hero-form .hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); }
.page-hero-form .hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.page-hero-form .hero-stat .stat-num { font-size: 1.75rem; font-weight: 800; color: var(--yellow, #f59e0b); line-height: 1; }
.page-hero-form .hero-stat .stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); }
@media (max-width: 900px) {
  .page-hero-form .phf-inner { grid-template-columns: 1fr; }
  .page-hero-form .phf-inner .hero-form-card { max-width: 520px; }
}

/* ───── THANK-YOU MODAL ───── */
#ty-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#ty-modal.open {
  display: flex;
}
#ty-box {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: ty-pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes ty-pop {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
#ty-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
}
#ty-h {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue, #1e3a5f);
  margin: 0 0 0.5rem;
}
#ty-p {
  font-size: 1rem;
  color: #555;
  margin: 0 0 1.75rem;
}
#ty-close {
  background: var(--teal, #0891b2);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
#ty-close:hover {
  background: var(--teal-dark, #0c7a9a);
}
