/* ═══════════════════════════════════════════════
   WESTRAND DENTAL CENTRE — STYLESHEET
   Design: Modern, clean, medical-professional
   ═══════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky-50:  #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --accent: var(--sky-500);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--slate-800);
  line-height: 1.2;
}

/* ── CONTAINER ────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION ──────────────────────────────────── */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-header.light .section-eyebrow { color: var(--sky-200); }

.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky-500);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--slate-500);
}

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--sky-500);
  color: var(--white);
  border-color: var(--sky-500);
}
.btn-primary:hover {
  background: var(--sky-600);
  border-color: var(--sky-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,233,.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-nav {
  background: var(--sky-500);
  color: var(--white);
  padding: 10px 22px;
  font-size: .88rem;
}
.btn-nav:hover {
  background: var(--sky-600);
  transform: translateY(-1px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── NAVIGATION ───────────────────────────────── */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}
.nav-header.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--slate-800);
}
.logo-text strong { color: var(--sky-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:not(.btn):hover { color: var(--sky-500); }
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--sky-500);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--sky-800) 0%, var(--sky-600) 50%, var(--sky-400) 100%);
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,255,255,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,255,255,.06) 0%, transparent 50%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.hero-text { color: var(--white); }

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky-200);
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-text h1 .accent { color: var(--sky-200); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-serif);
}
.stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  letter-spacing: .04em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.25);
}

.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  width: 110%;
  opacity: .6;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

@keyframes blobFloat {
  from { transform: scale(1) rotate(0deg); }
  to   { transform: scale(1.05) rotate(5deg); }
}

.hero-illustration {
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  position: relative;
  z-index: 1;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.hero-card {
  position: absolute;
  bottom: -10px;
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  min-width: 160px;
}
.hero-card-icon { font-size: 1.5rem; margin-bottom: 4px; }
.hero-card-title { font-weight: 700; color: var(--slate-800); font-size: .9rem; }
.hero-card-sub { font-size: .78rem; color: var(--slate-500); }

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; }

/* ── TRUST BAR ────────────────────────────────── */
.trust-bar {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 28px 0;
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate-700);
}

/* ── SERVICES ─────────────────────────────────── */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky-400), var(--sky-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: var(--sky-200);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  border-color: transparent;
  color: var(--white);
  grid-column: span 1;
}
.service-card.featured h3,
.service-card.featured p { color: var(--white); }
.service-card.featured .service-icon { background: rgba(255,255,255,.2); color: var(--white); }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--sky-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-600);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: .9rem;
  color: var(--slate-500);
  line-height: 1.6;
}
.service-card.featured p { color: rgba(255,255,255,.85); }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  list-style: none;
}
.service-tags li {
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

/* ── PROCESS ──────────────────────────────────── */
.process {
  background: linear-gradient(135deg, var(--sky-700) 0%, var(--sky-900) 100%);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  transition: var(--transition);
}
.process-step:hover {
  background: rgba(255,255,255,.12);
}

.process-connector {
  width: 2px;
  height: 24px;
  background: rgba(255,255,255,.2);
  margin: 0 auto;
  position: relative;
  left: calc(36px + 28px);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--sky-300);
  line-height: 1;
  min-width: 56px;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.step-content p {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  line-height: 1.65;
}

/* ── TEAM ─────────────────────────────────────── */
.team { background: var(--slate-50); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.team-avatar {
  width: 100%;
  padding: 40px 40px 24px;
  background: linear-gradient(135deg, var(--sky-50), var(--sky-100));
  display: flex;
  justify-content: center;
}
.team-avatar svg { width: 96px; height: 96px; }

.team-info { padding: 24px 28px 28px; }
.team-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-qual {
  display: block;
  font-size: .8rem;
  color: var(--sky-600);
  font-weight: 600;
  margin-bottom: 12px;
}
.team-info p { font-size: .88rem; color: var(--slate-500); line-height: 1.6; margin-bottom: 16px; }

.team-badge {
  display: inline-block;
  background: var(--sky-100);
  color: var(--sky-700);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ── WHY US ───────────────────────────────────── */
.why-us { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text { }
.why-text .section-eyebrow { margin-bottom: 8px; }
.why-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.why-text > p { color: var(--slate-500); margin-bottom: 40px; line-height: 1.7; }

.why-features { display: flex; flex-direction: column; gap: 24px; }
.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--sky-600);
  font-size: .9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-feature strong {
  display: block;
  color: var(--slate-800);
  font-size: .95rem;
  margin-bottom: 4px;
}
.why-feature p { font-size: .88rem; color: var(--slate-500); }

.why-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 380px;
}
.why-stat-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.why-stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wc1 { grid-column: 1; background: linear-gradient(135deg, var(--sky-500), var(--sky-700)); border-color: transparent; }
.wc2 { grid-column: 2; background: var(--white); }
.wc3 { grid-column: span 2; background: var(--slate-800); border-color: transparent; }

.wsc-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.wc1 .wsc-number, .wc1 .wsc-label { color: var(--white); }
.wc2 .wsc-number { color: var(--sky-600); }
.wc2 .wsc-label { color: var(--slate-500); }
.wc3 .wsc-number { color: #fbbf24; font-size: 1.6rem; }
.wc3 .wsc-label { color: rgba(255,255,255,.7); }
.wsc-label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; }

/* ── CONTACT ──────────────────────────────────── */
.contact {
  background: linear-gradient(135deg, var(--sky-800) 0%, var(--sky-900) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-200);
  flex-shrink: 0;
}
.contact-card h4 { color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.contact-card p { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.6; }
.contact-link { color: var(--sky-300); font-weight: 600; }
.contact-link:hover { color: var(--white); }

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
}
.social-btn:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

/* ── FORM ─────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-xl);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--slate-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14,165,233,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 44px; }

.form-note {
  font-size: .78rem;
  color: var(--slate-400);
  text-align: center;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: #16a34a;
}
.form-success.show { display: flex; }

/* ── FOOTER ───────────────────────────────────── */
.footer {
  background: var(--slate-900);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 280px;
  line-height: 1.7;
}
.footer-brand .logo-text { color: var(--white); }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--sky-500); color: var(--white); }

.footer-links h4 {
  color: var(--white);
  font-size: .88rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--sky-400); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
}

/* ── FAB ──────────────────────────────────────── */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 56px;
  height: 56px;
  background: var(--sky-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(14,165,233,.5);
  transition: var(--transition);
  animation: fabPop .5s .5s cubic-bezier(.34,1.56,.64,1) both;
}
.fab:hover { background: var(--sky-600); transform: scale(1.1); }

@keyframes fabPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ── SCROLL ANIMATIONS ────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* ── SHOWCASE (PulseFitHero-style) ───────────── */
.showcase {
  position: relative;
  overflow: hidden;
  padding: 96px 0 0;
}

.showcase-gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #e8f0ff 0%, #f5f9ff 55%, #ffffff 100%);
  z-index: 0;
}

.showcase-hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  /* entry animation */
  animation: showcaseFadeUp .8s ease both;
}

@keyframes showcaseFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.showcase-eyebrow { color: var(--sky-600); margin-bottom: 16px; }

.showcase-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.showcase-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--slate-500);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.showcase-btn-primary {
  background: var(--slate-900);
  color: var(--white);
  border-color: var(--slate-900);
  gap: 8px;
}
.showcase-btn-primary:hover {
  background: var(--slate-800);
  border-color: var(--slate-800);
  transform: scale(1.04);
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}

.showcase-btn-outline {
  background: transparent;
  color: var(--slate-800);
  border: 2px solid var(--slate-300);
}
.showcase-btn-outline:hover {
  border-color: var(--slate-500);
  transform: scale(1.04);
}

/* Social proof */
.showcase-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.sp-avatars {
  display: flex;
  flex-direction: row;
}
.sp-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -10px;
}
.sp-avatars img:first-child { margin-left: 0; }

.sp-text {
  font-size: .88rem;
  font-weight: 500;
  color: var(--slate-600);
}
.sp-text strong { color: var(--slate-800); }

.showcase-disclaimer {
  font-size: .78rem;
  color: var(--slate-400);
  font-style: italic;
  margin-bottom: 56px;
}

/* Scrolling cards */
.showcase-scroller {
  position: relative;
  overflow: hidden;
  padding: 8px 0 72px;
}

.showcase-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}
.showcase-fade-left  { left: 0;  background: linear-gradient(90deg,  #f5f9ff 0%, transparent 100%); }
.showcase-fade-right { right: 0; background: linear-gradient(270deg, #ffffff 0%, transparent 100%); }

.showcase-track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding-left: 24px;
  animation: showcaseScroll 28s linear infinite;
}
.showcase-scroller:hover .showcase-track { animation-play-state: paused; }

@keyframes showcaseScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.showcase-card {
  position: relative;
  width: 356px;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.showcase-card:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72) 100%);
}
.sc-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sc-category {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
}
.sc-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  font-family: var(--font-serif);
}

/* ── BRANDS MARQUEE ──────────────────────────── */
.brands { background: var(--slate-50); }
.brands .section-header { margin-bottom: 40px; }

.brands-scroller {
  position: relative;
  overflow: hidden;
  padding: 8px 0 16px;
  /* Fade edges using mask */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.brands-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: brandScroll 32s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }

@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-item {
  padding: 8px 16px;
  flex-shrink: 0;
}

.brand-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 50px;
  padding: 12px 22px;
  filter: grayscale(0.75);
  opacity: 0.6;
  transition: filter .3s ease, opacity .3s ease, box-shadow .3s ease, transform .3s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  cursor: default;
}
.brand-item:hover .brand-chip {
  filter: grayscale(0);
  opacity: 1;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.brand-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.brand-chip span {
  font-size: .9rem;
  font-weight: 700;
  color: var(--slate-700);
  letter-spacing: .01em;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  /* Nav */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0 24px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 24px; width: 100%; }
  .nav-links .btn-nav { margin: 8px 24px 0; width: calc(100% - 48px); justify-content: center; }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding-bottom: 60px;
  }
  .hero-sub { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-illustration { width: 200px; height: 200px; }
  .hero-card { bottom: -10px; right: -10px; }

  /* Trust */
  .trust-grid { gap: 20px 32px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Process */
  .process-step { flex-direction: column; gap: 12px; }
  .process-connector { left: 0; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Showcase */
  .showcase { padding: 64px 0 0; }
  .showcase-card { width: 280px; height: 380px; }
  .showcase-fade { width: 60px; }
  .showcase-social-proof { flex-direction: column; gap: 10px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 2.4rem; }
  .why-card-stack { grid-template-columns: 1fr; }
  .wc3 { grid-column: 1; }
}
