/* ============================================
   E-COMM FLARE INDIA — Design Tokens
   ============================================ */

:root {
  /* Brand palette */
  --brand-orange: #FF6B35;
  --brand-orange-hover: #e55a25;
  --brand-orange-light: #FF8C5A;
  --brand-navy: #0B2545;
  --brand-navy-light: #152f5e;
  --brand-white: #FFFFFF;
  --brand-mist: #F4F6F8;

  /* Text hierarchy */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-tertiary: #64748B;
  --text-muted: #94A3B8;

  /* Status */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Borders */
  --border-subtle: #F1F5F9;
  --border-default: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 4px 24px rgba(11, 37, 69, 0.08);
  --shadow-pop: 0 18px 40px -12px rgba(255, 107, 53, 0.25);
  --shadow-focus: 0 0 0 3px rgba(255, 107, 53, 0.15);

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-section: 80px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 13px;
  --font-size-base: 15px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-2xl: 28px;
  --font-size-3xl: 42px;
  --font-size-4xl: 62px;

  /* Container */
  --container-max: 1200px;
  --container-padding: var(--space-lg);
}

/* Override Pico CSS variables for our brand */
[data-theme="light"],
:root:not([data-theme="dark"]) {
  --pico-font-family: var(--font-family);
  --pico-primary: var(--brand-orange);
  --pico-primary-background: var(--brand-orange);
  --pico-primary-hover: var(--brand-orange-hover);
  --pico-primary-hover-background: var(--brand-orange-hover);
  --pico-primary-focus: rgba(255, 107, 53, 0.5);
  --pico-primary-inverse: var(--brand-white);
  --pico-background-color: var(--brand-white);
  --pico-color: var(--text-primary);
  --pico-muted-color: var(--text-tertiary);
  --pico-border-radius: var(--radius-md);
  --pico-spacing: var(--space-md);
  --pico-text-selection-color: rgba(255, 107, 53, 0.25);
}

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

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--brand-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility: container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Utility: section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--brand-orange);
  margin-bottom: var(--space-md);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--brand-orange);
}

/* Utility: section header */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: var(--font-size-md);
  color: var(--text-tertiary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Utility: backgrounds */
.bg-orange-gradient {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-light) 100%);
}

.bg-navy {
  background: var(--brand-navy);
}

.bg-mist {
  background: var(--brand-mist);
}

/* ============================================
   Navigation
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 37, 69, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.site-nav nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.3));
  transition: filter 0.3s, transform 0.3s;
}

.nav-logo:hover img {
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus {
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-link-cta {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.2s;
}

.nav-link-cta:hover { color: white; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
  color: white;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(11, 37, 69, 0.98);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
  }
  .nav-links.open { display: flex; }
  .nav-actions .nav-link-cta { display: none; }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0B2545 0%, #0d2e57 60%, #112f5e 100%);
  min-height: 100vh;
  padding-top: 72px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
}

.hero-orb--1 {
  top: 120px;
  right: 300px;
  width: 400px;
  height: 400px;
  opacity: 0.1;
  background: radial-gradient(circle, var(--brand-orange) 0%, transparent 70%);
}

.hero-orb--2 {
  bottom: 0;
  left: 120px;
  width: 300px;
  height: 300px;
  opacity: 0.08;
  background: radial-gradient(circle, var(--brand-orange) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
}

.hero-text {
  flex: 1;
  max-width: 640px;
}

.hero-text .section-label::before,
.hero-text .section-label::after {
  display: none;
}

.hero-text h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: white;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.text-orange {
  color: var(--brand-orange);
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--font-size-md);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: white;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
}

.hero-stat strong {
  display: block;
  color: var(--brand-orange);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

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

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper > img {
  width: 100%;
  max-width: 580px;
  height: auto;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(255, 107, 53, 0.3));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  min-width: 170px;
}

.floating-card strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
}

.floating-card small,
.floating-card span {
  font-size: 10px;
  color: var(--text-tertiary);
}

.floating-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.floating-card-header span {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-navy);
}

.floating-card-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--brand-orange);
}

.floating-card-icon.orange {
  background: var(--brand-orange);
  color: white;
}

.floating-card--revenue {
  top: 24px;
  left: -40px;
}

.floating-card--leads {
  bottom: 48px;
  right: -40px;
}

.floating-card--leads strong {
  color: var(--brand-navy);
}

.trend-up {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--color-success);
  font-size: 10px;
  font-weight: 600;
}

.hero-wave {
  position: relative;
  margin-top: auto;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-text h1 { font-size: 36px; }
  .hero-subtitle { margin: 0 auto var(--space-xl); }
  .hero-ctas { justify-content: center; flex-wrap: wrap; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { display: none; }
}

/* ============================================
   Services Section
   ============================================ */
.services {
  padding: var(--space-section) 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: white;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
}

.service-card--highlighted {
  background: linear-gradient(145deg, #0B2545, #152f5e);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 24px rgba(11, 37, 69, 0.2);
}

.service-card--highlighted h3 { color: white; }
.service-card--highlighted p { color: rgba(255, 255, 255, 0.6); }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 24px;
  box-shadow: var(--shadow-sm);
}

.navy-bg { background: var(--brand-navy); color: var(--brand-orange); }
.orange-bg { background: var(--brand-orange); color: white; }

.service-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.badge-popular {
  display: inline-block;
  background: rgba(255, 107, 53, 0.2);
  color: var(--brand-orange);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.service-tags span, .tag-blue, .tag-green, .tag-orange, .tag-yellow, .tag-pink {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid;
}

.tag-blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.tag-green { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.tag-orange { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.tag-yellow { background: #fefce8; color: #a16207; border-color: #fde68a; }
.tag-pink { background: #fdf2f8; color: #be185d; border-color: #fbcfe8; }

.service-list-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-lg);
}

.service-list-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list-item i { color: var(--brand-orange); font-size: 11px; }

.check-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.check-list li i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  background: rgba(255, 107, 53, 0.15);
  color: var(--brand-orange);
}

.check-list--light li { color: rgba(255, 255, 255, 0.8); }
.check-list--light li i {
  background: rgba(255, 107, 53, 0.25);
  color: var(--brand-orange);
}

.service-card .btn-outline-dark,
.service-card .btn-outline-orange,
.service-card .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
}

.btn-outline-dark {
  border: 2px solid var(--brand-navy);
  color: var(--brand-navy);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-dark:hover {
  background: var(--brand-navy);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-orange {
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-orange:hover {
  background: var(--brand-orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

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

/* ============================================
   Why Choose Us
   ============================================ */
.why-us {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, #f8f9ff 0%, white 100%);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.pillar-card {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-2xl);
  background: white;
  border: 1px solid #f0f2f8;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s;
}

.pillar-card:hover { transform: translateY(-4px); }

.pillar-card--highlighted {
  background: var(--brand-navy);
  color: white;
  box-shadow: 0 8px 40px rgba(11, 37, 69, 0.25);
}

.pillar-card--highlighted h3 { color: white; }
.pillar-card--highlighted p { color: rgba(255, 255, 255, 0.6); }

.pillar-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.navy-gradient-bg {
  background: linear-gradient(135deg, #0B2545, #1a3d6e);
  color: var(--brand-orange);
}

.orange-gradient-bg {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
  color: white;
}

.pillar-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: var(--space-sm);
}

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

.pillar-accent {
  width: 48px;
  height: 4px;
  background: var(--brand-orange);
  border-radius: var(--radius-full);
  margin: var(--space-lg) auto 0;
}

.pillar-accent.orange { background: var(--brand-orange); }

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

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

/* ============================================
   Growth Process
   ============================================ */
.process {
  position: relative;
  padding: var(--space-section) 0;
  overflow: hidden;
}

.process-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 50px 50px;
}

.text-white { color: white !important; }
.text-light-muted { color: rgba(255, 255, 255, 0.6) !important; }

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  position: relative;
}

.process-connector-line {
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-light), var(--brand-orange), var(--brand-orange-light), var(--brand-orange));
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  border: none;
}

.step-circle {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--brand-orange);
  background: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-lg);
  font-size: 24px;
  color: var(--brand-orange);
}

.step-circle--filled {
  background: var(--brand-orange);
  color: white;
}

.step-circle--filled .step-number {
  background: white;
  color: var(--brand-orange);
}

.step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  width: 100%;
}

.step-card h3 {
  color: white;
  font-weight: 700;
  font-size: var(--font-size-md);
  margin-bottom: var(--space-sm);
}

.step-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
  }
  .process-connector-line { display: none; }
  .process-step { max-width: 360px; }
}

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio {
  padding: var(--space-section) 0;
  background: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.portfolio-card {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: white;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(11, 37, 69, 0.18);
}

.portfolio-banner {
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}

.portfolio-banner-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 24px;
}

.portfolio-banner strong {
  font-size: 14px;
  font-weight: 700;
}

.portfolio-banner span {
  font-size: 12px;
  opacity: 0.6;
}

.portfolio-body {
  padding: 28px;
}

.portfolio-tags {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.tag-purple { background: #faf5ff; color: #7e22ce; border-color: #e9d5ff; font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-full); border: 1px solid; }
.tag-navy { background: rgba(11,37,69,0.08); color: var(--brand-navy); font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-full); border: 1px solid transparent; }

.portfolio-body h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: var(--space-sm);
}

.portfolio-body p {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.portfolio-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.metric {
  background: #f8f9fa;
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  text-align: center;
}

.metric strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-orange);
}

.metric:nth-child(2) strong { color: var(--brand-navy); }

.metric span {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 500;
}

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

/* ============================================
   Stats Banner
   ============================================ */
.stats-banner {
  position: relative;
  padding: var(--space-section) 0;
  background: linear-gradient(135deg, var(--brand-orange), #FF8147, var(--brand-orange));
  overflow: hidden;
}

.stats-bg-dots {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 30px 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
  position: relative;
}

.stat-item strong {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: var(--font-size-base);
  margin-bottom: var(--space-sm);
}

.stat-divider-inline {
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 auto var(--space-sm);
}

.stat-item small {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-xs);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  .stat-item strong { font-size: 36px; }
}

/* ============================================
   Inquiry Form
   ============================================ */
.inquiry {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, #f8f9ff 0%, white 100%);
}

.form-card {
  max-width: 880px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: 0 8px 50px rgba(11, 37, 69, 0.12);
  border: 1px solid #f0f2f8;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.required { color: var(--brand-orange); }

.form-group input,
.form-group select,
.form-group textarea {
  height: 48px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 0 var(--space-md);
  font-size: 14px;
  color: var(--text-secondary);
  background: #f8f9fa;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-family);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-focus);
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: var(--color-error);
}

.form-group textarea {
  height: auto;
  padding: var(--space-md);
  resize: vertical;
}

.phone-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: #f8f9fa;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input:focus-within {
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-focus);
}

.phone-prefix {
  padding: 0 var(--space-md);
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 500;
  border-right: 1px solid var(--border-default);
  height: 48px;
  display: flex;
  align-items: center;
  background: #f1f3f5;
}

.phone-input input {
  border: none;
  background: transparent;
  flex: 1;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
}

.form-privacy i { font-size: 10px; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: var(--space-xl); }
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  position: relative;
  padding: var(--space-section) 0;
  overflow: hidden;
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
}

.contact-layout {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  justify-content: center;
}

.contact-details-card {
  flex: 1;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-block-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-block-header span {
  color: white;
  font-weight: 600;
  font-size: var(--font-size-md);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.contact-phone-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-phone-list a,
.contact-email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.2s;
}

.contact-phone-list a:hover,
.contact-email:hover { color: var(--brand-orange); }
.contact-phone-list i { color: var(--brand-orange); font-size: 11px; }

.contact-social {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-social-label {
  display: block;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--brand-orange);
  color: white;
}

.contact-cta-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 220px;
}

.cta-card-orange {
  background: var(--brand-orange);
  border-radius: var(--radius-2xl);
  padding: var(--space-lg);
  text-align: center;
  color: white;
}

.cta-card-orange i:first-child {
  font-size: 28px;
  margin-bottom: var(--space-sm);
  display: block;
}

.cta-card-orange strong { font-size: var(--font-size-md); display: block; margin-bottom: 4px; }
.cta-card-orange span { font-size: var(--font-size-xs); opacity: 0.8; display: block; margin-bottom: var(--space-md); }

.btn-white {
  display: block;
  background: white;
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-white:hover {
  background: #fff8f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.cta-card-whatsapp {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-2xl);
  padding: var(--space-lg);
  text-align: center;
  color: white;
}

.cta-card-whatsapp i:first-child {
  font-size: 28px;
  color: #4ade80;
  margin-bottom: var(--space-sm);
  display: block;
}

.cta-card-whatsapp strong { font-size: 14px; display: block; margin-bottom: 4px; }
.cta-card-whatsapp span { font-size: var(--font-size-xs); color: rgba(255,255,255,0.6); display: block; margin-bottom: var(--space-md); }

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #22c55e;
  color: white;
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp:hover {
  background: #16a34a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

@media (max-width: 768px) {
  .contact-layout { flex-direction: column; align-items: stretch; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cta-stack { flex-direction: row; min-width: auto; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #080e1a;
  padding: var(--space-xl) 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-brand img {
  height: 36px;
  width: auto;
  opacity: 0.9;
}

.footer-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.footer-tagline {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-xs);
}

.footer-copy {
  display: block;
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  margin-top: 2px;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-made {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--font-size-xs);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
  .footer-brand { flex-direction: column; }
  .footer-divider { width: 48px; height: 1px; }
}

/* ============================================
   Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s);
}

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

/* Staggered grid reveals */
.services-grid > :nth-child(2) { --reveal-delay: 0.1s; }
.services-grid > :nth-child(3) { --reveal-delay: 0.2s; }

.pillars-grid > :nth-child(2) { --reveal-delay: 0.1s; }
.pillars-grid > :nth-child(3) { --reveal-delay: 0.2s; }
.pillars-grid > :nth-child(4) { --reveal-delay: 0.3s; }

.process-steps > :nth-child(3) { --reveal-delay: 0.1s; }
.process-steps > :nth-child(4) { --reveal-delay: 0.2s; }
.process-steps > :nth-child(5) { --reveal-delay: 0.3s; }
.process-steps > :nth-child(6) { --reveal-delay: 0.4s; }

.portfolio-grid > :nth-child(2) { --reveal-delay: 0.1s; }
.portfolio-grid > :nth-child(3) { --reveal-delay: 0.2s; }
.portfolio-grid > :nth-child(4) { --reveal-delay: 0.3s; }

.stats-grid > :nth-child(2) { --reveal-delay: 0.1s; }
.stats-grid > :nth-child(3) { --reveal-delay: 0.2s; }
.stats-grid > :nth-child(4) { --reveal-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   Accessibility
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--brand-orange);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--space-md);
}

:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 2px;
}
