/* =========================================================
   Grace 360 — Dark Premium Theme
   Hebrew/RTL · WordPress-ready prototype
   Palette: midnight navy + silver primary + copper accent
   ========================================================= */

:root {
  /* Backgrounds (premium midnight navy — distinctly lighter than near-black) */
  --bg-0: #14223D;          /* deepest, body background */
  --bg-1: #1B2D52;          /* main section bg */
  --bg-2: #213861;          /* alternating section bg */
  --bg-3: #284373;          /* glass card on dark */
  --bg-4: #335094;          /* lifted card / hover */

  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-strong: rgba(255, 255, 255, 0.18);

  /* Brand blues (kept from logo) */
  --navy: #1F3A6B;
  --navy-deep: #15294F;
  --blue: #2D5599;
  --blue-mid: #3D6BB5;
  --sky: #5B9BD5;
  --sky-light: #82B5DE;
  --sky-pale: #C5D9EC;

  /* Silver — primary metallic accent (cool, modern, fits blue) */
  --silver-1: #E6EBF2;
  --silver-2: #C5CCDA;
  --silver-3: #9AA3B5;
  --silver-deep: #6E7689;

  /* Copper — secondary accent (warmth, awards, success moments) */
  --copper-1: #E8C394;
  --copper-2: #D4A574;
  --copper-3: #B8895C;
  --copper-deep: #8B6240;

  /* Text */
  --t-1: #F4F8FF;           /* primary white-blue */
  --t-2: rgba(244, 248, 255, 0.78);
  --t-3: rgba(244, 248, 255, 0.55);
  --t-muted: rgba(244, 248, 255, 0.42);

  /* Status */
  --success: #4DCB8E;
  --whatsapp: #25D366;
  --whatsapp-dark: #1FAE54;

  /* Shadows (deeper for dark theme) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.6);
  --shadow-blue: 0 18px 40px rgba(45, 85, 153, 0.42);
  --shadow-copper: 0 14px 36px rgba(212, 165, 116, 0.28);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--blue-mid) 0%, var(--sky) 100%);
  --grad-deep: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue) 100%);
  --grad-silver: linear-gradient(180deg, var(--silver-1) 20%, var(--silver-3) 100%);
  --grad-copper: linear-gradient(135deg, var(--copper-1) 0%, var(--copper-3) 100%);
  --grad-metal: linear-gradient(135deg, var(--silver-2) 0%, var(--copper-2) 100%);
  --grad-bg: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Type */
  --font-sans: 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================
   Reset / Base
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-0);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--t-1);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(91, 155, 213, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 30%, rgba(91, 155, 213, 0.16), transparent 60%),
    var(--bg-0);
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }

a {
  color: var(--sky-light);
  text-decoration: none;
  transition: color 0.18s var(--ease-soft);
}
a:hover { color: var(--silver-1); }

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  font-weight: 800;
  line-height: 1.18;
  color: var(--t-1);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--t-2); }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--copper-2); color: var(--bg-0); }


/* =========================================================
   Layout helpers
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(72px, 10vw, 130px) 0;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-2);
  background: rgba(212, 165, 116, 0.10);
  border: 1px solid rgba(212, 165, 116, 0.22);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.section-title {
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--t-1);
}

.section-lead {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
  color: var(--t-2);
  max-width: 680px;
  margin: 0 auto;
}


/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.25s var(--ease-soft), color 0.22s var(--ease-soft), border-color 0.22s var(--ease-soft);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  border: 1.5px solid transparent;
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* Primary — silver→copper metallic gradient */
.btn-primary {
  color: var(--bg-0);
  background: linear-gradient(135deg, var(--silver-1) 0%, var(--copper-1) 100%);
  box-shadow: 0 14px 36px rgba(212, 165, 116, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(212, 165, 116, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: var(--bg-0);
}
.btn-primary svg { transform: scaleX(-1); }

/* Ghost */
.btn-ghost {
  color: var(--t-1);
  background: var(--glass);
  border-color: var(--glass-border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--glass-strong);
  border-color: var(--silver-3);
  color: var(--silver-1);
}

/* WhatsApp */
.btn-wa {
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.36);
}
.btn-wa:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(37, 211, 102, 0.5);
  color: #fff;
}
.btn-wa svg { fill: currentColor; }


/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(14, 26, 51, 0.65);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
/* Fallback for browsers without backdrop-filter (some Android Chrome versions) */
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(14, 26, 51, 0.94); }
}
.site-header.scrolled {
  background: rgba(14, 26, 51, 0.92);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: nowrap;          /* force single line — prevents 2-row wrap on dense headers */
}

.header-nav {
  flex: 1;
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);  /* responsive gap — tighter on narrow screens */
  justify-content: center;
  flex-wrap: nowrap;
}

/* Hide the primary CTA in header on ALL desktop widths — keep it only on mobile burger menu */
/* The WhatsApp + Phone buttons already serve as primary CTAs, and the hero has a big "קבלו אבחון חינם" */
@media (min-width: 1025px) {
  .header-actions .btn-primary { display: none; }
}

/* On tight desktop (just above mobile breakpoint), tighten nav for safety */
@media (min-width: 1025px) and (max-width: 1280px) {
  .header-nav { gap: 12px; }
  .header-nav a { font-size: 14px; }
  .header-nav a.nav-pill { padding: 6px 12px 6px 10px; font-size: 13px; }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--t-1);
}
.header-logo img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--silver-2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.header-logo-text strong {
  font-size: 18px;
  font-weight: 800;
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.04em;
}
.header-logo-text em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--copper-2);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.header-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--t-2);
  position: relative;
  padding: 6px 0;
}
.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--silver-2), var(--copper-2));
  border-radius: 2px;
  transition: width 0.28s var(--ease);
}
.header-nav a:hover { color: var(--t-1); }
.header-nav a:hover::after { width: 100%; }

/* Cross-page nav pill (e.g., 🚗 דף רכב / 🏠 משכנתאות) */
.header-nav a.nav-pill {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.18), rgba(91, 155, 213, 0.18));
  border: 1px solid rgba(212, 165, 116, 0.45);
  border-radius: 999px;
  padding: 7px 14px 7px 12px;
  color: var(--copper-1);
  font-size: 13.5px;
  font-weight: 700;
  margin-right: 10px;
  transition: background 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), transform 0.2s var(--ease-soft);
}
.header-nav a.nav-pill::after { display: none; }
.header-nav a.nav-pill:hover {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.32), rgba(91, 155, 213, 0.28));
  border-color: var(--copper-2);
  color: #fff;
  transform: translateY(-1px);
}
.header-nav a.nav-pill span { font-size: 16px; line-height: 1; }

/* Mobile pill variant */
.mobile-menu .mobile-pill-car,
.mobile-menu .mobile-pill-mortgage {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.20), rgba(91, 155, 213, 0.18));
  color: var(--copper-1);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(212, 165, 116, 0.45);
  font-weight: 700;
  margin-top: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;          /* keep all action buttons on a single line */
  flex-shrink: 0;             /* don't shrink — keep buttons readable */
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--t-1);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft), background 0.2s var(--ease-soft);
}
.header-phone:hover {
  border-color: var(--silver-3);
  background: var(--glass-strong);
  color: var(--t-1);
}
.header-phone svg { color: var(--copper-2); }

.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--whatsapp);
  transition: background 0.2s var(--ease-soft), transform 0.2s var(--ease-soft);
}
.header-wa:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
  color: #fff;
}
.header-wa svg { fill: currentColor; }

.header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
}
.header-burger span {
  width: 24px;
  height: 2.5px;
  background: var(--t-1);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.header-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(10, 20, 40, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}
.mobile-menu a {
  font-size: 17px;
  font-weight: 600;
  color: var(--t-1);
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .mobile-phone {
  background: var(--glass-strong);
  color: var(--t-1);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  border-bottom: 0;
  margin-top: 6px;
  border: 1px solid var(--glass-border-strong);
}
.mobile-menu .mobile-wa {
  background: var(--whatsapp);
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  border-bottom: 0;
  font-weight: 700;
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 140px 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91, 155, 213, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(212, 165, 116, 0.08), transparent 60%),
    var(--bg-0);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg .hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}
.hero-bg .hero-grid path {
  stroke: rgba(255, 255, 255, 0.06) !important;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float-glow 16s ease-in-out infinite;
}
.hero-glow-a {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -180px;
  background: radial-gradient(circle, rgba(91, 155, 213, 0.5), transparent 70%);
}
.hero-glow-b {
  width: 700px;
  height: 700px;
  bottom: -250px;
  left: -250px;
  background: radial-gradient(circle, rgba(31, 58, 107, 0.6), transparent 70%);
  animation-delay: -8s;
}
.hero-glow-c {
  width: 400px;
  height: 400px;
  top: 30%;
  left: 20%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.18), transparent 70%);
  animation-delay: -4s;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* Stars / particles */
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--silver-1);
  box-shadow: 0 0 8px var(--silver-1);
  opacity: 0;
  animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.9; transform: scale(1); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-2);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fade-up 0.7s var(--ease) 1.4s both;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(77, 203, 142, 0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(77, 203, 142, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(77, 203, 142, 0); }
}

.hero-title {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--t-1);
}
.title-line { display: block; overflow: hidden; }
.title-line-1 .title-text,
.title-line-2 .title-text {
  display: inline-block;
  background: linear-gradient(180deg, var(--t-1) 0%, var(--silver-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.title-line-1 .title-text { animation: word-reveal 0.9s var(--ease) 1.6s both; }
.title-line-2 .title-text { animation: word-reveal 0.9s var(--ease) 1.85s both; }
.title-line-brand {
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 12px;
}
.title-line-brand .title-text {
  display: inline-block;
  background: var(--grad-copper);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: word-reveal 0.9s var(--ease) 2.1s both;
}

@keyframes word-reveal {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
  color: var(--t-2);
  max-width: 560px;
  margin-bottom: 32px;
  animation: fade-up 0.8s var(--ease) 2.1s both;
}
.hero-sub strong { color: var(--silver-1); font-weight: 700; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  animation: fade-up 0.8s var(--ease) 2.35s both;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  animation: fade-up 0.8s var(--ease) 2.55s both;
}
.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--t-2);
}
.hero-pills svg { color: var(--success); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Hero visual ---- */

.hero-visual {
  position: relative;
  height: clamp(380px, 50vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-stage {
  position: relative;
  width: clamp(280px, 32vw, 440px);
  height: clamp(280px, 32vw, 440px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: gentle-float 8s ease-in-out infinite;
  cursor: pointer;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Outer luminous halo */
.logo-stage::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(91, 155, 213, 0.4) 0%, transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(230, 235, 242, 0.3) 0%, transparent 50%);
  filter: blur(40px);
  opacity: 0;
  animation: halo-emerge 1.6s var(--ease) 0.8s forwards;
  z-index: 0;
}

@keyframes halo-emerge {
  to { opacity: 1; }
}

.anim-logo-img {
  width: 96%;
  height: 96%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--silver-2);
  box-shadow:
    0 0 0 1px var(--copper-2),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(91, 155, 213, 0.45);
  position: relative;
  z-index: 4;
  opacity: 0;
  transform: scale(0.6) rotate(-18deg);
  animation: logo-reveal 1.6s var(--ease) 1.0s forwards;
}

@keyframes logo-reveal {
  0%   { opacity: 0; transform: scale(0.6) rotate(-18deg); }
  60%  { opacity: 1; transform: scale(1.06) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Concentric rings */
.logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  pointer-events: none;
}
.logo-ring-1 {
  border-color: rgba(230, 235, 242, 0.18);
  animation: ring-pulse 4s var(--ease) 2.0s infinite;
}
.logo-ring-2 {
  inset: -8%;
  border-color: rgba(212, 165, 116, 0.25);
  border-style: dashed;
  border-width: 1px;
  animation: ring-spin 32s linear infinite;
  opacity: 0;
  animation: ring-spin 32s linear infinite, ring-fade 1.4s var(--ease) 2.4s forwards;
}
.logo-ring-3 {
  inset: -18%;
  border-width: 1px;
  border-color: rgba(230, 235, 242, 0.10);
  animation: ring-pulse 4s var(--ease) 2.4s infinite;
}

@keyframes ring-pulse {
  0% { transform: scale(0.94); opacity: 0; }
  30% { opacity: 0.9; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes ring-fade { to { opacity: 1; } }

/* Shine sweep across the logo on load — constrained to inner ring area only */
.logo-shine {
  position: absolute;
  inset: 24%;                /* match the logo's blue-ring inner area */
  border-radius: 50%;
  overflow: hidden;          /* ensure gradient stays in the circle */
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.logo-shine::after {
  content: "";
  position: absolute;
  inset: -10%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.7) 50%, transparent 65%);
  opacity: 0;
  transform: translateX(120%);
  animation: shine-sweep 1.8s var(--ease) 2.2s forwards;
}
@keyframes shine-sweep {
  0%   { opacity: 0; transform: translateX(120%); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-120%); }
}

.logo-stage.replay .anim-logo-img { animation: logo-reveal 1.4s var(--ease) 0.05s forwards; }
.logo-stage.replay .logo-shine::after { animation: shine-sweep 1.6s var(--ease) 0.6s forwards; }

/* House blueprint draw-in */
.anim-house {
  position: absolute;
  width: clamp(180px, 22vw, 280px);
  height: auto;
  bottom: 4%;
  left: -2%;
  z-index: 3;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
  animation: house-float 6s ease-in-out infinite;
}

.anim-house g { stroke: url(#houseDarkGrad); }

@keyframes house-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1.5deg); }
}

.anim-house .house-line,
.anim-house .house-chart {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-house 1.6s var(--ease) forwards;
}
.anim-house .line-1 { animation-delay: 2.0s; }
.anim-house .line-2 { animation-delay: 2.2s; }
.anim-house .line-3 { animation-delay: 2.4s; }
.anim-house .line-4 { animation-delay: 2.6s; }
.anim-house .line-5 { animation-delay: 2.75s; }
.anim-house .line-6 { animation-delay: 2.95s; }
.anim-house .line-7 { animation-delay: 2.85s; }
.anim-house .line-8 { animation-delay: 2.95s; }
.anim-house .house-chart { animation-delay: 3.15s; animation-duration: 1.4s; }

@keyframes draw-house {
  to { stroke-dashoffset: 0; }
}

.float-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--silver-2);
  opacity: 0.4;
  filter: blur(0.5px);
  animation: dot-drift 10s ease-in-out infinite;
}
.dot-a { width: 12px; height: 12px; top: 18%; right: 12%; animation-delay: 0s; }
.dot-b { width: 8px; height: 8px; top: 64%; right: 76%; background: var(--copper-2); animation-delay: -3s; }
.dot-c { width: 10px; height: 10px; top: 40%; right: 88%; animation-delay: -6s; }

@keyframes dot-drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(15px, -20px); }
  66% { transform: translate(-12px, 14px); }
}


/* ---- Hero stats strip ---- */

.hero-stats {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3) 100%),
    var(--bg-2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 40px 0;
  margin-top: 0;
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat { position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14%;
  left: -16px;
  height: 72%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--glass-border-strong), transparent);
}
.stat-num {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  filter: drop-shadow(0 2px 8px rgba(230, 235, 242, 0.15));
  direction: ltr;          /* keep number+unit in LTR order (97% not %97) */
}
.stat-num em {
  font-size: 0.55em;
  font-style: normal;
  background: var(--grad-copper);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-check {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-copper);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(212, 165, 116, 0.2));
}
.stat-label {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--t-2);
  letter-spacing: 0.04em;
}
.stat-foot {
  font-size: 11px;
  color: var(--t-muted);
  margin-top: 2px;
}


/* =========================================================
   Cards (shared base for Pain, USP, Process, Service, etc.)
   ========================================================= */

.card-base {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform 0.32s var(--ease), background 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.card-base:hover {
  transform: translateY(-6px);
  background: var(--glass-strong);
  border-color: var(--silver-deep);
  box-shadow: var(--shadow-lg);
}


/* =========================================================
   Pain
   ========================================================= */

.pain { background: var(--bg-1); }
.pain::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-strong), transparent);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.pain-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform 0.32s var(--ease), background 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.pain-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--silver-2), var(--copper-2));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.pain-card:hover {
  transform: translateY(-6px);
  background: var(--glass-strong);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-lg);
}
.pain-card:hover::before { transform: scaleX(1); }

.pain-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  color: var(--copper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--glass-border);
}

.pain-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--t-1);
}
.pain-card p {
  font-size: 15.5px;
  color: var(--t-2);
  margin: 0;
  line-height: 1.65;
}
.pain-card strong { color: var(--silver-1); font-weight: 700; }


/* =========================================================
   CTA banner (between Pain and Solution)
   ========================================================= */

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 56px) 0;
  background:
    radial-gradient(ellipse 60% 100% at 0% 50%, rgba(212, 165, 116, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 100% at 100% 50%, rgba(91, 155, 213, 0.22), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--blue) 100%);
  border-top: 1px solid var(--glass-border-strong);
  border-bottom: 1px solid var(--glass-border-strong);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper-2), transparent);
  opacity: 0.5;
}

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

.cta-banner-text {
  flex: 1;
  min-width: 280px;
}

.cta-banner-text h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
  letter-spacing: -0.01em;
}

.cta-banner-text p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}
.cta-banner-text strong {
  color: var(--copper-1);
  font-weight: 700;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner-actions {
    width: 100%;
    flex-direction: column;
  }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
}


/* =========================================================
   Solution / USPs
   ========================================================= */

.solution { background: var(--bg-0); }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.usp-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform 0.32s var(--ease), background 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.usp-card:hover {
  transform: translateY(-6px);
  background: var(--glass-strong);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-lg);
}

.usp-num {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: flex-start;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  filter: drop-shadow(0 2px 8px rgba(230, 235, 242, 0.15));
  direction: ltr;          /* keep number+unit in LTR order (97% not %97) */
}
.usp-num em {
  font-size: 0.4em;
  font-style: normal;
  margin-top: 0.25em;
  background: var(--grad-copper);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.usp-check {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-copper);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 8px rgba(212, 165, 116, 0.2));
}

.usp-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--t-1);
}
.usp-card p {
  font-size: 15px;
  color: var(--t-2);
  margin: 0;
  line-height: 1.65;
}
.usp-card strong { color: var(--silver-1); font-weight: 700; }
.usp-foot {
  display: block;
  font-size: 11.5px;
  color: var(--t-muted);
  margin-top: 8px;
  font-weight: 400;
}

/* Featured variant — copper-toned highlight */
.usp-feature {
  background:
    linear-gradient(135deg, rgba(212, 165, 116, 0.10) 0%, rgba(31, 58, 107, 0.5) 100%),
    var(--bg-3);
  border-color: rgba(212, 165, 116, 0.32);
  position: relative;
}
.usp-feature::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(212, 165, 116, 0.4), transparent 70%);
  pointer-events: none;
}
.usp-feature:hover {
  border-color: rgba(212, 165, 116, 0.55);
  box-shadow: var(--shadow-copper);
}


/* =========================================================
   Process
   ========================================================= */

.process { background: var(--bg-1); }
.process::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-strong), transparent);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 50px;
  right: 8%; left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--silver-deep) 50%, transparent 100%);
  z-index: 0;
}

.process-step {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.process-step:hover {
  transform: translateY(-4px);
  background: var(--glass-strong);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-lg);
}

.step-num {
  font-size: 26px;
  font-weight: 800;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--silver-deep);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--silver-1);
  letter-spacing: 0.02em;
}

.process-step-final .step-num {
  background: var(--grad-copper);
  border-color: transparent;
  color: var(--bg-0);
  box-shadow: var(--shadow-copper);
}

.process-step h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--t-1);
  margin-bottom: 10px;
}
.process-step h3 em {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  color: var(--copper-2);
  margin-top: 4px;
}
.process-step p {
  font-size: 15px;
  color: var(--t-2);
  line-height: 1.65;
  margin: 0;
}


/* =========================================================
   Services
   ========================================================= */

.services { background: var(--bg-0); }

.service-category {
  margin-bottom: 56px;
}
.service-category:last-child { margin-bottom: 0; }

.service-category-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}
.service-category-head::after {
  content: "";
  position: absolute;
  bottom: -1px; right: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--copper-2), transparent);
}
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  color: var(--copper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border-strong);
  flex-shrink: 0;
}
.service-category-head h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--silver-1);
  margin: 0 0 4px;
}
.service-category-head p {
  font-size: 14.5px;
  color: var(--t-3);
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.services-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.32s var(--ease), background 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  background: var(--glass-strong);
  border-color: var(--silver-deep);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  color: var(--silver-1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--glass-border-strong);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.service-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--t-1);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 15px;
  color: var(--t-2);
  line-height: 1.65;
  margin: 0;
}

.inline-link {
  font-weight: 700;
  color: var(--copper-2);
  border-bottom: 1.5px dashed var(--copper-3);
  padding-bottom: 1px;
}
.inline-link:hover { color: var(--copper-1); border-bottom-style: solid; }


/* =========================================================
   About
   ========================================================= */

.about { background: var(--bg-1); }
.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-strong), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.about-content .section-eyebrow { margin-bottom: 16px; }
.about-content .section-title { text-align: right; margin-bottom: 24px; }
.about-text { font-size: 16.5px; color: var(--t-2); line-height: 1.78; margin-bottom: 32px; }
.about-text strong { color: var(--silver-1); font-weight: 700; }

.about-bonus {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.12) 0%, rgba(20, 36, 65, 0.6) 100%);
  border: 1px solid rgba(212, 165, 116, 0.28);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.bonus-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-copper);
  color: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-copper);
}
.about-bonus h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--t-1);
  margin-bottom: 6px;
}
.about-bonus p {
  font-size: 15px;
  color: var(--t-2);
  line-height: 1.6;
  margin: 0;
}

.about-quote {
  background:
    radial-gradient(circle at 0% 0%, rgba(91, 155, 213, 0.18), transparent 60%),
    var(--bg-3);
  color: var(--t-1);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-xl);
  padding: 42px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-quote::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.18), transparent 70%);
  pointer-events: none;
}
.signing-photo {
  margin: 0 0 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border-strong);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16/9;
  position: relative;
}
.signing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.signing-photo:hover img { transform: scale(1.04); }
.signing-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 51, 0) 50%, rgba(15, 27, 51, 0.55) 100%);
  pointer-events: none;
}

.quote-mark {
  width: 56px;
  height: 56px;
  color: var(--copper-2);
  opacity: 0.55;
  margin-bottom: 12px;
  position: relative;
}
.quote-text {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--t-1);
  margin-bottom: 24px;
  position: relative;
}
.quote-text strong { color: var(--copper-1); font-weight: 700; }
.quote-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--copper-2);
  margin-bottom: 4px;
}
.quote-source {
  font-size: 13px;
  color: var(--t-muted);
  margin: 0;
}


/* =========================================================
   Testimonials
   ========================================================= */

.testimonials { background: var(--bg-0); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-card::before {
  content: "\201D";
  position: absolute;
  top: 12px;
  left: 24px;
  font-size: 80px;
  line-height: 1;
  color: rgba(212, 165, 116, 0.18);
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  background: var(--glass-strong);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-lg);
}
.stars {
  color: var(--copper-1);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 6px rgba(212, 165, 116, 0.4));
}
.testimonial-card p {
  font-size: 15.5px;
  color: var(--t-2);
  line-height: 1.7;
  margin-bottom: 18px;
}
.testimonial-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--silver-2);
}
.testimonial-source {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--copper-2);
  letter-spacing: 0.04em;
}

.testimonials-cta {
  text-align: center;
}


/* =========================================================
   Contact / Final CTA
   ========================================================= */

.contact {
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(212, 165, 116, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(91, 155, 213, 0.18), transparent 60%),
    var(--bg-1);
  position: relative;
  overflow: hidden;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Centered variant — used when contact section has info only (no form) */
.contact-inner-centered {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner-centered .contact-text .section-title,
.contact-inner-centered .contact-text .section-lead { text-align: center; }
.contact-inner-centered .contact-list {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.contact-inner-centered .contact-list li { justify-content: center; }
.contact-inner-centered .contact-cta-row { justify-content: center; }


/* ===== Quick Lead section (form moved to top of page for max conversions) ===== */

.quick-lead {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(91, 155, 213, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(212, 165, 116, 0.10), transparent 60%),
    var(--bg-2);
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 100px) 0;
}
.quick-lead::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-strong), transparent);
}

.quick-lead-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.quick-lead-text { padding-top: 12px; }
.quick-lead-text .section-eyebrow { margin-bottom: 16px; }
.quick-lead-text .section-title { text-align: right; margin-bottom: 18px; font-size: clamp(28px, 3.5vw, 38px); }
.quick-lead-text .section-lead { text-align: right; margin: 0 0 28px; font-size: 17px; line-height: 1.7; }
.quick-lead-text .section-lead strong { color: var(--copper-1); font-weight: 700; }

.quick-lead-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.quick-lead-trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--t-2);
  padding: 12px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-weight: 500;
  transition: background 0.2s var(--ease-soft);
}
.quick-lead-trust li:hover { background: var(--glass-strong); }
.quick-lead-trust li span { font-size: 20px; flex-shrink: 0; }

.quick-lead .contact-form { margin: 0; }

@media (max-width: 1024px) {
  .quick-lead-inner { grid-template-columns: 1fr; gap: 32px; }
  .quick-lead-text .section-title { text-align: center; }
  .quick-lead-text .section-lead { text-align: center; }
}

.contact-text { padding-top: 12px; }
.contact-text .section-title { text-align: right; margin-bottom: 20px; }
.contact-text .section-lead { text-align: right; margin: 0 0 28px; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--t-2);
}
.contact-list svg { color: var(--copper-2); flex-shrink: 0; }
.contact-list a { color: var(--t-1); font-weight: 600; }
.contact-list a:hover { color: var(--copper-1); }

.contact-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Form */
.contact-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
    var(--bg-3);
  color: var(--t-1);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}
.form-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--t-1);
  margin-bottom: 6px;
}
.form-sub {
  font-size: 14px;
  color: var(--t-3);
  margin-bottom: 22px;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--t-1);
  margin-bottom: 6px;
}
.field label span { color: var(--copper-2); }

.field input,
.field select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid var(--glass-border-strong);
  border-radius: 12px;
  background: var(--glass);
  color: var(--t-1);
  transition: border-color 0.18s var(--ease-soft), background 0.18s var(--ease-soft), box-shadow 0.18s var(--ease-soft);
  font-family: inherit;
}
.field input::placeholder { color: var(--t-muted); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--copper-2);
  background: var(--glass-strong);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.18);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C5CCDA' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--t-3);
  line-height: 1.5;
  margin: 4px 0 18px;
  cursor: pointer;
}
.checkbox input { margin-top: 4px; flex-shrink: 0; accent-color: var(--copper-2); }
.checkbox a { color: var(--copper-2); font-weight: 600; }

/* ===== Inline validation (Hebrew error messages) ===== */
.field.field--error input,
.field.field--error select {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18) !important;
}
.field-error-msg,
.form-error-msg {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ff6b6b;
  line-height: 1.4;
  animation: error-pop 0.3s var(--ease-bounce);
}
.field-error-msg::before {
  content: "⚠ ";
  margin-left: 4px;
}
.checkbox.checkbox--error {
  background: rgba(255, 107, 107, 0.12);
  border: 2px solid #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18);
  border-radius: 10px;
  padding: 12px;
  margin: 4px 0 8px;
}
.checkbox.checkbox--error span,
.checkbox.checkbox--error a { color: #ff8e8e; }
.quiz-step.quiz-step--error {
  background: rgba(255, 107, 107, 0.10);
  border: 2px solid #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18);
  border-radius: 14px;
  padding: 14px;
}
.quiz-step.quiz-step--error .quiz-pill span {
  border-color: #ff6b6b !important;
  background: rgba(255, 107, 107, 0.08);
}
.quiz-step.quiz-step--error .quiz-question {
  color: #ff8e8e;
}
@keyframes error-pop {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-foot {
  text-align: center;
  font-size: 13px;
  color: var(--t-3);
  margin: 16px 0 0;
}

.form-success {
  text-align: center;
  padding: 30px 12px;
}
.form-success svg { color: var(--success); margin: 0 auto 14px; }
.form-success h4 { font-size: 22px; color: var(--t-1); margin-bottom: 8px; }
.form-success p { color: var(--t-2); margin: 0; }

.form-error {
  text-align: center;
  padding: 28px 12px;
}
.form-error svg { color: #E5754F; margin: 0 auto 12px; }
.form-error h4 { font-size: 20px; color: var(--t-1); margin-bottom: 8px; }
.form-error p { color: var(--t-2); margin-bottom: 16px; font-size: 14.5px; }

/* Honeypot — hidden from real users, only filled by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Submit button states */
#formSubmit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.spinner {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--bg-0);
  color: var(--t-2);
  font-size: 14.5px;
  position: relative;
  border-top: 1px solid var(--glass-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: 64px 24px 48px;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.footer-brand img {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  border: 1.5px solid var(--silver-2);
  flex-shrink: 0;
  object-fit: cover;
}
.footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--t-1);
  margin-bottom: 4px;
}
.footer-brand span {
  font-size: 13.5px;
  color: var(--t-3);
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav h4,
.footer-contact h4 {
  font-size: 12px;
  font-weight: 800;
  color: var(--copper-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-nav a,
.footer-contact a {
  color: var(--t-2);
  font-weight: 500;
  transition: color 0.18s var(--ease-soft);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--silver-1); }

.footer-disclosure {
  background: rgba(0, 0, 0, 0.4);
  padding: 24px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.footer-disclosure p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--t-3);
}
.footer-disclosure strong { color: var(--silver-2); }
.footer-disclosure a { color: var(--copper-2); }

.footer-bar {
  padding: 18px 0;
  background: var(--bg-0);
}
.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--t-muted);
}
.made-with { letter-spacing: 0.04em; }


/* =========================================================
   Accessibility widget
   ========================================================= */

.a11y-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1A6FBF;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(26, 111, 191, 0.45);
  transition: transform 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.a11y-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 36px rgba(26, 111, 191, 0.55);
}
.a11y-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.a11y-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9200;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: rgba(20, 34, 61, 0.96);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-left: 1px solid var(--glass-border-strong);
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.a11y-panel.open { transform: translateX(0); }

@supports not (backdrop-filter: blur(1px)) {
  .a11y-panel { background: rgba(14, 26, 51, 0.99); }
}

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
}
.a11y-panel-header h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--silver-1);
}
.a11y-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass);
  color: var(--t-1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  transition: background 0.2s var(--ease-soft);
}
.a11y-close:hover { background: var(--glass-strong); }

.a11y-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.a11y-section { display: flex; flex-direction: column; gap: 8px; }
.a11y-section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--copper-2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 4px 4px 4px;
}

.a11y-row { display: flex; gap: 8px; }
.a11y-half { flex: 1; }

.a11y-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--t-1);
  font-size: 14.5px;
  font-weight: 500;
  text-align: right;
  transition: background 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
  width: 100%;
}
.a11y-option:hover {
  background: var(--glass-strong);
  border-color: var(--silver-deep);
}
.a11y-option.active {
  background: rgba(212, 165, 116, 0.18);
  border-color: var(--copper-2);
  color: var(--copper-1);
}

.a11y-glyph {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-3);
  color: var(--silver-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.a11y-option.active .a11y-glyph {
  background: var(--copper-2);
  color: var(--bg-0);
}

.a11y-panel-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.a11y-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--t-2);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.a11y-reset:hover {
  background: var(--glass-strong);
  color: var(--t-1);
}
.a11y-statement {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--copper-2);
  padding: 6px;
}
.a11y-statement:hover { color: var(--copper-1); }

@media (max-width: 480px) {
  .a11y-panel { width: 88vw; }
  .a11y-btn { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}

/* ----- Accessibility classes applied to body ----- */
body.a11y-font-110 { font-size: 18.7px; }
body.a11y-font-125 { font-size: 21.25px; }
body.a11y-font-150 { font-size: 25.5px; }
body.a11y-font-90  { font-size: 15.3px; }

body.a11y-contrast {
  --t-1: #FFFFFF;
  --t-2: #FFFFFF;
  --t-3: rgba(255,255,255,0.92);
  --t-muted: rgba(255,255,255,0.85);
}
body.a11y-contrast .pain-card,
body.a11y-contrast .usp-card,
body.a11y-contrast .process-step,
body.a11y-contrast .service-card,
body.a11y-contrast .testimonial-card,
body.a11y-contrast .contact-form,
body.a11y-contrast .a11y-option {
  border-color: #fff !important;
}

body.a11y-invert {
  background: #FAFAF7 !important;
  color: #0A1A33 !important;
}
body.a11y-invert .site-header,
body.a11y-invert .pain,
body.a11y-invert .solution,
body.a11y-invert .process,
body.a11y-invert .services,
body.a11y-invert .about,
body.a11y-invert .testimonials,
body.a11y-invert .contact,
body.a11y-invert .site-footer {
  background: #FAFAF7 !important;
  color: #0A1A33 !important;
}
body.a11y-invert h1,
body.a11y-invert h2,
body.a11y-invert h3,
body.a11y-invert h4,
body.a11y-invert p,
body.a11y-invert li,
body.a11y-invert .stat-label,
body.a11y-invert .testimonial-author,
body.a11y-invert .form-title { color: #0A1A33 !important; }
body.a11y-invert .pain-card,
body.a11y-invert .usp-card,
body.a11y-invert .process-step,
body.a11y-invert .service-card,
body.a11y-invert .testimonial-card,
body.a11y-invert .contact-form { background: #fff !important; border-color: #DDD !important; }

body.a11y-readable,
body.a11y-readable * {
  font-family: 'Heebo', Arial, sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
}

body.a11y-highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
  color: #FFD27D !important;
}

body.a11y-line-spacing,
body.a11y-line-spacing p,
body.a11y-line-spacing li,
body.a11y-line-spacing div { line-height: 2 !important; }

body.a11y-large-cursor,
body.a11y-large-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><polygon points='5,5 5,32 13,24 19,36 24,34 18,22 28,22' fill='black' stroke='white' stroke-width='2'/></svg>") 5 5, auto !important;
}

body.a11y-no-motion,
body.a11y-no-motion *,
body.a11y-no-motion *::before,
body.a11y-no-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}


/* =========================================================
   Toast notification (transient confirmation)
   ========================================================= */

.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9500;
  background: rgba(20, 34, 61, 0.96);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border-strong);
  border-radius: 12px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--t-1);
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transition: opacity 0.35s var(--ease-soft), transform 0.4s var(--ease);
  max-width: calc(100vw - 32px);
  white-space: nowrap;
}
.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-icon { color: var(--success); flex-shrink: 0; }
.toast-text { white-space: normal; }

@supports not (backdrop-filter: blur(1px)) {
  .toast { background: rgba(15, 27, 51, 0.99); }
}

@media (max-width: 480px) {
  .toast {
    bottom: 90px;
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
}


/* =========================================================
   Cookie consent banner
   ========================================================= */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9000;
  max-width: 920px;
  width: calc(100% - 40px);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cookie-banner-inner {
  background: rgba(20, 34, 61, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-xl);
  max-width: none;
}

@supports not (backdrop-filter: blur(1px)) {
  .cookie-banner-inner { background: rgba(20, 34, 61, 0.98); }
}

.cookie-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  color: var(--copper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
}

.cookie-text {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--t-2);
}
.cookie-text a {
  color: var(--copper-2);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(212, 165, 116, 0.4);
  text-underline-offset: 2px;
}
.cookie-text a:hover {
  color: var(--copper-1);
  text-decoration-color: var(--copper-1);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-accept,
.cookie-reject {
  flex-shrink: 0;
  min-width: 92px;
}
.cookie-reject {
  background: rgba(255, 255, 255, 0.06);
  color: var(--t-2);
  border-color: var(--glass-border-strong);
}
.cookie-reject:hover {
  background: var(--glass-strong);
  color: var(--t-1);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 16px;
    width: calc(100% - 24px);
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px 18px;
    gap: 12px;
  }
  .cookie-icon { display: none; }
  .cookie-text { font-size: 13px; }
  .cookie-actions { width: 100%; }
  .cookie-accept,
  .cookie-reject { flex: 1; }
}


/* =========================================================
   Floating call/whatsapp buttons (mobile + desktop)
   ========================================================= */

.float-stack {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  text-decoration: none;
  transition: transform 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.float-btn:hover {
  transform: scale(1.06);
  color: #fff;
}

.float-wa {
  background: var(--whatsapp);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.42);
  animation: pulse-wa 2.4s ease-in-out infinite;
}
.float-wa:hover { background: var(--whatsapp-dark); }

.float-call {
  background: linear-gradient(135deg, var(--silver-2), var(--copper-2));
  box-shadow: 0 14px 36px rgba(212, 165, 116, 0.4);
  color: var(--bg-0);
}
.float-call:hover { color: var(--bg-0); }

@keyframes pulse-wa {
  0%, 100% {
    box-shadow: 0 14px 36px rgba(37, 211, 102, 0.42),
                0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 14px 36px rgba(37, 211, 102, 0.42),
                0 0 0 16px rgba(37, 211, 102, 0);
  }
}


/* =========================================================
   Scroll-reveal helper
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   Loader / overlay (initial wow reveal)
   ========================================================= */

.boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: boot-out 1.2s var(--ease) 0.6s forwards;
}
.boot::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--silver-1);
  border-right-color: var(--copper-2);
  animation: boot-spin 0.9s linear infinite;
}

@keyframes boot-out {
  to {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0px);
  }
}
@keyframes boot-spin {
  to { transform: rotate(360deg); }
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 380px; order: -1; }
  .hero-stats-inner { gap: 18px; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .header-nav { display: none; }
  .header-burger { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero { padding-top: 110px; }
  .hero-title { font-size: clamp(36px, 9vw, 54px); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-pills { gap: 10px 18px; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat:not(:last-child)::after { display: none; }
  .stat:nth-child(2)::after { display: block; }

  .pain-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-2 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .service-category-head { gap: 14px; }
  .service-category-head h3 { font-size: 19px; }
  .service-category-head p { font-size: 13.5px; }

  .contact-form { padding: 28px 22px; }
  .contact-cta-row { flex-direction: column; }
  .contact-cta-row .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; padding: 48px 24px 32px; }
  .footer-bar-inner { flex-direction: column; gap: 8px; text-align: center; }

  /* Mobile header: explicit flex order, ensure WA + phone icons stay visible */
  .header-inner { gap: 8px; flex-wrap: nowrap; }
  .header-actions { gap: 6px; flex-wrap: nowrap; flex-shrink: 0; }
  .header-actions .header-phone span { display: none; }
  .header-actions .header-wa span { display: none; }
  .header-actions .btn { display: none; }
  .header-actions .header-phone,
  .header-actions .header-wa {
    padding: 9px;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
  .header-logo img { width: 44px; height: 44px; }
  .header-logo-text strong { font-size: 16px; }
  .header-logo-text em { font-size: 11px; }

  .anim-house {
    width: 140px;
    bottom: 0;
    left: -10px;
  }
  .float-btn { width: 54px; height: 54px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-title { font-size: clamp(26px, 7vw, 34px); }
  .quote-text { font-size: 18px; }
  .about-quote { padding: 32px 24px; }
  .stat-num { font-size: 36px; }
  .usp-num, .usp-check { font-size: 60px; }
  .header-logo { gap: 8px; }
}


/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .anim-logo-img,
  .title-line-1 .title-text,
  .title-line-2 .title-text,
  .anim-house .house-line,
  .anim-house .house-chart {
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
  .boot { display: none; }
}
