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

:root {
  --teal:         #00C5D1;
  --green:        #00E5A8;
  --navy:         #0a1628;
  --grad:         linear-gradient(135deg, #00C5D1 0%, #00E5A8 100%);
  --grad-text:    linear-gradient(135deg, #00C5D1 0%, #00E5A8 100%);

  --bg:           #ffffff;
  --bg-alt:       #ffffff;
  --bg-dark:      #0a1628;
  --surface:      #ffffff;
  --border:       #eaedf4;
  --border-2:     #d5daea;

  --text:         #0a1628;
  --text-muted:   #5a6480;
  --text-dim:     #9ba3be;

  --font:         'Inter', system-ui, sans-serif;
  --mono:         'JetBrains Mono', monospace;
  --radius:       16px;
  --radius-sm:    10px;
  --transition:   0.22s ease;
  --shadow-sm:    0 2px 8px rgba(10,22,40,0.06);
  --shadow:       0 8px 32px rgba(10,22,40,0.10);
  --shadow-lg:    0 24px 64px rgba(10,22,40,0.13);
  --shadow-teal:  0 8px 32px rgba(0,197,209,0.30);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ===========================
   LOGO
=========================== */
.logo-img         { height: 40px; width: auto; object-fit: contain; }
.logo-img--footer { height: 32px; filter: brightness(0) invert(1); opacity: 0.8; }

/* ===========================
   NAV
=========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--grad) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
}
/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-arrow {
  font-size: 0.75rem;
  opacity: 0.6;
  transition: transform var(--transition);
  display: inline-block;
}
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  /* padding-top bridges the gap so hover doesn't break */
  padding: 20px 8px 8px;
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Arrow tip */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  background: var(--bg-alt);
  color: var(--text);
}
.nav-dropdown-menu li a:hover .drop-icon { color: var(--teal); }
.drop-icon {
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color var(--transition);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: var(--navy);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
  color: var(--navy);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--text);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn-large { padding: 16px 40px; font-size: 1rem; }

/* ===========================
   ACCENT / GRADIENT TEXT
=========================== */
.accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   SECTIONS
=========================== */
.section {
  padding: 48px 0;
  background: var(--bg);
}
.section--alt {
  background: var(--bg-alt);
}
.section-header {
  margin-bottom: 40px;
}
.section-header--left {
  text-align: left;
  max-width: 640px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ===========================
   HERO — dark centered
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: #071120 url('Research.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  overflow: hidden;
}
/* Dark overlay so text stays readable */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,17,32,0.88) 0%, rgba(7,17,32,0.72) 100%);
  z-index: 1;
}
.hero-svg, .hero-center { position: relative; z-index: 2; }

/* SVG chart decorations */
.hero-svg {
  position: absolute;
  pointer-events: none;
}
.hero-svg--left {
  display: none;
}
.hero-svg--right {
  display: none;
}

/* Centered content */
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 80px 40px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 28px;
  background: rgba(0,197,209,0.12);
  border: 1px solid rgba(0,197,209,0.25);
  padding: 8px 20px;
  border-radius: 50px;
}
.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero-title .accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1.2);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero-since {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  margin-top: 14px;
  margin-bottom: 0;
  text-align: center;
  display: block;
}
.hero-tag {
  text-shadow: none;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

/* Dark ghost button variant for dark hero */
.btn-ghost-dark {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.75);
  color: #fff;
  transform: translateY(-2px);
}

/* Stats strip */
.hero-stats {
  display: inline-flex;
  gap: 0;
  background: rgba(10,22,40,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 24px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  align-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.stat {
  padding: 0 32px;
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ===========================
   TRUST BAR
=========================== */
.trust-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-items {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-pill {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border-2);
  padding: 5px 14px;
  border-radius: 50px;
  transition: all var(--transition);
}
.trust-pill:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ===========================
   SERVICES
=========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-teal);
}
.service-card:nth-child(even):hover {
  background: var(--grad);
  border-color: transparent;
}
.service-card:nth-child(even):hover h3 {
  color: var(--navy);
}
.service-card:nth-child(even):hover p {
  color: rgba(10,22,40,0.7);
}
.service-card:nth-child(even):hover .service-icon {
  color: var(--navy);
}
.service-card:nth-child(even):hover .service-list li {
  color: rgba(10,22,40,0.65);
  border-color: rgba(10,22,40,0.15);
}
.service-card:nth-child(even):hover .service-list li::before {
  background: var(--navy);
}
/* Alternating dark/white cards */
.service-card:nth-child(odd) {
  background: var(--navy);
  border-color: var(--navy);
}
.service-card:nth-child(odd):hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}
.service-card:nth-child(odd) .service-icon {
  color: var(--teal);
}
.service-card:nth-child(odd) h3 {
  color: #ffffff;
}
.service-card:nth-child(odd) p {
  color: rgba(255,255,255,0.6);
}
.service-card:nth-child(odd) .service-list li {
  color: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.1);
}
.service-card:nth-child(odd) .service-list li::before {
  background: var(--grad);
}
.service-btn {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.03em;
  transition: gap var(--transition), opacity var(--transition);
  opacity: 0.85;
}
.service-btn:hover { opacity: 1; letter-spacing: 0.06em; }
.service-card:nth-child(odd) .service-btn { color: var(--green); }
.service-card:nth-child(even):hover .service-btn { color: var(--navy); }
.service-icon {
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 20px;
  line-height: 1;
}
.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: 0.82rem;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-25%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grad);
}

/* ===========================
   PROCESS / HOW I WORK
=========================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.process-step {
  background: var(--bg-alt);
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition);
}
.process-step:hover {
  background: #fff;
}
.process-num {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  opacity: 0.35;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===========================
   GALLERY / PORTFOLIO
=========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
  min-height: 0;
  min-width: 0;
}
.gallery-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-card--tall {
  grid-row: span 2;
}
.gallery-card--wide {
  grid-column: span 2;
  grid-row: span 1;
}

/* Card image layer */
.gallery-card-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-card-img img {
  transform: scale(1.04);
}

/* Solid color backgrounds */
.gallery-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-card-bg {
  transform: scale(1.04);
}
.gallery-card-bg--teal   { background: linear-gradient(135deg, #00C5D1 0%, #008fa6 100%); }
.gallery-card-bg--navy   { background: linear-gradient(135deg, #0a1628 0%, #1a2f54 100%); }
.gallery-card-bg--green  { background: linear-gradient(135deg, #00E5A8 0%, #00a87a 100%); }
.gallery-card-bg--dark   { background: linear-gradient(135deg, #1a1f35 0%, #2d3458 100%); }
.gallery-card-bg--purple     { background: linear-gradient(135deg, #6a4cff 0%, #9b7cf8 100%); }
.gallery-card-bg--ecom       { background: linear-gradient(135deg, #f97316 0%, #fb923c 60%, #fbbf24 100%); }
.gallery-card-bg--ecom-light { background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%); }

/* Permanent bottom label */
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.75) 0%, rgba(10,22,40,0.2) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.gallery-card:hover::after {
  opacity: 0;
}

/* Overlay */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.6) 50%, rgba(10,22,40,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

/* Title always visible at bottom via a separate label */
.gallery-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-card-label {
  opacity: 0;
}
.gallery-card-label span {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.gallery-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.gallery-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  padding: 4px 10px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}
.gallery-tag--accent {
  background: var(--grad);
  color: var(--navy);
}
.gallery-card-overlay h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.gallery-card-overlay p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin-bottom: 16px;
}
.gallery-deliverables {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-deliverables span {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 50px;
}
.cs-download-btn {
  margin-top: 4px;
  padding: 10px 20px;
  font-size: 0.82rem;
}
.cs-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ===========================
   ABOUT
=========================== */
.about-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.about-photo-col {
  flex-shrink: 0;
}
.about-photo {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow);
}

/* "— ABOUT" tag line */
.about-tag-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.about-tag-bar {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--grad);
  border-radius: 2px;
  flex-shrink: 0;
}
.about-tag-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.about-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.about-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 620px;
}
.about-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Feature boxes */
.about-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.about-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-left-color: var(--green);
}
.about-box-icon {
  font-size: 1.3rem;
  color: var(--teal);
  margin-bottom: 14px;
  line-height: 1;
}
.about-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.about-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}
.testimonial-card--wide {
  grid-column: span 2;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-text {
  flex: 1;
}
.testimonial-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.testimonial-quote {
  font-size: 2.5rem;
  line-height: 0.8;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ===========================
   CONTACT
=========================== */
.contact-section {
  background: var(--bg-alt);
}
.contact-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 18px;
  margin-top: 12px;
}
.contact-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-options {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 200px;
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.contact-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

/* ===========================
   MODAL
=========================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.7);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.modal-backdrop.modal--open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  box-shadow: 0 32px 80px rgba(10,22,40,0.25);
  transform: translateY(16px);
  transition: transform 0.3s ease;
}
.modal-backdrop.modal--open .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.modal-close:hover { background: #fff; color: var(--text); }
.modal-img {
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  position: relative;
}
.modal-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #f8f9fb;
}
.modal-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 88vh;
}
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.modal-section h4 {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-list li {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.modal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grad);
}
.modal-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.modal-deliverables span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
  padding: 3px 10px;
  border-radius: 50px;
}
@media (max-width: 640px) {
  .modal-box { grid-template-columns: 1fr; }
  .modal-img { border-radius: 20px 20px 0 0; height: 200px; }
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--navy);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.footer-left {}
.footer-left p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--teal);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===========================
   MOBILE NAV OPEN
=========================== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 40px;
    width: 100%;
  }
  .nav-links a:hover { background: var(--bg-alt); }

  /* Hero */
  .hero { min-height: auto; }
  .hero-center { padding: 60px 24px; }
  .hero-svg--left, .hero-svg--right { display: none; }
  .hero-stats {
    flex-direction: column;
    padding: 20px 28px;
    gap: 16px;
  }
  .stat { padding: 0; }
  .stat-divider { width: 100%; height: 1px; }

  /* Trust bar */
  .trust-bar .container { flex-direction: column; align-items: flex-start; gap: 12px; }

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

  /* Process */
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { padding: 28px 24px; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-card--featured { grid-column: span 2; }
  .gallery-card--tall { grid-row: span 1; }

  /* About */
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { width: 160px; height: 190px; }
  .about-boxes { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-options { flex-direction: column; align-items: center; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Container */
  .container { padding: 0 24px; }
  .section { padding: 48px 0; }

  /* Service pages */
  .svc-hero { padding: 100px 0 60px; }
  .svc-title { font-size: clamp(1.8rem, 5vw, 3.6rem) !important; }
  .svc-sub { font-size: 0.95rem; }
  .svc-overview-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .svc-portfolio-grid { grid-template-columns: 1fr 1fr !important; }
  .svc-testimonials-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 375px) {
  .hero-title { font-size: 1.5rem; }
  .svc-title { font-size: 1.4rem !important; }
  .btn { padding: 12px 20px; font-size: 0.82rem; }
  .nav-inner { padding: 0 16px; }
  .testimonial-card { padding: 18px; }
}

/* ===========================
   SERVICE PAGE HERO ENHANCEMENTS
=========================== */
.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(0,197,209,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 15%, rgba(0,229,168,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 15% 80%, rgba(0,197,209,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.svc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,197,209,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,197,209,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}
.svc-hero .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-card--featured { grid-column: span 1; grid-row: span 1; }
  .gallery-card--tall { grid-row: span 1; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.75rem; }

  /* Tighter spacing on small phones */
  .container { padding: 0 16px; }
  .section { padding: 36px 0; }

  /* Service pages on small phones */
  .svc-hero { padding: 80px 0 44px; }
  .svc-title { font-size: clamp(1.5rem, 7vw, 2.2rem) !important; }
  .svc-sub { font-size: 0.88rem; margin-bottom: 24px; }
  .svc-portfolio-grid { grid-template-columns: 1fr !important; }
  .svc-back { margin-bottom: 20px; }
  .svc-include-card { padding: 18px; }
  .svc-deliverables { gap: 10px; }

  /* Modals full width on small phones */
  .modal-box {
    margin: 0;
    border-radius: 16px 16px 0 0;
    max-width: 100% !important;
    display: block !important;
  }
  .modal-img { display: none; }
  .modal-body { padding: 20px !important; max-height: 85vh; }

  /* Stats */
  .hero-stats { padding: 16px 20px; }
  .stat-num { font-size: 1.6rem; }
}
