/* =========================================================
   BOTIXBO DESIGN SYSTEM
   "Future Education, Human First."
   ========================================================= */

:root{
  /* Brand — exact color sampled from the official Botixbo logo */
  --color-primary: #1A65F5;
  --color-primary-dark: #134FC4;
  --color-primary-light: #EAF1FF;
  --color-navy: #0F172A;
  --color-navy-soft: #1E293B;
  --color-bg: #FFFFFF;
  --color-bg-off: #F8FAFC;
  --color-border: #E2E8F0;
  --color-text: #1E2532;
  --color-text-muted: #57606F;
  --color-text-soft: #7C8494;

  /* Accents (used sparingly) */
  --accent-purple: #7C3AED;
  --accent-orange: #EA580C;
  --accent-green: #16A34A;
  --accent-yellow: #CA8A04;

  /* Type */
  --font-heading: 'Manrope', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing scale */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --shadow-md: 0 4px 12px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.12);

  --container: 1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--color-text);
  background:var(--color-bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; height:auto; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-heading); font-weight:800; line-height:1.15; margin:0 0 var(--space-4); color:var(--color-navy); }
p{ margin:0 0 var(--space-4); color:var(--color-text-muted); }
button{ font-family:inherit; cursor:pointer; }

.container{ max-width:var(--container); margin:0 auto; padding:0 var(--space-5); }
.section{ padding:var(--space-9) 0; }
.section-tight{ padding:var(--space-7) 0; }
.section-off{ background:var(--color-bg-off); }
.section-navy{ background:var(--color-navy); color:#fff; }
.section-navy h1,.section-navy h2,.section-navy h3{ color:#fff; }
.section-navy p{ color:#CBD5E1; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--color-primary); margin-bottom:var(--space-3);
}
.eyebrow::before{ content:''; width:18px; height:2px; background:var(--color-primary); display:inline-block; }

h1{ font-size:clamp(2.1rem, 4vw, 3.2rem); letter-spacing:-.02em; }
h2{ font-size:clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing:-.01em; }
h3{ font-size:1.25rem; }
.lead{ font-size:1.15rem; color:var(--color-text-muted); max-width:620px; }

.section-header{ max-width:680px; margin-bottom:var(--space-7); }
.section-header.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 24px; border-radius:var(--radius-sm); font-weight:700; font-size:.95rem;
  border:1.5px solid transparent; transition:all .15s ease; white-space:nowrap;
}
.btn-primary{ background:var(--color-primary); color:#fff; }
.btn-primary:hover{ background:var(--color-primary-dark); transform:translateY(-1px); }
.btn-dark{ background:var(--color-navy); color:#fff; }
.btn-dark:hover{ background:#000; }
.btn-outline{ border-color:var(--color-border); color:var(--color-navy); background:#fff; }
.btn-outline:hover{ border-color:var(--color-primary); color:var(--color-primary); }
.btn-outline-light{ border-color:rgba(255,255,255,.35); color:#fff; }
.btn-outline-light:hover{ border-color:#fff; background:rgba(255,255,255,.08); }
.btn-lg{ padding:16px 30px; font-size:1rem; }
.btn-block{ width:100%; }

/* ============ HEADER ============ */
.site-header{
  position:sticky; top:0; z-index:100; background:#fff;
  border-bottom:1px solid var(--color-border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-heading); font-weight:800; font-size:1.15rem; color:var(--color-navy); }
.brand img{ height:38px; width:38px; }
.brand .sub{ font-size:.62rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--color-text-soft); display:block; margin-top:-2px; }

.main-nav{ display:flex; align-items:center; gap:var(--space-6); }
.main-nav > ul{ display:flex; gap:var(--space-5); }
.main-nav > ul > li{ position:relative; }
.main-nav > ul > li > a{ font-weight:600; font-size:.95rem; padding:10px 2px; display:inline-block; color:var(--color-navy); }
.main-nav > ul > li > a:hover{ color:var(--color-primary); }

.has-mega{
  display:none;
  position:absolute; top:100%; left:50%; transform:translateX(-50%);
  background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:var(--space-6); width:640px;
  grid-template-columns:1fr 1fr; gap:var(--space-6);
}
.nav-item:hover .has-mega{ display:grid; }
.mega-col h4{ font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:var(--color-text-soft); margin-bottom:var(--space-3); }
.mega-col ul li a{ display:block; padding:7px 0; font-size:.92rem; color:var(--color-text); }
.mega-col ul li a:hover{ color:var(--color-primary); }

.header-cta{ display:flex; align-items:center; gap:var(--space-4); }
.header-cta .phone{ font-size:.85rem; font-weight:600; color:var(--color-text-muted); }
.menu-toggle{ display:none; background:none; border:none; }

@media (max-width:960px){
  .main-nav{ display:none; }
  .menu-toggle{ display:block; }
  .header-cta .phone{ display:none; }
}

/* ============ FOOTER ============ */
.site-footer{ background:var(--color-navy); color:#CBD5E1; padding:var(--space-9) 0 var(--space-5); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; gap:var(--space-6); margin-bottom:var(--space-7); }
.footer-grid h4{ color:#fff; font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:var(--space-4); }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid ul li a{ font-size:.9rem; color:#94A3B8; }
.footer-grid ul li a:hover{ color:#fff; }
.footer-brand p{ color:#94A3B8; font-size:.92rem; max-width:280px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding-top:var(--space-5); display:flex; justify-content:space-between; font-size:.82rem; color:#64748B; flex-wrap:wrap; gap:12px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-grid-6{ grid-template-columns:1.4fr 1fr 1fr 1fr 1fr 1fr; }
@media (max-width:1100px){ .footer-grid-6{ grid-template-columns:1fr 1fr 1fr; } }
@media (max-width:700px){ .footer-grid-6{ grid-template-columns:1fr 1fr; } }
@media (max-width:460px){ .footer-grid-6{ grid-template-columns:1fr; } }

/* ============ HERO ============ */
.hero{ padding:var(--space-9) 0; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1fr 1fr; gap:var(--space-8); align-items:center; }
.hero-copy h1{ margin-bottom:var(--space-5); }
.hero-actions{ display:flex; gap:var(--space-4); margin-top:var(--space-6); flex-wrap:wrap; }
.hero-media{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); position:relative; }
.hero-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3.2; }
.hero-stats{ display:flex; gap:var(--space-7); margin-top:var(--space-7); padding-top:var(--space-6); border-top:1px solid var(--color-border); }
.hero-stats .stat b{ font-family:var(--font-heading); font-size:1.6rem; color:var(--color-navy); display:block; }
.hero-stats .stat span{ font-size:.82rem; color:var(--color-text-soft); }
@media (max-width:860px){ .hero-grid{ grid-template-columns:1fr; } }

/* ============ CARDS / GRIDS ============ */
.grid{ display:grid; gap:var(--space-6); }
.grid-2{ grid-template-columns:1fr 1fr; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-md);
  overflow:hidden; transition:box-shadow .15s ease, transform .15s ease;
}
.card:hover{ box-shadow:var(--shadow-md); transform:translateY(-2px); }
.card-body{ padding:var(--space-5); }
.card-img{ aspect-ratio:16/10; overflow:hidden; background:var(--color-bg-off); }
.card-img img{ width:100%; height:100%; object-fit:cover; }
.card-tag{ font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--color-primary); margin-bottom:8px; display:block; }
.card h3{ margin-bottom:8px; font-size:1.05rem; }
.card p{ font-size:.9rem; margin-bottom:12px; }
.card-link{ font-size:.86rem; font-weight:700; color:var(--color-navy); }

.icon-card{ padding:var(--space-5); border:1px solid var(--color-border); border-radius:var(--radius-md); }
.icon-box{
  width:44px; height:44px; border-radius:var(--radius-sm); background:var(--color-primary-light);
  display:flex; align-items:center; justify-content:center; margin-bottom:var(--space-4); color:var(--color-primary); font-weight:800;
}

/* Tech tag chips */
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  padding:9px 16px; border:1px solid var(--color-border); border-radius:100px;
  font-size:.85rem; font-weight:600; color:var(--color-navy); background:#fff;
}

/* Breadcrumb */
.breadcrumb{ font-size:.82rem; color:var(--color-text-soft); padding:var(--space-4) 0; }
.breadcrumb a{ color:var(--color-text-soft); }
.breadcrumb a:hover{ color:var(--color-primary); }
.breadcrumb span{ margin:0 6px; }

/* CTA band */
.cta-band{
  background:var(--color-navy); border-radius:var(--radius-lg); padding:var(--space-8);
  text-align:center; color:#fff;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:#CBD5E1; max-width:520px; margin-left:auto; margin-right:auto; }
.cta-band .hero-actions{ justify-content:center; }

/* Stats strip */
.stats-strip{ display:flex; justify-content:space-between; text-align:center; flex-wrap:wrap; gap:var(--space-6); }
.stats-strip .stat b{ display:block; font-family:var(--font-heading); font-size:2.2rem; color:var(--color-primary); }
.stats-strip .stat span{ color:var(--color-text-soft); font-size:.88rem; }

/* Logo cloud */
.logo-cloud{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:var(--space-6); opacity:.75; }
.logo-cloud .logo-item{ font-family:var(--font-heading); font-weight:800; color:var(--color-text-soft); font-size:1.1rem; }

/* Forms */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:var(--space-4); }
.form-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:var(--space-4); }
.form-field.full{ grid-column:1/-1; }
.form-field label{ font-size:.85rem; font-weight:600; color:var(--color-navy); }
.form-field input, .form-field select, .form-field textarea{
  padding:12px 14px; border:1.5px solid var(--color-border); border-radius:var(--radius-sm);
  font-family:inherit; font-size:.95rem; background:#fff; color:var(--color-text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:none; border-color:var(--color-primary); box-shadow:0 0 0 3px var(--color-primary-light);
}
.form-note{ font-size:.78rem; color:var(--color-text-soft); margin-top:var(--space-2); }
.form-success{ display:none; background:#ECFDF5; border:1px solid #A7F3D0; color:#065F46; padding:var(--space-4); border-radius:var(--radius-sm); font-weight:600; }

/* FAQ accordion */
.faq-item{ border-bottom:1px solid var(--color-border); }
.faq-q{ display:flex; justify-content:space-between; align-items:center; padding:var(--space-5) 0; font-weight:700; color:var(--color-navy); background:none; border:none; width:100%; text-align:left; font-size:1rem; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a p{ padding-bottom:var(--space-4); }
.faq-item.open .faq-a{ max-height:300px; }
.faq-item.open .faq-icon{ transform:rotate(45deg); }
.faq-icon{ transition:transform .2s ease; font-size:1.3rem; color:var(--color-primary); }

/* Testimonial */
.testimonial{ background:var(--color-bg-off); border-radius:var(--radius-lg); padding:var(--space-7); }
.testimonial p{ font-size:1.15rem; color:var(--color-navy); font-family:var(--font-heading); font-weight:600; line-height:1.5; }
.testimonial .author{ display:flex; align-items:center; gap:12px; margin-top:var(--space-5); }
.testimonial .author img{ width:46px; height:46px; border-radius:50%; object-fit:cover; }
.testimonial .author b{ display:block; font-size:.9rem; color:var(--color-navy); }
.testimonial .author span{ font-size:.8rem; color:var(--color-text-soft); }

/* Tabs (grade levels) */
.tab-row{ display:flex; gap:10px; margin-bottom:var(--space-6); flex-wrap:wrap; }
.tab-btn{ padding:10px 20px; border-radius:100px; border:1.5px solid var(--color-border); background:#fff; font-weight:700; font-size:.88rem; color:var(--color-text-muted); }
.tab-btn.active{ background:var(--color-navy); border-color:var(--color-navy); color:#fff; }

/* Utility */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.mb-0{ margin-bottom:0; }
.demo-flag{ display:inline-block; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; background:#FEF3C7; color:#92400E; padding:3px 8px; border-radius:4px; margin-left:8px; vertical-align:middle; }

@media (max-width:700px){
  .form-grid{ grid-template-columns:1fr; }
  .stats-strip{ justify-content:flex-start; }
  .footer-bottom{ flex-direction:column; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* =========================================================
   HOMEPAGE V3 — icon-driven, per reference layout
   ========================================================= */

/* Hero video (split layout: typography left, video panel right) */
.hero-v2{ padding:0; overflow:hidden; position:relative; }
.hero-video-bg{ position:relative; min-height:560px; display:flex; align-items:center; overflow:hidden; }
.hero-video-bg video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.hero-video-bg::before{ content:''; position:absolute; inset:0; background:linear-gradient(100deg, rgba(10,14,26,.82) 0%, rgba(10,14,26,.55) 45%, rgba(10,14,26,.25) 100%); z-index:1; }
.hero-v2-copy{ position:relative; z-index:2; padding:var(--space-9) var(--space-6); max-width:640px; }
.hero-v2-copy h1{ color:#fff; font-size:clamp(2.4rem,5vw,3.6rem); line-height:1.08; margin-bottom:var(--space-4); }
.hero-v2-copy h1 .accent{ color:#5B9BFF; }
.hero-v2-copy p.lead{ color:#E2E8F0; }
.hero-tech-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:var(--space-6); position:relative; z-index:2; padding:0 var(--space-6) var(--space-6); }
.hero-tech-row .chip{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.25); color:#fff; display:inline-flex; align-items:center; gap:6px; }
.hero-tech-row .chip svg{ width:14px; height:14px; }

/* Icon badges — shared across glance / tech / services */
.icon-badge{ width:48px; height:48px; border-radius:var(--radius-md); display:flex; align-items:center; justify-content:center; margin-bottom:var(--space-4); }
.icon-badge svg{ width:24px; height:24px; stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.icon-badge.blue{ background:var(--color-primary-light); color:var(--color-primary); }
.icon-badge.green{ background:#EAFBEF; color:var(--accent-green); }
.icon-badge.purple{ background:#F3EEFE; color:var(--accent-purple); }
.icon-badge.orange{ background:#FFF1E8; color:var(--accent-orange); }

/* Glance quadrants (Section 03) — individual elevated cards */
.glance-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-5); }
.glance-card{ background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-lg); padding:var(--space-6) var(--space-5); box-shadow:var(--shadow-sm); transition:box-shadow .15s ease, transform .15s ease; }
.glance-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-2px); }
.glance-card h3{ font-size:1.05rem; margin-bottom:var(--space-3); }
.glance-card ul li{ font-size:.85rem; color:var(--color-text-muted); padding:4px 0; }
.glance-card .glance-link{ display:inline-block; margin-top:var(--space-4); font-size:.85rem; font-weight:700; }
.glance-card .glance-link.blue{ color:var(--color-primary); }
.glance-card .glance-link.green{ color:var(--accent-green); }
.glance-card .glance-link.purple{ color:var(--accent-purple); }
.glance-card .glance-link.orange{ color:var(--accent-orange); }
@media (max-width:900px){ .glance-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .glance-grid{ grid-template-columns:1fr; } }

/* Technology strip (Section 04) — bordered icon tiles, centered */
.tech-grid{ display:grid; grid-template-columns:repeat(8,1fr); gap:var(--space-4); }
.tech-tile{ background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-md); padding:var(--space-5) var(--space-3); text-align:center; transition:border-color .15s ease, box-shadow .15s ease; }
.tech-tile:hover{ border-color:var(--color-primary); box-shadow:var(--shadow-sm); }
.tech-tile .icon-badge{ margin:0 auto var(--space-3); }
.tech-tile h3{ font-size:.82rem; margin-bottom:0; }
@media (max-width:900px){ .tech-grid{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:560px){ .tech-grid{ grid-template-columns:repeat(2,1fr); } }

/* Services icon row (Section 07) — same tile language, with description */
.service-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:var(--space-4); }
.service-tile{ background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-md); padding:var(--space-5) var(--space-4); text-align:center; }
.service-tile .icon-badge{ margin:0 auto var(--space-3); width:40px; height:40px; }
.service-tile .icon-badge svg{ width:20px; height:20px; }
.service-tile h3{ font-size:.88rem; margin-bottom:4px; }
.service-tile p{ font-size:.76rem; margin-bottom:0; color:var(--color-text-soft); }
@media (max-width:900px){ .service-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .service-grid{ grid-template-columns:repeat(2,1fr); } }

/* Split editorial (school solutions with photo one side) */
.split-panel{ display:grid; grid-template-columns:1fr 1fr; gap:var(--space-8); align-items:center; }
.split-panel img{ border-radius:var(--radius-lg); width:100%; aspect-ratio:4/3.4; object-fit:cover; box-shadow:var(--shadow-md); }
.split-list{ display:grid; grid-template-columns:1fr 1fr; gap:var(--space-4); margin-top:var(--space-6); }
.split-list li{ font-size:.9rem; font-weight:600; color:var(--color-navy); padding:10px 0 10px 20px; border-left:2px solid var(--color-border); }
@media (max-width:860px){ .split-panel{ grid-template-columns:1fr; } .split-list{ grid-template-columns:1fr; } }

/* Combined Why-Botixbo + Impact (Section 09+10) */
.why-impact-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:var(--space-8); align-items:start; }
.differentiator-list-single{ display:flex; flex-direction:column; gap:var(--space-5); }
.differentiator{ display:flex; gap:var(--space-4); }
.differentiator .diff-num{ font-family:var(--font-heading); font-weight:800; font-size:1.5rem; color:var(--color-primary); opacity:.35; flex-shrink:0; width:40px; }
.differentiator h3{ font-size:1rem; margin-bottom:2px; }
.differentiator p{ font-size:.87rem; margin-bottom:0; }
.stat-card-blue{ background:var(--color-primary); border-radius:var(--radius-lg); padding:var(--space-7) var(--space-6); color:#fff; }
.stat-card-blue h3{ color:#fff; text-align:center; font-size:1.05rem; margin-bottom:var(--space-6); }
.stat-card-blue .stats-strip{ justify-content:space-between; }
.stat-card-blue .icon-badge{ background:rgba(255,255,255,.15); color:#fff; margin:0 auto var(--space-3); width:38px; height:38px; }
.stat-card-blue .icon-badge svg{ width:18px; height:18px; }
.stat-card-blue .stat{ flex:1; }
.stat-card-blue .stat b{ color:#fff; font-size:1.7rem; }
.stat-card-blue .stat span{ color:#DCE7FF; }
@media (max-width:900px){ .why-impact-grid{ grid-template-columns:1fr; } }

/* Age-group program band (Section 06) — image + checklist card */
.age-band{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-5); }
.age-card{ border-radius:var(--radius-lg); border:1px solid var(--color-border); overflow:hidden; background:#fff; }
.age-card img{ width:100%; aspect-ratio:16/10; object-fit:cover; display:block; }
.age-card .age-card-body{ padding:var(--space-5); }
.age-card .age-range{ font-size:.72rem; font-weight:700; color:var(--color-text-soft); text-transform:uppercase; letter-spacing:.05em; }
.age-card h3{ font-size:1.25rem; margin:4px 0 var(--space-3); color:var(--color-primary); }
.age-card ul li{ font-size:.85rem; color:var(--color-text-muted); padding:4px 0; display:flex; gap:6px; align-items:flex-start; }
.age-card ul li::before{ content:'✓'; color:var(--accent-green); font-weight:700; }
@media (max-width:900px){ .age-band{ grid-template-columns:1fr; } }

/* Project carousel (Section 08) */
.carousel-wrap{ position:relative; }
.carousel-track{ display:flex; gap:var(--space-5); overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px; scrollbar-width:none; }
.carousel-track::-webkit-scrollbar{ display:none; }
.carousel-track .project-card{ flex:0 0 260px; scroll-snap-align:start; }
.project-card{ position:relative; border-radius:var(--radius-md); overflow:hidden; aspect-ratio:4/3.2; }
.project-card img{ width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.project-card:hover img{ transform:scale(1.04); }
.project-card .project-overlay{ position:absolute; inset:0; background:linear-gradient(to top, rgba(15,23,42,.9), rgba(15,23,42,0) 60%); display:flex; flex-direction:column; justify-content:flex-end; padding:var(--space-4); }
.project-card h3{ color:#fff; font-size:.92rem; margin-bottom:4px; }
.project-card .project-meta{ color:#CBD5E1; font-size:.74rem; font-weight:600; }
.carousel-arrow{ position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%; background:#fff; border:1px solid var(--color-border); display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:3; box-shadow:var(--shadow-md); color:var(--color-navy); }
.carousel-arrow.prev{ left:-8px; } .carousel-arrow.next{ right:-8px; }
@media (max-width:700px){ .carousel-arrow{ display:none; } }

/* Combined testimonials + media (Section 11+12+13) */
.trust-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-5); align-items:stretch; }
.trust-card{ background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-lg); padding:var(--space-6); display:flex; flex-direction:column; }
.trust-card h3{ font-size:1.02rem; margin-bottom:var(--space-4); }
.trust-card p.quote{ font-size:.92rem; color:var(--color-navy); font-weight:500; line-height:1.5; flex:1; }
.trust-card .author{ display:flex; align-items:center; gap:10px; margin-top:var(--space-4); }
.trust-card .author img{ width:38px; height:38px; border-radius:50%; object-fit:cover; }
.trust-card .author b{ display:block; font-size:.85rem; color:var(--color-navy); }
.trust-card .author span{ font-size:.74rem; color:var(--color-text-soft); }
.trust-card .news-thumb{ display:flex; gap:12px; margin-top:auto; }
.trust-card .news-thumb img{ width:64px; height:64px; border-radius:var(--radius-sm); object-fit:cover; flex-shrink:0; }
.trust-card .news-thumb h4{ font-size:.88rem; margin:0 0 4px; color:var(--color-navy); font-family:var(--font-heading); font-weight:700; }
.trust-card .news-thumb span{ font-size:.72rem; color:var(--color-text-soft); }
.trust-card .view-link{ font-size:.82rem; font-weight:700; color:var(--color-primary); margin-top:var(--space-4); display:inline-block; }
@media (max-width:900px){ .trust-row{ grid-template-columns:1fr; } }

/* Books + Resources split (Section 15) */
.books-resources-grid{ display:grid; grid-template-columns:1fr 1fr; gap:var(--space-8); }
@media (max-width:900px){ .books-resources-grid{ grid-template-columns:1fr; } }
.book-cover{ aspect-ratio:3/4; border-radius:var(--radius-sm); display:flex; align-items:flex-end; padding:var(--space-3); box-shadow:var(--shadow-md); }
.book-cover span{ color:#fff; font-family:var(--font-heading); font-weight:700; font-size:.8rem; }
.book-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-4); }
@media (max-width:600px){ .book-row{ grid-template-columns:repeat(2,1fr); } }
.coming-soon-badge{ display:inline-block; font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; background:#fff; color:var(--color-navy); padding:3px 8px; border-radius:4px; margin-top:8px; }
.resource-mini-card{ display:flex; gap:12px; align-items:flex-start; padding:var(--space-4) 0; border-top:1px solid var(--color-border); }
.resource-mini-card:first-child{ border-top:none; }
.resource-mini-card .icon-badge{ width:38px; height:38px; flex-shrink:0; margin-bottom:0; }
.resource-mini-card .icon-badge svg{ width:18px; height:18px; }
.resource-mini-card h4{ font-size:.9rem; margin:0 0 4px; }
.resource-mini-card a{ font-size:.78rem; font-weight:700; color:var(--color-primary); }

/* Final CTA (blue, with subtle decorative mark) */
.final-cta{ background:var(--color-primary); border-radius:var(--radius-lg); padding:var(--space-9) var(--space-8); text-align:center; position:relative; overflow:hidden; }
.final-cta h2{ color:#fff; font-size:clamp(1.8rem,3vw,2.6rem); }
.final-cta p{ color:#DCE7FF; max-width:620px; margin:0 auto var(--space-6); }
.final-cta .cta-mascot{ position:absolute; left:var(--space-6); bottom:var(--space-5); width:70px; height:70px; opacity:.25; }
@media (max-width:700px){ .final-cta .cta-mascot{ display:none; } }

/* Reveal-on-scroll (respects reduced motion via existing global rule) */
.reveal{ opacity:1; }

/* Brand statement bar (ported from the reference Next.js site's Progression.tsx) */
.brand-stmt{ background:#fff; position:relative; overflow:hidden; padding:72px 0; }
.brand-stmt-grid{ position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:64px; align-items:center; }
.brand-stmt-h{ font-size:clamp(34px,4vw,52px); font-weight:700; line-height:1.18; letter-spacing:-.01em; color:var(--color-navy); margin:0; }
.brand-stmt-side{ padding:28px 0 28px 40px; border-left:1px solid var(--color-border); }
.brand-stmt-eyebrow{ font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--color-primary); display:block; margin-bottom:16px; }
.brand-stmt-p{ font-size:clamp(17px,1.4vw,20px); line-height:1.7; color:var(--color-text-muted); margin:0; }
.brand-stmt-rule{ display:block; width:64px; height:3px; border-radius:2px; background:linear-gradient(90deg,var(--color-primary),#5B9BFF); margin-top:28px; }
@media (max-width:860px){ .brand-stmt-grid{ grid-template-columns:1fr; gap:28px; } .brand-stmt-side{ border-left:none; padding-left:0; } }

/* Interactive Tech Explorer (list + live visual swap — ported from TechExplorer.tsx) */
.tex{ display:grid; grid-template-columns:.85fr 1.15fr; gap:16px; align-items:stretch; margin-top:12px; }
.tex-list{ display:flex; flex-direction:column; gap:6px; }
.tex-item{ display:flex; align-items:center; gap:15px; background:transparent; border:1px solid transparent; border-radius:14px; padding:16px 18px; text-align:left; cursor:pointer; transition:all .3s ease; width:100%; }
.tex-item:hover, .tex-item:focus-visible{ background:#fff; border-color:var(--color-border); }
.tex-item.active{ background:#fff; border-color:rgba(26,101,245,.25); box-shadow:0 16px 34px -22px rgba(26,101,245,.35); }
.tex-item .tico{ width:46px; height:46px; border-radius:12px; background:linear-gradient(135deg,var(--color-primary-light),#D2E3FD); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .3s ease; }
.tex-item.active .tico{ background:linear-gradient(135deg,var(--color-primary),var(--color-primary-dark)); }
.tex-item .tico svg{ width:22px; height:22px; stroke:var(--color-primary); fill:none; stroke-width:2; transition:stroke .3s ease; }
.tex-item.active .tico svg{ stroke:#fff; }
.tex-item-text h4{ font-size:18px; font-weight:600; color:var(--color-navy); margin:0; }
.tex-item-text span{ font-size:13.5px; color:var(--color-text-soft); }
.tex-visual{ position:relative; border-radius:20px; overflow:hidden; min-height:420px; box-shadow:0 30px 60px -28px rgba(15,23,42,.3); }
.tex-visual img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.tex-visual-tint{ position:absolute; inset:0; background:linear-gradient(0deg,rgba(8,9,11,.82) 0%,rgba(8,9,11,.15) 55%,transparent 80%); }
.tex-visual-copy{ position:absolute; left:0; right:0; bottom:0; padding:32px; color:#fff; }
.tex-visual-copy h3{ font-size:clamp(24px,2.4vw,30px); font-weight:700; margin-bottom:10px; color:#fff; text-shadow:0 2px 12px rgba(0,0,0,.4); }
.tex-visual-copy p{ font-size:16px; color:rgba(255,255,255,.85); max-width:440px; line-height:1.65; margin:0; }
@media (max-width:860px){ .tex{ grid-template-columns:1fr; } .tex-visual{ min-height:280px; order:-1; } }

/* Services band — blue full-width, matches the reference site's .services treatment */
.services-blue{ position:relative; background:linear-gradient(155deg,var(--color-primary-dark),var(--color-navy)); overflow:hidden; }
.services-blue::before{ content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:36px 36px; -webkit-mask-image:radial-gradient(120% 90% at 50% 0%,#000,transparent 75%); mask-image:radial-gradient(120% 90% at 50% 0%,#000,transparent 75%); }
.services-blue h2, .services-blue h2.sec-title{ color:#fff; position:relative; z-index:1; }
.services-blue .eyebrow{ color:rgba(255,255,255,.85); }
.services-blue .eyebrow::before{ background:rgba(255,255,255,.85); }
.services-blue p{ color:rgba(255,255,255,.78); position:relative; z-index:1; }
.services-blue .service-tile{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.18); position:relative; z-index:1; }
.services-blue .service-tile h3{ color:#fff; }
.services-blue .service-tile p{ color:rgba(255,255,255,.65); }
.services-blue .service-tile .icon-badge{ background:rgba(255,255,255,.15); color:#fff; }

/* Impact stats — enlarged to match the reference site's scale */
.stat-card-blue{ padding:44px; border-radius:22px; box-shadow:0 34px 70px -30px rgba(26,101,245,.55); }
.stat-card-blue .stat b{ font-size:clamp(38px,3.4vw,52px); }

/* ============ SECTION RHYTHM ============
   Elementor's own top-level sections carry no vertical padding of their
   own — only whichever content-grid class each one uses (split-panel,
   why-impact-grid, books-resources-grid, etc.), and those classes are
   layout-only, not spacing. Without this, most sections had *zero*
   top/bottom breathing room, which is what made the page read as
   cramped/scattered next to the reference Next.js site (whose every
   section is wrapped in .section{padding:96px 0}). This restores that
   same rhythm uniformly, and widens Elementor's own inner content
   width (1140px default) to match the reference site's 1240px so line
   lengths/margins line up too. Full-bleed sections (hero video, the
   dark project-carousel band) opt out since they manage their own
   edge-to-edge spacing already. */
/* NOTE: these Elementor-wide spacing rules applied to the old
   hand-approximated homepage build. The homepage now renders from the
   real site's own markup + stylesheet (botixbo-real.css), which handles
   its own section rhythm, so they are scoped away from it here to avoid
   double-padding. They still apply to the CPT templates. */
:not(.botixbo) > .elementor-top-section{ padding-top:var(--space-9); padding-bottom:var(--space-9); }
:not(.botixbo) > .elementor-top-section.hero-v2{ padding-top:0; padding-bottom:0; }
@media (max-width:900px){
  :not(.botixbo) > .elementor-top-section{ padding-top:var(--space-7); padding-bottom:var(--space-7); }
}
