/* ==============================================
   CaribbeanBuy Autos — Homepage Stylesheet
   Color Scheme: Deep Slate + Indigo + Warm Orange
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #0A0C14;
  --bg-card: #12151F;
  --bg-section: #0E1019;
  --bg-elevated: #161A27;
  --accent-indigo: #7C8DFF;
  --accent-indigo-hover: #5B6FEF;
  --accent-indigo-light: rgba(124, 141, 255, 0.12);
  --accent-orange: #FF7A45;
  --accent-orange-hover: #E8693A;
  --accent-orange-light: rgba(255, 122, 69, 0.10);
  --accent-emerald: #34D399;
  --text-primary: #E8ECF2;
  --text-secondary: #9CA3B5;
  --text-muted: #64748B;
  --border-subtle: #1D2030;
  --border-light: #262A3A;
  --white: #FFFFFF;
  --black: #000000;
  --gradient-hero: linear-gradient(135deg, #0A0C14 0%, #11142A 50%, #0D1020 100%);
  --gradient-cta: linear-gradient(135deg, #7C8DFF 0%, #6366F1 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-page {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

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

/* ==============================================
   HEADER / NAVIGATION
   ============================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 12, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 12, 20, 0.96);
  border-bottom-color: var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-cta);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  margin-right: 12px;
}

.header-logo .logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.header-logo .logo-text span {
  color: var(--accent-indigo);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-indigo);
  border-radius: 1px;
  transition: width var(--transition);
}

.header-nav a:hover {
  color: var(--white);
}

.header-nav a:hover::after {
  width: 100%;
}

.header-cta {
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent-orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 122, 69, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  background: var(--accent-indigo-light);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==============================================
   HERO SECTION
   ============================================== */

.home-page .hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 50%, var(--accent-indigo) 0.5px, transparent 0.5px),
    radial-gradient(circle at 80% 30%, var(--accent-orange) 0.5px, transparent 0.5px),
    radial-gradient(circle at 60% 80%, var(--accent-emerald) 0.5px, transparent 0.5px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow.glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(124, 141, 255, 0.12);
  top: -150px;
  right: -100px;
}

.hero-glow.glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(255, 122, 69, 0.08);
  bottom: -100px;
  left: -80px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--accent-indigo-light);
  border: 1px solid rgba(124, 141, 255, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-indigo);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-indigo);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-shape {
  position: absolute;
  border-radius: var(--radius-lg);
}

.hero-shape.shape-1 {
  width: 280px;
  height: 280px;
  background: var(--accent-indigo-light);
  border: 1.5px solid rgba(124, 141, 255, 0.2);
  border-radius: 40px;
  transform: rotate(12deg);
  animation: float-shape 6s ease-in-out infinite;
}

.hero-shape.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--accent-orange-light);
  border: 1.5px solid rgba(255, 122, 69, 0.2);
  border-radius: 50%;
  transform: rotate(-8deg) translate(60px, 40px);
  animation: float-shape 8s ease-in-out infinite reverse;
}

.hero-shape.shape-3 {
  width: 160px;
  height: 160px;
  background: rgba(52, 211, 153, 0.06);
  border: 1.5px solid rgba(52, 211, 153, 0.15);
  border-radius: 28px;
  transform: rotate(20deg) translate(-40px, -60px);
  animation: float-shape 7s ease-in-out infinite;
}

@keyframes float-shape {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-20px) rotate(14deg); }
}

@keyframes float-shape-reverse {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-15px) rotate(-10deg); }
}

.hero-stats-cluster {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-stat-card {
  background: rgba(22, 26, 39, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
}

.hero-stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-indigo);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-card .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==============================================
   EXPERTISE SECTION (Alternating Two-Column)
   ============================================== */

.home-page .expertise-section {
  padding: 100px 40px;
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.section-header h2 .highlight {
  color: var(--accent-indigo);
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.expertise-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.expertise-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.expertise-row.reverse {
  direction: rtl;
}

.expertise-row.reverse .expertise-text {
  direction: ltr;
}

.expertise-text .exp-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.expertise-text .exp-icon.icon-indigo {
  background: var(--accent-indigo-light);
  color: var(--accent-indigo);
}

.expertise-text .exp-icon.icon-orange {
  background: var(--accent-orange-light);
  color: var(--accent-orange);
}

.expertise-text .exp-icon.icon-emerald {
  background: rgba(52, 211, 153, 0.1);
  color: var(--accent-emerald);
}

.expertise-text h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.expertise-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.expertise-text .exp-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.exp-feature-item .feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.exp-feature-item .feat-dot.dot-indigo { background: var(--accent-indigo); }
.exp-feature-item .feat-dot.dot-orange { background: var(--accent-orange); }
.exp-feature-item .feat-dot.dot-emerald { background: var(--accent-emerald); }

.expertise-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-visual-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.exp-visual-card .visual-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(80px);
}

.exp-visual-card .visual-glow.ig { background: rgba(124, 141, 255, 0.3); top: -40px; right: -30px; }
.exp-visual-card .visual-glow.io { background: rgba(255, 122, 69, 0.3); bottom: -40px; left: -30px; }
.exp-visual-card .visual-glow.ie { background: rgba(52, 211, 153, 0.25); top: 50%; left: 50%; transform: translate(-50%, -50%); }

.exp-visual-card .visual-icon {
  font-size: 48px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.exp-visual-card .visual-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

/* ==============================================
   PROCESS TIMELINE SECTION
   ============================================== */

.home-page .process-section {
  padding: 100px 40px;
  background: var(--bg-deep);
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 20px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 70px;
  right: 70px;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 200px;
}

.process-step .step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  background: var(--bg-elevated);
  border: 2px solid var(--border-light);
  color: var(--accent-indigo);
  position: relative;
  z-index: 2;
  transition: all var(--transition);
}

.process-step:hover .step-number {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 30px rgba(124, 141, 255, 0.2);
  transform: scale(1.05);
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==============================================
   SERVICES BENTO GRID SECTION
   ============================================== */

.home-page .services-section {
  padding: 100px 40px;
  background: var(--bg-section);
}

.services-bento {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.service-bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-orange));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-bento-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-bento-card:hover::before {
  opacity: 1;
}

.service-bento-card.featured {
  grid-column: span 2;
  background: var(--bg-elevated);
  border: 1px solid rgba(124, 141, 255, 0.2);
}

.service-bento-card .svc-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.service-bento-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-bento-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-bento-card .svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.svc-tag {
  padding: 5px 12px;
  background: var(--accent-indigo-light);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-indigo);
}

/* ==============================================
   METRICS COUNTER SECTION
   ============================================== */

.home-page .metrics-section {
  padding: 80px 40px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.metrics-row {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-item .metric-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-item .metric-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==============================================
   TESTIMONIALS SECTION
   ============================================== */

.home-page .testimonials-section {
  padding: 100px 40px;
  background: var(--bg-deep);
}

.testimonials-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  position: relative;
}

.testimonial-card .quote-mark {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 64px;
  font-family: Georgia, serif;
  color: var(--accent-indigo);
  line-height: 1;
}

.testimonial-card .quote-text {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
  padding-left: 40px;
}

.testimonial-card .quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 40px;
}

.quote-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-indigo-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-indigo);
}

.quote-author-info .author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.quote-author-info .author-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==============================================
   CTA BAND SECTION
   ============================================== */

.home-page .cta-band-section {
  padding: 80px 40px;
  background: var(--gradient-cta);
  text-align: center;
}

.cta-band-content {
  max-width: 640px;
  margin: 0 auto;
}

.cta-band-content h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.6px;
}

.cta-band-content p {
  font-size: 16px;
  color: #EBEEFF;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-band-content .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--white);
  color: #4F46E5;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
}

.cta-band-content .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* ==============================================
   FOOTER
   ============================================== */

.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 40px 32px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-cta);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  margin-right: 10px;
}

.footer-logo .logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-indigo);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==============================================
   ANIMATIONS
   ============================================== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

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

  .hero-content p {
    max-width: 100%;
  }

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

  .hero-visual {
    display: none;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .expertise-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .expertise-row.reverse {
    direction: ltr;
  }

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

  .service-bento-card.featured {
    grid-column: span 2;
  }

  .process-timeline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    max-width: 160px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 12, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav a {
    font-size: 20px;
  }

  .header-cta {
    display: none;
  }

  .header-cta.mobile-visible {
    display: block;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-inner {
    padding: 16px 20px;
  }

  .home-page .hero-section {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-stats-cluster {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-stat-card {
    padding: 16px;
  }

  .hero-stat-card .stat-number {
    font-size: 24px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .home-page .expertise-section,
  .home-page .process-section,
  .home-page .services-section,
  .home-page .testimonials-section {
    padding: 64px 20px;
  }

  .home-page .metrics-section {
    padding: 48px 20px;
  }

  .home-page .cta-band-section {
    padding: 56px 20px;
  }

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

  .service-bento-card.featured {
    grid-column: span 1;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .testimonials-list {
    gap: 20px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonial-card .quote-text {
    font-size: 14px;
    padding-left: 0;
  }

  .testimonial-card .quote-mark {
    display: none;
  }

  .testimonial-card .quote-author {
    padding-left: 0;
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .metric-item .metric-number {
    font-size: 36px;
  }

  .cta-band-content h2 {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand .footer-logo {
    justify-content: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats-cluster {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    flex-direction: column;
    align-items: center;
  }

  .metrics-row {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .testimonial-card .quote-text {
    font-size: 13px;
  }
}
