/* =============================================
   CraftConnect SA — styles.css
   Premium Static Playbook · Outfit + Space Mono
   ============================================= */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Brand Accent Colours */
  --sky:          #38BDF8;
  --sky-dark:     #0EA5E9;
  --sky-light:    #7DD3FC;
  --sky-glow:     rgba(56, 189, 248, 0.15);
  --sky-border:   rgba(56, 189, 248, 0.35);
  --lime:         #4ADE80;
  --lime-dark:    #22C55E;
  --lime-glow:    rgba(74, 222, 128, 0.15);

  /* Hero (Dark) */
  --hero-bg:      #1A1A1A;

  /* Light Sections */
  --bg:           #FFFFFF;
  --bg-alt:       #F8FAFC;
  --card-bg:      #FFFFFF;
  --card-border:  #E2E8F0;

  /* Text (Light Sections) */
  --text-dark:    #0F172A;
  --text-body:    #374151;
  --text-muted:   #6B7280;
  --border:       #E2E8F0;

  /* Shared */
  --white:        #ffffff;
  --black:        #0F172A;

  /* Radius */
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    20px;

  /* Shadows */
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-hover:  0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(56, 189, 248, 0.25);
  --transition:    all 0.3s ease;
}

/* ── Skip Navigation (Accessibility) ── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 8px;
  background: var(--teal, #009AB2);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-nav:focus {
  top: 8px;
}

/* ──────────────────────────────────────────────────── */
/* ── Focus-visible styles for keyboard navigation ── */
/* ──────────────────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--sky-dark, #0EA5E9);
  outline-offset: 3px;
  border-radius: 3px;
}

button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--sky-dark, #0EA5E9);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

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

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--sky-dark); border-radius: 4px; }

/* ===== SELECTION ===== */
::selection { background: var(--lime); color: var(--black); }

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

/* Section label — light section default */
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sky-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--sky-dark);
  flex-shrink: 0;
}

.sky  { color: var(--sky-dark); }
.lime { color: var(--lime-dark); }
.teal { color: var(--sky-dark); } /* legacy alias */

/* ===== CANVAS ===== */
#circuit-canvas,
#footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#circuit-canvas { opacity: 1; }
#footer-canvas  { opacity: 1; }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--sky), var(--lime));
  z-index: 2000;
  transition: width 0.1s linear;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease-out, top 0.15s ease-out;
  border-radius: 50%;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--sky-dark);
  border: none;
  border-radius: 10px;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 500;
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover   { background: var(--sky); transform: translateY(-2px); }

/* ===== BADGE PULSE ===== */
.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.4);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--lime-dark);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.badge-pulse .live-dot {
  width: 6px; height: 6px;
  background: var(--lime-dark);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.98);
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open { opacity: 1; pointer-events: all; display: flex; }

.mobile-menu a {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--sky); }

.mobile-menu .mobile-cta {
  color: var(--lime);
  border: 1.5px solid var(--lime);
  padding: 10px 32px;
  border-radius: var(--radius-sm);
  font-size: 20px;
}

.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}

.mobile-menu-close:hover { color: var(--white); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 20px;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close:hover { background: var(--bg-alt); color: var(--text-dark); }

.modal h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; color: var(--text-dark); }
.modal p  { font-size: 14px; color: var(--text-body); margin-bottom: 28px; line-height: 1.7; }

.form-group { margin-bottom: 16px; }

.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--sky-dark); background: var(--white); }

.form-group select option { background: var(--white); color: var(--text-dark); }
.form-group textarea { resize: vertical; min-height: 80px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--lime);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover { background: var(--lime-dark); transform: translateY(-1px); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

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

/* Default (over dark hero) */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Wordmark wrapper — single flex item so gap never splits Craft/Connect/SA */
.nav-logo-wordmark {
  white-space: nowrap;
  letter-spacing: inherit;
}
.nav-logo-wordmark span { color: var(--sky); }

/* Logo image: hidden on dark hero, visible once scrolled into light sections */
.nav-logo-img { display: none; }
.nav.scrolled .nav-logo-img { display: inline-block; }

.nav.scrolled .nav-logo { color: var(--text-dark); }
.nav.scrolled .nav-logo-wordmark span { color: var(--sky-dark); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--sky);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* Scrolled (over white sections) */
.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.nav.scrolled .nav-links a  { color: var(--text-body); }
.nav.scrolled .nav-links a:hover { color: var(--sky-dark); }
.nav.scrolled .nav-links a::after { background: var(--sky-dark); }
.nav.scrolled .nav-toggle span { background: var(--text-dark); }

.nav-cta {
  background: var(--lime) !important;
  color: var(--black) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: var(--lime-dark) !important; transform: translateY(-1px) !important; }

/* Active nav link */
.nav-active { color: var(--sky-dark) !important; }
.nav.scrolled .nav-active { color: var(--sky-dark) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.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); }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--lime);
  color: var(--black);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(74, 222, 128, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--sky-dark);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--sky-dark);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--sky-glow);
  border-color: var(--sky);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.2);
}

/* Hero-specific button overrides (dark bg) */
.hero .btn-outline {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--sky-light);
  color: var(--sky-light);
}

/* ===== SECTION BASE ===== */
section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; }

.section-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-desc {
  font-size: 16px;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header .section-label  { justify-content: center; }
.section-header .section-label::before { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(56, 189, 248, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 60%, rgba(74, 222, 128, 0.07) 0%, transparent 50%);
}

/* Hero overrides — section label on dark bg */
.hero .section-label {
  color: var(--sky-light);
}
.hero .section-label::before { background: var(--sky-light); }

.hero-content { position: relative; z-index: 2; padding: 90px 0 60px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sky-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  animation: fadeInUp 0.9s ease 0.1s both;
}

.hero-title .craft   { color: var(--white); }
.hero-title .connect { color: var(--sky); }
.hero-title .sa      { color: transparent; -webkit-text-stroke: 1.5px var(--lime); }

.hero-subtitle {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-subtitle em { font-style: normal; color: var(--sky-light); font-weight: 500; }

.hero-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 48px;
  max-width: 520px;
  line-height: 1.7;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-tagline strong { color: rgba(255, 255, 255, 0.75); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.4s both;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1.2s ease 1s both;
}

.hero-scroll span {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.scroll-arrow {
  width: 22px; height: 22px;
  border-right: 1.5px solid rgba(255,255,255,0.35);
  border-bottom: 1.5px solid rgba(255,255,255,0.35);
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease infinite;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.5s both;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--sky);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ===== INTRO ===== */
.intro { background: var(--bg); position: relative; overflow: hidden; content-visibility: auto; contain-intrinsic-size: auto 600px; }

.intro::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(56,189,248,0.04) 0%, transparent 65%);
  pointer-events: none;
}

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

.intro-headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.gradient-text {
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky) 50%, var(--lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-body { font-size: 16px; color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }

.intro-features { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }

.intro-feature { display: flex; align-items: flex-start; gap: 14px; }

.intro-feature-icon {
  width: 32px; height: 32px;
  min-width: 32px;
  background: var(--sky-glow);
  border: 1px solid var(--sky-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--sky-dark);
  font-size: 14px;
  margin-top: 2px;
}

.intro-feature-text { font-size: 14px; color: var(--text-body); line-height: 1.6; }
.intro-feature-text strong { display: block; color: var(--text-dark); font-weight: 700; margin-bottom: 2px; }

/* Digital Enablement Badge */
.digital-enablement-badge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.digital-enablement-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--lime));
}

.de-badge-title {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-dark);
  margin-bottom: 20px;
}

.de-pillars { display: flex; flex-direction: column; gap: 10px; }

.de-pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  cursor: default;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.de-pillar:hover { border-color: var(--sky); background: var(--sky-glow); transform: translateX(4px); }
.de-pillar i { color: var(--sky-dark); font-size: 14px; width: 18px; text-align: center; }

/* ===== SERVICES ===== */
.services { background: var(--bg-alt); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--lime));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover { border-color: var(--sky-border); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card:hover::before { opacity: 1; }

.service-card-number {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--sky-glow);
  border: 1px solid var(--sky-border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--sky-dark);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--sky-dark);
  color: var(--white);
  border-color: var(--sky-dark);
  transform: scale(1.05);
}

.service-name { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.service-desc { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* ===== WHY US ===== */
.why-us { background: var(--bg); content-visibility: auto; contain-intrinsic-size: auto 600px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.why-card:hover {
  border-color: var(--sky-border);
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.why-icon {
  width: 44px; height: 44px;
  background: var(--sky-glow);
  border: 1px solid var(--sky-border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--sky-dark);
  margin-bottom: 16px;
  transition: var(--transition);
}

.why-card:hover .why-icon { background: var(--sky-dark); color: var(--white); border-color: var(--sky-dark); }

.why-card h3, .why-card h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.why-card p  { font-size: 13px; color: var(--text-body); line-height: 1.7; }

/* ===== PACKAGES ===== */
.packages { background: var(--bg-alt); }

.packages-note {
  text-align: center;
  font-size: 13px;
  color: var(--lime-dark);
  font-weight: 600;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-nav {
  display: flex;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  max-width: 820px;
  margin: 0 auto 48px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}

.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 11px 14px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.tab-btn:hover { color: var(--text-dark); background: var(--bg-alt); }
.tab-btn.active { background: var(--sky-dark); color: var(--white); }

.tab-content { display: none; }
.tab-content.active { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }

.package-name { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--text-dark); }
.package-name .teal,
.package-name .sky  { color: var(--sky-dark); }

.package-tagline { font-size: 14px; color: var(--text-body); margin-bottom: 28px; line-height: 1.6; }

.package-price-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.package-price-block:hover {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2), 0 8px 32px rgba(74, 222, 128, 0.15);
  transition: var(--transition);
}

.package-price-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 8px; }
.package-price-range { font-size: 36px; font-weight: 800; color: var(--sky-dark); letter-spacing: -0.03em; line-height: 1; }
.package-price-range small { font-size: 15px; font-weight: 400; color: var(--text-muted); }
.package-hours { font-size: 13px; color: var(--text-body); margin-top: 10px; line-height: 1.5; }
.package-hours strong { color: var(--text-dark); }

.package-cta-btn {
  width: 100%;
  padding: 15px;
  background: var(--lime);
  color: var(--black);
  border: none;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.package-cta-btn:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(74, 222, 128, 0.35);
}

.package-features-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.package-features-block:hover {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2), 0 8px 32px rgba(74, 222, 128, 0.15);
  transition: var(--transition);
}

.package-features-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--lime));
}

.features-title {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.feature-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.5;
}

.feature-list li i { color: var(--lime-dark); margin-top: 3px; font-size: 11px; flex-shrink: 0; }

.feature-section-title {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sky-dark);
  margin: 20px 0 10px;
}

/* ===== PROCESS ===== */
.process { background: var(--bg); }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--sky), var(--border), transparent);
  z-index: 0;
}

.process-steps::after {
  content: '';
  position: absolute;
  bottom: 36px;
  left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--sky), var(--border), transparent);
  z-index: 0;
  pointer-events: none;
}

.process-step { text-align: center; position: relative; z-index: 1; display: flex; flex-direction: column; }

.process-step-num {
  width: 72px; height: 72px;
  background: var(--white);
  border: 2px solid var(--sky-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--sky-dark);
  margin: 0 auto 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.process-step:hover .process-step-num {
  background: var(--sky-dark);
  color: var(--white);
  border-color: var(--sky-dark);
  box-shadow: 0 0 0 5px var(--sky-glow);
}

.process-step-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.process-step-desc  { font-size: 13px; color: var(--text-body); line-height: 1.6; }

/* ── Process step illustration buttons ── */
.process-step-icon-btn {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 2px solid var(--sky-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto auto 0 auto;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.process-step:hover .process-step-icon-btn {
  background: var(--sky-dark);
  border-color: var(--sky-dark);
  box-shadow: 0 0 0 5px var(--sky-glow);
}

.process-step:hover .process-step-icon-btn svg rect,
.process-step:hover .process-step-icon-btn svg circle,
.process-step:hover .process-step-icon-btn svg path {
  fill: white;
  stroke: white;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

/* ===== ENABLEMENT ===== */
.enablement { background: var(--bg-alt); position: relative; overflow: hidden; content-visibility: auto; contain-intrinsic-size: auto 700px; }

.enablement::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(56,189,248,0.04) 0%, transparent 65%);
  pointer-events: none;
}

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

.enablement-stack { display: flex; flex-direction: column; gap: 8px; }

.enablement-layer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: default;
  background: var(--white);
}

.enablement-layer:nth-child(1) { border-color: var(--sky-border); background: rgba(56,189,248,0.07); }
.enablement-layer:nth-child(2) { border-color: rgba(56,189,248,0.2); background: rgba(56,189,248,0.04); margin-left: 12px; }
.enablement-layer:nth-child(3) { border-color: rgba(56,189,248,0.15); background: rgba(56,189,248,0.02); margin-left: 24px; }
.enablement-layer:nth-child(4) { border-color: rgba(74,222,128,0.25); background: rgba(74,222,128,0.05); margin-left: 36px; }
.enablement-layer:nth-child(5) { border-color: rgba(74,222,128,0.18); background: rgba(74,222,128,0.03); margin-left: 48px; }

.enablement-layer:hover { transform: translateX(8px); border-color: var(--sky-dark); box-shadow: var(--shadow-card); }

.enablement-layer-icon { font-size: 20px; color: var(--sky-dark); width: 24px; text-align: center; }
.enablement-layer-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.enablement-layer-sub  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.enablement-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.enablement-content p { font-size: 15px; color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }

.enablement-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.enablement-pill {
  background: var(--sky-glow);
  border: 1px solid var(--sky-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sky-dark);
  transition: var(--transition);
}

.enablement-pill:hover { background: rgba(56,189,248,0.25); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

/* HIDDEN — testimonial hover lift to be activated at a later stage
.testimonial-card:hover { border-color: var(--sky-border); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
*/

/*
.testimonial-card:hover {
  border-color: var(--sky-border);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(56, 189, 248, 0.25);
  transition: var(--transition);
}
*/

.testimonial-stars { position: absolute; top: 28px; right: 28px; color: #F59E0B; font-size: 11px; letter-spacing: 2px; }

.testimonial-quote-icon {
  font-size: 48px;
  line-height: 1;
  color: var(--sky);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 12px;
}

.testimonial-text { font-size: 14px; color: var(--text-body); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sky-glow);
  border: 2px solid var(--sky-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--sky-dark);
  flex-shrink: 0;
}

.testimonial-name   { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.testimonial-source { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ===== ABOUT ===== */
.about { background: var(--bg-alt); }

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

.about-headline {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.about-body { font-size: 15px; color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }

.about-values { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

.about-value { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-body); line-height: 1.5; }
.about-value i { color: var(--sky-dark); font-size: 14px; margin-top: 2px; width: 16px; flex-shrink: 0; }
.about-value strong { color: var(--text-dark); }

.founder-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky-dark), var(--lime));
}

.founder-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }

.founder-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-dark), var(--sky));
  border: 2px solid var(--sky-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  flex-shrink: 0;
}

.founder-name  { font-size: 17px; font-weight: 800; color: var(--text-dark); }
.founder-title { font-size: 12px; color: var(--sky-dark); margin-top: 2px; font-weight: 600; }
.founder-bio   { font-size: 14px; color: var(--text-body); line-height: 1.75; margin-bottom: 20px; }

.founder-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

.founder-tags span {
  background: var(--sky-glow);
  border: 1px solid var(--sky-border);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sky-dark);
}

.founder-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.1);
  border: 1.5px solid rgba(37,211,102,0.4);
  color: #16A34A;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.founder-wa-btn:hover { background: rgba(37,211,102,0.18); transform: translateY(-1px); }

/* ===== FAQ ===== */
.faq { background: var(--bg); content-visibility: auto; contain-intrinsic-size: auto 800px; }

.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }

.faq-sidebar-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.faq-sidebar-text { font-size: 14px; color: var(--text-body); line-height: 1.7; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.faq-item.open { border-color: var(--sky-dark); }

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  gap: 16px;
  transition: color 0.2s;
  user-select: none;
}

.faq-question:hover { color: var(--sky-dark); }

.faq-toggle {
  width: 24px; height: 24px;
  min-width: 24px;
  border-radius: var(--radius-sm);
  background: var(--sky-glow);
  border: 1px solid var(--sky-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--sky-dark);
  transition: var(--transition);
}

.faq-item.open .faq-toggle { background: var(--sky-dark); color: var(--white); transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 13.5px; color: var(--text-body); line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── FAQ open state — question text turns lime ── */
.faq-item.open .faq-question { color: var(--lime-dark); }

/* ── FAQ WhatsApp CTA ── */
.faq-whatsapp-btn { display: inline-flex; margin-top: 12px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 90px 0;
  background: linear-gradient(135deg, #EFF9FF 0%, #F0FDF4 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
  border-bottom: 1px solid var(--border);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(56,189,248,0.06) 0%, transparent 65%);
}

.cta-inner { position: relative; text-align: center; }

.cta-inner h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.cta-inner h2 .teal,
.cta-inner h2 .sky { color: var(--sky-dark); }

.cta-inner p {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo { font-size: 22px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; color: var(--text-dark); }
.footer-logo span { color: var(--sky-dark); }

.footer-about { font-size: 13px; color: var(--text-body); line-height: 1.7; margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }

.social-link {
  width: 36px; height: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover { background: var(--sky-dark); color: var(--white); border-color: var(--sky-dark); transform: translateY(-2px); }

.footer-col h3, .footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--text-body); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--sky-dark); }

.footer-hours { display: flex; flex-direction: column; gap: 8px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; }
.hours-day  { color: var(--text-body); }
.hours-time { color: var(--text-dark); font-weight: 700; font-family: 'Space Mono', monospace; font-size: 11px; white-space: nowrap; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; }
.footer-contact-item i { color: var(--sky-dark); font-size: 13px; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span,
.footer-contact-item a { font-size: 13px; color: var(--text-body); line-height: 1.5; text-decoration: none; }
.footer-contact-item a:hover { color: var(--sky-dark); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom a { color: var(--sky-dark); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ===== TOOLTIP ===== */
[data-tooltip] { position: relative; }

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--white);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

[data-tooltip]:hover::after { opacity: 1; }

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeIn      { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp    { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown  { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse       { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
@keyframes scrollBounce { 0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; } 50% { transform: rotate(45deg) translateY(6px); opacity: 0.4; } }

/* ═══════════════════════════════════════════════════════
   ANIMATED MARBLE BACKGROUNDS
   Sections: What We Do (.services), Pricing (.packages),
   Enablement (.enablement), FAQ (.faq)
   Soft, subtle animated marble using lime, sky & white.
   Sits behind all content via z-index 0.
   ═══════════════════════════════════════════════════════ */

@keyframes marble-shift {
  0%   { background-position: 0% 0%,   100% 100%, 50%  50%;  }
  25%  { background-position: 40% 20%,  60%  80%, 80%  20%;  }
  50%  { background-position: 100% 50%, 0%   50%, 20%  80%;  }
  75%  { background-position: 60% 80%,  40%  20%, 10%  40%;  }
  100% { background-position: 0% 0%,   100% 100%, 50%  50%;  }
}

.services,
.packages,
.faq {
  position: relative;
  overflow: hidden;
}

.services > .container,
.packages > .container,
.faq > .container {
  position: relative;
  z-index: 1;
}

.services::before,
.packages::before,
.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(74, 222, 128, 1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 70%, rgba(56, 189, 248, 1) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 55% 10%, rgba(255, 255, 255, 0.8) 0%, transparent 65%);
  background-size: 220% 220%, 200% 200%, 250% 250%;
  animation: marble-shift 22s ease-in-out infinite alternate;
}

/* Enablement uses ::after to avoid conflict with existing ::before */
.enablement > .container {
  position: relative;
  z-index: 1;
}

.enablement::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(74, 222, 128, 1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 70%, rgba(56, 189, 248, 1) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 55% 10%, rgba(255, 255, 255, 0.8) 0%, transparent 65%);
  background-size: 220% 220%, 200% 200%, 250% 250%;
  animation: marble-shift 22s ease-in-out infinite alternate;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .intro-grid         { grid-template-columns: 1fr; gap: 48px; }
  .about-grid         { grid-template-columns: 1fr; gap: 48px; }
  .enablement-grid    { grid-template-columns: 1fr; }
  .tab-content.active { grid-template-columns: 1fr; }
  .process-steps      { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before,
  .process-steps::after { display: none; }
  .faq-grid           { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links   { display: none; }
  .nav-toggle  { display: flex; }
  .cursor-glow { display: none; }

  section { padding: 72px 0; }

  .hero-stats    { gap: 24px; }
  .hero-title    { font-size: clamp(42px, 12vw, 72px); }

  .services-grid     { grid-template-columns: 1fr; }
  .why-grid          { grid-template-columns: 1fr; }

  /* Disable 3D transform on mobile for why-card */
  .why-card:hover { transform: translateY(-4px); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; gap: 36px; }

  .tab-nav { flex-direction: column; }
  .tab-btn { text-align: left; }

  .modal      { padding: 32px 24px; }
  .intro-grid { gap: 36px; }
  .about-grid { gap: 36px; }

  .cta-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container   { padding: 0 16px; }
  .hero-stats  { flex-direction: column; gap: 20px; border-top: none; margin-top: 40px; padding-top: 0; }
  .tab-content.active { display: flex; flex-direction: column; }
  .process-steps { grid-template-columns: 1fr; }
}

/* =============================================
   Copy Update v1 — New Element Styles
   ============================================= */

/* Service feature list inside 2-card services layout */
.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  flex: 1;
}
.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted, #9ba8b4);
  margin-bottom: 8px;
  line-height: 1.5;
}
.service-feature-list li i {
  color: var(--teal, #009AB2);
  margin-top: 2px;
  flex-shrink: 0;
}
.service-price-tag {
  display: block;
  background: rgba(0,154,178,0.12);
  color: var(--teal, #009AB2);
  border: 1px solid rgba(0,154,178,0.3);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  margin: 4px 0 10px;
  width: fit-content;
}

.service-price-tag:hover {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.5);
  color: var(--lime-dark);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.3);
  transition: var(--transition);
  cursor: default;
}
.service-cta-link {
  display: block;
  font-size: 14px;
  color: var(--teal, #009AB2);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
  margin-top: 4px;
}
.service-cta-link:hover {
  opacity: 1;
  color: var(--lime-dark);
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
}

/* Process step numbers as text */
.process-step-num {
  font-family: 'Space Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--teal, #009AB2);
  margin-bottom: 12px;
  line-height: 1;
}

/* Form reassurance & WA fallback */
.form-reassurance {
  font-size: 12px;
  color: var(--text-muted, #9ba8b4);
  text-align: center;
  margin-top: 10px;
}
.form-wa-fallback {
  font-size: 13px;
  color: var(--text-muted, #9ba8b4);
  text-align: center;
  margin-top: 6px;
}
.form-wa-fallback a {
  color: var(--teal, #009AB2);
  text-decoration: none;
  font-weight: 600;
}

/* CTA banner reassurance line */
.cta-reassurance {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.cta-reassurance a {
  color: var(--teal-light, #4ADE80);
  font-weight: 600;
  text-decoration: none;
}

/* Footer tagline */
.footer-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal, #009AB2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

/* Testimonial placeholder card style */
.testimonial-card.placeholder-card {
  border-style: dashed;
  opacity: 0.75;
}

/* De-pillar check icon colour */
.de-pillar i.teal { color: var(--teal, #009AB2); }

/* =============================================
   CraftConnect SA — v2 Edit Patch
   ============================================= */

/* --- Hero: SA span — same font as rest of title, lime green --- */
.hero-title .sa {
  font-family: inherit !important;
  font-weight: 900 !important;
  color: #4ADE80 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #4ADE80 !important;
  background-clip: unset !important;
}

/* --- Hero canvas — ensure full opacity overlay visible --- */
#circuit-canvas {
  opacity: 1 !important;
}

/* --- Mission section: inline note under feature --- */
.intro-note {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: rgba(155, 168, 180, 0.85);
  font-style: italic;
  line-height: 1.5;
}

/* --- About the Founder card (replaces DE badge in mission section) --- */
.founder-intro-card {
  background: linear-gradient(160deg, #0D1318 0%, #111820 100%);
  border: 1px solid rgba(0,154,178,0.25);
  border-top: 3px solid #009AB2;
  border-radius: 16px;
  padding: 32px;
  height: auto;
}

.founder-intro-header {
  margin-bottom: 20px;
}

.founder-intro-title {
  font-size: 18px;
  font-weight: 700;
  color: #4ADE80;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.founder-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0,154,178,0.07);
  border: 2px dashed rgba(0,154,178,0.35);
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 24px;
  color: rgba(155,168,180,0.7);
}

.founder-photo-placeholder i {
  font-size: 32px;
  color: rgba(0,154,178,0.5);
}

.founder-photo-placeholder span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,154,178,0.6);
}

.founder-intro-bio {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(200, 212, 220, 0.88);
  margin: 0 0 22px;
}

.founder-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.founder-intro-tags span {
  background: rgba(0,154,178,0.12);
  color: #009AB2;
  border: 1px solid rgba(0,154,178,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}

/* --- Services grid: centred 2-card layout --- */
.services-grid--centered {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 32px !important;
  max-width: 960px;
  margin: 0 auto;
}

.services-grid--centered .service-card {
  flex: 1 1 380px;
  max-width: 440px;
}

@media (max-width: 768px) {
  .services-grid--centered .service-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* --- Pricing: Most Popular badge on tab button --- */
.tab-popular-badge {
  display: inline-block;
  background: #4ADE80;
  color: #080C10;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.6;
}

/* --- Testimonial coming soon cards --- */
.testimonial-card.testimonial-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  border-color: rgba(0,154,178,0.3);
  min-height: 200px;
  gap: 12px;
  opacity: 0.85;
}

.coming-soon-icon {
  font-size: 28px;
  color: rgba(0,154,178,0.45);
}

.coming-soon-label {
  font-size: 15px;
  font-weight: 700;
  color: #009AB2;
  margin: 0;
  letter-spacing: 0.03em;
}

.coming-soon-sub {
  font-size: 13px;
  color: rgba(155,168,180,0.75);
  margin: 0;
  max-width: 200px;
}

/* =============================================
   FOOTER — White background, black circuit,
   coloured text mix
   ============================================= */

footer {
  background: #ffffff !important;
  position: relative;
  overflow: hidden;
}

/* Canvas sits behind all footer content */
#footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

/* All direct footer content above canvas */
footer .container {
  position: relative;
  z-index: 2;
}

/* Footer logo */
.footer-logo {
  color: #080C10 !important;
  font-weight: 900;
}

.footer-logo span {
  color: #009AB2 !important;
}

/* Footer tagline */
.footer-tagline {
  color: #4ADE80 !important;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

/* Footer about blurb */
.footer-about {
  color: #2a3540 !important;
  font-size: 14px;
  line-height: 1.7;
}

/* Footer column headings */
.footer-col h4 {
  color: #009AB2 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Footer links */
.footer-links li a {
  color: #1a2530 !important;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: #4ADE80 !important;
}

/* Footer contact items */
.footer-contact-item {
  color: #1a2530 !important;
}

.footer-contact-item i {
  color: #009AB2 !important;
}

.footer-contact-item a {
  color: #1a2530 !important;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #4ADE80 !important;
}

/* Social links */
.footer .social-link,
footer .social-link {
  background: rgba(0,154,178,0.10) !important;
  color: #009AB2 !important;
  border: 1px solid rgba(0,154,178,0.3) !important;
  transition: background 0.2s, color 0.2s;
}

footer .social-link:hover {
  background: #4ADE80 !important;
  color: #080C10 !important;
  border-color: #4ADE80 !important;
}

/* Footer bottom strip */
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.12) !important;
  color: #4a5560 !important;
}

.footer-bottom p {
  color: #4a5560 !important;
}

.footer-bottom a {
  color: #009AB2 !important;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #4ADE80 !important;
}


/* =============================================
   v3 — PCB circuit, badge fix, founder center
   ============================================= */

/* Most Popular: pill sits ABOVE the tab button */
.tab-btn-popular-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.tab-popular-pill {
  display: inline-block;
  background: #4ADE80;
  color: #080C10;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 2px 10px;
  line-height: 1.7;
  white-space: nowrap;
  pointer-events: none;
}
.tab-btn--featured {
  border-color: rgba(74,222,128,0.6) !important;
}
/* Kill any leftover old inline badge */
.tab-popular-badge { display: none !important; }

/* Founder card — center all text */
.founder-centered {
  text-align: center !important;
}
.founder-centered .founder-intro-tags {
  justify-content: center;
}
.founder-centered .founder-photo-placeholder {
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   CONTENT EDITS PATCH
   ============================================= */

/* --- Founder photo — square shape --- */
.founder-photo-square {
  border-radius: 12px !important;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 !important;
  min-height: unset !important;
}

.founder-photo-square i {
  font-size: 40px;
}

/* ── Actual founder photo (replaces placeholder) ── */
.founder-photo-img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 2px solid rgba(0,154,178,0.30);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,154,178,0.15);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

/* --- Service cards — centre-align all text content --- */
.service-card--centred {
  text-align: center;
  align-items: center;
}

.service-card--centred .service-feature-list {
  text-align: left;
  width: 100%;
}

.service-card--centred .service-price-tag {
  text-align: center;
}

/* --- Why Us — equal height cards via grid alignment, lime green hover border --- */
.why-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.why-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.why-card p {
  flex: 1;
}

.why-card:hover {
  border-color: var(--lime) !important;
  box-shadow: 0 12px 40px rgba(74, 222, 128, 0.18), 0 0 0 1px rgba(74, 222, 128, 0.35) !important;
}

.why-card:hover .why-icon {
  background: var(--lime) !important;
  color: var(--black) !important;
  border-color: var(--lime) !important;
}

/* --- FAQ title gradient --- */
.faq-title-gradient {
  background: linear-gradient(90deg, var(--lime) 0%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   DESIGN EDITS PATCH — gradients, glows, bold
   ============================================= */

/* --- Shared lime-to-sky gradient text --- */
.grad-lime-sky {
  background: linear-gradient(90deg, var(--lime) 0%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Global section hover glow ---
     Each major <section> gets a subtle lime+sky border glow on hover.
     We use outline + box-shadow so it doesn't shift layout.           */
section:hover {
  outline: none;
  box-shadow: 0 0 0 2px transparent,
              inset 0 0 0 2px transparent;
}

.intro:hover,
.services:hover,
.why-us:hover,
.packages:hover,
.process:hover,
.enablement:hover,
.testimonials:hover,
.faq:hover,
.cta-banner:hover {
  box-shadow:
    0 0 0 2px rgba(74, 222, 128, 0.45),
    0 0 18px 2px rgba(56, 189, 248, 0.18);
  transition: box-shadow 0.4s ease;
}

/* --- What We Do: icon turns lime on card hover --- */
.service-card:hover .service-icon {
  background: var(--lime-glow) !important;
  color: var(--lime-dark) !important;
  border-color: rgba(74, 222, 128, 0.5) !important;
}

.service-card:hover .service-icon i {
  color: var(--lime-dark) !important;
}

/* --- Why Us: equal width enforcement (grid handles height via grid-auto-rows above) --- */

/* --- Pricing: bold all text inside tab-content --- */
.tab-content .feature-list li,
.tab-content .feature-section-title,
.tab-content .package-tagline,
.tab-content .package-price-label,
.tab-content .package-price-range,
.tab-content .package-hours,
.tab-content .features-title {
  font-weight: 700 !important;
}

/* --- Process: step numbers stay sky blue, glow lime on hover --- */
.process-step-num {
  display: inline-block;
  color: var(--sky-dark);
  transition: color 0.3s, text-shadow 0.3s;
}

.process-step:hover .process-step-num {
  color: var(--lime-dark);
  text-shadow:
    0 0 10px rgba(74, 222, 128, 0.7),
    0 0 24px rgba(74, 222, 128, 0.4);
}

/* --- Enablement pills: lime green instead of sky blue --- */
.enablement-pill {
  background: rgba(74, 222, 128, 0.12) !important;
  color: var(--lime-dark) !important;
  border: 1px solid rgba(74, 222, 128, 0.35) !important;
}

/* ═══════════════════════════════════════════════════════
   REDUCED MOTION — Respects OS accessibility preference
   ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep marble backgrounds but make them static */
  .services::before,
  .packages::before,
  .faq::before,
  .enablement::after {
    animation: none !important;
  }

  /* Keep mascot float static */
  #mascot-inner {
    animation: none !important;
  }

  /* Keep hero canvas animation but stop pulse effects */
  #circuit-canvas,
  #footer-canvas {
    opacity: 0.3 !important;
  }
}

.enablement-pill:hover {
  background: rgba(74, 222, 128, 0.25) !important;
  border-color: var(--lime-dark) !important;
}

/* --- Footer: hero-matching dark background + fix canvas rendering --- */
footer {
  background: #1A1A1A !important;
  position: relative;
  overflow: hidden;
}

#footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1 !important;
  display: block !important;
}

footer .container {
  position: relative;
  z-index: 2;
}

/* Footer text colours for dark background */
.footer-logo                        { color: #ffffff !important; }
.footer-logo span                   { color: var(--sky) !important; }
.footer-tagline                     { color: var(--lime) !important; }
.footer-about                       { color: rgba(200,215,230,0.80) !important; }
.footer-col h3, .footer-col h4      { color: var(--sky) !important; }
.footer-links li a                  { color: rgba(200,215,230,0.75) !important; }
.footer-links li a:hover            { color: var(--lime) !important; }
.footer-contact-item                { color: rgba(200,215,230,0.75) !important; }
.footer-contact-item i              { color: var(--sky) !important; }
.footer-contact-item a              { color: rgba(200,215,230,0.75) !important; }
.footer-contact-item a:hover        { color: var(--lime) !important; }
footer .social-link                 { background: rgba(56,189,248,0.10) !important; color: var(--sky) !important; border: 1px solid rgba(56,189,248,0.3) !important; }
footer .social-link:hover           { background: var(--lime) !important; color: #080C10 !important; border-color: var(--lime) !important; }
.footer-bottom                      { border-top: 1px solid rgba(255,255,255,0.10) !important; }
.footer-bottom p                    { color: rgba(155,175,195,0.65) !important; }
.footer-bottom a                    { color: var(--sky) !important; }
.footer-bottom a:hover              { color: var(--lime) !important; }

/* =============================================
   ACCESSIBILITY — prefers-reduced-motion
   Respects OS-level "Reduce Motion" setting.
   Disables decorative animations for users
   who need them off (vestibular disorders etc.)
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  /* Disable marble / gradient pseudo-element animations */
  .services::before, .packages::before, .faq::before,
  .enablement::after, .intro::before, .why-us::before {
    animation: none !important;
    transition: none !important;
  }

  /* Disable hero/footer node network animation (canvas stays but won't loop) */
  #circuit-canvas, #footer-canvas { display: none; }

  /* Disable AOS animations — show all elements immediately */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Disable cursor glow */
  .cursor-glow { display: none !important; }

  /* Disable scroll progress bar animation */
  .scroll-progress { transition: none !important; }

  /* Disable mascot animations */
  #mascot-inner, #guide-mascot { animation: none !important; }

  /* Keep essential transitions (focus outlines etc.) */
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.50), 0 2px 8px rgba(0,0,0,0.18);
  z-index: 998;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.10);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0,0,0,0.18);
}

/* Move back-to-top above the WhatsApp button so they don't overlap */
.back-to-top {
  bottom: 100px !important;
  right: 28px !important;
}

/* =============================================
   CTA RESPONSE SLA LINE
   ============================================= */
.cta-response-sla {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-dark);
  margin-bottom: 28px !important;
  margin-top: -12px;
}

.cta-response-sla i { font-size: 12px; }
.cta-response-sla strong { color: var(--text-dark); }

/* =============================================
   PORTFOLIO SECTION
   ============================================= */
.portfolio { background: var(--bg-alt); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  border-color: var(--sky-border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* ── Screen mockup ── */
.portfolio-card-visual {
  position: relative;
  background: #1A1A2E;
  padding: 16px 14px 0;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--lime);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.portfolio-screen {
  width: 100%;
  background: #0F172A;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.portfolio-screen-bar {
  background: #1E2A38;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-screen-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.portfolio-screen-bar span:nth-child(1) { background: #FF5F57; }
.portfolio-screen-bar span:nth-child(2) { background: #FEBC2E; }
.portfolio-screen-bar span:nth-child(3) { background: #28C840; }

.portfolio-screen-url {
  margin-left: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 2px 10px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-screen-body {
  padding: 16px;
  min-height: 110px;
}

.portfolio-screen-body--ccsa {
  background: linear-gradient(160deg, #111820 0%, #0D1318 100%);
}

/* Wave Crest Surf School — ocean blues */
.portfolio-screen-body--wavecrest {
  background: linear-gradient(160deg, #0a2540 0%, #0e4f72 60%, #1a7fa8 100%);
}

/* 4 Seasons Awnings — warm neutral/slate */
.portfolio-screen-body--4seasons {
  background: linear-gradient(160deg, #1a2a1a 0%, #2d4a2d 60%, #3a6b3a 100%);
}

.portfolio-screen-hero { margin-bottom: 12px; }

.portfolio-screen-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 4px;
}

.portfolio-screen-title span { color: #38BDF8; }

.portfolio-screen-sub {
  font-size: 8px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.portfolio-screen-btn {
  width: 52px; height: 12px;
  background: #4ADE80;
  border-radius: 4px;
}

.portfolio-screen-blocks {
  display: flex;
  gap: 6px;
}

.portfolio-screen-block {
  flex: 1; height: 20px;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 4px;
}

/* ── Placeholder visual ── */
.portfolio-card-visual--placeholder {
  background: var(--bg-alt);
  border-bottom: 1px dashed var(--card-border);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px;
}

.portfolio-placeholder-icon {
  font-size: 36px;
  color: var(--sky-border);
}

.portfolio-placeholder-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ── Card info area ── */
.portfolio-card-info { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }

.portfolio-card-type {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.portfolio-card-name { font-size: 17px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }

.portfolio-card-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.portfolio-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--sky-dark);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.portfolio-card-link:hover { color: var(--lime-dark); }

.portfolio-card--coming-soon .portfolio-card-link { color: var(--lime-dark); }
.portfolio-card--coming-soon .portfolio-card-link:hover { color: var(--sky-dark); }

/* ── Fully clickable card — stretched link technique ── */
.portfolio-card--clickable { position: relative; cursor: pointer; }

.portfolio-card-link--stretched::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

/* Ensure card-link text stays above the stretched pseudo-element */
.portfolio-card--clickable .portfolio-card-link { position: relative; z-index: 2; }

/* Hover state on entire card */
.portfolio-card--clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 0 0 2px rgba(56,189,248,0.3);
}

/* ── Screenshot image inside browser frame ── */
.portfolio-screen-img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 4px 4px;
  max-height: 170px;
  display: flex;
  align-items: flex-start;
}

.portfolio-screen-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-card--clickable:hover .portfolio-screen-img {
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* =============================================
   TESTIMONIAL INVITE CARDS
   ============================================= */
.testimonial-invite {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.testimonial-invite:hover {
  border-color: var(--sky-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-invite-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 3px;
}

.testimonial-invite-heading {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.testimonial-invite-text {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.8;
  flex: 1;
  margin: 0;
}

.testimonial-invite-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.30);
  color: var(--sky-dark);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  width: fit-content;
}

.testimonial-invite-btn:hover {
  background: rgba(56, 189, 248, 0.20);
  transform: translateY(-1px);
}

.testimonial-invite-btn--lime {
  background: rgba(74, 222, 128, 0.10);
  border-color: rgba(74, 222, 128, 0.30);
  color: var(--lime-dark);
}

.testimonial-invite-btn--lime:hover {
  background: rgba(74, 222, 128, 0.20);
}

.testimonial-invite-btn--wa {
  background: rgba(37, 211, 102, 0.10);
  border-color: rgba(37, 211, 102, 0.30);
  color: #16A34A;
}

.testimonial-invite-btn--wa:hover {
  background: rgba(37, 211, 102, 0.20);
}
