/* ═══════════════════════════════════════════════════════════════
   TU WEB SIN MOVIDAS — Main Stylesheet
   Design System: Navy + Orange | Plus Jakarta Sans + Inter
═══════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Colors */
  --c-primary:        #0F172A;  /* Dark navy */
  --c-primary-mid:    #1E293B;  /* Mid navy */
  --c-accent:         #F97316;  /* Vibrant orange */
  --c-accent-dark:    #EA6B0A;  /* Darker orange */
  --c-accent-light:   #FFF7ED;  /* Light orange tint */
  --c-blue:           #3B82F6;  /* Blue accent */
  --c-blue-light:     #EFF6FF;  /* Light blue tint */
  --c-purple:         #8B5CF6;  /* Purple accent */
  --c-purple-light:   #F5F3FF;  /* Light purple tint */
  --c-green:          #10B981;  /* Green success */
  --c-green-light:    #ECFDF5;  /* Light green tint */
  --c-bg:             #F8FAFC;  /* Page background */
  --c-surface:        #FFFFFF;  /* Card surface */
  --c-text:           #1E293B;  /* Primary text */
  --c-text-muted:     #64748B;  /* Muted text */
  --c-text-faint:     #94A3B8;  /* Very muted text */
  --c-border:         #E2E8F0;  /* Default border */
  --c-border-light:   #F1F5F9;  /* Light border */
  --c-white:          #FFFFFF;

  /* Typography */
  --font-heading:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:        'Inter', system-ui, -apple-system, sans-serif;

  /* Font Sizes (fluid clamp) */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  2.25rem;
  --fs-4xl:  clamp(2rem, 4vw, 3rem);
  --fs-5xl:  clamp(2.5rem, 5vw, 3.75rem);
  --fs-hero: clamp(2.8rem, 6vw, 4.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm:  0.375rem;
  --radius-md:  0.625rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm:  0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-accent: 0 8px 25px -5px rgb(249 115 22 / 0.4);
  --shadow-card: 0 2px 8px 0 rgb(15 23 42 / 0.06), 0 4px 16px 0 rgb(15 23 42 / 0.04);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max:  1200px;
  --container-pad:  clamp(1rem, 4vw, 2rem);
  --header-height:  88px;
}


/* ─── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--c-accent); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--c-accent); color: white; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--c-accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 1rem; }


/* ─── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { line-height: 1.7; }


/* ─── 4. LAYOUT UTILITIES ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section--light { background-color: var(--c-bg); }
.section--white { background-color: var(--c-white); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-header--light .section-tag,
.section-header--light .section-title,
.section-header--light .section-subtitle {
  color: var(--c-white);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-accent-light);
  border: 1px solid rgb(249 115 22 / 0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.section-tag--light {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.2);
  color: var(--c-white);
}

.section-title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  margin-bottom: var(--space-5);
  color: var(--c-primary);
}

.section-title--light { color: var(--c-white); }

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--c-text-muted);
  line-height: 1.7;
}

.section-subtitle--light { color: rgb(255 255 255 / 0.8); }


/* ─── 5. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

/* Sizes */
.btn--sm  { font-size: var(--fs-sm);  padding: var(--space-2) var(--space-5); }
.btn--md  { font-size: var(--fs-base); padding: var(--space-3) var(--space-6); }
.btn--lg  { font-size: var(--fs-base); padding: var(--space-4) var(--space-8); }
.btn--full { width: 100%; justify-content: center; }

/* Primary */
.btn--primary {
  background: var(--c-accent);
  color: white;
  border-color: var(--c-accent);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -5px rgb(249 115 22 / 0.5);
}
.btn--primary:active { transform: translateY(0); }

/* Ghost */
.btn--ghost {
  background: rgb(255 255 255 / 0.08);
  color: white;
  border-color: rgb(255 255 255 / 0.25);
}
.btn--ghost:hover {
  background: rgb(255 255 255 / 0.15);
  border-color: rgb(255 255 255 / 0.5);
  color: white;
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-border);
}
.btn--outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-light);
}

/* White */
.btn--white {
  background: white;
  color: var(--c-primary);
  border-color: white;
}
.btn--white:hover {
  background: var(--c-accent);
  color: white;
  border-color: var(--c-accent);
  transform: translateY(-2px);
}

/* Outline-white */
.btn--outline-white {
  background: transparent;
  color: white;
  border-color: rgb(255 255 255 / 0.5);
}
.btn--outline-white:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: white;
  color: white;
}

/* SVG arrow in buttons */
.btn svg { flex-shrink: 0; transition: transform var(--transition-fast); }
.btn:hover svg { transform: translateX(3px); }


/* ─── 6. HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
}

.site-header.is-scrolled,
body:not(.home) .site-header {
  background: rgb(15 23 42 / 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 0 rgb(255 255 255 / 0.06), 0 4px 20px 0 rgb(0 0 0 / 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  justify-content: space-between;
}

/* Logo */
.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.site-logo img,
.site-logo .custom-logo-link img,
.site-logo .custom-logo {
  height: 58px !important;
  width: auto !important;
  max-width: 220px !important;
  max-height: 58px !important;
  object-fit: contain !important;
  display: block;
}
.site-logo .custom-logo-link { display: flex; align-items: center; }

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo-text__main  { color: white; }
.logo-text__accent { color: var(--c-accent); }

/* Nav */
.site-nav { margin-left: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgb(255 255 255 / 0.75);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-link:hover {
  color: white;
  background: rgb(255 255 255 / 0.08);
}

.header-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.hamburger:hover { background: rgb(255 255 255 / 0.1); }

.hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-link--active {
  color: white;
  background: rgb(255 255 255 / 0.08);
}

.hamburger.is-active .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active .hamburger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-primary);
  z-index: 999;
  padding: var(--space-8) var(--container-pad);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-nav__list { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-8); }
.mobile-nav__link {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: white;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  transition: color var(--transition-fast);
}
.mobile-nav__link:hover { color: var(--c-accent); }
.mobile-nav__cta { align-self: flex-start; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.mobile-overlay.is-visible { opacity: 1; pointer-events: all; }


/* ─── 7. HERO SECTION ───────────────────────────────────────── */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-primary);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgb(249 115 22 / 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at -10% 70%, rgb(59 130 246 / 0.1) 0%, transparent 60%),
    linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 50%;
  animation: float-particle 8s infinite ease-in-out;
}
.hero-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s;   width: 3px; height: 3px; opacity: 0.6; }
.hero-particles span:nth-child(2) { top: 60%; left: 5%;  animation-delay: 2s;   opacity: 0.4; }
.hero-particles span:nth-child(3) { top: 80%; left: 20%; animation-delay: 4s;   width: 4px; height: 4px; background: var(--c-blue); opacity: 0.5; }
.hero-particles span:nth-child(4) { top: 30%; left: 90%; animation-delay: 1s;   opacity: 0.5; }
.hero-particles span:nth-child(5) { top: 70%; left: 85%; animation-delay: 3s;   background: var(--c-blue); opacity: 0.4; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.5); }
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-12);
}

.hero-content { display: flex; flex-direction: column; align-items: flex-start; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgb(249 115 22 / 0.9);
  background: rgb(249 115 22 / 0.08);
  border: 1px solid rgb(249 115 22 / 0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
}

.hero-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgb(249 115 22 / 0.6); }
  50%       { box-shadow: 0 0 0 6px rgb(249 115 22 / 0); }
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.hero-title__accent {
  background: linear-gradient(135deg, var(--c-accent), #FCD34D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--fs-md);
  color: rgb(255 255 255 / 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.hero-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.6);
  font-weight: 500;
}
.hero-trust__item svg { color: var(--c-green); flex-shrink: 0; }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.browser-mockup {
  background: var(--c-primary-mid);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.browser-mockup--main {
  width: 100%;
  max-width: 440px;
  z-index: 2;
  animation: float-main 6s ease-in-out infinite;
}

.browser-mockup--secondary {
  position: absolute;
  width: 55%;
  right: -5%;
  bottom: -5%;
  z-index: 1;
  opacity: 0.7;
  animation: float-secondary 6s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes float-main {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes float-secondary {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-8px) rotate(-2deg); }
}

.browser-mockup__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgb(255 255 255 / 0.04);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.browser-dot--red    { background: #FF5F57; }
.browser-dot--yellow { background: #FEBC2E; }
.browser-dot--green  { background: #28C840; }

.browser-url {
  flex: 1;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: 11px;
  color: rgb(255 255 255 / 0.4);
  font-family: monospace;
  text-align: center;
  margin-inline: auto;
  max-width: 200px;
}

.browser-mockup__content { padding: var(--space-5); }
.browser-mockup__content--compact { padding: var(--space-4); }

.mock-hero-bar {
  height: 80px;
  background: linear-gradient(135deg, var(--c-accent) 0%, #F59E0B 100%);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  position: relative;
  overflow: hidden;
}
.mock-hero-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.1), transparent);
  animation: shimmer 2s infinite;
}
.mock-hero-bar--blue { background: linear-gradient(135deg, var(--c-blue), var(--c-purple)); }

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.mock-content { margin-bottom: var(--space-4); }

.mock-line {
  height: 10px;
  background: rgb(255 255 255 / 0.12);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}
.mock-line--title   { height: 14px; width: 70%; background: rgb(255 255 255 / 0.2); }
.mock-line--subtitle { width: 90%; }
.mock-line--short   { width: 45%; }

.mock-btn {
  width: 100px;
  height: 28px;
  background: var(--c-accent);
  border-radius: var(--radius-md);
  margin-top: var(--space-3);
  opacity: 0.8;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.mock-card {
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}
.mock-card__icon {
  width: 24px;
  height: 24px;
  background: var(--c-accent);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
  opacity: 0.7;
}
.mock-card__line {
  height: 8px;
  background: rgb(255 255 255 / 0.12);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-1);
}
.mock-card__line--short { width: 60%; }

/* Floating badges */
.hero-badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-xl);
  z-index: 3;
  animation: float-badge 5s ease-in-out infinite;
}
.hero-badge-float svg { color: var(--c-accent); flex-shrink: 0; }
.hero-badge-float strong { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--c-primary); }
.hero-badge-float span  { font-size: var(--fs-xs); color: var(--c-text-muted); }

.hero-badge-float--seo   { top: 10%;  left: -8%; animation-delay: 0s; }
.hero-badge-float--speed { bottom: 15%; left: -5%; animation-delay: 2.5s; }

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  z-index: 1;
}
.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0.3), transparent);
  border-radius: var(--radius-full);
  animation: scroll-hint 2s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%   { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
}


/* ─── 8. STATS SECTION ──────────────────────────────────────── */
.section-stats {
  background: var(--c-primary-mid);
  padding: var(--space-12) 0;
  border-top: 1px solid rgb(255 255 255 / 0.06);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-12);
  flex: 1;
  min-width: 160px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline;
}

.stat-item:nth-child(4) .stat-number { font-size: var(--fs-3xl); color: var(--c-accent); }

.stat-label {
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.5);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgb(255 255 255 / 0.1);
  flex-shrink: 0;
}


/* ─── 9. SERVICES SECTION ───────────────────────────────────── */
.section-services { padding: var(--space-24) 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), #F59E0B);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
.service-card__icon--orange { background: var(--c-accent-light); color: var(--c-accent); }
.service-card__icon--blue   { background: var(--c-blue-light);   color: var(--c-blue); }
.service-card__icon--purple { background: var(--c-purple-light); color: var(--c-purple); }
.service-card__icon--green  { background: var(--c-green-light);  color: var(--c-green); }

.service-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
}


/* ─── 10. PROCESS SECTION ───────────────────────────────────── */
.section-process {
  background: var(--c-primary);
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

.section-process::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgb(249 115 22 / 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  position: relative;
  margin-top: var(--space-4);
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgb(255 255 255 / 0.05);
  line-height: 1;
  position: absolute;
  top: -10px;
  right: 0;
  letter-spacing: -0.04em;
  user-select: none;
}

.process-step__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--space-8);
  background: rgb(255 255 255 / 0.03);
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}
.process-step__content:hover {
  background: rgb(255 255 255 / 0.05);
  border-color: rgb(249 115 22 / 0.2);
  transform: translateY(-4px);
}

.process-step__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--c-accent), #F59E0B);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: white;
  box-shadow: var(--shadow-accent);
}

.process-step__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.process-step__desc {
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.55);
  line-height: 1.7;
}

.process-step__connector {
  display: none; /* Handled by grid layout */
}


/* ─── 11. PORTFOLIO SECTION ─────────────────────────────────── */
.section-portfolio { padding: var(--space-24) 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.portfolio-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.portfolio-card__preview { background: var(--c-primary); }

.portfolio-browser-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgb(255 255 255 / 0.04);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

.portfolio-card__screenshot { aspect-ratio: 16/9; overflow: hidden; }
.portfolio-card__screenshot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.portfolio-mock {
  width: 100%;
  height: 100%;
}

.portfolio-mock__hero {
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-mock__hero-text {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: white;
  text-align: center;
  z-index: 1;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.3);
}

.portfolio-mock__hero--gradient1 {
  background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 50%, #0EA5E9 100%);
}
.portfolio-mock__hero--gradient2 {
  background: linear-gradient(135deg, #1A1A1A 0%, #7C3AED 50%, #C026D3 100%);
}
.portfolio-mock__hero--gradient3 {
  background: linear-gradient(135deg, #064E3B 0%, #059669 50%, #34D399 100%);
}

.portfolio-mock__content {
  padding: var(--space-4);
  background: rgb(255 255 255 / 0.02);
}

.mock-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-3); }
.mock-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-top: var(--space-3); }
.mock-card-sm { height: 30px; background: rgb(255 255 255 / 0.06); border-radius: var(--radius-sm); }

.portfolio-card__info { padding: var(--space-6); }

.portfolio-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.portfolio-card__category {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-accent);
  background: var(--c-accent-light);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.portfolio-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text-muted);
  transition: color var(--transition-fast);
}
.portfolio-card__link:hover { color: var(--c-accent); }

.portfolio-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-2);
}

.portfolio-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.65;
}

.portfolio-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.portfolio-cta p {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  font-weight: 500;
}


/* ─── 12. WHY US SECTION ─────────────────────────────────────── */
.section-why {
  background: var(--c-primary);
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

.section-why::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgb(59 130 246 / 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.why-content .section-tag { margin-bottom: var(--space-5); }
.why-content .section-title { font-size: var(--fs-4xl); margin-bottom: var(--space-5); }
.why-content .section-subtitle { margin-bottom: var(--space-8); }

.why-list { display: flex; flex-direction: column; gap: var(--space-5); margin-bottom: var(--space-10); }

.why-list__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.why-list__icon {
  width: 28px;
  height: 28px;
  background: rgb(16 185 129 / 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-list__item strong {
  display: block;
  color: white;
  font-weight: 600;
  font-size: var(--fs-base);
  margin-bottom: var(--space-1);
}
.why-list__item span {
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.55);
  line-height: 1.65;
}

/* Why Visual / Testimonial Cards */
.why-visual { position: relative; min-height: 420px; }

.why-card-stack { position: relative; height: 420px; }

.why-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-2xl);
  max-width: 340px;
}

.why-card--1 { top: 0; left: 0; z-index: 2; animation: float-card1 7s ease-in-out infinite; }
.why-card--2 { bottom: 0; right: 0; z-index: 1; opacity: 0.9; animation: float-card2 7s ease-in-out infinite; animation-delay: 3.5s; }

@keyframes float-card1 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes float-card2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%       { transform: translateY(-8px) rotate(2deg); }
}

.why-card__header { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }

.why-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), #F59E0B);
  flex-shrink: 0;
  object-fit: cover;
}

.why-card__name  { font-weight: 700; font-size: var(--fs-sm); color: var(--c-primary); }
.why-card__role  { font-size: var(--fs-xs); color: var(--c-text-muted); }
.why-card__stars { font-size: var(--fs-sm); color: #F59E0B; margin-left: auto; letter-spacing: 2px; }

.why-card__text { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.65; font-style: italic; }

.why-metric-badge {
  position: absolute;
  right: -15px;
  top: 40%;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--c-primary-mid);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  z-index: 3;
  animation: float-badge 5s ease-in-out infinite;
}
.why-metric-badge svg { color: var(--c-green); flex-shrink: 0; }
.why-metric-badge strong { display: block; font-size: var(--fs-sm); font-weight: 700; color: white; }
.why-metric-badge span  { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.5); }


/* ─── 13. PRICING SECTION ───────────────────────────────────── */
.section-pricing { padding: var(--space-24) 0; }

.pricing-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.pricing-card {
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  position: relative;
  border: 1px solid var(--c-border);
  background: white;
}

.pricing-card--featured {
  background: var(--c-primary);
  border-color: transparent;
  box-shadow: var(--shadow-2xl);
}

.pricing-card__header { margin-bottom: var(--space-8); padding-bottom: var(--space-8); border-bottom: 1px solid rgb(255 255 255 / 0.08); }

.pricing-card__name {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-2);
}

.pricing-card__tagline { font-size: var(--fs-sm); color: rgb(255 255 255 / 0.55); }

.pricing-card__price { margin-top: var(--space-6); }
.pricing-card__currency { display: block; font-size: var(--fs-sm); color: rgb(255 255 255 / 0.5); font-weight: 500; margin-bottom: var(--space-1); }
.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-card__period { display: block; font-size: var(--fs-sm); color: rgb(255 255 255 / 0.4); margin-top: var(--space-1); }

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.8);
  line-height: 1.5;
}
.pricing-card__features li svg { color: var(--c-green); flex-shrink: 0; margin-top: 2px; }

.pricing-card__cta { width: 100%; justify-content: center; }

.pricing-card__note {
  text-align: center;
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.35);
  margin-top: var(--space-4);
}

/* Pricing Info */
.pricing-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-top: var(--space-4);
}

.pricing-info__item { display: flex; gap: var(--space-4); align-items: flex-start; }
.pricing-info__icon {
  width: 48px;
  height: 48px;
  background: var(--c-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.pricing-info__item strong { display: block; font-weight: 700; color: var(--c-primary); margin-bottom: var(--space-1); }
.pricing-info__item p { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.65; }

/* ── Calculator band ── */
.pricing-calc-band {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: linear-gradient(135deg, var(--c-accent) 0%, #FB923C 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.pricing-calc-band__glow {
  position: absolute;
  top: -40%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgb(255 255 255 / 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.pricing-calc-band__icon {
  width: 56px;
  height: 56px;
  background: rgb(255 255 255 / 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.pricing-calc-band__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.pricing-calc-band__text strong {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.pricing-calc-band__text span {
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.8);
  line-height: 1.5;
}

.pricing-calc-band__btn {
  flex-shrink: 0;
  white-space: nowrap;
}


/* ─── 14. FAQ SECTION ───────────────────────────────────────── */
.section-faq {
  background: var(--c-primary);
  padding: var(--space-24) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-8);
  align-items: start;
}

.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }

.faq-item {
  background: rgb(255 255 255 / 0.03);
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base);
}
.faq-item:hover, .faq-item.is-open {
  border-color: rgb(249 115 22 / 0.3);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  color: white;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.faq-item__question:hover { background: rgb(255 255 255 / 0.03); }

.faq-item__icon {
  flex-shrink: 0;
  color: var(--c-accent);
  transition: transform var(--transition-base);
}
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-5);
  animation: faq-open var(--transition-base) ease-out;
}
.faq-item__answer p {
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.6);
  line-height: 1.75;
}
.faq-item__answer a {
  color: var(--c-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgb(249 115 22 / 0.4);
  transition: text-decoration-color var(--transition-fast);
}
.faq-item__answer a:hover {
  text-decoration-color: var(--c-accent);
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* FAQ CTA Box */
.faq-cta-box {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.faq-cta-box__icon {
  width: 72px;
  height: 72px;
  background: var(--c-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
}

.faq-cta-box h3 { font-size: var(--fs-xl); color: white; }
.faq-cta-box p  { font-size: var(--fs-sm); color: rgb(255 255 255 / 0.55); line-height: 1.65; }

.faq-cta-box__contact {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.4);
  padding-top: var(--space-2);
  border-top: 1px solid rgb(255 255 255 / 0.06);
  width: 100%;
  justify-content: center;
}


/* ─── 15. CTA BAND ──────────────────────────────────────────── */
.section-cta-band {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
  background: var(--c-accent);
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgb(0 0 0 / 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 50%, rgb(0 0 0 / 0.1) 0%, transparent 60%),
    linear-gradient(135deg, #EA580C 0%, #F97316 50%, #FB923C 100%);
}

.cta-band-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-band__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgb(0 0 0 / 0.15);
}
.cta-band__accent { color: rgba(255,255,255,0.85); }

.cta-band__subtitle { font-size: var(--fs-md); color: rgb(255 255 255 / 0.85); max-width: 520px; line-height: 1.65; }

.cta-band__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }

.cta-band__reassurance { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.65); letter-spacing: 0.03em; }


/* ─── 16. CONTACT SECTION ───────────────────────────────────── */
.section-contact { padding: var(--space-24) 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--c-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}

.contact-info__item strong { display: block; font-weight: 700; color: var(--c-primary); margin-bottom: var(--space-1); }
.contact-info__item a      { font-size: var(--fs-sm); color: var(--c-text-muted); transition: color var(--transition-fast); }
.contact-info__item a:hover { color: var(--c-accent); }

.contact-promise {
  padding: var(--space-6);
  background: var(--c-primary);
  border-radius: var(--radius-xl);
  margin-top: var(--space-2);
}
.contact-promise h3 { font-size: var(--fs-lg); color: white; margin-bottom: var(--space-4); }
.contact-promise ul { display: flex; flex-direction: column; gap: var(--space-3); }
.contact-promise li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.75);
}
.contact-promise li svg { color: var(--c-green); flex-shrink: 0; }

/* Contact Form */
.contact-form-wrapper {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-card);
}

.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }

.form-row { display: flex; gap: var(--space-4); }
.form-row--2col > .form-group { flex: 1; }

.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-primary);
}
.form-label span { color: var(--c-accent); }

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  color: var(--c-text);
  font-size: var(--fs-sm);
  transition: all var(--transition-fast);
  outline: none;
}
.form-input:focus {
  border-color: var(--c-accent);
  background: white;
  box-shadow: 0 0 0 3px rgb(249 115 22 / 0.1);
}
.form-input::placeholder { color: var(--c-text-faint); }
.form-input--textarea { resize: vertical; min-height: 120px; }

.form-group--checkbox { flex-direction: row; align-items: flex-start; }

.form-checkbox {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  accent-color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-checkbox span { font-size: var(--fs-xs); color: var(--c-text-muted); line-height: 1.5; }
.form-checkbox a { color: var(--c-accent); font-weight: 600; }
.form-checkbox a:hover { text-decoration: underline; }

/* WPForms override */
.wpforms-form                        { margin: 0 !important; }
.wpforms-form .wpforms-head-container { display: none !important; }
.wpforms-form .wpforms-field-container { padding: 0 !important; }
.wpforms-form .wpforms-field          { padding: 0 !important; margin-bottom: var(--space-5) !important; }
.wpforms-form .wpforms-field:last-child { margin-bottom: 0 !important; }
.wpforms-form .wpforms-field-label   { font-family: var(--font-heading) !important; font-size: var(--fs-sm) !important; font-weight: 600 !important; color: var(--c-primary) !important; margin-bottom: var(--space-2) !important; }
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form textarea               { width: 100% !important; padding: var(--space-3) var(--space-4) !important; background: var(--c-bg) !important; border: 1.5px solid var(--c-border) !important; border-radius: var(--radius-md) !important; font-size: var(--fs-sm) !important; transition: all var(--transition-fast) !important; margin: 0 !important; }
.wpforms-form input:focus,
.wpforms-form textarea:focus         { border-color: var(--c-accent) !important; background: white !important; box-shadow: 0 0 0 3px rgb(249 115 22 / 0.1) !important; outline: none !important; }
.wpforms-form .wpforms-field-row     { margin-bottom: 0 !important; }
.wpforms-form .wpforms-submit-container { padding: 0 !important; margin-top: var(--space-5) !important; }
.wpforms-form .wpforms-submit        { display: inline-flex !important; align-items: center !important; gap: var(--space-2) !important; background: var(--c-accent) !important; color: white !important; border: none !important; border-radius: var(--radius-md) !important; padding: var(--space-4) var(--space-8) !important; font-family: var(--font-heading) !important; font-size: var(--fs-base) !important; font-weight: 600 !important; cursor: pointer !important; width: 100% !important; justify-content: center !important; box-shadow: var(--shadow-accent) !important; transition: all var(--transition-base) !important; }
.wpforms-form .wpforms-submit:hover  { background: var(--c-accent-dark) !important; transform: translateY(-2px) !important; }


/* ─── 17. FOOTER ────────────────────────────────────────────── */
.site-footer { background: var(--c-primary); }

.footer-top { padding: var(--space-16) 0 var(--space-12); border-bottom: 1px solid rgb(255 255 255 / 0.06); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-10);
}

.footer-col--brand { }

.footer-logo { display: inline-flex; margin-bottom: var(--space-4); text-decoration: none; }
.footer-logo .custom-logo-link { display: flex; align-items: center; }
.footer-logo .custom-logo-link img,
.footer-logo .custom-logo {
  height: 100px !important;
  width: auto !important;
  max-width: 320px !important;
  max-height: 100px !important;
  object-fit: contain !important;
  display: block;
}

.footer-tagline { font-size: var(--fs-sm); color: rgb(255 255 255 / 0.5); line-height: 1.7; margin-bottom: var(--space-6); }

.footer-social { display: flex; gap: var(--space-3); }
.footer-social__link {
  width: 40px;
  height: 40px;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255 255 255 / 0.5);
  transition: all var(--transition-base);
}
.footer-social__link:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: white;
  transform: translateY(-2px);
}

.footer-col__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.5);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.footer-links a:hover { color: var(--c-accent); }

.footer-contact-list { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-6); }
.footer-contact-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.5);
}
.footer-contact-list li svg { flex-shrink: 0; color: var(--c-accent); margin-top: 2px; }
.footer-contact-list a { color: rgb(255 255 255 / 0.5); transition: color var(--transition-fast); }
.footer-contact-list a:hover { color: var(--c-accent); }

.footer-cta-btn { border-color: rgb(255 255 255 / 0.15); color: rgb(255 255 255 / 0.7); }
.footer-cta-btn:hover { border-color: var(--c-accent); color: var(--c-accent); background: transparent; }

.footer-bottom {
  padding: var(--space-6) 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copyright { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.3); }
.footer-legal { display: flex; gap: var(--space-6); }
.footer-legal a { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.3); transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--c-accent); }


/* ─── 17b. 404 PAGE ─────────────────────────────────────────── */
.page-404 {
  position: relative;
  min-height: 100vh;
  background: var(--c-primary);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

/* Background */
.page-404__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-404__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.page-404__glow--1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgb(249 115 22 / 0.1) 0%, transparent 70%);
}
.page-404__glow--2 {
  width: 400px;
  height: 400px;
  bottom: -15%;
  left: -5%;
  background: radial-gradient(circle, rgb(59 130 246 / 0.08) 0%, transparent 70%);
}

.page-404__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* Content */
.page-404__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-8);
  padding: var(--space-20) 0;
}

/* Big 404 number */
.page-404__number {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
}

.page-404__number span {
  background: linear-gradient(135deg, white 0%, rgb(255 255 255 / 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-404__zero {
  width: clamp(5rem, 14vw, 11rem);
  height: clamp(5rem, 14vw, 11rem);
  flex-shrink: 0;
  animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Tag */
.page-404__tag {
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  background: rgb(249 115 22 / 0.1);
  border: 1px solid rgb(249 115 22 / 0.25);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.page-404__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.page-404__subtitle {
  font-size: var(--fs-md);
  color: rgb(255 255 255 / 0.55);
  line-height: 1.7;
  max-width: 500px;
}

/* Actions */
.page-404__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* Quick links */
.page-404__quicklinks {
  padding-top: var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.07);
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.page-404__quicklinks-label {
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.page-404__quicklinks-nav {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

.page-404__quicklinks-nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgb(255 255 255 / 0.5);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgb(255 255 255 / 0.07);
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.03);
  transition: all var(--transition-fast);
}
.page-404__quicklinks-nav a:hover {
  color: var(--c-accent);
  border-color: rgb(249 115 22 / 0.35);
  background: rgb(249 115 22 / 0.06);
}
.page-404__quicklinks-nav a svg { color: var(--c-accent); flex-shrink: 0; }

@media (max-width: 480px) {
  .page-404__actions { flex-direction: column; width: 100%; }
  .page-404__actions .btn { justify-content: center; }
}


/* ─── 17c. LEGAL PAGES ──────────────────────────────────────── */
.page-legal-main { background: var(--c-bg); }

.page-legal-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-10);
  background: var(--c-primary);
  overflow: hidden;
}
.page-legal-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgb(249 115 22 / 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.page-legal-hero__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}
.page-legal-hero__date {
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.35);
  font-weight: 500;
}

.page-legal-content { padding: var(--space-16) 0 var(--space-24); }

.page-legal-body {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

/* Typography within legal body */
.page-legal-body h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--c-border-light);
}
.page-legal-body h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.page-legal-body p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.page-legal-body ul,
.page-legal-body ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}
.page-legal-body li {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-2);
}
.page-legal-body a {
  color: var(--c-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-legal-body a:hover { color: var(--c-accent-dark); }
.page-legal-body strong { color: var(--c-primary); font-weight: 700; }

.page-legal-footer-nav {
  max-width: 760px;
  margin-inline: auto;
  padding-top: var(--space-8);
  border-top: 1px solid var(--c-border);
}

@media (max-width: 768px) {
  .page-legal-hero__title { font-size: var(--fs-2xl); }
  .page-legal-content { padding: var(--space-10) 0 var(--space-16); }
}


/* ─── 18. INNER PAGES ───────────────────────────────────────── */
.page-main {
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-24);
  min-height: 60vh;
}

.page-content { max-width: 800px; margin-inline: auto; }

.page-content__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 2px solid var(--c-border);
}

.page-content__body { line-height: 1.8; color: var(--c-text); }
.page-content__body h2 { font-size: var(--fs-2xl); margin-top: var(--space-10); margin-bottom: var(--space-4); }
.page-content__body h3 { font-size: var(--fs-xl);  margin-top: var(--space-8);  margin-bottom: var(--space-3); }
.page-content__body p  { margin-bottom: var(--space-5); }
.page-content__body ul,
.page-content__body ol { padding-left: var(--space-6); margin-bottom: var(--space-5); }
.page-content__body li { margin-bottom: var(--space-2); }
.page-content__body a  { color: var(--c-accent); font-weight: 500; }
.page-content__body a:hover { text-decoration: underline; }


/* ─── 18b. CALCULATOR SECTION ──────────────────────────────── */
.section-calculator {
  background: var(--c-primary);
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}
.section-calculator::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgb(249 115 22 / 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Wrapper ── */
.calc-wrapper {
  background: rgb(255 255 255 / 0.02);
  border: 1px solid rgb(255 255 255 / 0.07);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  overflow: hidden;
}

/* ── Step Tabs ── */
.calc-tabs {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.calc-tab {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgb(255 255 255 / 0.45);
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.07);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.calc-tab:hover {
  color: rgb(255 255 255 / 0.75);
  border-color: rgb(255 255 255 / 0.15);
  background: rgb(255 255 255 / 0.04);
}
.calc-tab--active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: white;
  box-shadow: var(--shadow-accent);
}
.calc-tab--done {
  border-color: rgb(16 185 129 / 0.4);
  color: var(--c-green);
  background: rgb(16 185 129 / 0.08);
}

.calc-tab__num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.calc-tab--active .calc-tab__num { background: rgb(255 255 255 / 0.25); }
.calc-tab--done .calc-tab__num {
  background: var(--c-green);
  color: white;
}

.calc-tab-connector {
  flex: 1;
  min-width: 16px;
  max-width: 32px;
  height: 1px;
  background: rgb(255 255 255 / 0.1);
}

/* ── Progress Bar ── */
.calc-progress-bar {
  height: 3px;
  background: rgb(255 255 255 / 0.06);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
  overflow: hidden;
}
.calc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent), #F59E0B);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
  width: 25%;
}

/* ── Layout ── */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-6);
  align-items: start;
}

/* ── Features Panel ── */
.calc-features-panel { display: flex; flex-direction: column; gap: var(--space-4); }

#calc-items-container { display: flex; flex-direction: column; gap: var(--space-3); }

/* Feature item card */
.calc-item {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base), background var(--transition-base);
}
.calc-item.is-active {
  border-color: rgb(249 115 22 / 0.35);
  background: rgb(249 115 22 / 0.04);
}
.calc-item.is-mandatory {
  border-color: rgb(16 185 129 / 0.25);
  background: rgb(16 185 129 / 0.04);
}

.calc-item__row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
}

.calc-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.calc-item__name {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calc-item__price-hint {
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.4);
}

.calc-item__control { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }

/* Mandatory badge */
.calc-badge-mandatory {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-green);
  background: rgb(16 185 129 / 0.12);
  border: 1px solid rgb(16 185 129 / 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Toggle add/remove buttons */
.calc-btn-add {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--c-accent);
  color: var(--c-accent);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.calc-btn-add:hover {
  background: var(--c-accent);
  color: white;
}
.calc-btn-add.is-added {
  background: rgb(239 68 68 / 0.1);
  border-color: #EF4444;
  color: #EF4444;
}
.calc-btn-add.is-added:hover {
  background: #EF4444;
  color: white;
}

/* Counter control */
.calc-counter {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-1) var(--space-2);
}
.calc-counter__btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.08);
  color: white;
  font-size: var(--fs-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  line-height: 1;
  flex-shrink: 0;
}
.calc-counter__btn:hover:not(:disabled) {
  background: var(--c-accent);
}
.calc-counter__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.calc-counter__val {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: white;
  min-width: 24px;
  text-align: center;
}

/* Select for options */
.calc-select {
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-md);
  color: white;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
}
.calc-select option {
  background: var(--c-primary-mid);
  color: white;
}
.calc-select:focus { border-color: var(--c-accent); }

/* Info toggle */
.calc-item__info-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.1);
  color: rgb(255 255 255 / 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.calc-item__info-btn:hover {
  background: rgb(255 255 255 / 0.08);
  color: white;
}
.calc-item__info-btn.is-open { color: var(--c-accent); border-color: var(--c-accent); }

/* Description panel */
.calc-item__desc {
  padding: 0 var(--space-5) var(--space-4);
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.5);
  line-height: 1.7;
  border-top: 1px solid rgb(255 255 255 / 0.05);
  animation: faq-open var(--transition-base) ease-out;
}

/* Ecommerce sub-row */
.calc-item__sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid rgb(255 255 255 / 0.05);
  background: rgb(255 255 255 / 0.02);
}
.calc-item__sub-label {
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.5);
}

/* Nav buttons */
.calc-nav-btns {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-2);
}
.calc-btn-prev, .calc-btn-next { flex: 1; justify-content: center; }
.calc-btn-prev { border-color: rgb(255 255 255 / 0.15); color: rgb(255 255 255 / 0.6); }
.calc-btn-prev:hover:not(:disabled) {
  border-color: white;
  color: white;
  background: rgb(255 255 255 / 0.06);
  transform: none;
}
.calc-btn-prev:disabled { opacity: 0.3; cursor: not-allowed; }

/* ── Summary Card ── */
.calc-summary-card {
  background: var(--c-primary-mid);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
}

.calc-summary-header {
  padding: var(--space-6);
  background: rgb(255 255 255 / 0.03);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  text-align: center;
}

.calc-summary-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgb(255 255 255 / 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.calc-total-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }

.calc-total-price {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: var(--c-accent);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: all var(--transition-base);
}

.calc-monthly-price {
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.5);
  font-weight: 500;
}

/* Selected features list */
.calc-selected-list {
  padding: var(--space-4) var(--space-5);
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(255 255 255 / 0.1) transparent;
}
.calc-selected-list::-webkit-scrollbar { width: 4px; }
.calc-selected-list::-webkit-scrollbar-thumb { background: rgb(255 255 255 / 0.1); border-radius: 2px; }

.calc-empty-state { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.25); text-align: center; padding: var(--space-4) 0; }

.calc-selected-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.04);
}
.calc-selected-item:last-child { border-bottom: none; }

.calc-selected-item__name {
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.7);
  line-height: 1.4;
}
.calc-selected-item__price {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-accent);
  white-space: nowrap;
}

/* Summary footer */
.calc-summary-footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.calc-disclaimer {
  font-size: 11px;
  color: rgb(255 255 255 / 0.3);
  line-height: 1.5;
  text-align: center;
}

.calc-no-commitment {
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.35);
  text-align: center;
}

/* Toast notification */
.calc-toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--c-green);
  color: white;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  z-index: 9000;
  opacity: 0;
  transition: all var(--transition-base);
  white-space: nowrap;
  pointer-events: none;
}
.calc-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Pricing section: calculator teaser block ── */
.pricing-calc-teaser {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-mid) 100%);
  border: 1px solid rgb(249 115 22 / 0.25);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.pricing-calc-teaser::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgb(249 115 22 / 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-calc-teaser__icon {
  width: 48px;
  height: 48px;
  background: var(--c-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}

.pricing-calc-teaser__body strong {
  display: block;
  color: white;
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  line-height: 1.4;
}
.pricing-calc-teaser__body p {
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.55);
  line-height: 1.65;
}

.pricing-calc-teaser__btn {
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

/* ── Calculator page: make summary button full btn--lg ── */
.calc-summary-footer .btn--lg {
  font-size: var(--fs-base);
  padding: var(--space-4) var(--space-8);
}

/* ── Calculator page-specific overrides ── */
.section-calculator--page {
  background: var(--c-bg);
  padding: var(--space-12) 0 var(--space-20);
}
.section-calculator--page .calc-wrapper {
  background: white;
  border-color: var(--c-border);
  box-shadow: var(--shadow-card);
}
.section-calculator--page .calc-tab {
  color: var(--c-text-muted);
  background: var(--c-bg);
  border-color: var(--c-border);
}
.section-calculator--page .calc-tab:hover {
  color: var(--c-text);
  border-color: var(--c-accent);
  background: var(--c-accent-light);
}
.section-calculator--page .calc-tab--active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: white;
}
.section-calculator--page .calc-tab--done {
  border-color: rgb(16 185 129 / 0.4);
  color: var(--c-green);
  background: var(--c-green-light);
}
.section-calculator--page .calc-progress-bar { background: var(--c-border); }
.section-calculator--page .calc-item { background: var(--c-bg); border-color: var(--c-border); }
.section-calculator--page .calc-item.is-active { background: var(--c-accent-light); border-color: rgb(249 115 22 / 0.3); }
.section-calculator--page .calc-item.is-mandatory { background: var(--c-green-light); border-color: rgb(16 185 129 / 0.25); }
.section-calculator--page .calc-item__name { color: var(--c-primary); }
.section-calculator--page .calc-item__price-hint { color: var(--c-text-muted); }
.section-calculator--page .calc-item__info-btn { border-color: var(--c-border); color: var(--c-text-muted); }
.section-calculator--page .calc-item__info-btn:hover { background: var(--c-bg); color: var(--c-primary); border-color: var(--c-accent); }
.section-calculator--page .calc-item__info-btn.is-open { color: var(--c-accent); border-color: var(--c-accent); }
.section-calculator--page .calc-item__desc { color: var(--c-text-muted); border-top-color: var(--c-border-light); }
.section-calculator--page .calc-item__sub-row { background: var(--c-border-light); border-top-color: var(--c-border); }
.section-calculator--page .calc-item__sub-label { color: var(--c-text-muted); }
.section-calculator--page .calc-counter { background: white; border-color: var(--c-border); }
.section-calculator--page .calc-counter__btn { background: var(--c-bg); color: var(--c-primary); }
.section-calculator--page .calc-counter__val { color: var(--c-primary); }
.section-calculator--page .calc-select { background: white; border-color: var(--c-border); color: var(--c-text); }
.section-calculator--page .calc-select option { background: white; color: var(--c-text); }
.section-calculator--page .calc-summary-card {
  background: var(--c-primary);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}
.section-calculator--page .calc-btn-prev {
  border-color: var(--c-border);
  color: var(--c-text-muted);
  background: white;
}
.section-calculator--page .calc-btn-prev:hover:not(:disabled) {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-bg);
}

/* ── Calculator page hero ── */
.calc-page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  background: var(--c-primary);
  overflow: hidden;
}
.calc-page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgb(249 115 22 / 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at -5% 80%, rgb(59 130 246 / 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Breadcrumb */
.calc-breadcrumb { margin-bottom: var(--space-8); }
.calc-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}
.calc-breadcrumb__list li { display: flex; align-items: center; gap: var(--space-2); }
.calc-breadcrumb__list a {
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.45);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.calc-breadcrumb__list a:hover { color: var(--c-accent); }
.calc-breadcrumb__list svg { color: rgb(255 255 255 / 0.2); }
.calc-breadcrumb__list [aria-current="page"] span {
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.65);
  font-weight: 500;
}

.calc-page-hero__content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.calc-page-hero__title {
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.calc-page-hero__accent {
  background: linear-gradient(135deg, var(--c-accent), #FCD34D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.calc-page-hero__subtitle {
  font-size: var(--fs-md);
  color: rgb(255 255 255 / 0.65);
  line-height: 1.7;
}

.calc-page-hero__badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.calc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgb(255 255 255 / 0.65);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.1);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
}
.calc-hero-badge svg { color: var(--c-green); flex-shrink: 0; }

/* ── Responsive Calculator ── */
@media (max-width: 1024px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-summary-card { position: static; }
  .pricing-calc-teaser__btn { align-self: stretch; justify-content: center; }
}
@media (max-width: 768px) {
  .calc-page-hero { padding-top: calc(var(--header-height) + var(--space-10)); padding-bottom: var(--space-10); }
  .calc-page-hero__title { font-size: clamp(2rem, 7vw, 3rem); }
  .calc-page-hero__badges { gap: var(--space-2); }
}
@media (max-width: 640px) {
  .calc-wrapper { padding: var(--space-5); }
  .calc-tabs { gap: var(--space-1); }
  .calc-tab { padding: var(--space-2) var(--space-3); }
  .calc-tab__label { display: none; }
  .calc-tab-connector { flex: 0.5; min-width: 8px; }
  .calc-item__row { flex-wrap: wrap; }
  .calc-item__control { width: 100%; justify-content: flex-end; }
}


/* ─── 19. SCROLL ANIMATIONS ─────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

[data-animate="fade-up"]    { transform: translateY(30px); }
[data-animate="fade-left"]  { transform: translateX(30px); }
[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate="fade-in"]    { transform: none; }

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* ─── 20. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero-content { max-width: 600px; margin-inline: auto; text-align: center; align-items: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-visual { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-cta-box { position: static; }

  /* Pricing */
  .pricing-wrapper { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .pricing-calc-band { flex-direction: column; text-align: center; }
  .pricing-calc-band__btn { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  :root { --header-height: 72px; }

  .site-nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .section-hero { min-height: auto; padding-block: var(--space-16) var(--space-12); padding-top: calc(var(--header-height) + var(--space-12)); }
  .hero-container { padding-block: var(--space-12); }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { justify-content: center; }

  .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .stat-divider { display: none; }
  .stat-item { padding: var(--space-6); border: 1px solid rgb(255 255 255 / 0.06); border-radius: var(--radius-lg); }

  .services-grid    { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .portfolio-grid   { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: var(--space-8); }

  /* Pricing */
  .pricing-card { padding: var(--space-6); }
  .pricing-card__cta { white-space: normal; text-align: center; }
  .pricing-calc-band { padding: var(--space-6); gap: var(--space-4); }
  .pricing-calc-band__icon { display: none; }
  .pricing-calc-band__text strong { font-size: var(--fs-base); }

  .section-services,
  .section-process,
  .section-portfolio,
  .section-why,
  .section-pricing,
  .section-faq,
  .section-cta-band,
  .section-contact { padding: var(--space-16) 0; }

  .section-header { margin-bottom: var(--space-10); }
  .cta-band__actions { flex-direction: column; width: 100%; }
  .cta-band__actions .btn { width: 100%; justify-content: center; }

  .form-row--2col { flex-direction: column; }
  .contact-form-wrapper { padding: var(--space-6); }

  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-trust { flex-direction: column; align-items: center; gap: var(--space-3); }
  .portfolio-card__meta { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .pricing-calc-band { padding: var(--space-5); }
}
