/* ==========================================================================
   Halk Host — Design System
   Green brand palette, light/dark themes, RTL-aware, mobile-first responsive
   ========================================================================== */

:root {
  /* Brand green scale */
  --green-50:  #ecfdf3;
  --green-100: #d1fadf;
  --green-200: #a6f4c5;
  --green-300: #6ce9a6;
  --green-400: #32d583;
  --green-500: #12b76a;
  --green-600: #039855;
  --green-700: #027a48;
  --green-800: #05603a;
  --green-900: #054f31;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 14px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.12);
  --shadow-glow: 0 0 0 1px rgba(18, 183, 106, 0.15), 0 8px 24px rgba(18, 183, 106, 0.18);

  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Cairo', 'Tahoma', sans-serif;

  --container: 1200px;
  --transition: 180ms ease;
}

/* Light theme (default) */
:root,
[data-theme='light'] {
  --bg: #ffffff;
  --bg-alt: #f7fbf9;
  --bg-elevated: #ffffff;
  --bg-inset: #f1f7f4;
  --text: #0d1c15;
  --text-muted: #4b5f56;
  --text-faint: #7c8f86;
  --border: #e3ede8;
  --border-strong: #cfe0d8;
  --primary: var(--green-600);
  --primary-hover: var(--green-700);
  --primary-contrast: #ffffff;
  --accent-soft: var(--green-50);
  --card-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.85);
  --code-bg: #0d1c15;
}

[data-theme='dark'] {
  --bg: #0d1b3e;
  --bg-alt: #0a1631;
  --bg-elevated: #132a5c;
  --bg-inset: #0f2149;
  --text: #f2f5fc;
  --text-muted: #aab4d6;
  --text-faint: #7c88ad;
  --border: #1f3566;
  --border-strong: #2c477e;
  --primary: var(--green-400);
  --primary-hover: var(--green-300);
  --primary-contrast: #06180f;
  --accent-soft: rgba(50, 213, 131, 0.14);
  --card-bg: #122552;
  --header-bg: rgba(13, 27, 62, 0.85);
  --code-bg: #08132b;
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                           */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
}

html[lang='ar'] body,
[dir='rtl'] body { font-family: var(--font-ar); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--primary);
  background: var(--accent-soft); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: var(--radius-full);
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-block: 14px 12px; }
@media (min-width: 640px) { .nowrap-heading { white-space: nowrap; font-size: clamp(24px, 3.2vw, 40px); } }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 15px; border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary); color: var(--primary-contrast);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline {
  background: transparent; color: var(--text); border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: var(--bg-inset); color: var(--text); }
.btn-ghost:hover { background: var(--border); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------------------------------------------------------------------- */
/* Header                                                                 */
/* ---------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.brand { display: flex; align-items: center; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand .dot { color: var(--primary); }
.brand .accent-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); margin-inline-start: 3px; transform: translateY(-11px); }
.powered-by { font-size: 10px; font-weight: 600; color: var(--text-faint); letter-spacing: 0.02em; margin-top: 1px; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  padding: 10px 14px; border-radius: var(--radius-full); font-size: 14.5px; font-weight: 600;
  color: var(--text-muted); transition: background var(--transition), color var(--transition);
}
.nav-desktop a:hover { background: var(--bg-inset); color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-full);
  border: 1px solid var(--border-strong); background: var(--bg-elevated);
  color: var(--text); transition: border-color var(--transition), color var(--transition);
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn svg { width: 18px; height: 18px; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-radius: var(--radius-full);
  border: 1px solid var(--border-strong); background: var(--bg-elevated);
  font-size: 12.5px; font-weight: 700;
}
.lang-switch a { opacity: .55; transition: opacity var(--transition); padding: 2px; }
.lang-switch a:hover { opacity: .9; }
.lang-switch a.current { opacity: 1; color: var(--primary); pointer-events: none; }
.lang-switch .sep { opacity: .35; }

.theme-toggle .icon-moon { display: none; }
[data-theme='dark'] .theme-toggle .icon-sun { display: none; }
[data-theme='dark'] .theme-toggle .icon-moon { display: inline-flex; }

.nav-toggle { display: none; }
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-nav {
  display: none; flex-direction: column; gap: 2px;
  border-top: 1px solid var(--border); padding: 14px 20px 20px;
  background: var(--bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 8px; font-weight: 600; border-bottom: 1px solid var(--border); }

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */
.hero {
  padding-top: 76px; padding-bottom: 64px; position: relative; overflow: clip; color: #fff;
  background-image: url('https://images.unsplash.com/photo-1695668548342-c0c1ad479aee?auto=format&fit=crop&w=1600&q=60');
  background-size: cover; background-position: center 32%; background-repeat: no-repeat;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(4, 14, 10, 0.8) 0%, rgba(4, 12, 9, 0.86) 55%, rgba(4, 12, 9, 0.92) 100%),
    radial-gradient(680px 380px at 12% -10%, rgba(50, 213, 131, 0.22), transparent 60%),
    radial-gradient(600px 340px at 100% 0%, rgba(50, 213, 131, 0.16), transparent 55%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  text-align: start; max-width: 1160px; margin-inline: auto; position: relative; z-index: 1;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; text-align: center; }
}
.hero h1 {
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.55);
}
.hero h1 span { color: var(--green-300); }
.hero .eyebrow { background: rgba(8, 14, 11, 0.55); border-color: rgba(255, 255, 255, 0.24); color: var(--green-300); backdrop-filter: blur(4px); }
.hero .lead { font-size: clamp(15px, 1.6vw, 17.5px); color: rgba(255, 255, 255, 0.9); max-width: 480px; margin-inline: 0; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
@media (max-width: 900px) { .hero .lead { margin-inline: auto; } }
.hero-ctas { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 900px) { .hero-ctas { justify-content: center; } }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hero .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }

.hero-stats { display: flex; gap: 30px; justify-content: flex-start; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 900px) { .hero-stats { justify-content: center; } }
.hero-stats .stat b { display: block; font-size: 22px; font-weight: 800; color: var(--green-300); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.hero-stats .stat span { font-size: 12.5px; color: rgba(255, 255, 255, 0.78); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }

/* ---------------------------------------------------------------------- */
/* Hero message slider (left 50%)                                        */
/* ---------------------------------------------------------------------- */
.hero-slides { position: relative; min-height: 230px; }
@media (max-width: 900px) { .hero-slides { min-height: 260px; } }
.hero-slide {
  position: absolute; inset-block-start: 0; inset-inline-start: 0; inset-inline-end: 0;
  opacity: 0; transform: translateY(10px); transition: opacity 460ms ease, transform 460ms ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.hero-slider-nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
@media (max-width: 900px) { .hero-slider-nav { justify-content: center; } }
.hero-slider-dots { display: flex; gap: 7px; }
.hero-slider-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.32);
  padding: 0; transition: background var(--transition), width var(--transition);
}
.hero-slider-dots button.active { background: var(--green-300); width: 24px; border-radius: var(--radius-full); }
.hero-slider-arrow {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08); color: #fff; transition: border-color var(--transition), background var(--transition);
}
.hero-slider-arrow:hover { border-color: #fff; background: rgba(255, 255, 255, 0.16); }
.hero-slider-arrow svg { width: 14px; height: 14px; }
.hero-slider-arrow[data-slider-prev] svg { transform: scaleX(-1); }

/* ---------------------------------------------------------------------- */
/* Hero domain search panel (right 50%)                                  */
/* ---------------------------------------------------------------------- */
.hero-search-panel {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg);
}
.domain-search-title { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; color: var(--text); margin-bottom: 16px; }
.domain-search-title svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.hero-search-panel form { display: flex; flex-direction: column; gap: 12px; }
.hero-search-panel input[type='text'] {
  border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-inset);
  padding: 15px 16px; font-size: 16px; color: var(--text); width: 100%;
}
.hero-search-panel input[type='text']:focus { outline: none; border-color: var(--primary); }
.hero-search-panel .tld-chips { justify-content: flex-start; margin-top: 18px; }
.hero-search-panel .panel-note { display: flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 12.5px; color: var(--text-faint); }
.hero-search-panel .panel-note svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }

/* Domain search */
.domain-search {
  margin-top: 12px; background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 10px; box-shadow: var(--shadow-lg);
  max-width: 720px; margin-inline: auto;
}
.domain-search form { display: flex; gap: 8px; flex-wrap: wrap; }
.domain-search input[type='text'] {
  flex: 1 1 260px; border: none; background: transparent; padding: 14px 16px;
  font-size: 16px; color: var(--text); min-width: 0;
}
.domain-search input[type='text']:focus { outline: none; }
.domain-search .btn { flex: 0 0 auto; }
.tld-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.tld-chip {
  border: 1px solid var(--border-strong); border-radius: var(--radius-full);
  padding: 7px 14px; font-size: 13.5px; font-weight: 700; background: var(--bg-elevated); color: var(--text);
  display: inline-flex; align-items: center; gap: 6px; transition: border-color var(--transition), color var(--transition);
}
.tld-chip:hover { border-color: var(--primary); color: var(--primary); }
.tld-chip .price { color: var(--text-faint); font-weight: 600; }
.tld-chip .badge {
  font-size: 10px; font-weight: 800; background: var(--primary); color: var(--primary-contrast);
  border-radius: var(--radius-full); padding: 1px 6px; text-transform: uppercase;
}

.domain-result { display: none; margin-top: 12px; padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg-inset); color: var(--text); font-size: 14.5px; text-align: start; }
.domain-result.show { display: block; }

/* ---------------------------------------------------------------------- */
/* Logos / trust bar                                                      */
/* ---------------------------------------------------------------------- */
.trustbar { padding: 28px 0; border-block: 1px solid var(--border); background: var(--bg-alt); }
.trustbar .container { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trustbar span { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--text-muted); }
.trustbar svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------------------------------------------------------------------- */
/* Feature grid                                                           */
/* ---------------------------------------------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feature-icon {
  width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--accent-soft);
  color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------------------------------------------------------------------- */
/* Pricing tabs & cards                                                   */
/* ---------------------------------------------------------------------- */
.plan-tabs {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
  background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 6px; max-width: fit-content; margin: 0 auto 20px;
}
.plan-tab {
  padding: 10px 18px; border-radius: var(--radius-full); font-size: 13.5px; font-weight: 700;
  color: var(--text-muted); background: transparent; border: none; transition: all var(--transition);
  white-space: nowrap;
}
.plan-tab[aria-selected='true'] { background: var(--primary); color: var(--primary-contrast); }

.billing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 40px; font-size: 14px; font-weight: 600;
}
.switch { position: relative; width: 50px; height: 28px; border-radius: var(--radius-full); background: var(--border-strong); border: none; flex-shrink: 0; }
.switch::after {
  content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; transition: inset-inline-start var(--transition), background var(--transition);
  box-shadow: var(--shadow-sm);
}
.switch[aria-checked='true'] { background: var(--primary); }
.switch[aria-checked='true']::after { inset-inline-start: 25px; }
.save-badge { color: var(--primary); font-weight: 800; background: var(--accent-soft); padding: 3px 10px; border-radius: var(--radius-full); font-size: 12.5px; }

.plan-panel { display: none; }
.plan-panel.active { display: block; }

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.plan-grid.cols-6 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .plan-grid, .plan-grid.cols-3, .plan-grid.cols-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plan-grid, .plan-grid.cols-3, .plan-grid.cols-6 { grid-template-columns: 1fr; } }

.plan-card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.popular { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.plan-card .ribbon {
  position: absolute; top: -12px; inset-inline: 0; margin-inline: auto; width: fit-content;
  background: var(--primary); color: var(--primary-contrast); font-size: 11.5px; font-weight: 800;
  padding: 5px 14px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.04em;
}
.plan-card h3 { font-size: 18px; font-weight: 800; }
.plan-card .plan-tagline { font-size: 13px; color: var(--text-faint); min-height: 32px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.plan-price .cycle { font-size: 13px; color: var(--text-faint); }
.plan-price .was { font-size: 13px; color: var(--text-faint); text-decoration: line-through; }
.plan-list { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan-list li { display: flex; gap: 9px; font-size: 13.8px; color: var(--text-muted); align-items: flex-start; }
.plan-list svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.plan-list b { color: var(--text); }

.plan-more { text-align: center; margin-top: 28px; }

/* ---------------------------------------------------------------------- */
/* Split content sections                                                 */
/* ---------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-media {
  background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-md);
}
.mock-panel { background: var(--code-bg); border-radius: var(--radius-md); padding: 20px; color: #d7f5e4; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; line-height: 1.8; }
.mock-panel .c1 { color: var(--green-400); }
.mock-panel .c2 { color: #9db8ae; }

.split-media.photo { padding: 0; overflow: hidden; line-height: 0; position: relative; }
.split-media.photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.split-media.photo .photo-badge {
  position: absolute; inset-block-end: 16px; inset-inline-start: 16px;
  background: rgba(13, 27, 62, 0.72); backdrop-filter: blur(6px); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-md); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.split-media.photo .photo-badge svg { width: 15px; height: 15px; color: var(--green-300); flex-shrink: 0; }

/* Decorative blob illustration (CSS-only, no image weight) */
.blob-decor { position: relative; }
.blob-decor::before {
  content: ''; position: absolute; inset-block-start: -40px; inset-inline-end: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  z-index: 0; pointer-events: none;
}

.checklist { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.checklist .tick svg { width: 14px; height: 14px; }
.checklist b { display: block; font-size: 15px; }
.checklist span { font-size: 13.8px; color: var(--text-muted); }

/* ---------------------------------------------------------------------- */
/* Stats band                                                             */
/* ---------------------------------------------------------------------- */
.stats-band { background: var(--bg-alt); border-block: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stats-grid b { display: block; font-size: 32px; font-weight: 800; color: var(--primary); }
.stats-grid span { font-size: 13.5px; color: var(--text-muted); }

/* ---------------------------------------------------------------------- */
/* Testimonials                                                           */
/* ---------------------------------------------------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 3px; color: var(--primary); }
.stars svg { width: 15px; height: 15px; }
.testi-card p { font-size: 14.5px; color: var(--text-muted); }
.testi-person { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.testi-person b { display: block; font-size: 13.8px; }
.testi-person span { font-size: 12.5px; color: var(--text-faint); }

/* ---------------------------------------------------------------------- */
/* FAQ accordion                                                          */
/* ---------------------------------------------------------------------- */
.faq-list { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card-bg); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; background: transparent; border: none; text-align: start; font-size: 15.5px; font-weight: 700; color: var(--text);
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-inset); display: flex; align-items: center; justify-content: center; transition: transform var(--transition); }
.faq-item[open] .faq-q .plus { transform: rotate(45deg); background: var(--primary); color: var(--primary-contrast); }
.faq-a { padding: 0 20px 20px; font-size: 14.5px; color: var(--text-muted); }

/* ---------------------------------------------------------------------- */
/* CTA band                                                               */
/* ---------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { opacity: 0.92; max-width: 560px; }
.cta-band .btn-primary { background: #fff; color: var(--green-700); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--green-50); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-band .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.12); color: #fff; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 13.8px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.footer-contact svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }
.social-row { display: flex; gap: 8px; margin-top: 18px; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { border-color: var(--primary); color: var(--primary); }
.social-row svg { width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-faint); }
.footer-bottom .links { display: flex; gap: 18px; }

/* ---------------------------------------------------------------------- */
/* Skip link / focus                                                      */
/* ---------------------------------------------------------------------- */
.skip-link {
  position: absolute; top: -50px; inset-inline-start: 10px; background: var(--primary); color: var(--primary-contrast);
  padding: 10px 16px; border-radius: var(--radius-sm); z-index: 200; transition: top var(--transition);
}
.skip-link:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------------------------------------------------------------------- */
/* Floating WhatsApp button                                              */
/* ---------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed; inset-block-end: 24px; inset-inline-end: 24px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36); }
.whatsapp-float svg { width: 28px; height: 28px; }
@media (max-width: 640px) {
  .whatsapp-float { width: 50px; height: 50px; inset-block-end: 16px; inset-inline-end: 16px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
}

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
[data-reveal].in-view { opacity: 1; transform: none; }

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