/* =========================================================
   CloudVibe — Static site styles
   Brand: #2563EB primary · #1E3A8A secondary · #06B6D4 accent
   ========================================================= */
:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary: #1E3A8A;
  --secondary-hover: #172554;
  --accent: #06B6D4;
  --accent-hover: #0891B2;
  --bg: #FFFFFF;
  --section: #F8FAFC;
  --text: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;
  --status: #10B981;
}

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

html, body {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection { background: var(--primary); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--section); }
::-webkit-scrollbar-thumb { background: #cbd5e1; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.container-x {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .container-x { padding: 0 2rem; }
}

.overline {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-hover);
}

.section-pad { padding: 6rem 0; }
@media (min-width: 768px) { .section-pad { padding: 8rem 0; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(37,99,235,0.5); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(6,182,212,0.45); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-ghost-light:hover { background: #fff; color: var(--secondary); }
.btn-outline { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: #fff; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.site-header.scrolled { background: rgba(255,255,255,0.97); border-bottom-color: var(--border); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.logo img { height: 3rem; width: auto; object-fit: contain; transition: transform 0.25s; }
.logo:hover img { transform: scale(1.02); }
@media (min-width: 768px) { .logo img { height: 3.25rem; } }

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; color: var(--text); transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

.nav-dropdown-wrap { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; color: var(--text); }
.nav-dropdown-trigger:hover { color: var(--primary); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; padding-top: 0.5rem;
  width: 20rem; opacity: 0; pointer-events: none; transform: translateY(4px);
  transition: all 0.2s;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-inner { background: #fff; border: 1px solid var(--border); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.18); padding: 0.75rem; }
.nav-dropdown-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; transition: background 0.15s; }
.nav-dropdown-item:hover { background: var(--section); }
.nav-dropdown-icon { width: 2.25rem; height: 2.25rem; background: var(--section); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.nav-dropdown-item:hover .nav-dropdown-icon { background: var(--primary); color: #fff; }
.nav-dropdown-label { font-size: 0.875rem; font-weight: 600; color: var(--text); }

.header-cta { display: none; margin-left: 0.75rem; padding: 0.65rem 1.25rem; font-size: 0.875rem; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

.mobile-toggle { display: inline-flex; padding: 0.5rem; color: var(--text); }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

.mobile-menu { display: none; border-top: 1px solid var(--border); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu-inner { padding: 1.5rem 0; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-link { padding: 0.75rem 0; font-size: 1rem; font-weight: 600; color: var(--text); border-bottom: 1px solid #f1f5f9; }
.mobile-nav-link:hover { color: var(--primary); }
.mobile-sub { padding-left: 1rem; margin-top: 0.5rem; border-left: 2px solid var(--primary); }
.mobile-sub p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 0.5rem; }
.mobile-sub a { display: block; padding: 0.5rem 0; font-size: 0.875rem; font-weight: 500; color: var(--text); }
.mobile-sub a:hover { color: var(--primary); }

/* ===== Hero carousel ===== */
.hero {
  position: relative; width: 100%; overflow: hidden;
  background: var(--secondary);
  height: min(88vh, 760px); min-height: 600px;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide.active .hero-slide-bg { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(30,58,138,0.92), rgba(30,58,138,0.7), rgba(30,58,138,0.4)); }
.hero-slide-dim { position: absolute; inset: 0; background: rgba(0,0,0,0.15); }
.hero-content { position: relative; height: 100%; display: flex; align-items: center; z-index: 5; }
.hero-text-wrap { max-width: 48rem; color: #fff; }
.hero-eyebrow { color: var(--accent); margin-bottom: 1.5rem; opacity: 0; transform: translateY(20px); transition: all 0.6s; }
.hero-title { font-size: 2.5rem; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem; text-shadow: 0 2px 24px rgba(15,23,42,0.35); opacity: 0; transform: translateY(20px); transition: all 0.7s 0.1s; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.9); line-height: 1.6; margin-bottom: 2.5rem; max-width: 36rem; opacity: 0; transform: translateY(20px); transition: all 0.8s 0.2s; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; opacity: 0; transform: translateY(20px); transition: all 0.9s 0.3s; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-slide.active .hero-eyebrow,
.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-actions { opacity: 1; transform: translateY(0); }

.hero-controls { position: absolute; bottom: 2.5rem; left: 0; right: 0; z-index: 10; }
.hero-controls-inner { display: flex; align-items: center; justify-content: space-between; }
.hero-indicators { display: flex; align-items: center; gap: 0.75rem; }
.hero-indicator { height: 4px; width: 28px; background: rgba(255,255,255,0.4); transition: all 0.3s; cursor: pointer; }
.hero-indicator.active { width: 56px; background: var(--accent); }
.hero-indicator:hover { background: rgba(255,255,255,0.7); }
.hero-indicator.active:hover { background: var(--accent); }
.hero-counter { margin-left: 1rem; color: rgba(255,255,255,0.7); font-size: 0.75rem; font-family: monospace; letter-spacing: 0.15em; }
.hero-arrows { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .hero-arrows { display: flex; } }
.hero-arrow { width: 3rem; height: 3rem; border: 2px solid rgba(255,255,255,0.3); color: #fff; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.hero-arrow:hover { background: #fff; color: var(--secondary); border-color: #fff; }

/* ===== Sections ===== */
.bg-section { background: var(--section); }
.bg-secondary { background: var(--secondary); color: #fff; }

.trust-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.trust-row { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .trust-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.trust-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 700; color: var(--muted); }
.trust-icons { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; }
.trust-icons svg { color: var(--muted); opacity: 0.8; }

/* Headings */
.section-head { max-width: 48rem; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-title { font-size: 2rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.25rem; color: var(--text); }
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-head.invert .section-title { color: #fff; }
.section-lead { font-size: 1rem; line-height: 1.7; color: var(--muted); }
@media (min-width: 768px) { .section-lead { font-size: 1.125rem; } }
.section-head.invert .section-lead { color: rgba(255,255,255,0.8); }

/* Service card */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  display: block;
  background: #fff; border: 1px solid var(--border);
  padding: 2.5rem; position: relative;
  transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 25px 50px -12px rgba(15,23,42,0.18); border-color: var(--accent); }
.svc-card-icon { width: 3.5rem; height: 3.5rem; background: var(--section); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; transition: all 0.2s; }
.svc-card:hover .svc-card-icon { background: var(--primary); color: #fff; }
.svc-card-title { font-size: 1.5rem; color: var(--text); margin-bottom: 1rem; line-height: 1.3; transition: color 0.2s; }
.svc-card:hover .svc-card-title { color: var(--primary); }
.svc-card-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.65; margin-bottom: 2rem; }
.svc-card-link { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--primary); font-weight: 600; font-size: 0.875rem; transition: gap 0.2s; }
.svc-card:hover .svc-card-link { gap: 0.5rem; }

/* Header CTA section flex */
.svc-head-row { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .svc-head-row { grid-template-columns: 7fr 5fr; align-items: end; } }
.svc-head-cta { display: flex; justify-content: flex-start; }
@media (min-width: 768px) { .svc-head-cta { justify-content: flex-end; } }

/* Bento - Why us */
.bento { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(12, 1fr); } }
.bento-big { background: var(--secondary); color: #fff; padding: 3rem; position: relative; overflow: hidden; min-height: 26rem; display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 768px) { .bento-big { grid-column: span 7; padding: 4rem; } }
.bento-big h3 { font-size: 1.75rem; line-height: 1.2; max-width: 24rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .bento-big h3 { font-size: 2.25rem; } }
.bento-big ul { display: flex; flex-direction: column; gap: 0.75rem; max-width: 28rem; }
.bento-big li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.9); }
.bento-big li svg { color: var(--accent); margin-top: 0.2rem; flex-shrink: 0; }
.bento-big-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--accent); font-weight: 600; margin-top: 2.5rem; transition: gap 0.2s; }
.bento-big-link:hover { gap: 0.75rem; }
.bento-big-glow { position: absolute; right: -5rem; bottom: -5rem; width: 20rem; height: 20rem; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: 0.3; pointer-events: none; }

.bento-side { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .bento-side { grid-column: span 5; } }
.bento-small { background: var(--section); border: 1px solid var(--border); padding: 2.5rem; transition: all 0.35s; }
.bento-small:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1); border-color: var(--accent); }
.bento-small-icon { width: 3rem; height: 3rem; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.bento-small h4 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--text); }
.bento-small p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

.bento-bottom { background: #fff; border: 1px solid var(--border); padding: 2.5rem; transition: all 0.35s; }
@media (min-width: 768px) { .bento-bottom { grid-column: span 6; } }
.bento-bottom:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1); border-color: var(--accent); }
.bento-bottom-icon { width: 3rem; height: 3rem; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.bento-bottom h4 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--text); }
.bento-bottom p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

/* Stats */
.stats-strip { background: var(--section); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-val { font-size: 3rem; font-family: "Space Grotesk", sans-serif; font-weight: 800; color: var(--primary); letter-spacing: -0.04em; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .stat-val { font-size: 3.75rem; } }
.stat-label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); font-weight: 600; }

/* ===== Stats Bar (below hero, new) ===== */
.stats-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 3rem 0; }
@media (min-width: 768px) { .stats-bar { padding: 4rem 0; } }
.stats-bar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .stats-bar-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.stat-item { border-left: 2px solid var(--primary); padding-left: 1.25rem; }
.stat-item.status { border-left-color: var(--status); }
.stat-item .val { font-family: "Space Grotesk", sans-serif; font-weight: 800; font-size: 1.875rem; letter-spacing: -0.04em; line-height: 1; color: var(--secondary); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .stat-item .val { font-size: 2.5rem; } }
@media (min-width: 1024px) { .stat-item .val { font-size: 3rem; } }
.stat-item.status .val { color: var(--status); }
.stat-item .lab { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--muted); line-height: 1.35; }
@media (min-width: 768px) { .stat-item .lab { font-size: 0.8125rem; } }

/* ===== Platform Teaser ===== */
.platform-head { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; align-items: end; }
@media (min-width: 768px) { .platform-head { grid-template-columns: 8fr 4fr; } }
.platform-head-cta { display: flex; }
@media (min-width: 768px) { .platform-head-cta { justify-content: flex-end; } }
.platform-teaser-cols { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .platform-teaser-cols { grid-template-columns: repeat(3, 1fr); } }
.platform-teaser-card { background: #fff; border: 1px solid var(--border); padding: 2rem; transition: all 0.35s; }
.platform-teaser-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1); border-color: var(--accent); }
.platform-teaser-icon { width: 3rem; height: 3rem; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.platform-teaser-card h4 { font-size: 1.25rem; color: var(--text); margin-bottom: 0.75rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.platform-teaser-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

/* ===== Infrastructure page ===== */
.infra-split-row { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .infra-split-row { grid-template-columns: 5fr 7fr; } }
.infra-list-2col { display: grid; grid-template-columns: 1fr; gap: 1rem; list-style: none; padding: 0; }
@media (min-width: 640px) { .infra-list-2col { grid-template-columns: 1fr 1fr; } }
.infra-list-2col li { border-left: 2px solid var(--primary); padding: 0.5rem 0 0.5rem 1.25rem; font-weight: 500; color: var(--text); font-size: 0.875rem; line-height: 1.5; }
.agents-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 768px) { .agents-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .agents-grid { grid-template-columns: repeat(5, 1fr); } }
.agent-card { background: #fff; border: 1px solid var(--border); padding: 1.75rem; transition: all 0.35s; }
.agent-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1); border-color: var(--accent); }
.agent-icon { width: 2.75rem; height: 2.75rem; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.agent-card h4 { font-size: 1rem; color: var(--text); margin-bottom: 0.75rem; line-height: 1.3; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.agent-card p { color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }
.agents-outro { margin-top: 4rem; max-width: 48rem; font-size: 1rem; color: rgba(15,23,42,0.85); line-height: 1.7; font-style: italic; }
@media (min-width: 768px) { .agents-outro { font-size: 1.125rem; } }

.onboard-steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); margin-top: 4rem; }
@media (min-width: 768px) { .onboard-steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .onboard-steps { grid-template-columns: repeat(6, 1fr); } }
.onboard-step { background: var(--section); padding: 1.75rem; transition: background 0.2s; }
.onboard-step:hover { background: #fff; }
.onboard-step .num { font-family: monospace; color: var(--accent); font-size: 0.8125rem; margin-bottom: 0.75rem; }
.onboard-step h4 { font-size: 1rem; line-height: 1.3; color: var(--text); margin-bottom: 0.5rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.onboard-step p { color: var(--muted); font-size: 0.75rem; line-height: 1.5; }


/* ===== CTA section ===== */
.cta-section { background: var(--secondary); color: #fff; position: relative; overflow: hidden; }
.cta-section-glow1, .cta-section-glow2 { position: absolute; width: 40rem; height: 40rem; border-radius: 50%; pointer-events: none; opacity: 0.2; }
.cta-section-glow1 { top: -10rem; right: -10rem; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); }
.cta-section-glow2 { bottom: -10rem; left: -10rem; background: radial-gradient(circle, var(--primary) 0%, transparent 70%); }
.cta-section-inner { position: relative; max-width: 56rem; }
.cta-title { font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 2rem; }
@media (min-width: 768px) { .cta-title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-title { font-size: 3.75rem; } }
.cta-sub { font-size: 1.125rem; color: rgba(255,255,255,0.8); max-width: 38rem; margin-bottom: 2.5rem; line-height: 1.6; }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* ===== Footer ===== */
.site-footer { background: var(--secondary); color: #fff; }
.footer-inner { padding: 5rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 4fr 3fr 2fr 3fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.footer-brand img { height: 2.5rem; width: auto; background: #fff; padding: 0.25rem; }
.footer-brand-text { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.5rem; }
.footer-brand-text span { color: var(--accent); }
.footer-tagline { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.65; max-width: 24rem; }
.footer-heading { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 1.25rem; }
.footer-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-list a, .footer-list span { color: rgba(255,255,255,0.8); font-size: 0.875rem; transition: color 0.15s; }
.footer-list a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact-item svg { color: var(--accent); margin-top: 0.25rem; flex-shrink: 0; }
.footer-cta { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 1.5rem; color: var(--accent); font-weight: 600; font-size: 0.875rem; transition: gap 0.2s; }
.footer-cta:hover { gap: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 4rem; padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.75rem; color: rgba(255,255,255,0.6); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ===== Services overview ===== */
.services-overview-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); }
@media (min-width: 768px) { .services-overview-grid { grid-template-columns: 1fr 1fr; } }
.services-overview-cell { background: #fff; transition: background 0.2s; }
.services-overview-cell:hover { background: var(--section); }
.services-overview-inner { display: block; padding: 2.5rem; height: 100%; }
@media (min-width: 768px) { .services-overview-inner { padding: 3.5rem; } }
.svo-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; }
.svo-icon { width: 3.5rem; height: 3.5rem; background: var(--section); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.services-overview-cell:hover .svo-icon { background: var(--primary); color: #fff; }
.svo-num { font-family: monospace; font-size: 0.75rem; color: var(--muted); }
.svo-title { font-size: 1.75rem; color: var(--text); margin-bottom: 1.25rem; line-height: 1.25; }
@media (min-width: 768px) { .svo-title { font-size: 2.25rem; } }
.svo-desc { color: var(--muted); line-height: 1.65; margin-bottom: 2rem; max-width: 32rem; }
.svo-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); font-weight: 600; transition: gap 0.2s; }
.services-overview-cell:hover .svo-link { gap: 0.75rem; }

/* ===== Service detail page ===== */
.detail-hero { position: relative; background: var(--secondary); color: #fff; overflow: hidden; }
.detail-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.3; }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--secondary), rgba(30,58,138,0.85), rgba(30,58,138,0.4)); }
.detail-hero-inner { position: relative; padding: 7rem 0; }
@media (min-width: 768px) { .detail-hero-inner { padding: 9rem 0; } }
.detail-hero-content { max-width: 48rem; }
.detail-back { color: var(--accent); margin-bottom: 1.5rem; display: inline-block; }
.detail-back:hover { text-decoration: underline; }
.detail-title { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 2rem; }
@media (min-width: 768px) { .detail-title { font-size: 3rem; } }
@media (min-width: 1024px) { .detail-title { font-size: 3.75rem; } }
.detail-intro { font-size: 1.125rem; color: rgba(255,255,255,0.85); line-height: 1.65; max-width: 38rem; }

/* Capabilities */
.cap-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 768px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
.cap-card { background: #fff; border: 1px solid var(--border); padding: 2.5rem; transition: all 0.35s; }
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1); border-color: var(--accent); }
.cap-card-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.cap-card-num { font-family: monospace; font-size: 0.75rem; color: var(--accent); }
.cap-card-divider { height: 1px; flex: 1; background: var(--border); }
.cap-card-title { font-size: 1.5rem; color: var(--text); margin-bottom: 1.5rem; line-height: 1.3; }
.cap-card ul { display: flex; flex-direction: column; gap: 0.75rem; }
.cap-card li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: rgba(15,23,42,0.85); }
.cap-card li svg { color: var(--primary); margin-top: 0.2rem; flex-shrink: 0; }
.cap-card li.lc { padding-left: 1.5rem; position: relative; }
.cap-card li.lc::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.5rem; height: 0.5rem; background: var(--primary); }

/* Process */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); margin-top: 4rem; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(6, 1fr); } }
.process-step { background: var(--section); padding: 2rem; transition: background 0.2s; }
.process-step:hover { background: #fff; }
.process-step-num { font-family: monospace; color: var(--accent); font-size: 0.875rem; margin-bottom: 1rem; }
.process-step h4 { font-size: 1rem; line-height: 1.35; color: var(--text); }

/* Benefits + Why */
.benefits-row { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .benefits-row { grid-template-columns: 1fr 1fr; } }
.benefits-list { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .benefits-list { grid-template-columns: 1fr 1fr; } }
.benefits-list li { border-left: 2px solid var(--primary); padding: 0.5rem 0 0.5rem 1.25rem; font-weight: 500; color: var(--text); font-size: 0.875rem; line-height: 1.4; }
.why-block { background: var(--section); border: 1px solid var(--border); padding: 2.5rem; }
@media (min-width: 768px) { .why-block { padding: 3.5rem; } }
.why-block h3 { font-size: 1.75rem; line-height: 1.25; margin-bottom: 2rem; color: var(--text); }
.why-block ul { display: flex; flex-direction: column; gap: 1rem; }
.why-block li { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(15,23,42,0.9); font-size: 0.875rem; line-height: 1.65; }
.why-block li svg { color: var(--accent); margin-top: 0.25rem; flex-shrink: 0; }

/* FAQ */
.faq-list { margin-top: 3rem; max-width: 48rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; text-align: left; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.125rem; color: var(--text); transition: color 0.2s; }
.faq-trigger:hover { color: var(--primary); }
.faq-trigger svg { transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-trigger svg { transform: rotate(180deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-content { max-height: 400px; }
.faq-content-inner { padding-bottom: 1.5rem; color: var(--muted); line-height: 1.7; }

/* ===== About page ===== */
.about-hero-row { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .about-hero-row { grid-template-columns: 7fr 5fr; } }
.about-hero-img-wrap { position: relative; }
.about-hero-img { aspect-ratio: 4/5; overflow: hidden; }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.about-hero-badge { position: absolute; bottom: -1.5rem; left: -1.5rem; background: var(--accent); color: #fff; padding: 1.5rem; max-width: 18rem; display: none; }
@media (min-width: 768px) { .about-hero-badge { display: block; } }
.about-hero-badge p { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }

.story-row { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .story-row { grid-template-columns: 5fr 7fr; } }
.story-text { display: flex; flex-direction: column; gap: 1.5rem; color: rgba(15,23,42,0.85); line-height: 1.7; font-size: 1rem; }
@media (min-width: 768px) { .story-text { font-size: 1.125rem; } }

.quote-section { background: var(--secondary); color: #fff; }
.quote-inner { max-width: 64rem; padding: 6rem 0; }
@media (min-width: 768px) { .quote-inner { padding: 8rem 0; } }
.quote-icon { color: var(--accent); margin-bottom: 2rem; }
.quote-text { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.75rem; line-height: 1.25; letter-spacing: -0.02em; }
@media (min-width: 768px) { .quote-text { font-size: 2.25rem; } }
@media (min-width: 1024px) { .quote-text { font-size: 3rem; } }
.quote-author { margin-top: 2.5rem; color: var(--accent); }

.values-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); margin-top: 4rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card { background: #fff; padding: 2.5rem; transition: all 0.35s; position: relative; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1); border-color: var(--accent); z-index: 1; }
.value-num { font-family: monospace; color: var(--accent); font-size: 0.875rem; }
.value-card h3 { font-size: 1.5rem; color: var(--text); margin: 1rem 0; line-height: 1.3; }
.value-card p { color: var(--muted); line-height: 1.65; font-size: 0.875rem; }

.lookahead-row { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .lookahead-row { grid-template-columns: 1fr 1fr; } }
.lookahead-text { display: flex; flex-direction: column; gap: 1.25rem; color: rgba(15,23,42,0.85); line-height: 1.7; }
.lookahead-text .accent-bold { font-weight: 600; color: var(--text); }

/* ===== Industries ===== */
.industries-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); margin-top: 4rem; }
@media (min-width: 768px) { .industries-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
.industry-card { background: #fff; padding: 2.5rem; transition: background 0.2s; position: relative; }
.industry-card:hover { background: var(--section); }
.industry-icon { width: 3.5rem; height: 3.5rem; background: var(--section); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: all 0.2s; }
.industry-card:hover .industry-icon { background: var(--primary); color: #fff; }
.industry-card h3 { font-size: 1.5rem; color: var(--text); margin-bottom: 1rem; line-height: 1.3; }
.industry-card > p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; margin-bottom: 1.5rem; }
.industry-focus-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.industry-focus-list { display: flex; flex-direction: column; gap: 0.5rem; }
.industry-focus-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.75rem; color: rgba(15,23,42,0.8); }
.industry-focus-list li svg { color: var(--accent); margin-top: 0.1rem; flex-shrink: 0; }
.industry-focus-list li.lc-cyan { padding-left: 0.9rem; position: relative; }
.industry-focus-list li.lc-cyan::before { content: ""; position: absolute; left: 0; top: 0.45rem; width: 0.35rem; height: 0.35rem; background: var(--accent); }

.approach-row { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .approach-row { grid-template-columns: 5fr 7fr; } }

/* ===== Contact ===== */
.contact-hero-inner { padding: 5rem 0; }
@media (min-width: 768px) { .contact-hero-inner { padding: 7rem 0; } }
.contact-hero-inner h1 { font-size: 3rem; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: var(--text); }
@media (min-width: 768px) { .contact-hero-inner h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .contact-hero-inner h1 { font-size: 4.5rem; } }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 5fr 7fr; } }

.contact-info { background: var(--secondary); color: #fff; padding: 2.5rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .contact-info { padding: 3.5rem; } }
.contact-info-glow { position: absolute; top: -8rem; right: -8rem; width: 24rem; height: 24rem; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: 0.25; pointer-events: none; }
.contact-info-inner { position: relative; }
.contact-info-title { font-size: 1.75rem; line-height: 1.2; margin-bottom: 2rem; }
@media (min-width: 768px) { .contact-info-title { font-size: 2.25rem; } }
.contact-info-list { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-icon { width: 2.5rem; height: 2.5rem; background: rgba(6,182,212,0.2); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.6); margin-bottom: 0.25rem; }
.contact-info-value { font-weight: 600; }
.contact-info-value a { transition: color 0.2s; }
.contact-info-value a:hover { color: var(--accent); }
.contact-info-note { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.875rem; color: rgba(255,255,255,0.8); line-height: 1.7; }

.contact-form-wrap { background: #fff; padding: 2.5rem; }
@media (min-width: 768px) { .contact-form-wrap { padding: 3.5rem; } }
.contact-form-wrap h2 { font-size: 1.5rem; color: var(--text); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .contact-form-wrap h2 { font-size: 1.75rem; } }
.contact-form-wrap > p { color: var(--muted); font-size: 0.875rem; margin-bottom: 2.5rem; }
.form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea { width: 100%; background: var(--section); border: 1px solid var(--border); padding: 1rem 1.25rem; font: inherit; color: var(--text); outline: none; transition: all 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.field.error input, .field.error select, .field.error textarea { border-color: #ef4444; }
.field-error { color: #ef4444; font-size: 0.75rem; margin-top: 0.5rem; }
.field textarea { resize: vertical; min-height: 8rem; }
.form-submit { display: flex; align-items: center; gap: 0.5rem; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-note { font-size: 0.75rem; color: var(--muted); }

/* ===== Toast ===== */
.toast-host { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100; display: flex; flex-direction: column; gap: 0.75rem; max-width: 24rem; width: calc(100vw - 3rem); }
.toast { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary); padding: 1rem 1.25rem; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.18); transform: translateX(120%); opacity: 0; transition: all 0.4s cubic-bezier(0.2,0.7,0.2,1); }
.toast.show { transform: translateX(0); opacity: 1; }
.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }
.toast-title { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--text); font-size: 0.875rem; }
.toast-title svg { flex-shrink: 0; }
.toast.success .toast-title svg { color: #10b981; }
.toast.error .toast-title svg { color: #ef4444; }
.toast-desc { color: var(--muted); font-size: 0.8125rem; margin-top: 0.25rem; line-height: 1.5; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Utility */
.w-7xl { max-width: 80rem; }
.text-center { text-align: center; }
