/* ================================================================
   OM Technology — Main Stylesheet
   Design system → base → components → sections → utilities
   ================================================================ */

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Brand colours */
  --primary:        #1E40AF;
  --primary-600:    #2563EB;
  --primary-700:    #1D4ED8;
  --primary-100:    #DBEAFE;
  --primary-50:     #EFF6FF;
  --secondary:      #6D28D9;
  --accent:         #059669;
  --accent-light:   #D1FAE5;
  --warning:        #D97706;
  --warning-light:  #FEF3C7;
  --danger:         #DC2626;
  --whatsapp:       #25D366;
  --whatsapp-dark:  #128C7E;

  /* Neutrals */
  --bg:             #FFFFFF;
  --surface:        #F8FAFC;
  --surface-2:      #F1F5F9;
  --card:           #FFFFFF;
  --text:           #0F172A;
  --text-muted:     #64748B;
  --text-light:     #94A3B8;
  --border:         #E2E8F0;
  --border-focus:   #2563EB;

  /* Dark hero palette */
  --dark-bg:        #0C1B33;
  --dark-surface:   #132043;
  --dark-text:      #E2E8F0;
  --dark-muted:     #94A3B8;

  /* Radius */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 12px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-md:  0 8px 24px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.06);
  --shadow-lg:  0 16px 40px rgba(0,0,0,.12), 0 6px 16px rgba(0,0,0,.07);
  --shadow-xl:  0 24px 60px rgba(0,0,0,.14), 0 10px 24px rgba(0,0,0,.08);

  /* Transitions */
  --t:      0.2s ease;
  --t-slow: 0.35s ease;

  /* Layout */
  --container: 1280px;
  --section-py: 88px;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }

/* ── Accessibility ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 10px 20px;
  background: var(--primary-600);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--t);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid var(--primary-100);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--t);
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

.btn-primary {
  background: var(--primary-600);
  color: #fff;
  border-color: var(--primary-600);
  box-shadow: 0 4px 14px rgba(37, 99, 235, .35);
}
.btn-primary:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, .45);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(18, 140, 126, .45);
}

.btn-outline {
  background: transparent;
  color: var(--primary-600);
  border-color: var(--primary-600);
}
.btn-outline:hover {
  background: var(--primary-600);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

.btn-ghost {
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}

.header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}

.nav {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 8px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}

.logo-accent { color: var(--primary-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 16px;
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
}

.nav-link:hover,
.nav-link--active {
  color: var(--primary-600);
  background: var(--primary-50);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  margin-left: auto;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}

.hamburger--open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger--open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger--open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--t);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0C1B33 0%, #1a3665 50%, #0f2952 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, .15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(109, 40, 217, .12) 0%, transparent 40%);
  pointer-events: none;
}

/* Subtle grid pattern */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: #93C5FD;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.85); }
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  color: #fff;
}

.text-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: 1.125rem;
  color: var(--dark-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-price-badge {
  display: inline-flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(217, 119, 6, .2), rgba(245, 158, 11, .15));
  border: 1px solid rgba(245, 158, 11, .4);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 32px;
}

.price-label {
  font-size: .8125rem;
  color: #FCD34D;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 900;
  color: #FDE68A;
  letter-spacing: -.02em;
}

.price-amount sup {
  font-size: 1rem;
  font-weight: 700;
  vertical-align: super;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.benefit-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #CBD5E1;
  font-size: .8125rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.hero-footnote {
  font-size: .8125rem;
  color: #64748B;
  margin-top: 8px;
}

/* Hero visual — CSS device mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-mockup {
  width: 100%;
  max-width: 440px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.device-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.device-dot:nth-child(1) { background: #FF5F57; }
.device-dot:nth-child(2) { background: #FEBC2E; }
.device-dot:nth-child(3) { background: #28C840; }

.device-url {
  flex: 1;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-xs);
  height: 24px;
  margin-left: 8px;
  border: 1px solid rgba(255,255,255,.1);
}

.device-screen {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.screen-header {
  background: linear-gradient(90deg, var(--primary-600), var(--secondary));
  padding: 16px;
}

.screen-logo {
  font-size: .875rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.screen-hero-text {
  font-size: .75rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 10px;
}

.screen-btn {
  display: inline-block;
  background: #fff;
  color: var(--primary-600);
  font-size: .6875rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.screen-body {
  background: #fff;
  padding: 12px;
}

.screen-card {
  background: var(--surface);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-xs);
  background: var(--primary-100);
  flex-shrink: 0;
}

.screen-lines { flex: 1; }
.screen-line {
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}
.screen-line-short { width: 60%; }

.screen-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.screen-stat {
  background: var(--primary-50);
  border-radius: var(--radius-xs);
  padding: 8px 6px;
  text-align: center;
}

.screen-stat-num {
  font-size: .8125rem;
  font-weight: 800;
  color: var(--primary-600);
  display: block;
}

.screen-stat-label {
  font-size: .5625rem;
  color: var(--text-muted);
}

/* ── Trust Section ───────────────────────────────────────────── */
.trust {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.trust .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.trust-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
}

.trust-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.trust-desc {
  font-size: .875rem;
  color: var(--text-muted);
}

/* ── Services ────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-600), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}

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

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--primary-600);
  transition: background var(--t);
}

.service-card:hover .service-icon {
  background: var(--primary-600);
  color: #fff;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-muted);
}

.feature-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing {
  background: var(--surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.pricing-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: all var(--t-slow);
  display: flex;
  flex-direction: column;
}

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

.pricing-card--popular {
  background: linear-gradient(160deg, #1E3A8A 0%, #1D4ED8 100%);
  border-color: var(--primary-600);
  color: #fff;
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--primary-600);
}

.pricing-card--popular:hover {
  transform: translateY(-12px);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #D97706, #F59E0B);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(217, 119, 6, .4);
}

.pricing-name {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-card--popular .pricing-name { color: rgba(255,255,255,.7); }

.pricing-amount {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-card--popular .pricing-amount { color: #fff; }

.pricing-amount sup {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 700;
}

.pricing-period {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-card--popular .pricing-period { color: rgba(255,255,255,.6); }

.pricing-note {
  display: inline-block;
  background: var(--warning-light);
  color: var(--warning);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  border: 1px solid rgba(217, 119, 6, .2);
}

.pricing-card--popular .pricing-note {
  background: rgba(245, 158, 11, .15);
  color: #FCD34D;
  border-color: rgba(245, 158, 11, .3);
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.pricing-card--popular .pricing-divider { background: rgba(255,255,255,.15); }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-muted);
}

.pricing-card--popular .pricing-feature { color: rgba(255,255,255,.85); }

.pricing-check {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card--popular .pricing-check { color: #34D399; }

.pricing-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.separate-costs {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 32px;
}

.separate-costs-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.costs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cost-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-muted);
}

.cost-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warning);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ── Add-ons ─────────────────────────────────────────────────── */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.addon-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--t);
}

.addon-card:hover {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-sm);
}

.addon-price-badge {
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: .875rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--primary-100);
}

.addon-info { flex: 1; }
.addon-name { font-size: .9375rem; font-weight: 700; margin-bottom: 4px; }
.addon-desc { font-size: .875rem; color: var(--text-muted); }

/* ── Industries ──────────────────────────────────────────────── */
.industries {
  background: var(--surface);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--t);
}

.industry-card:hover {
  border-color: var(--primary-600);
  background: var(--primary-50);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.industry-icon {
  font-size: 2rem;
  line-height: 1;
}

.industry-name {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
}

.industry-cta {
  display: none; /* Hidden; click is on full card */
}

/* ── Portfolio ───────────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-slow);
}

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

.portfolio-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.portfolio-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-screen-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-screen-body {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portfolio-block {
  height: 12px;
  border-radius: var(--radius-xs);
  opacity: .4;
}

.portfolio-block-wide { width: 80%; }
.portfolio-block-med  { width: 60%; }
.portfolio-block-short { width: 40%; }

.demo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, .8);
  color: #94A3B8;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
}

.portfolio-body { padding: 20px 24px; }

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.portfolio-industry {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.portfolio-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-desc {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── Why Choose Us ───────────────────────────────────────────── */
.why-us { background: var(--surface); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--t-slow);
}

.why-card:hover {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.why-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Process ─────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-100), var(--primary-600), var(--primary-100));
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .35);
  flex-shrink: 0;
}

.step-title {
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: .8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials {
  background: linear-gradient(135deg, #0C1B33 0%, #1a3665 100%);
  color: #fff;
}

.testimonials .section-tag {
  background: rgba(255,255,255,.1);
  color: #93C5FD;
  border-color: rgba(255,255,255,.15);
}

.testimonials .section-title { color: #fff; }
.testimonials .section-subtitle { color: var(--dark-muted); }

.testimonials-placeholder {
  text-align: center;
  padding: 48px 32px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  max-width: 560px;
  margin: 0 auto;
}

.placeholder-icon { font-size: 3rem; margin-bottom: 16px; }

.placeholder-text {
  font-size: 1rem;
  color: var(--dark-muted);
  margin-bottom: 24px;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item--open { border-color: var(--primary-600); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  text-align: left;
  transition: background var(--t), color var(--t);
}

.faq-question:hover { background: var(--surface); color: var(--primary-600); }

.faq-item--open .faq-question { color: var(--primary-600); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  font-size: 1.125rem;
  transition: all var(--t);
  line-height: 1;
}

.faq-item--open .faq-icon {
  background: var(--primary-600);
  color: #fff;
  border-color: var(--primary-600);
  transform: rotate(45deg);
}

.faq-answer {
  transition: max-height .35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Contact Section ─────────────────────────────────────────── */
.contact {
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.contact-detail-value a {
  color: var(--primary-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: .9375rem;
  font-weight: 700;
  margin-top: 28px;
  border: none;
  cursor: pointer;
  transition: all var(--t);
  width: fit-content;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}

.contact-wa-btn:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 140, 126, .45);
}

/* ── Form ────────────────────────────────────────────────────── */
.enquiry-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field:last-child { margin-bottom: 0; }

.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.form-label .required {
  color: var(--danger);
  margin-left: 3px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.field-error {
  font-size: .8125rem;
  color: var(--danger);
  font-weight: 500;
}

.form-field--error .form-input,
.form-field--error .form-select,
.form-field--error .form-textarea {
  border-color: var(--danger);
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 14px 24px;
}

.form-disclaimer {
  font-size: .8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: .875rem;
  color: var(--dark-muted);
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--dark-muted);
  margin-bottom: 8px;
}

.footer-contact-item a { color: #60A5FA; }
.footer-contact-item a:hover { color: #93C5FD; }

.footer-col-title {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: .9rem;
  color: var(--dark-muted);
  transition: color var(--t);
}

.footer-link:hover { color: #60A5FA; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-muted);
  font-size: 1rem;
  transition: all var(--t);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #fff;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8125rem;
  color: var(--dark-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  color: var(--dark-muted);
  transition: color var(--t);
}

.footer-bottom-link:hover { color: #60A5FA; }

/* ── Floating WhatsApp ───────────────────────────────────────── */
/* ── WhatsApp Chat Popup Widget ──────────────────────────────── */
.wa-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Float button */
.wa-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: all var(--t);
  border: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.wa-float-btn:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(18,140,126,.5);
}

.wa-float-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,.3);
  animation: wa-ripple 2.5s ease infinite;
}

@keyframes wa-ripple {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Toggle icons */
.wa-icon-close { display: none; }
.wa-float-btn[aria-expanded="true"] .wa-icon-open  { display: none; }
.wa-float-btn[aria-expanded="true"] .wa-icon-close { display: block; }

/* Popup */
.wa-popup {
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  overflow: hidden;
  transform: translateY(16px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}

.wa-popup.wa-popup--open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Popup header */
.wa-popup-header {
  background: #075E54;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-popup-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-popup-name {
  color: #fff;
  font-weight: 700;
  font-size: .9375rem;
}

.wa-popup-status {
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.wa-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
}

.wa-popup-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 50%;
  transition: color var(--t);
}

.wa-popup-close:hover { color: #fff; }

/* Chat body */
.wa-popup-body {
  padding: 16px;
  background: #ECE5DD;
  min-height: 100px;
}

.wa-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 10px 14px;
  max-width: 85%;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

.wa-bubble p {
  font-size: .875rem;
  color: #111;
  margin: 0 0 4px;
  line-height: 1.5;
}

.wa-bubble p:last-of-type { margin-bottom: 4px; }

.wa-bubble-time {
  font-size: .72rem;
  color: #888;
  display: block;
  text-align: right;
}

/* Footer input */
.wa-popup-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #F0F0F0;
  border-top: 1px solid #e0e0e0;
}

.wa-input {
  flex: 1;
  border: none;
  background: #fff;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: .875rem;
  outline: none;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.wa-input::placeholder { color: #999; }

.wa-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #075E54;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t);
}

.wa-send-btn:hover { background: #128C7E; }

/* ── Back To Top ─────────────────────────────────────────────── */
.btt {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 890;
  opacity: 0;
  pointer-events: none;
  transition: all var(--t);
  box-shadow: var(--shadow-sm);
}

.btt--visible { opacity: 1; pointer-events: auto; }
.btt:hover { color: var(--primary-600); border-color: var(--primary-100); }

/* ── Scroll Animations ───────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: .1s; }
[data-animate-delay="2"] { transition-delay: .2s; }
[data-animate-delay="3"] { transition-delay: .3s; }
[data-animate-delay="4"] { transition-delay: .4s; }
[data-animate-delay="5"] { transition-delay: .5s; }
[data-animate-delay="6"] { transition-delay: .6s; }

/* ── Utilities ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-primary { color: var(--primary-600); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: #fff; }
.font-bold   { font-weight: 700; }
.mt-4  { margin-top: 1rem; }
.mb-4  { margin-bottom: 1rem; }
.mt-8  { margin-top: 2rem; }
.mb-8  { margin-bottom: 2rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Dark section overrides */
.section-dark {
  background: linear-gradient(135deg, #0C1B33 0%, #1a3665 100%);
}

.section-dark .section-tag {
  background: rgba(255,255,255,.1);
  color: #93C5FD;
  border-color: rgba(255,255,255,.15);
}

.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: var(--dark-muted); }
