/* 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(--color-indigo), var(--color-cyan));
  color: white;
  border: none;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: white;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-outline {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  background: var(--bg-glass-hover);
}

/* Hero Section */
.home-hero {
  padding: 10rem 0 8rem 0;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15) 0%, var(--bg-body) 60%),
              radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.15) 0%, var(--bg-body) 60%);
  background-color: var(--bg-body);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
  filter: blur(40px);
}

.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: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.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: 1.5rem;
}

.hero-stat {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-base);
}

.hero-stat:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.hero-stat-num {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.hero-stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* 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 — dark navy, matches agency-shell.js */
.tl-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85); /* Light translucent background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.2s;
}

.tl-header.tl-scrolled {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

/* Keep old class for backward compat */
.tl-header.scrolled {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.tl-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.tl-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main) !important; /* Always follow theme main color */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  overflow: visible;
}

.tl-logo:hover {
  opacity: 0.9;
}

.brand-highlight {
  color: var(--color-indigo) !important; /* Indigo contrast highlight */
}

/* Desktop Nav — dark text on light header */
.tl-nav-desktop {
  display: flex;
  gap: 4px;
  align-items: center;
}

.tl-nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.tl-nav-link::after { display: none; } /* remove underline animation */

.tl-nav-link:hover {
  color: var(--color-indigo) !important;
  background: rgba(79, 70, 229, 0.05) !important;
}

.tl-nav-link.tl-nav-active {
  color: #fff !important;
  background: var(--color-indigo) !important;
}

.tl-cta-btn {
  background: var(--color-indigo) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 8px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.tl-cta-btn:hover {
  background: var(--color-indigo-hover) !important;
  transform: translateY(-1px);
}

/* 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 — managed by agency-shell.js injected CSS.
   The JS uses SVG icons (not span bars) and toggles .tl-mobile-open on #tl-mobile-nav.
   All hamburger/nav overlay styles are authoritative in the JS injected <style>. */

/* Fallback: ensure desktop nav hides at 1200px to match JS breakpoint */
@media (max-width: 1200px) {
  .tl-nav-desktop {
    display: none !important;
  }
}

.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;
  }

  /* desktop nav and mobile toggle handled by agency-shell.js injected styles */
}

@media (max-width: 600px) {
  .services-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ── 640px — Tablet portrait ── */
@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  /* Hero on content pages */
  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-content {
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Home hero */
  .home-hero {
    padding: 5rem 0 3rem 0;
  }

  .home-hero-copy h1 {
    font-size: 2rem;
  }

  .home-hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .home-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats grid: 2 cols on tablet portrait */
  .home-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-num {
    font-size: 2.5rem;
  }

  /* CTA */
  .cta-content {
    padding: 2.5rem 1.25rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-actions,
  .cta-flex-center {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn,
  .cta-flex-center .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Footer bottom */
  .tl-footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* Home panel / dark CTA */
  .home-panel {
    padding: 3rem 1.5rem;
  }

  .home-panel h2 {
    font-size: 1.5rem;
  }

  .home-panel p {
    font-size: 1rem;
  }

  /* Process steps inner layout on narrow */
  .process-step {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ── 480px — Large phones ── */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  /* Header */
  .tl-header-inner {
    padding: 0 1rem;
    height: 60px;
  }

  .tl-logo {
    font-size: 1.1rem;
  }

  /* Home hero typography */
  .home-hero-copy h1 {
    font-size: 1.75rem;
    line-height: 1.15;
  }

  .home-hero-copy p {
    font-size: 1rem;
  }

  /* Hero stat numbers */
  .hero-stat-num {
    font-size: 1.75rem;
  }

  /* Content hero */
  .hero-text h1 {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Bento / service cards */
  .bento-item,
  .service-card {
    padding: 1.75rem;
  }

  /* Stats bar */
  .stats-bar-safe {
    padding: 1.5rem 1rem;
  }

  .stat-item h3 {
    font-size: 1.8rem;
  }

  /* Work grid */
  .work-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.9rem;
  }

  /* Ticker items */
  .ticker-item {
    font-size: 0.9rem;
    padding: 0 1.25rem;
  }

  /* Home media note card overlaps on mobile */
  .homepage-media-note {
    margin: 1rem 0 0 0;
    position: static;
  }

  /* Buttons in hero actions */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions a.btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions a.btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Capability pills wrap nicely */
  .homepage-capability-strip {
    gap: 0.75rem;
  }

  .capability-pill {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

/* ── 360px — Small phones ── */
@media (max-width: 360px) {
  .home-hero-copy h1 {
    font-size: 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.4rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .home-stat-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .tl-logo {
    font-size: 0.95rem;
  }
}


/* ──────────────────────────────────────────
   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);
}

/* ========================================================================
   Light Premium Refresh
   A single calm visual system for the static site. Kept as final overrides
   so existing service content and shared templates continue to work.
   ======================================================================== */
:root {
  --color-dark: #152238;
  --color-indigo: #0b5cab;
  --color-indigo-hover: #084a8b;
  --color-cyan: #0f766e;
  --color-cyan-hover: #0b5c56;
  --bg-body: #f7f9fc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #eef3f8;
  --bg-glass: #ffffff;
  --bg-glass-hover: #ffffff;
  --text-main: #152238;
  --text-muted: #526174;
  --text-light: #6d7a8c;
  --border-light: #dce5ee;
  --border-strong: #bdcbd9;
  --shadow-sm: 0 1px 2px rgba(21, 34, 56, .04);
  --shadow-md: 0 8px 22px rgba(21, 34, 56, .07);
  --shadow-lg: 0 16px 36px rgba(21, 34, 56, .09);
  --shadow-xl: 0 20px 50px rgba(21, 34, 56, .11);
  --shadow-glow: 0 10px 24px rgba(11, 92, 171, .18);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 8px;
  --radius-pill: 6px;
}

body { background: var(--bg-body); padding-top: 72px; }
h1, h2, h3, h4, h5, h6 { color: var(--text-main); letter-spacing: 0; }
h1 { font-weight: 800; }
.section { padding: 5.5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.eyebrow { color: var(--color-indigo); font-size: .75rem; letter-spacing: .12em; }

.btn, .btn-lg, .btn-sm { border-radius: 6px; }
.btn-primary { background: var(--color-indigo); border: 1px solid var(--color-indigo); box-shadow: none; }
.btn-primary::after { display: none; }
.btn-primary:hover { background: var(--color-indigo-hover); border-color: var(--color-indigo-hover); box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn-outline { background: #fff; border: 1px solid var(--border-strong); color: var(--text-main); backdrop-filter: none; }
.btn-outline:hover { background: var(--bg-surface-alt); border-color: var(--color-indigo); color: var(--color-indigo); }

.home-hero { padding: 7.5rem 0 5.5rem; background: #fff; border-bottom: 1px solid var(--border-light); }
.home-hero::before { display: none; }
.home-hero-grid { gap: 3.5rem; }
.home-hero-copy h1 { max-width: 690px; background: none; -webkit-text-fill-color: currentColor; color: var(--text-main); font-size: clamp(2.75rem, 5vw, 4.5rem); letter-spacing: 0; }
.home-hero-copy p { font-size: 1.125rem; max-width: 640px; }
.home-hero-actions { flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-founder-inline { background: #e8f1fb; color: var(--color-indigo); border-radius: 4px; }
.home-frame, .hero-stat, .service-card, .feature-card, .testimonial-card, .process-step, .faq-item { background: #fff; border: 1px solid var(--border-light); border-radius: 8px; box-shadow: none; }
.home-frame { padding: 1.25rem; }
.hero-stat { padding: 1.25rem; }
.hero-stat:hover, .service-card:hover, .testimonial-card:hover { border-color: #9dbddd; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hero-stat-num { color: var(--color-indigo); text-shadow: none; }
.page-hero { padding: 7rem 0 4.5rem; background: #fff !important; }
.page-hero::before { display: none; }
.page-hero h1 { letter-spacing: 0; }

.tl-header { background: rgba(255,255,255,.96); border-bottom-color: var(--border-light); }
.tl-header-inner { height: 72px; }
.tl-logo { color: var(--text-main) !important; }
.brand-highlight { color: var(--color-indigo) !important; }
.tl-nav-desktop { gap: .25rem; }
.tl-nav-link { color: var(--text-muted) !important; border-radius: 4px; }
.tl-nav-link:hover { background: #eef5fc !important; color: var(--color-indigo) !important; }
.tl-nav-link::after { display: none; }
.tl-nav-link.tl-nav-active { background: #e8f1fb !important; color: var(--color-indigo) !important; }
.tl-cta-btn { background: var(--color-indigo) !important; border-radius: 6px; }

.services-grid, .features-grid, .testimonials-grid { gap: 1.25rem; }
.service-card { padding: 1.5rem; }
.service-icon, .card-icon, .feature-icon { background: #e8f1fb !important; color: var(--color-indigo) !important; border-radius: 6px; }
.process-section, .faq-section { background: var(--bg-surface-alt); }
.process-step { padding: 1.5rem; }
.tl-footer { background: #fff; border-top-color: var(--border-light); }

@media (max-width: 760px) {
  body { padding-top: 64px; }
  .section { padding: 4rem 0; }
  .home-hero { padding: 4.5rem 0 3.5rem; }
  .home-hero-grid { gap: 2.5rem; }
  .home-hero-copy h1 { font-size: 2.55rem; }
  .home-hero-actions .btn { width: 100%; }
  .home-stat-grid { gap: .75rem; }
  .hero-stat { padding: 1rem; }
  .page-hero { padding: 5rem 0 3.5rem; }
}

/* Site composition pass: make the shared content read as one deliberate site. */
main > .section { position: relative; background: #fff !important; }
main > .section:nth-of-type(even) { background: #f3f7fb !important; }
main > .section::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-top: 1px solid rgba(21,34,56,.06); }
.home-hero { min-height: 640px; display: flex; align-items: center; }
.home-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); }
.home-hero-copy { position: relative; }
.home-hero-copy::before { content: ''; position: absolute; left: -1.5rem; top: .3rem; bottom: .4rem; width: 4px; background: #0b5cab; }
.home-hero-copy h1 { max-width: 760px; font-size: clamp(3rem, 5.3vw, 5rem); line-height: 1.06; }
.home-frame { background: #fff; padding: 1rem; border: 1px solid #cad8e6; box-shadow: 18px 18px 0 #dceafa; }
.home-frame-media img { border-radius: 4px; margin-bottom: 1.25rem; }
.home-frame-points { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }
.home-frame-points li { font-size: .9rem; margin: 0; }
.home-stat-grid { grid-template-columns: repeat(4, 1fr); gap: .65rem; max-width: 720px; }
.hero-stat { padding: 1rem; border-radius: 4px; }
.hero-stat-num { font-size: 1.8rem; }
.section-header { text-align: left; max-width: 760px; margin-left: 0; }
.section-header::before { content: 'TWEELABS DIGITAL'; display: block; margin-bottom: .75rem; color: #0b5cab; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { min-height: 100%; padding: 1.75rem; border-radius: 4px; }
.service-card h3 { font-size: 1.18rem; }
.service-card .learn-more { font-weight: 700; color: #0b5cab; }
.feature-card, .testimonial-card { border-radius: 4px; }
.process-step { border-radius: 4px; }
.faq-item { border-radius: 4px; }
.cta-section { background: #152238 !important; }
.cta-section h2, .cta-section h3, .cta-section p { color: #fff !important; }
.cta-section .btn-outline { background: transparent; border-color: #fff; color: #fff; }

@media (max-width: 980px) {
  .home-hero { min-height: auto; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-hero-copy::before { left: -1rem; }
  .home-hero-copy h1 { font-size: 2.7rem; }
  .home-frame { box-shadow: 8px 8px 0 #dceafa; }
  .home-frame-points { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

/* Keep local compliance and free utilities available, but out of the global-agency homepage journey. */
body:has(.home-hero) #business-certificates,
body:has(.home-hero) #virtual-tools { display: none !important; }

/* Bring older content templates into the same premium system. */
.hero-section { background: #fff !important; min-height: auto !important; padding: 7rem 0 4.5rem !important; border-bottom: 1px solid var(--border-light); }
.hero-bg-shape { display: none !important; }
.hero-section h1 { color: var(--text-main) !important; letter-spacing: 0 !important; }
.hero-section h1 span, .text-gradient { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--color-indigo) !important; }
.hero-subtitle { color: var(--text-muted) !important; }
input, select, textarea { border-radius: 6px !important; border-color: var(--border-strong) !important; background: #fff !important; color: var(--text-main) !important; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(11,92,171,.18) !important; border-color: var(--color-indigo) !important; }
.feature-card[style], .service-card[style] { border-radius: 6px !important; }

/* Header and injected footer share one precise content line. */
@media (min-width: 761px) {
  .tl-header-inner { max-width: 1200px !important; padding-left: 0 !important; padding-right: 0 !important; }
  .tl-footer { padding-left: max(24px, calc((100vw - 1200px) / 2)) !important; padding-right: max(24px, calc((100vw - 1200px) / 2)) !important; }
  .tl-footer-grid, .tl-footer-bottom { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 760px) { .tl-footer { padding-left: 24px !important; padding-right: 24px !important; } }

/* FAQ controls should read as disclosure chevrons, never as close buttons. */
.faq-question::after {
  content: '' !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid var(--color-indigo) !important;
  border-bottom: 2px solid var(--color-indigo) !important;
  background: transparent !important;
  transform: rotate(45deg) !important;
  transform-origin: center !important;
  top: calc(50% - 6px) !important;
  right: 22px !important;
}
.faq-item.open .faq-question::after { transform: rotate(-135deg) !important; top: calc(50% - 2px) !important; }

/* Site composition pass: make the shared content read as one deliberate site. */
main > .section { position: relative; background: #fff !important; }
main > .section:nth-of-type(even) { background: #f3f7fb !important; }
main > .section::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-top: 1px solid rgba(21,34,56,.06); }
.home-hero { min-height: 640px; display: flex; align-items: center; }
.home-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); }
.home-hero-copy { position: relative; }
.home-hero-copy::before { content: ''; position: absolute; left: -1.5rem; top: .3rem; bottom: .4rem; width: 4px; background: #0b5cab; }
.home-hero-copy h1 { max-width: 760px; font-size: clamp(3rem, 5.3vw, 5rem); line-height: 1.06; }
.home-frame { background: #fff; padding: 1rem; border: 1px solid #cad8e6; box-shadow: 18px 18px 0 #dceafa; }
.home-frame-media img { border-radius: 4px; margin-bottom: 1.25rem; }
.home-frame-points { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }
.home-frame-points li { font-size: .9rem; margin: 0; }
.home-stat-grid { grid-template-columns: repeat(4, 1fr); gap: .65rem; max-width: 720px; }
.hero-stat { padding: 1rem; border-radius: 4px; }
.hero-stat-num { font-size: 1.8rem; }
.section-header { text-align: left; max-width: 760px; margin-left: 0; }
.section-header::before { content: 'TWEELABS DIGITAL'; display: block; margin-bottom: .75rem; color: #0b5cab; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { min-height: 100%; padding: 1.75rem; border-radius: 4px; }
.service-card h3 { font-size: 1.18rem; }
.service-card .learn-more { font-weight: 700; color: #0b5cab; }
.feature-card, .testimonial-card { border-radius: 4px; }
.process-step { border-radius: 4px; }
.faq-item { border-radius: 4px; }
.cta-section { background: #152238 !important; }
.cta-section h2, .cta-section h3, .cta-section p { color: #fff !important; }
.cta-section .btn-outline { background: transparent; border-color: #fff; color: #fff; }

@media (max-width: 980px) {
  .home-hero { min-height: auto; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-hero-copy::before { left: -1rem; }
  .home-hero-copy h1 { font-size: 2.7rem; }
  .home-frame { box-shadow: 8px 8px 0 #dceafa; }
  .home-frame-points { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
