/* =========================================================================
   OUAFI Solutions — Design system
   Color rule mandated by the client's spec (60 / 30 / 10):
     60% dominant  -> white / light gray backgrounds  (--color-bg, --color-bg-alt)
     30% secondary -> dark blue, identity/structure    (--color-primary)
     10% accent    -> teal/green, CTAs only             (--color-accent)
   ========================================================================= */

:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F7F8;      /* light gray, part of the 60% */
  --color-primary: #0A2540;      /* dark blue, 30% */
  --color-primary-light: #12385c;
  --color-accent: #20B2AA;       /* teal — swap for #28A745 (green) if the client prefers */
  --color-accent-dark: #1a938c;
  --color-text: #1c2b36;
  --color-text-muted: #5b6b76;
  --color-border: #e3e8ea;
  --color-gold: #C8A24A;         /* for the "golden box" guarantee section */
  --color-gold-bg: #FBF6EA;

  --font-fr: 'Poppins', 'Segoe UI', sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 36px rgba(10, 37, 64, 0.12);
  --shadow: var(--shadow-md);
  --container-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}
body.lang-fr { font-family: var(--font-fr); }
body.lang-en { font-family: var(--font-fr); }
body.lang-ar { font-family: var(--font-ar); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .container { padding: 0 40px; }
}
.container.narrow { max-width: 780px; }

h1, h2, h3 { color: var(--color-primary); line-height: 1.25; margin: 0 0 14px; }
h1 { font-size: 26px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 700; text-align: center; }
h3 { font-size: 17px; font-weight: 600; }

@media (min-width: 600px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
}

p { margin: 0 0 16px; color: var(--color-text-muted); font-size: 15px; }
.section-intro { text-align: center; max-width: 720px; margin: 0 auto 40px; }

section { padding: 64px 0; }
section:nth-of-type(even) { background: var(--color-bg-alt); }

/* ---------- Inner page header ---------- */
section.page-header {
  background: var(--color-primary);
  padding: 64px 0 56px;
  text-align: start;
}
.page-header h1 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 10px;
}
@media (min-width: 1024px) {
  .page-header h1 { font-size: 38px; }
}
.page-header p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  font-size: 1.05rem;
  margin: 0;
}
.page-header .blog-card-date {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- About ---------- */
.about-lead {
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.6;
}
.about-content .about-lead { margin-bottom: 20px; }

.about-lead-band {
  background: var(--color-bg);
  padding-block: 40px 32px;
}
.about-lead-band .about-lead {
  text-align: center;
  margin: 0 auto;
}

.about-body-section { padding-block: 48px; }
.about-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.about-text p { margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
@media (max-width: 900px) {
  .about-body { grid-template-columns: 1fr; }
  .about-visual-col { order: -1; }
}
.about-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(10, 37, 64, 0.12));
}

/* ---------- Privacy ---------- */
.privacy-block {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}
.privacy-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.privacy-block h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.privacy-block p {
  margin-bottom: 0;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--color-primary); color: var(--color-primary); margin-inline-start: 12px; }
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--color-primary);
  color: #d6e4ee;
  font-size: .85rem;
  position: relative;
  z-index: 110;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
}
.top-bar-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; min-width: 0; }
.top-bar-contact a { display: inline-flex; align-items: center; gap: 7px; color: #d6e4ee; }
.top-bar-contact a:hover { color: #fff; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.top-bar-social { display: flex; align-items: center; gap: 14px; }
.top-bar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-bg) 10%, transparent);
  color: #d6e4ee;
}
.top-bar-social a:hover { background: var(--color-accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 8px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo-img { height: 50px; }
}

@media (max-width: 480px) {
  .logo-img { height: 42px; }
}
.main-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.main-nav a { font-weight: 500; color: var(--color-text); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--color-primary); border-color: var(--color-accent); }
.header-actions { display: flex; align-items: center; gap: 18px; }

/* ---------- Language switch (pill + dropdown, top bar) ---------- */
.lang-switch { position: relative; }
.lang-switch-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--color-bg) 35%, transparent);
  background: transparent;
  color: var(--color-bg);
  font-weight: 600;
  font-size: .82rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.lang-switch-trigger:hover,
.lang-switch-trigger[aria-expanded="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.lang-switch-chevron { transition: transform .15s ease; flex-shrink: 0; }
.lang-switch-trigger[aria-expanded="true"] .lang-switch-chevron { transform: rotate(180deg); }
.lang-switch-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 150px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 120;
}
.lang-switch-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-weight: 500;
  color: var(--color-text);
}
.lang-switch-menu a:hover { background: var(--color-bg-alt); }
.lang-switch-menu a.active { color: var(--color-accent-dark); font-weight: 700; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-primary); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  padding-block: 72px;
  text-align: start;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 40px;
}
.hero-copy { min-width: 0; }
.hero-eyebrow {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: .85rem;
}
body.lang-fr .hero-eyebrow,
body.lang-en .hero-eyebrow {
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  max-width: 640px;
  text-align: start;
  color: var(--color-primary);
}
@media (min-width: 600px) {
  .hero-title { font-size: 30px; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 36px; max-width: none; }
}
.hero .subtitle {
  font-size: 16px;
  margin-bottom: 16px;
  max-width: 42rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.hero-img {
  width: 100%;
  max-width: 760px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(10, 37, 64, 0.12));
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-visual { order: -1; }
  .hero-img { max-width: 280px; margin-inline: auto; }
}
@media (max-width: 599px) {
  .hero {
    text-align: center;
    padding-block: 48px;
  }
  .hero-title { text-align: center; margin-inline: auto; }
  .hero .subtitle { max-width: none; }
  .hero-actions { justify-content: center; }
}

/* ---------- Stats banner ---------- */
section.stats-banner {
  background: var(--color-primary);
  color: #fff;
  padding-block: 48px;
  padding-inline: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 8px 20px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
}
.stat-item:first-child {
  border-inline-start: none;
}
.stat-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-accent);
}
.stat-label {
  display: block;
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item {
    border-inline-start: none;
    padding-block: 16px;
  }
}
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Feature cards (phases, solutions, sectors) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.feature-grid--tight { margin-bottom: 32px; }
.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--color-accent) 14%, var(--color-bg));
  color: var(--color-accent-dark);
  flex-shrink: 0;
}
.feature-card--process .feature-card__icon,
.feature-card__icon.feature-card--process {
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
  color: var(--color-primary);
}
.feature-card__badge {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-end: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
}
.feature-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.feature-card h3 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.35;
}
.feature-card p {
  margin: 0;
  color: var(--color-text-muted);
  flex: 1 1 auto;
}
.feature-card__link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s ease, color .15s ease;
}
.feature-card__link:hover {
  background: var(--color-primary);
  color: var(--color-bg);
}
.feature-card--compact {
  align-items: flex-start;
  padding: 22px 20px;
  text-align: start;
}
.feature-card--compact .feature-card__body { margin-bottom: 0; }
.feature-card--compact h3 {
  font-size: 1rem;
  line-height: 1.4;
}
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.human-note {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 24px;
  border-inline-start: 4px solid var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 8px;
  color: var(--color-text-muted);
}

/* ---------- Detail pages ---------- */
.detail-hero {
  background: var(--color-bg-alt);
  padding: 48px 0 32px;
}
.detail-hero .container { max-width: 780px; }
.detail-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: .9rem;
}
.detail-kicker .feature-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  border-radius: 10px;
}
.detail-status {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 16%, var(--color-bg));
  color: var(--color-accent-dark);
  font-size: .8rem;
}
.detail-content {
  padding: 40px 0 64px;
}
.detail-content .container { max-width: 780px; }
.detail-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.detail-actions .btn-outline { margin-inline-start: 0; }

/* ---------- FAQ preview ---------- */
.faq-preview .section-footer {
  text-align: center;
  margin-top: 28px;
}
.faq-preview .section-footer a {
  color: var(--color-accent-dark);
  font-weight: 600;
  border-bottom: 2px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
}
.faq-preview .section-footer a:hover {
  color: var(--color-primary);
  border-color: var(--color-accent);
}

/* ---------- Golden box (guarantee) ---------- */
.golden-box {
  background: var(--color-gold-bg);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.golden-box-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  text-align: start;
  margin-top: 24px;
}
.golden-col {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.golden-col ul { padding-inline-start: 20px; margin: 0; color: var(--color-text-muted); }
.golden-col li { margin-bottom: 10px; }
.golden-box-teaser .btn-outline { margin-inline-start: 0; margin-top: 8px; }

/* ---------- CTA final ---------- */
section.cta-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background: var(--color-primary);
  padding: 72px 0;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 100% 0%, color-mix(in srgb, var(--color-accent) 26%, transparent), transparent 58%),
    radial-gradient(ellipse 55% 55% at 0% 100%, color-mix(in srgb, var(--color-primary-light) 90%, transparent), transparent 52%);
}
.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-bg) 50%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-bg) 50%, transparent) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-final .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-final h2 {
  color: var(--color-bg);
  margin-bottom: 0;
}
.cta-final-subtitle {
  max-width: 640px;
  margin: 0 0 8px;
  color: color-mix(in srgb, var(--color-bg) 82%, transparent);
}
.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.cta-final-actions .btn { margin-inline: 0; }
.cta-final .btn-outline {
  border-color: color-mix(in srgb, var(--color-bg) 85%, transparent);
  color: var(--color-bg);
  background: transparent;
}
.cta-final .btn-outline:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}
.cta-final-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--color-bg) 18%, transparent);
}
.cta-final-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--color-bg) 88%, transparent);
  font-weight: 500;
  font-size: .95rem;
}
.cta-final-contacts a:hover { color: var(--color-accent); }
.cta-final-contacts svg { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .btn,
  .lang-switch-trigger,
  .lang-switch-chevron,
  .accordion-icon {
    transition: none !important;
  }
  .feature-card:hover { transform: none; }
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; text-align: start; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--color-primary); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--color-bg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.15);
}
.form-group input[readonly] { background: var(--color-bg-alt); color: var(--color-primary); font-weight: 600; }
.form-group small { display: block; color: var(--color-text-muted); margin-top: 6px; font-size: .85rem; }
.form-message { margin-top: 24px; padding: 20px; border-radius: var(--radius); }
.form-success { background: #e7f7ee; border: 1px solid var(--color-accent); color: #17643a; }
.form-error { background: #fdecec; border: 1px solid #d9534f; color: #a8332e; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row .form-group { margin-bottom: 0; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.quote-form-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
}

@media (max-width: 480px) {
  .quote-form-card { padding: 28px 20px; }
}

.quote-submit-btn {
  width: 100%;
  justify-content: center;
  display: flex;
  margin-top: 8px;
}
@media (min-width: 600px) {
  .quote-submit-btn { width: auto; }
}

/* ---------- Contact info + map + complaint ---------- */
.contact-info-section {
  background: var(--color-bg-alt);
}
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 800px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}

.contact-info-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg, 18px);
  box-shadow: var(--shadow-md, var(--shadow));
  padding: 36px;
}
.contact-info-card h2 {
  text-align: start;
  margin-bottom: 8px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.contact-info-item a {
  color: var(--color-primary);
  font-weight: 600;
}
.contact-info-item a:hover { color: var(--color-accent-dark); }

.contact-map-card {
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-md, var(--shadow));
  min-height: 320px;
  background: var(--color-bg);
}
.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

section.complaint-section {
  padding-top: 56px;
  background: var(--color-bg-alt);
}
@media (max-width: 600px) {
  .complaint-section { padding-top: 36px; }
}
.complaint-intro {
  text-align: start;
  max-width: none;
  margin: 0 0 24px;
}
.complaint-section .quote-form-card h2 {
  text-align: start;
}

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--color-bg);
  border: none;
  padding: 18px 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  text-align: start;
  font-family: inherit;
  transition: background .15s ease;
}
.accordion-trigger:hover { background: var(--color-bg-alt); }
.accordion-icon { font-size: 1.4rem; color: var(--color-accent); transition: transform .2s ease; flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { padding: 0 20px 18px; }
.accordion-panel p { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary); color: #cfe0ec; padding-top: 56px; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}
.footer-col h4 { color: #fff; margin-bottom: 12px; }
.footer-col a { color: #cfe0ec; display: inline-block; margin-bottom: 6px; }
.footer-col a:hover { color: var(--color-accent); }
.footer-operation {
  margin-bottom: 8px;
  color: var(--color-text-muted, #a9b7c3);
  font-size: 0.92rem;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 18px 0; font-size: .85rem; text-align: center; }
.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover {
  color: var(--color-accent);
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  z-index: 200;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

a.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-bg);
  border-radius: var(--radius-lg, 18px);
  box-shadow: var(--shadow-md, var(--shadow));
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg, var(--shadow));
}

.blog-card-date { color: var(--color-text-muted); font-size: 0.85rem; }
.blog-card-title { color: var(--color-primary); font-size: 1.15rem; margin: 0; line-height: 1.35; }
.blog-card-excerpt { color: var(--color-text-muted); margin: 0; }
.blog-card-link { color: var(--color-accent-dark); font-weight: 600; margin-top: auto; }

.blog-article-content { line-height: 1.75; }
.blog-article-content p { margin-bottom: 18px; }
.blog-article-content strong { color: var(--color-primary); }
.blog-article-content a {
  color: var(--color-accent-dark);
  font-weight: 600;
  text-decoration: underline;
}
.blog-article-content a:hover { color: var(--color-primary); }

.blog-back-link {
  display: inline-block;
  margin-top: 32px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.blog-back-link:hover { color: var(--color-accent); }

@media (prefers-reduced-motion: reduce) {
  .blog-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .top-bar-contact a:nth-child(2) { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--color-bg);
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
  }
  .header-actions .btn-accent { display: none; }
}

@media (max-width: 480px) {
  .top-bar-contact a span { display: none; }
  .top-bar-inner { gap: 10px; }
  .top-bar-right { gap: 10px; }
  .top-bar-social { gap: 8px; }
  .lang-switch-label { display: none; }
  .lang-switch-trigger {
    padding: 5px 9px;
    gap: 4px;
  }
}
