﻿/* Solventa Enterprises — Global Styles */

:root {
  --primary-blue: #0A2B6E;
  --accent-blue: #1A7FE8;
  --green: #3AAB45;
  --white: #FFFFFF;
  --navy-text: #07193D;
  --light-bg: #F4F7FC;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-stats: 'Bebas Neue', sans-serif;
  --max-width: 1200px;
  --section-pad: 100px;
  --section-pad-mobile: 60px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
  --shadow-card: 0 4px 24px rgba(10, 43, 110, 0.10);
  --shadow-card-hover: 0 12px 40px rgba(10, 43, 110, 0.18);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--navy-text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy-text);
  position: relative;
  padding-left: 0;
}

.section-heading.has-accent::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--green);
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
  border-color: var(--accent-blue);
}

.btn-primary:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy-text);
}

.btn-white {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--light-bg);
}

.btn-pill {
  border-radius: 50px;
}

.btn-nav {
  padding: 10px 22px;
  font-size: 0.875rem;
}

/* Navigation */
header {
  overflow: visible;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: clamp(8px, 1.25vw, 12px) 0;
  overflow: visible;
  transform: translateY(0);
  transition:
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background var(--transition),
    padding var(--transition),
    box-shadow var(--transition);
}

.site-nav.nav-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.site-nav.scrolled {
  background: var(--navy-text);
  padding: clamp(8px, 1.25vw, 12px) 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  overflow: visible;
}

/* Logo — same file on every page: images/brand/logo-solventa.svg */
.nav-logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  overflow: visible;
}

.nav-logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1244 / 488;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

/* Navbar: short row; logo sized by height so the bar stays slim */
.site-nav .nav-logo {
  position: relative;
  width: clamp(128px, 30vw, 200px);
  max-width: calc(100vw - 6.5rem);
  height: 2.5rem;
  overflow: visible;
}

.site-nav .nav-logo img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: clamp(2.5rem, 7vw, 3.25rem);
  max-width: 100%;
  max-height: none;
  aspect-ratio: auto;
}

@media (min-width: 768px) {
  .site-nav .nav-logo {
    width: clamp(148px, 16vw, 220px);
    max-width: none;
  }

  .site-nav .nav-logo img {
    height: 3.25rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-drawer__logo {
  display: block;
  width: min(260px, 85vw);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-drawer__logo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1244 / 488;
  object-fit: contain;
  object-position: left center;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--navy-text);
  padding: 72px 24px 32px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--transition), opacity 0.4s, visibility 0.4s;
  z-index: 999;
  max-height: 100vh;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-drawer a {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer a.active {
  color: var(--green);
}

.mobile-drawer .btn {
  margin-top: 20px;
  width: 100%;
}

/* Hero — full */
.hero-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--navy-text);
  padding-top: 80px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 40px,
      rgba(26, 127, 232, 0.04) 40px,
      rgba(26, 127, 232, 0.04) 41px
    ),
    var(--navy-text);
}

.hero-half {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  background: var(--navy-text);
  padding: 120px 0 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title .line-white { color: var(--white); display: block; }
.hero-title .line-gradient {
  display: block;
  background: linear-gradient(90deg, var(--accent-blue), #5eb3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-tagline {
  font-family: var(--font-heading);
  color: var(--green);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--white); }

.hero-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  font-weight: 700;
}

/* Card stack (hero) */
.card-stack {
  position: relative;
  height: 380px;
  perspective: 1000px;
}

.stack-card {
  position: absolute;
  width: 280px;
  padding: 24px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-card-hover);
  border-top: 3px solid var(--green);
}

.stack-card:nth-child(1) {
  top: 0;
  right: 0;
  transform: rotate(6deg) translateZ(20px);
  z-index: 3;
}

.stack-card:nth-child(2) {
  top: 60px;
  right: 40px;
  transform: rotate(-3deg);
  z-index: 2;
}

.stack-card:nth-child(3) {
  top: 120px;
  right: 80px;
  transform: rotate(2deg);
  z-index: 1;
}

.stack-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.stack-card p {
  font-size: 0.875rem;
  color: #555;
}

.stack-card .card-img {
  height: 120px;
  border-radius: 6px;
  margin-bottom: 16px;
  background-size: cover;
  background-position: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  z-index: 2;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background: var(--green);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* Stats strip */
.stats-strip {
  background: var(--accent-blue);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-stats);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-item .stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-top: 4px;
}

.clients-stats .stat-number {
  color: var(--primary-blue);
}

.clients-stats .stat-item {
  text-align: center;
}

/* Sections */
.section {
  padding: var(--section-pad-mobile) 0;
}

.section-light { background: var(--light-bg); }
.section-dark { background: var(--navy-text); color: var(--white); }
.section-dark .section-heading { color: var(--white); }
.section-dark .section-label { color: var(--green); }

/* Wave divider */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* Product cards */
.products-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.products-scroll::-webkit-scrollbar { height: 6px; }
.products-scroll::-webkit-scrollbar-thumb { background: var(--accent-blue); border-radius: 3px; }

.product-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--green);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.product-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.product-card-img.gradient-only {
  background: linear-gradient(135deg, var(--primary-blue), var(--green));
}

.product-card-body {
  padding: 24px;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary-blue);
}

.product-card p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 16px;
}

.product-card .link-more {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-card .link-more:hover { color: var(--green); }

.products-grid-desktop {
  display: none;
}

/* Why strip */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-feature svg {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--green);
}

.why-feature h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.why-feature p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow-card);
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-card .author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-text);
}

.testimonial-card .role {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-top: 4px;
}

.testimonial-card.large {
  padding: 40px;
}

.testimonial-card.large blockquote {
  font-size: 1.1rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
  padding: 80px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Mission / Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.mv-card {
  padding: 40px;
  border-radius: 8px;
  color: var(--white);
}

.mv-card.mission { background: var(--accent-blue); }
.mv-card.vision { background: var(--navy-text); }

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.9;
}

.mv-card p {
  font-size: 1.15rem;
  line-height: 1.6;
}

/* Story block */
.story-block {
  border-left: 4px solid var(--green);
  padding-left: 32px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  max-width: 900px;
}

/* Commitment cards */
.commitment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.commitment-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--green);
}

.commitment-card .icon-wrap {
  width: 48px;
  height: 48px;
  color: var(--green);
  margin-bottom: 16px;
}

.commitment-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

/* Product detail alternating */
.product-section {
  padding: var(--section-pad-mobile) 0;
}

.product-section:nth-child(even) { background: var(--light-bg); }

.product-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.product-row.reverse .product-visual { order: -1; }

.product-visual {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.product-visual img,
.product-visual .img-placeholder {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.product-visual .floating-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--navy-text);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

.spec-list {
  margin: 20px 0;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.spec-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Diagram */
.cbe-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 24px;
  background: var(--light-bg);
  border-radius: 8px;
}

.diagram-node {
  background: var(--white);
  border: 2px solid var(--primary-blue);
  padding: 16px 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  min-width: 120px;
}

.diagram-arrow {
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Sub-cards (chromebooks) */
.sub-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

.sub-card {
  background: var(--white);
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--green);
}

.sub-card h4 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.sub-card .specs-detail {
  font-size: 0.85rem;
  color: #666;
  margin-top: 12px;
  line-height: 1.7;
}

/* Service sections */
.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: var(--section-pad-mobile) 0;
  border-bottom: 1px solid rgba(10, 43, 110, 0.08);
}

.service-block:nth-child(even) { background: var(--light-bg); }

.service-block .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .service-block .container {
    grid-template-columns: 1fr 1fr;
  }
  .service-block:nth-child(even) .service-block-img {
    order: 2;
  }
}

.service-block-img {
  height: 280px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.service-block h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.service-list {
  margin-top: 16px;
  padding-left: 1.25rem;
  color: var(--navy-text);
}

.service-list li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.service-list li::marker {
  color: var(--green);
}

/* Homepage video */
.video-feature__lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.6;
}

.video-feature__player {
  position: relative;
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  cursor: pointer;
}

.video-feature__player video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 520px);
  vertical-align: middle;
}

.video-feature__player a {
  color: var(--accent-blue);
}

.video-feature__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: none;
  background: linear-gradient(180deg, rgba(7, 25, 61, 0.35) 0%, rgba(7, 25, 61, 0.55) 100%);
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.35s ease, visibility 0.35s ease, background 0.3s ease;
}

.video-feature__play:hover {
  background: linear-gradient(180deg, rgba(7, 25, 61, 0.45) 0%, rgba(7, 25, 61, 0.65) 100%);
}

.video-feature__play-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 14vw, 96px);
  height: clamp(72px, 14vw, 96px);
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 8px 32px rgba(26, 127, 232, 0.55);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.video-feature__play:hover .video-feature__play-ring {
  transform: scale(1.06);
  background: var(--green);
  box-shadow: 0 10px 36px rgba(58, 171, 69, 0.5);
}

.video-feature__play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--white);
}

.video-feature__play-label {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-feature__player.is-playing .video-feature__play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-feature__player.is-playing {
  cursor: default;
}

.service-training-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

.training-item {
  padding: 20px;
  background: var(--light-bg);
  border-radius: 8px;
  border-left: 3px solid var(--green);
}

.training-item h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

/* Advantage sections */
.advantage-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(10, 43, 110, 0.08);
  align-items: start;
}

.advantage-num {
  font-family: var(--font-stats);
  font-size: 4rem;
  color: var(--accent-blue);
  line-height: 1;
  opacity: 0.4;
}

.advantage-item h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

/* Comparison table */
.comparison-wrap {
  overflow-x: auto;
  margin-top: 48px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--light-bg);
}

.comparison-table th {
  background: var(--primary-blue);
  color: var(--white);
  font-family: var(--font-heading);
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table td:first-child { font-weight: 600; }

.comparison-table .highlight { color: var(--green); font-weight: 600; }

/* Clients grid */
.clients-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.client-logo-box {
  aspect-ratio: 2/1;
  background: var(--light-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-text);
  border: 1px solid rgba(10, 43, 110, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.client-logo-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.clients-showcase {
  margin: 0 auto;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.clients-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--navy-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e6f0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
}

.form-group .error-msg {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.error .error-msg { display: block; }

.contact-sidebar {
  background: var(--navy-text);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
}

.contact-sidebar h3 {
  font-family: var(--font-heading);
  margin-bottom: 24px;
}

.contact-detail {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.contact-detail strong {
  display: block;
  color: var(--green);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-detail a:hover { color: var(--green); }

.contact-map-col__lead {
  margin-top: 12px;
  max-width: 520px;
  color: #555;
  line-height: 1.6;
}

.contact-map--main {
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  min-height: 320px;
  background: var(--light-bg);
  border: 1px solid rgba(10, 43, 110, 0.1);
  box-shadow: var(--shadow-card);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.social-links a:hover {
  background: var(--green);
  border-color: var(--green);
}

.form-success {
  display: none;
  padding: 16px;
  background: rgba(58, 171, 69, 0.15);
  border: 1px solid var(--green);
  border-radius: 4px;
  color: var(--green);
  font-weight: 600;
}

.form-success.show { display: block; }

/* WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  background: #25d366;
  border: 2px solid #25d366;
  border-radius: 4px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-whatsapp:hover {
  color: var(--white);
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-1px);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-whatsapp--sm {
  padding: 8px 14px;
  font-size: 0.8rem;
}

.btn-whatsapp--sm svg {
  width: 16px;
  height: 16px;
}

.contact-detail--whatsapp {
  margin-top: 8px;
}

.contact-detail--whatsapp .btn-whatsapp {
  margin-top: 8px;
  width: 100%;
}

.contact-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-weight: 600;
  color: #25d366;
}

.contact-whatsapp-link:hover {
  color: #1da851;
}

.social-links a.social-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.whatsapp-float:hover {
  color: var(--white);
  background: #1da851;
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Footer */
.site-footer {
  background: var(--navy-text);
  color: rgba(255, 255, 255, 0.85);
  border-top: 3px solid var(--green);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .nav-logo {
  display: block;
  width: min(260px, 100%);
  margin-bottom: 16px;
}

.footer-brand .nav-logo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1244 / 488;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 6px 0;
  opacity: 0.8;
}

.footer-col a:hover {
  color: var(--green);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }

/* Page header utilities */
.text-center { text-align: center; }
.mb-48 { margin-bottom: 48px; }
.mt-48 { margin-top: 48px; }

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-heading.has-accent::before {
  margin-left: auto;
  margin-right: auto;
}

/* Hero image overlay */
.hero-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-text) 40%, transparent 100%);
}

/* Responsive */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .mobile-drawer { display: none; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .mv-grid { grid-template-columns: repeat(2, 1fr); }
  .commitment-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .product-row { grid-template-columns: 1fr 1fr; }
  .product-row.reverse .product-visual { order: 2; }
  .product-row.reverse .product-content { order: 1; }
  .sub-cards { grid-template-columns: repeat(3, 1fr); }
  .service-block { grid-template-columns: 1fr 1fr; }
  .service-training-grid { grid-template-columns: repeat(3, 1fr); }
  .client-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-split { grid-template-columns: 1.5fr 1fr; }

  .products-scroll { display: none; }
  .products-grid-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .products-grid-desktop .product-card {
    flex: unset;
  }

  .hero-split { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1200px) {
  .section { padding: var(--section-pad) 0; }
  .product-section { padding: var(--section-pad) 0; }
  .service-block { padding: var(--section-pad) 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .client-logo-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid-desktop { grid-template-columns: repeat(3, 1fr); }
}

/* Fifth product card spans on desktop - use 2 row layout for 5 items */
@media (min-width: 768px) {
  .products-grid-desktop.five-items {
    grid-template-columns: repeat(6, 1fr);
  }
  .products-grid-desktop.five-items .product-card:nth-child(1),
  .products-grid-desktop.five-items .product-card:nth-child(2),
  .products-grid-desktop.five-items .product-card:nth-child(3) {
    grid-column: span 2;
  }
  .products-grid-desktop.five-items .product-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .products-grid-desktop.five-items .product-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* ===== Homepage hero (Zoho-inspired suite layout) ===== */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-home .site-nav.nav-over-hero {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(10, 43, 110, 0.08);
}

.page-home .site-nav.nav-over-hero.scrolled {
  box-shadow: 0 4px 24px rgba(10, 43, 110, 0.08);
}

.page-home .site-nav.nav-over-hero .nav-links a {
  color: var(--navy-text);
}

.page-home .site-nav.nav-over-hero .nav-toggle span {
  background: var(--navy-text);
}

.page-home .site-nav.nav-over-hero .nav-actions .btn-primary.btn-nav {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--white);
}

.page-home .site-nav.nav-over-hero .nav-actions .btn-primary.btn-nav:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

.hero-suite {
  position: relative;
  padding: clamp(72px, 10vw, 88px) 24px 64px;
  min-height: auto;
  overflow: hidden;
  background: var(--light-bg);
}

.hero-suite::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/products/classroom-tech-suite.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-suite::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(244, 247, 252, 0.55) 45%,
    rgba(255, 255, 255, 0.68) 100%
  );
  z-index: 1;
}

.hero-suite__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-suite__intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.hero-suite__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.hero-suite__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  color: var(--navy-text);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.85);
}

.hero-suite__lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.65;
  color: #3d4a5c;
  margin: 0 auto 32px;
  max-width: 720px;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.8);
}

.hero-suite__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: var(--accent-blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(26, 127, 232, 0.35);
}

.hero-suite__cta:hover {
  background: #1570CC;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 127, 232, 0.4);
}

.hero-suite__showcase {
  display: grid;
  grid-template-columns: minmax(280px, 36%) 1fr;
  gap: 16px;
  align-items: stretch;
}

.hero-suite__featured {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary-blue) 0%, var(--accent-blue) 55%, #2d9a6a 100%);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 360px;
}

.hero-suite__featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.hero-suite__featured-media {
  flex: 1;
  min-height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-suite__featured-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(7, 25, 61, 0.75) 100%);
}

.hero-suite__featured-body {
  padding: 24px 28px 28px;
  position: relative;
  z-index: 1;
  margin-top: -8px;
}

.hero-suite__featured-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-suite__featured-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 8px 0 12px;
  line-height: 1.2;
}

.hero-suite__featured-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 20px;
}

.hero-suite__featured-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--white);
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.hero-suite__featured:hover .hero-suite__featured-btn {
  background: var(--light-bg);
}

.hero-suite__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}

.hero-suite__tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid rgba(10, 43, 110, 0.08);
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy-text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 2px 12px rgba(10, 43, 110, 0.04);
}

.hero-suite__tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(26, 127, 232, 0.2);
}

.hero-suite__tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.hero-suite__tile-icon--blue {
  background: rgba(26, 127, 232, 0.12);
  color: var(--accent-blue);
}

.hero-suite__tile-icon--navy {
  background: rgba(7, 25, 61, 0.08);
  color: var(--navy-text);
}

.hero-suite__tile-icon--green {
  background: rgba(58, 171, 69, 0.12);
  color: var(--green);
}

.hero-suite__tile-icon--teal {
  background: rgba(26, 127, 232, 0.08);
  color: #1a8f7a;
}

.hero-suite__tile-icon--accent {
  background: rgba(26, 127, 232, 0.1);
  color: var(--accent-blue);
}

.hero-suite__tile-icon--primary {
  background: rgba(10, 43, 110, 0.1);
  color: var(--primary-blue);
}

.hero-suite__tile h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--primary-blue);
}

.hero-suite__tile p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6b7280;
  margin: 0;
}

.hero-anim-1 { animation: heroFadeUp 0.6s ease 0.05s both; }
.hero-anim-2 { animation: heroFadeUp 0.6s ease 0.15s both; }
.hero-anim-3 { animation: heroFadeUp 0.6s ease 0.25s both; }
.hero-anim-4 { animation: heroFadeUp 0.6s ease 0.35s both; }
.hero-anim-5 { animation: heroFadeUp 0.7s ease 0.45s both; }

@media (max-width: 1024px) {
  .hero-suite__showcase {
    grid-template-columns: 1fr;
  }

  .hero-suite__featured {
    min-height: 320px;
  }

  .hero-suite__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
}

@media (max-width: 600px) {
  .hero-suite {
    padding: 100px 16px 48px;
  }

  .hero-suite__intro {
    margin-bottom: 40px;
  }

  .hero-suite__grid {
    grid-template-columns: 1fr;
  }

  .hero-suite__tile {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }

  .hero-suite__tile-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}
