/* TweeLabs Digital Agency Core CSS */

/* Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

/* Typography Utilities */
.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--agency-secondary);
  margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.125rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  cursor: pointer;
  text-align: center;
  gap: 0.5rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
  color: white;
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--agency-primary);
  color: var(--agency-primary);
  background: var(--bg-surface-alt);
}

/* Hero Section */
.home-hero {
  padding: 8rem 0 6rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6px, 182px, 212, 0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-hero-copy h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--agency-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-copy p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.home-hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-founder-inline {
  display: inline-block;
  background: rgba(79, 70, 229, 0.1);
  color: var(--agency-primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Home Stat Grid */
.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.hero-stat-num {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--agency-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Frame Media */
.home-frame {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl, 0 25px 50px -12px rgba(0, 0, 0, 0.15));
  border: 1px solid var(--border-light);
}

.home-frame-media img {
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.home-frame-points {
  list-style: none;
  padding: 0;
}

.home-frame-points li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.home-frame-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--agency-secondary);
  font-weight: bold;
}

.home-frame-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Ticker Strip */
.ticker {
  background: var(--agency-primary);
  color: white;
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.ticker-track {
  display: inline-flex;
  animation: scroll-left 30s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-base);
  display: block;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--agency-secondary);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--agency-primary);
  margin-bottom: 1.5rem;
  display: inline-flex;
  padding: 1rem;
  background: rgba(79, 70, 229, 0.05);
  border-radius: var(--radius-md);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.feature-card {
  text-align: left;
}

.feature-icon {
  font-size: 2rem;
  color: var(--agency-secondary);
  margin-bottom: 1.5rem;
}

/* Testimonials, CTAs, Grids general styling */
.homepage-audience-grid, .homepage-problem-grid, .homepage-scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.homepage-audience-card, .homepage-problem-card, .homepage-scope-card {
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--agency-primary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.homepage-audience-card:hover, .homepage-problem-card:hover, .homepage-scope-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.homepage-scope-card {
  border-left: none;
  border-top: 4px solid var(--agency-secondary);
}

/* Stats Strip */
.stats-strip {
  background: var(--text-main);
  color: white;
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-num {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--agency-secondary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-num small {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-left: 0.5rem;
  font-weight: 500;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  position: relative;
  padding: 2rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(6, 182, 212, 0.12);
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.process-step h4,
.process-step p {
  position: relative;
  z-index: 1;
}

/* Split Section */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.homepage-checklist {
  margin-top: 2.5rem;
}

.homepage-check-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  position: relative;
}

.homepage-check-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--agency-accent);
  font-weight: bold;
  font-size: 1.25rem;
}

.homepage-check-item strong {
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.section-media-card img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.homepage-media-note {
  margin-top: -3rem;
  margin-left: 3rem;
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
  position: relative;
  z-index: 2;
}

/* Capabilities */
.homepage-capability-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.capability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.capability-pill:hover {
  transform: translateY(-2px);
  border-color: var(--agency-primary);
  box-shadow: var(--shadow-md);
}

.capability-logo i {
  color: var(--agency-primary);
  font-size: 1.25rem;
}

/* Start Points, FAQ, etc Grids */
.homepage-industry-grid, .homepage-start-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.homepage-industry-pill {
  padding: 0.75rem 1.5rem;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--text-muted);
}

.homepage-start-card {
  flex: 1 1 300px;
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.homepage-start-card strong {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--agency-primary);
}

/* CTA */
.cta-section {
  background: var(--bg-surface-alt);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  font-size: 0;
  line-height: 1;
}

/* Replace ***** plain text with gold star icons via CSS */
.testimonial-stars::before {
  content: '★★★★★';
  font-size: 1.2rem;
  color: #f59e0b;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  flex: 1;
  margin: 0;
}

.testimonial-author {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--agency-secondary);
  margin-top: 0.2rem;
}

.home-panel {
  background: linear-gradient(135deg, var(--text-main) 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  color: white;
}

.home-panel .eyebrow {
  color: var(--agency-secondary);
}

.home-panel h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.home-panel p {
  color: #cbd5e1;
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* White-border outline button for dark panel backgrounds */
.home-panel .btn-outline,
.cta-section .btn-outline {
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.home-panel .btn-outline:hover,
.cta-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

/* Header & Footer shell styling */
.tl-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-base);
}

.tl-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.tl-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: height var(--transition-base);
}

.tl-header.scrolled .tl-header-inner {
  height: 70px;
}

.tl-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition-fast);
}

.tl-logo:hover {
  transform: scale(1.02);
}

.brand-highlight {
  color: var(--agency-primary);
}

/* Desktop Nav */
.tl-nav-desktop {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.tl-nav-link {
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9375rem;
  position: relative;
  transition: color var(--transition-fast);
}

.tl-nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--agency-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.tl-nav-link:hover {
  color: var(--agency-primary);
}

.tl-nav-link:hover::after {
  width: 100%;
}

/* Mobile Toggle */
.tl-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.tl-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-active .tl-mobile-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-active .tl-mobile-toggle span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-active .tl-mobile-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.tl-mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-10px);
}

.mobile-menu-active .tl-mobile-nav {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.tl-mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  text-align: center;
}

.tl-mobile-nav .tl-nav-link {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0s;
}

.mobile-menu-active .tl-mobile-nav .tl-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-active .tl-mobile-nav .tl-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-active .tl-mobile-nav .tl-nav-link:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu-active .tl-mobile-nav .tl-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-active .tl-mobile-nav .tl-nav-link:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu-active .tl-mobile-nav .tl-nav-link:nth-child(5) { transition-delay: 0.25s; }

.tl-mobile-nav .btn {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0s;
  margin-top: 1rem;
}

.mobile-menu-active .tl-mobile-nav .btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.tl-footer {
  background: var(--bg-surface);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-light);
}

.tl-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.tl-footer-brand p {
  margin-top: 1rem;
  max-width: 300px;
}

.tl-footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.tl-footer-col ul {
  list-style: none;
  padding: 0;
}

.tl-footer-col ul li {
  margin-bottom: 0.75rem;
}

.tl-footer-col ul li a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.tl-footer-col ul li a:hover {
  color: var(--agency-primary);
}

.tl-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   CONTENT PAGES — Full Styles
   (about, services-overview, contact, work, etc.)
   =================================================== */

/* CSS custom property aliases used inline in contact.html */
:root {
  --color-primary:   var(--agency-primary);
  --color-accent:    var(--agency-secondary);
  --color-warning:   #F59E0B;
}

/* ── Standalone btn-primary (without .btn base class) ── */
a.btn-primary,
button.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
  color: #fff;
  box-shadow: var(--shadow-md);
}
a.btn-primary:hover,
button.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #fff;
}

a.btn-secondary,
button.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-strong);
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  color: var(--text-main);
  transition: all var(--transition-base);
}
a.btn-secondary:hover,
button.btn-secondary:hover {
  border-color: var(--agency-primary);
  color: var(--agency-primary);
  background: var(--bg-surface-alt);
}

.btn-outline-white {
  border-color: rgba(255,255,255,0.5) !important;
  color: #fff !important;
  background: transparent !important;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15) !important;
}

/* ── Text gradient utility ── */
.text-gradient {
  background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Content Hero Section ── */
.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 60%, #f0fdfa 100%);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  max-width: 480px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* ── Stats Bar ── */
.stats-bar-safe {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-lg);
  margin: -2rem 0 0 0;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Section Utilities ── */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

.section-bg-light {
  background: var(--bg-surface-alt);
}

.bg-light-blue {
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdfa 100%);
}

.bg-white {
  background: #fff;
}

.text-center { text-align: center; }
.text-lg { font-size: 1.125rem; }
.text-gray { color: var(--text-muted); }
.mb-2 { margin-bottom: 1.5rem; }

/* ── Service Cards (content pages version) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--agency-secondary);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(6,182,212,0.1));
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--agency-primary);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex: 1;
  margin: 0;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--agency-primary);
}

.learn-more::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.service-card:hover .learn-more::after {
  transform: translateX(4px);
}

/* ── Process Section ── */
.process-section {
  padding: 5rem 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  min-width: 3rem;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Bento Grid (About page) ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.bento-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--agency-primary);
}

.bento-item .service-icon {
  margin-bottom: 1.25rem;
}

.bento-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.bento-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Team Cards ── */
.team-photo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-light);
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--agency-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* ── Marquee (Capabilities strip) ── */
.marquee-section {
  padding: 4rem 0;
  background: var(--bg-surface-alt);
}

.marquee-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.marquee-item {
  transition: transform var(--transition-fast);
}

.marquee-item:hover {
  transform: translateY(-3px);
}

/* ── FAQ Section & Accordion ── */
.faq-section {
  padding: 5rem 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 120px;
}

.faq-sidebar h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.faq-sidebar p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
  cursor: pointer;
}

.faq-question {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--agency-primary);
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 1rem;
}

/* Legacy inline-onclick FAQ (services-overview / contact) */
.faq-item[onclick] .faq-answer {
  display: none;
}

/* ── CTA Section ── */
.cta-section {
  padding: 6rem 0;
  background: var(--bg-surface-alt);
}

.cta-content {
  text-align: center;
  background: linear-gradient(135deg, var(--text-main) 0%, #1e293b 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
}

.cta-flex-center {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ── Work Page — Portfolio Grid ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.work-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--agency-secondary);
}

.work-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.work-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--agency-primary);
}

.work-card-body {
  padding: 2rem;
}

.work-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--agency-primary);
  background: rgba(79,70,229,0.08);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
}

.work-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.work-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Container Narrow ── */
.container-narrow {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive Adjustments ── */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrapper {
    display: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-sidebar {
    position: static;
  }

  .stats-bar-safe {
    margin-top: 1rem;
    padding: 2rem 1.5rem;
  }

  .cta-content {
    padding: 3rem 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }


  .work-grid {
    grid-template-columns: 1fr;
  }

  /* Homepage responsive */
  .home-hero-grid, .section-split {
    grid-template-columns: 1fr;
  }

  .home-hero-copy h1 {
    font-size: 2.5rem;
  }

  .tl-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tl-nav-desktop {
    display: none;
  }

  .tl-mobile-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .services-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ──────────────────────────────────────────
   WhatsApp Floating Button (sitewide)
   ────────────────────────────────────────── */
.tl-wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 0.8rem 1.25rem 0.8rem 1rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-sans, 'Inter', sans-serif);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: wa-bounce 2.5s ease-in-out infinite;
}

.tl-wa-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.tl-wa-label {
  letter-spacing: 0.02em;
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@media (max-width: 600px) {
  .tl-wa-float {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.75rem;
    border-radius: 50%;
  }
  .tl-wa-label {
    display: none;
  }
}

/* ──────────────────────────────────────────
   Founder Desk Insight Modules
   ────────────────────────────────────────── */
.founder-desk-insight {
  background: var(--bg-surface);
  border-left: 4px solid var(--agency-primary);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fdi-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fdi-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.fdi-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fdi-content blockquote {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  margin: 0;
  border-left: none;
  padding-left: 0;
}

.fs-img, .fmp-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* ──────────────────────────────────────────
   Hide bare inline SVG stars (4-pointed sparkle)
   These appear in service pages without width/height
   and render huge. We target unstyled SVGs directly
   inside .tl-service-hero-icon or similar wrappers.
   ────────────────────────────────────────── */
svg:not([class]):not([width]):not([height]):not([aria-label]) {
  display: none !important;
}

/* ──────────────────────────────────────────
   Broken image fallback placeholder
   ────────────────────────────────────────── */

img.img-broken {
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdfa 100%);
  color: transparent;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg, 12px);
}
