/* =========================================================
   Summit Web Design — Stylesheet
   Modern, premium agency site: white / charcoal / deep blue
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Palette */
  --white: #ffffff;
  --bg-light: #f7f9fc;
  --bg-light-2: #eef2f8;
  --charcoal: #12151c;
  --charcoal-2: #1b202b;
  --charcoal-3: #262d3a;
  --navy: #0b1220;
  --navy-2: #0e1a30;
  --blue-900: #0a2a5e;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --success: #22c55e;
  --gold: #f5b942;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--blue-600), var(--blue-900) 120%);
  --grad-primary-hover: linear-gradient(135deg, var(--blue-500), var(--blue-700) 120%);
  --grad-dark: linear-gradient(160deg, var(--navy) 0%, var(--charcoal) 55%, var(--navy-2) 100%);
  --grad-text: linear-gradient(100deg, #7fb2ff 0%, #3b82f6 45%, #93c5fd 100%);

  /* Typography */
  --font-display: 'Sora', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shape & shadow */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 12px 32px rgba(37, 99, 235, 0.28);
  --shadow-blue-lg: 0 20px 50px rgba(37, 99, 235, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--slate-900); line-height: 1.15; font-weight: 700; }
svg { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 1000;
  background: var(--blue-600); color: #fff; padding: 12px 18px; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }

/* ---------- Layout Utilities ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section { padding: 110px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 72px 0; } }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.02em; margin: 14px 0 16px; }
.section-title-light { color: #fff; }
.section-subtitle { font-size: 1.08rem; color: var(--slate-500); }
.section-subtitle-light { color: #b8c4dc; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-400);
}
.eyebrow-dark { color: var(--blue-600); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(59,130,246,0.18); }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Glassmorphism ---------- */
.glass-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px;
  font-weight: 700; font-size: 0.98rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn svg { flex-shrink: 0; transition: transform .25s var(--ease); }
.btn-primary {
  background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--grad-primary-hover); transform: translateY(-3px); box-shadow: var(--shadow-blue-lg); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); transform: translateY(-3px); }

.btn-outline {
  background: transparent; color: var(--blue-700); border: 1.5px solid var(--slate-200);
}
.btn-outline:hover { border-color: var(--blue-500); background: var(--blue-100); transform: translateY(-2px); }

.btn-lg { padding: 18px 34px; font-size: 1.03rem; }
.btn-sm { padding: 11px 20px; font-size: 0.88rem; }
.btn-full { width: 100%; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-primary); z-index: 1100; transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .3s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(15,23,42,0.06), 0 12px 30px rgba(15,23,42,0.06);
  height: 68px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: flex; border-radius: 9px; overflow: hidden; box-shadow: 0 4px 14px rgba(37,99,235,0.35); }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.01em; color: #fff; transition: color .35s var(--ease); }
.site-header.scrolled .brand-text { color: var(--slate-900); }
.brand-accent { color: var(--blue-400); }
.site-header.scrolled .brand-accent { color: var(--blue-600); }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-block; padding: 10px 16px; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  color: rgba(255,255,255,0.82); transition: color .3s var(--ease), background .3s var(--ease);
  position: relative;
}
.site-header.scrolled .nav-link { color: var(--slate-600); }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.site-header.scrolled .nav-link:hover { color: var(--blue-700); background: var(--blue-100); }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.14); }
.site-header.scrolled .nav-link.active { color: var(--blue-700); background: var(--blue-100); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; color: rgba(255,255,255,0.9); transition: color .3s var(--ease); }
.site-header.scrolled .header-phone { color: var(--slate-700); }
.header-phone:hover { color: var(--blue-400); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 10px;
  position: relative; z-index: 960;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease); margin: 0 auto; }
.site-header.scrolled .nav-toggle span { background: var(--slate-900); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-backdrop {
  position: fixed; inset: 0; background: rgba(8,12,22,0.55); backdrop-filter: blur(2px);
  z-index: 850; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.mobile-nav-backdrop.open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-h);
  background: var(--grad-dark);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.hero-glow-1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(59,130,246,0.55), transparent 70%); top: -160px; right: -120px; }
.hero-glow-2 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(29,78,216,0.45), transparent 70%); bottom: -180px; left: -140px; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 40%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  padding: 64px 24px 110px;
}
.hero-copy .eyebrow { color: var(--blue-400); margin-bottom: 20px; }
.hero-title { font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero-subtitle { font-size: 1.15rem; color: #c3cee4; max-width: 540px; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero-trust { display: flex; align-items: center; gap: 16px; }
.hero-trust-avatars { display: flex; }
.hero-trust-avatars img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid var(--navy); margin-left: -12px;
}
.hero-trust-avatars img:first-child { margin-left: 0; }
.hero-stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 2px; }
.hero-trust-text p { font-size: 0.9rem; color: #b8c4dc; }
.hero-trust-text strong { color: #fff; }

.hero-visual { position: relative; }
.mockup-wrap { position: relative; padding: 20px; }
.mockup-browser { border-radius: var(--radius-lg); overflow: hidden; }
.mockup-browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: rgba(255,255,255,0.6); }
.mockup-browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d1d9e6; }
.mockup-url { margin-left: 12px; background: #fff; border-radius: 8px; padding: 5px 14px; font-size: 0.78rem; color: var(--slate-500); flex: 1; max-width: 220px; }
.mockup-img { width: 100%; height: 280px; object-fit: cover; }

.mockup-phone {
  position: absolute; right: -18px; bottom: -36px; width: 130px; border-radius: 22px; padding: 6px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mockup-phone img { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; }

.floating-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px; font-size: 0.8rem;
}
.floating-card strong { display: block; font-size: 1rem; color: var(--slate-900); font-family: var(--font-display); }
.floating-card span { color: var(--slate-500); }
.floating-card-1 { top: 4%; left: -6%; animation: floatY 5s ease-in-out infinite; }
.floating-card-2 { bottom: 14%; right: 4%; animation: floatY 5.5s ease-in-out infinite 0.4s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.65); animation: bounceCue 2.2s ease-in-out infinite; z-index: 1;
}
@keyframes bounceCue { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--bg-light); padding: 26px 0; border-bottom: 1px solid var(--slate-200); overflow: hidden; }
.trust-strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px;
}
.trust-strip-item {
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--slate-400); letter-spacing: 0.02em;
}

/* ---------- Why Us ---------- */
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
  padding: 36px 30px; border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--slate-200); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--grad-primary); color: #fff; margin-bottom: 22px; box-shadow: var(--shadow-blue);
}
.why-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.why-card p { color: var(--slate-500); font-size: 0.98rem; }

/* ---------- Services ---------- */
.services-section { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  padding: 34px 30px; border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--slate-900); color: var(--blue-400);
}
.service-num { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--slate-200); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--slate-500); font-size: 0.97rem; flex: 1; margin-bottom: 20px; }
.service-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-700); font-size: 0.94rem; }
.service-link svg { transition: transform .25s var(--ease); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Portfolio ---------- */
.portfolio-section { background: var(--white); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  border: 1px solid var(--slate-200);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.portfolio-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.portfolio-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.portfolio-card:hover .portfolio-media img { transform: scale(1.08); }
.portfolio-tag {
  position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 100px;
  background: rgba(11,18,32,0.7); backdrop-filter: blur(6px); color: #fff; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.03em;
}
.portfolio-body { padding: 26px 26px 28px; }
.portfolio-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.portfolio-industry { font-size: 0.82rem; color: var(--blue-600); font-weight: 700; margin-bottom: 12px; }
.portfolio-body > p:not(.portfolio-industry) { color: var(--slate-500); font-size: 0.94rem; margin-bottom: 20px; }

/* Portfolio modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(8,12,22,0.65); backdrop-filter: blur(4px);
  z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto; border-radius: var(--radius-lg);
  background: #fff; position: relative;
  transform: translateY(24px) scale(0.97); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal img { width: 100%; height: 260px; object-fit: cover; }
.modal-body { padding: 30px 32px 34px; }
.modal-body h3 { font-size: 1.4rem; margin: 14px 0 10px; }
.modal-body p { color: var(--slate-500); margin-bottom: 22px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--slate-900); display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: background .25s var(--ease), transform .25s var(--ease);
}
.modal-close:hover { background: #fff; transform: rotate(90deg); }

/* ---------- Process Timeline ---------- */
.process-section { background: var(--grad-dark); }
.process-section .section-head { max-width: 680px; }
.timeline { max-width: 780px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, rgba(96,165,250,0.5), rgba(96,165,250,0.05));
}
.timeline-item { display: flex; gap: 26px; position: relative; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; color: var(--blue-400);
  position: relative; z-index: 1;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.timeline-item:hover .timeline-marker { background: var(--grad-primary); color: #fff; transform: scale(1.06); }
.timeline-content { padding-top: 6px; }
.timeline-step { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-400); }
.timeline-content h3 { color: #fff; font-size: 1.3rem; margin: 6px 0 8px; }
.timeline-content p { color: #b8c4dc; max-width: 480px; }

/* ---------- Pricing ---------- */
.pricing-section { background: var(--bg-light); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.pricing-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 34px; border: 1px solid var(--slate-200);
  display: flex; flex-direction: column; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pricing-desc { color: var(--slate-500); font-size: 0.94rem; margin-bottom: 22px; min-height: 44px; }
.pricing-quote {
  font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--slate-900);
  margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--slate-200);
}
.pricing-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; color: var(--slate-600); }
.pricing-features li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%231d4ed8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.pricing-card-featured {
  background: var(--grad-dark); border: none; transform: scale(1.04); z-index: 1;
  box-shadow: var(--shadow-lg);
}
.pricing-card-featured:hover { transform: scale(1.04) translateY(-6px); }
.pricing-card-featured h3, .pricing-card-featured .pricing-quote { color: #fff; }
.pricing-card-featured .pricing-desc { color: #b8c4dc; }
.pricing-card-featured .pricing-quote { border-color: rgba(255,255,255,0.15); }
.pricing-card-featured .pricing-features li { color: #d5deec; }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #3a2a00; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.03em;
  padding: 7px 18px; border-radius: 100px; box-shadow: 0 6px 16px rgba(245,185,66,0.4);
}
.pricing-footnote { text-align: center; margin-top: 44px; color: var(--slate-500); font-size: 0.94rem; }
.pricing-footnote a { color: var(--blue-700); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--white); }
.testimonial-track-wrap { position: relative; }
.testimonial-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 28px; scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start; flex: 0 0 calc(33.333% - 16px);
  background: var(--bg-light); border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column;
}
.testimonial-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { color: var(--slate-700); font-size: 0.98rem; margin-bottom: 24px; flex: 1; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-person strong { display: block; font-size: 0.95rem; color: var(--slate-900); }
.testimonial-person span { font-size: 0.82rem; color: var(--slate-500); }

.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 20px; }
.testimonial-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--slate-200);
  display: flex; align-items: center; justify-content: center; color: var(--slate-600);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.testimonial-btn:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--slate-200); transition: background .25s var(--ease), width .25s var(--ease); }
.testimonial-dots button.active { background: var(--blue-600); width: 22px; border-radius: 100px; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--bg-light); }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--slate-200); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--slate-900);
}
.faq-icon { flex-shrink: 0; color: var(--blue-600); transition: transform .3s var(--ease); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-answer p { padding: 0 26px 24px; color: var(--slate-500); font-size: 0.97rem; max-width: 640px; }
.faq-item.open .faq-answer { max-height: 260px; }

/* ---------- Contact ---------- */
.contact-section { background: var(--grad-dark); overflow: hidden; }
.contact-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(59,130,246,0.28), transparent 45%), radial-gradient(circle at 90% 80%, rgba(29,78,216,0.28), transparent 45%);
}
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.contact-details { margin: 34px 0 30px; display: flex; flex-direction: column; gap: 18px; }
.contact-details li { display: flex; align-items: center; gap: 14px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center; color: var(--blue-400); flex-shrink: 0;
}
.contact-details strong { display: block; font-size: 0.78rem; color: #8ea0c2; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact-details a, .contact-details span { color: #fff; font-weight: 600; font-size: 1.02rem; }
.contact-details a:hover { color: var(--blue-400); }
.contact-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-badge {
  font-size: 0.82rem; font-weight: 700; color: #d5deec; padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
}

.contact-form { border-radius: var(--radius-xl); padding: 40px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: 0.86rem; font-weight: 700; color: var(--slate-700); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--slate-200); background: #fff;
  font-size: 0.96rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(59,130,246,0.14); outline: none;
}
.form-group input.invalid, .form-group textarea.invalid { border-color: #ef4444; }
.form-error { font-size: 0.78rem; color: #ef4444; min-height: 14px; display: block; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-disclaimer { text-align: center; font-size: 0.8rem; color: var(--slate-400); margin-top: 14px; }

/* Netlify honeypot field — present in the DOM for bots, hidden from real users */
.hidden { display: none; }

.btn-spinner { display: none; animation: spin 0.8s linear infinite; }
#contactSubmit.loading .btn-text { opacity: 0.6; }
#contactSubmit.loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #cbd5e1; }
.footer-cta { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 24px; flex-wrap: wrap; }
.footer-cta-inner h2 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.footer-cta-inner p { color: #dbe6fb; max-width: 480px; }

.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 40px; }
.footer-brand-col p { margin: 14px 0 20px; color: #94a3b8; font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a, .footer-col ul span { color: #94a3b8; font-size: 0.92rem; transition: color .25s var(--ease); }
.footer-col ul a:hover { color: var(--blue-400); }

.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; color: #cbd5e1;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.social-icons a:hover { background: var(--blue-600); color: #fff; transform: translateY(-3px); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 24px 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; color: #7c8aa3;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #cbd5e1; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-blue); z-index: 500;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- Scroll reveal animations ---------- */
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-up.in-view { opacity: 1; transform: translateY(0); }
.delay-1.in-view { transition-delay: 0.12s; }
.delay-2.in-view { transition-delay: 0.24s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .why-grid, .services-grid, .portfolio-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 960px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    display: flex; position: fixed; top: 0; right: 0; height: 100vh; width: min(340px, 84vw);
    background: #fff; z-index: 950; padding: 100px 28px 28px; flex-direction: column;
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 50px rgba(15,23,42,0.15);
  }
  .main-nav.open { transform: translateX(0); display: flex; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { color: var(--slate-700) !important; padding: 14px 16px; font-size: 1.02rem; }
  .nav-link:hover { background: var(--bg-light) !important; color: var(--blue-700) !important; }
  .main-nav::after {
    content: 'Book a Free Consultation';
    display: block; margin-top: 22px; text-align: center; padding: 15px; border-radius: 100px;
    background: var(--grad-primary); color: #fff; font-weight: 700;
  }

  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 80px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-ctas { justify-content: center; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .mockup-phone { right: 0; }

  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .why-grid, .services-grid, .portfolio-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: scale(1); }
  .pricing-card-featured:hover { transform: translateY(-6px); }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .testimonial-card { flex: 0 0 88%; }
  .contact-form { padding: 28px 22px; }
  .timeline::before { left: 23px; }
  .timeline-marker { width: 48px; height: 48px; }
  .modal-body { padding: 24px 22px 28px; }
}

@media (max-width: 420px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .header-phone span { display: none; }
}

/* =========================================================
   Thank You Page (post Netlify form submission)
   ========================================================= */
.thankyou-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; background: var(--grad-dark); padding: 32px 24px;
}
.thankyou-bg { position: absolute; inset: 0; z-index: 0; }
.thankyou-card {
  position: relative; z-index: 1; max-width: 560px; width: 100%; text-align: center;
  padding: 56px 44px; border-radius: var(--radius-xl);
}
.thankyou-brand { display: inline-flex; margin-bottom: 36px; }
.thankyou-icon {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 28px;
  background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35);
  display: flex; align-items: center; justify-content: center;
}
.thankyou-card h1 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: 14px; color: var(--slate-900); }
.thankyou-card p { color: var(--slate-500); font-size: 1.05rem; margin-bottom: 34px; }
.thankyou-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

@media (max-width: 480px) {
  .thankyou-card { padding: 44px 26px; }
  .thankyou-actions { flex-direction: column; }
  .thankyou-actions .btn { width: 100%; }
}
