/* ============================================
   CSoft Healthcare Solutions — Main Stylesheet (style.css)
   ============================================
   Loaded on every page alongside responsive.css (mobile overrides).

   Design tokens: :root CSS variables (teal/green palette, spacing, shadows)

   Section index (search "====" to jump):
     1.  Reset & Base           — box model, typography, links
     2.  Utility Classes         — .container, .section, .fade-in
     3.  Buttons                 — .btn variants (primary, outline, whatsapp)
     4.  Header / Navigation     — sticky header, dropdown, mobile nav
     5.  Hero Section            — homepage slideshow + hero layout
     6.  Trust Bar               — logo strip below hero
     7.  Cards                   — .card-grid product/solution cards
     8.  Problem Section         — homepage pain-point grid
     9.  Platform Overview       — foundation product cards
    10.  Solutions Section       — solution area tiles
    11.  Why CSoft Section       — differentiators grid
    12.  CTA Section             — full-width call-to-action band
    13.  Footer                  — site footer + legal links
    14.  Page Banner             — inner page title strip + breadcrumbs
    15.  About Page              — team, mission, leadership
    16.  Contact Page             — form layout + validation states
    17.  Blog Page               — listing cards + pagination
    18.  Product Page             — individual solution pages (FAQ, features)
    19.  Thank You Page           — post-form confirmation
    20.  Interoperability Section — integration hub visuals
    21.  AI Section              — AI product highlights
    22.  Back to Top              — floating scroll button
    23.  Solutions Page           — all-solutions overview grid
    24.  Animations               — keyframes for fade/slide
    25.  Scrollbar                — custom webkit scrollbar
    26.  Legal Pages              — privacy + terms typography
    27.  Blog Article Pages       — full-width article layout, banner strip

   JS companions: assets/js/main.js (nav, hero, fade-in, FAQ)
   ============================================ */

:root {
  /* Primary Colors */
  --primary-teal: #008C8C;
  --deep-teal: #006B6B;
  --fresh-green: #35B779;
  --light-green: #DFF7E8;
  --soft-mint: #F4FFF8;
  --white: #FFFFFF;
  --off-white: #FAFFFC;

  /* Text Colors */
  --dark-text: #123333;
  --muted-text: #5F7474;
  --border-color: #D8ECE7;

  /* Accent */
  --accent-gradient: linear-gradient(135deg, #008C8C, #35B779);
  --hero-gradient: linear-gradient(160deg, #F4FFF8 0%, #DFF7E8 50%, #FAFFFC 100%);

  /* Shadows */
  --shadow-soft: 0 12px 30px rgba(0, 107, 107, 0.10);
  --shadow-hover: 0 16px 40px rgba(0, 107, 107, 0.16);
  --shadow-card: 0 4px 16px rgba(0, 107, 107, 0.08);

  /* Radii */
  --radius-card: 18px;
  --radius-btn: 999px;
  --radius-input: 10px;
  --radius-section: 24px;

  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

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

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

.section-alt {
  padding: var(--section-padding);
  background: var(--soft-mint);
}

.features-section,
.faq-section {
  padding: var(--section-padding);
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-teal);
  background: var(--light-green);
  padding: 6px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--deep-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-teal);
  border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
  background: var(--primary-teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--fresh-green);
  color: var(--white);
}

.btn-accent:hover {
  background: #2da56c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
  padding-top: env(safe-area-inset-top, 0);
}

.site-header.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: 0 2px 20px rgba(0, 107, 107, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 800;
  color: var(--deep-teal);
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-top: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.logo-name {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: inherit;
  line-height: 1.15;
  white-space: nowrap;
}

.logo-name span {
  color: var(--fresh-green);
}

.logo-tagline {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--deep-teal);
  white-space: nowrap;
}

/* Header tagline — clearly below company name */
.site-header .logo-tagline {
  font-size: 0.8125rem;
  color: var(--primary-teal);
  opacity: 0.95;
}

.site-footer .logo {
  align-items: center;
}

.site-footer .logo-icon {
  margin-top: 0;
}

.site-footer .logo-tagline {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-text);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-teal);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-teal);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-text);
  padding: 4px 0;
  position: relative;
}

.nav-dropdown > .nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-teal);
  transition: width var(--transition-normal);
}

.nav-dropdown:hover > .nav-dropdown-toggle::after {
  width: 100%;
}

.nav-dropdown:hover > .nav-dropdown-toggle {
  color: var(--primary-teal);
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu-inner {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 12px 0;
  min-width: 280px;
  max-height: 480px;
  overflow-y: auto;
}

.dropdown-menu-inner a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-text);
  transition: all var(--transition-fast);
}

.dropdown-menu-inner a::after {
  display: none;
}

.dropdown-menu-inner a:hover {
  background: var(--soft-mint);
  color: var(--primary-teal);
  padding-left: 24px;
}

.dropdown-menu-inner a svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--primary-teal);
  opacity: 0.6;
}

.dropdown-menu-inner a:hover svg {
  opacity: 1;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 8px 16px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search-toggle {
  order: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--primary-teal);
  background: var(--white);
  transition: all var(--transition-normal);
}

.header-search-toggle:hover,
.header-search.active .header-search-toggle {
  background: var(--light-green);
  border-color: var(--primary-teal);
}

.header-search-toggle svg {
  width: 18px;
  height: 18px;
}

.header-search-input {
  order: 1;
  width: 0;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  padding: 0;
  height: 40px;
  color: var(--dark-text);
  background: var(--white);
  transition: width var(--transition-normal), opacity var(--transition-fast), padding var(--transition-normal), border-color var(--transition-normal);
}

.header-search.active .header-search-input {
  width: min(210px, 28vw);
  opacity: 1;
  pointer-events: auto;
  padding: 0 14px;
  border-color: var(--border-color);
  box-shadow: var(--shadow-card);
}

.site-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 28px;
}

.site-search-form input {
  height: 52px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-btn);
  padding: 0 18px;
  color: var(--dark-text);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.site-search-summary {
  text-align: center;
  color: var(--muted-text);
  margin-bottom: 28px;
}

.site-search-results {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.search-result-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.search-result-card h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: var(--dark-text);
}

.search-result-card h2 a:hover {
  color: var(--primary-teal);
}

.search-result-card p {
  color: var(--muted-text);
  line-height: 1.75;
  margin-bottom: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-nav.active {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-text);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
}

.mobile-nav a:hover {
  color: var(--primary-teal);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 88px 0 56px;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 140, 140, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  max-width: 580px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-teal);
  background: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.hero h1 {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.hero h1 .highlight {
  color: var(--primary-teal);
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted-text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .hero-buttons {
  flex-wrap: nowrap;
}

.product-hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.hero-stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-teal);
}

.hero-stat span {
  font-size: 0.9rem;
  color: var(--muted-text);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.hero-slideshow {
  width: 100%;
  max-width: 520px;
}

.hero-slides {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-section);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  margin: 0;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-slide-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #c5d5d0;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-dot.is-active {
  background: var(--primary-teal);
  width: 28px;
  border-radius: 5px;
}

.card-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  display: block;
}

.solution-card-photo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  display: block;
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-text);
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary-teal);
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--light-green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary-teal);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted-text);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-teal);
}

.card-link:hover {
  gap: 10px;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   Problem Section
   ============================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-normal);
}

.problem-card:hover {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-soft);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-text);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* ============================================
   Platform Overview
   ============================================ */
.platform-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.platform-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark-text);
}

.platform-text p {
  font-size: 1.05rem;
  color: var(--muted-text);
  margin-bottom: 28px;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-check svg {
  width: 14px;
  height: 14px;
  color: var(--fresh-green);
}

.platform-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.platform-feature p {
  font-size: 0.9rem;
  color: var(--muted-text);
  margin-bottom: 0;
}

.platform-visual {
  background: var(--soft-mint);
  border-radius: var(--radius-section);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* ============================================
   Solutions Section
   ============================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

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

.solution-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.solution-card p {
  font-size: 0.93rem;
  color: var(--muted-text);
  line-height: 1.7;
}

/* ============================================
   Why CSoft Section
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.why-card:hover {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-soft);
}

.why-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--accent-gradient);
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--primary-teal);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

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

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--deep-teal);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 0;
}

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

.footer-brand p {
  font-size: 0.93rem;
  line-height: 1.8;
  margin-top: 16px;
  opacity: 0.85;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--fresh-green);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  color: var(--fresh-green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: var(--fresh-green);
}

/* ============================================
   Page Banner (inner pages)
   ============================================ */
.page-banner {
  padding: 140px 0 60px;
  background: var(--hero-gradient);
  text-align: center;
}

.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.page-banner p {
  font-size: 1.1rem;
  color: var(--muted-text);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--muted-text);
}

.breadcrumbs a {
  color: var(--primary-teal);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Blog article page banner — breadcrumb + fluid light background */
.page-banner--blog-article {
  padding: 120px 0 0;
  background: var(--white);
  text-align: left;
}

.page-banner--blog-article .container {
  position: relative;
  z-index: 2;
  padding-bottom: 18px;
}

.page-banner--blog-article .breadcrumbs--article {
  justify-content: flex-start;
  margin-bottom: 0;
}

.blog-article-banner-fluid {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.blog-article-banner-fluid img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center center;
}

.blog-article-banner-fluid::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(244, 255, 248, 0.08) 50%,
    rgba(255, 255, 255, 0.82) 100%
  );
  pointer-events: none;
}

.blog-article-page .page-banner--blog-article + .section {
  padding-top: 48px;
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-intro p {
  font-size: 1.05rem;
  color: var(--muted-text);
  margin-bottom: 16px;
}

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

.leader-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.leader-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.leader-info {
  padding: 24px;
}

.leader-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark-text);
}

.leader-role {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.leader-info p {
  font-size: 0.925rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin: 0;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-teal);
  border: 3px solid var(--light-green);
}

.timeline-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.timeline-item span {
  font-size: 0.85rem;
  color: var(--primary-teal);
  font-weight: 600;
}

.timeline-item p {
  font-size: 0.93rem;
  color: var(--muted-text);
  margin-top: 4px;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--soft-mint);
  border-radius: var(--radius-card);
  padding: 40px;
}

.contact-info-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: var(--muted-text);
  margin-bottom: 32px;
}

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

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary-teal);
}

.contact-detail h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-text);
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  font-size: 1rem;
  color: var(--dark-text);
  font-weight: 500;
}

.contact-detail a:hover {
  color: var(--primary-teal);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #e74c3c;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-input);
  font-size: 1rem;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(0, 140, 140, 0.1);
}

.form-control::placeholder {
  color: #a0b4b4;
}

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

.form-error {
  font-size: 0.82rem;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-control {
  border-color: #e74c3c;
}

.form-group.error .form-error {
  display: block;
}

.turnstile-wrap {
  margin-bottom: 24px;
}

.turnstile-wrap #turnstile-widget {
  min-height: 65px;
}

.turnstile-wrap.error #turnstile-error {
  display: block;
}

.honeypot {
  display: none !important;
}

/* ============================================
   Blog Page
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

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

.blog-card-image {
  height: 200px;
  background: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 28px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted-text);
  margin-bottom: 12px;
}

.blog-tag {
  background: var(--light-green);
  color: var(--primary-teal);
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.78rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-text);
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
  line-height: 1.7;
}

/* ============================================
   Product Page (Individual)
   ============================================ */
.product-hero {
  padding: 140px 0 80px;
  background: var(--hero-gradient);
}

.product-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-hero-text .product-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-teal);
  background: var(--light-green);
  padding: 6px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
}

.product-hero-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.product-hero-text p {
  font-size: 1.1rem;
  color: var(--muted-text);
  margin-bottom: 28px;
}

.product-hero-visual {
  background: var(--white);
  border-radius: var(--radius-section);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.product-hero-visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: flex-start;
  column-gap: 16px;
  row-gap: 4px;
  padding: 20px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  flex-shrink: 0;
  grid-row: 1 / span 2;
}

.feature-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.feature-item h3,
.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 0;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--muted-text);
  margin: 0;
}

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

.benefit-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--primary-teal);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--light-green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary-teal);
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  font-family: inherit;
}

.faq-question svg,
.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question svg,
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-question:hover {
  color: var(--primary-teal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

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

/* ============================================
   Thank You Page
   ============================================ */
.thankyou-content {
  text-align: center;
  padding: 160px 0 100px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.thankyou-icon svg {
  width: 40px;
  height: 40px;
  color: var(--fresh-green);
}

.thankyou-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.thankyou-content p {
  font-size: 1.1rem;
  color: var(--muted-text);
  max-width: 520px;
  margin: 0 auto 32px;
}

.thankyou-subtitle {
  font-size: 1.1rem;
  color: var(--muted-text);
  max-width: 520px;
  margin: 0 auto 32px;
}

.thankyou-details {
  background: var(--soft-mint);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  max-width: 560px;
  margin: 0 auto 32px;
  text-align: left;
}

.thankyou-details > p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.thankyou-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thankyou-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
  color: var(--muted-text);
  line-height: 1.6;
}

.thankyou-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--fresh-green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.thankyou-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.thankyou-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.thankyou-footer > p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 20px;
}

.quick-contact {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-teal);
  padding: 10px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-btn);
  transition: all var(--transition-fast);
}

.quick-link svg {
  width: 18px;
  height: 18px;
}

.quick-link:hover {
  background: var(--soft-mint);
  border-color: var(--primary-teal);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .thankyou-buttons,
  .quick-contact {
    flex-direction: column;
    align-items: center;
  }

  .thankyou-buttons .btn,
  .quick-link {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   Interoperability Section
   ============================================ */
.interop-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.interop-standards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.standard-badge {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: all var(--transition-normal);
}

.standard-badge:hover {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-card);
}

.standard-badge h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 4px;
}

.standard-badge p {
  font-size: 0.85rem;
  color: var(--muted-text);
}

/* ============================================
   AI Section
   ============================================ */
.ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ai-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.ai-card:hover::before {
  opacity: 1;
}

.ai-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.ai-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary-teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--deep-teal);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Solutions Page
   ============================================ */
.solution-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.solution-detail:last-child {
  border-bottom: none;
}

.solution-detail.reverse {
  direction: rtl;
}

.solution-detail.reverse > * {
  direction: ltr;
}

.solution-detail h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.solution-detail p {
  font-size: 1rem;
  color: var(--muted-text);
  margin-bottom: 20px;
}

.solution-detail ul {
  margin-bottom: 24px;
}

.solution-detail ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.solution-detail ul li svg {
  width: 18px;
  height: 18px;
  color: var(--fresh-green);
  min-width: 18px;
}

.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-visual svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
}

.solution-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow-card);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-teal);
}

/* ============================================
   Legal Pages (Privacy Policy, Terms of Service)
   ============================================ */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content > p {
  font-size: 1rem;
  color: var(--muted-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-updated {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-teal);
  background: var(--light-green);
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  margin-bottom: 28px;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-green);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--muted-text);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--primary-teal);
  font-weight: 500;
}

.legal-content a:hover {
  color: var(--deep-teal);
  text-decoration: underline;
}

.legal-contact-box {
  background: var(--soft-mint);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin: 16px 0 24px;
}

.legal-contact-box p {
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: var(--dark-text);
}

/* ============================================
   Blog Article Pages — full-width layout
   ============================================ */
.blog-article-page .section > .container {
  max-width: var(--container-width);
}

.blog-article-wrap {
  width: 100%;
  max-width: none;
}

.blog-article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-teal);
  margin-bottom: 28px;
  transition: color var(--transition-fast);
}

.blog-article-back:hover {
  color: var(--deep-teal);
}

.blog-article-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--muted-text);
}

.blog-article-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark-text);
  margin-bottom: 20px;
  max-width: 100%;
}

.blog-article-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted-text);
  line-height: 1.75;
  max-width: 100%;
}

.blog-article-featured {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin-bottom: 40px;
  box-shadow: var(--shadow-soft);
}

.blog-article-body {
  width: 100%;
  max-width: none;
  overflow-wrap: anywhere;
}

.blog-article-body table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-article-body > p {
  font-size: 1.05rem;
  color: var(--muted-text);
  line-height: 1.9;
  margin-bottom: 22px;
}

.blog-article-body h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--dark-text);
  margin-top: 48px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-green);
}

.blog-article-body h3 {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-top: 28px;
  margin-bottom: 14px;
}

.blog-article-body ul,
.blog-article-body ol {
  padding-left: 28px;
  margin-bottom: 24px;
}

.blog-article-body ul {
  list-style: disc;
}

.blog-article-body ol {
  list-style: decimal;
}

.blog-article-body ul li,
.blog-article-body ol li {
  font-size: 1rem;
  color: var(--muted-text);
  line-height: 1.85;
  margin-bottom: 8px;
}

.blog-article-body a {
  color: var(--primary-teal);
  font-weight: 500;
}

.blog-article-body a:hover {
  color: var(--deep-teal);
  text-decoration: underline;
}

.blog-article-body a.btn,
.blog-article-cta .btn {
  color: var(--white);
}

.blog-article-body a.btn:hover,
.blog-article-cta .btn:hover {
  color: var(--white);
  text-decoration: none;
}

/* ============================================
   Case Studies
   ============================================ */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.case-study-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.case-study-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.case-study-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.case-study-card-body {
  padding: 26px;
}

.case-study-card-body h3 {
  margin: 14px 0 12px;
  color: var(--dark-text);
  font-size: 1.25rem;
  line-height: 1.35;
}

.case-study-card-body p {
  color: var(--muted-text);
  line-height: 1.75;
  margin-bottom: 18px;
}

.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.case-study-meta span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft-mint);
  color: var(--deep-teal);
  font-size: 0.82rem;
  font-weight: 600;
}

.case-study-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding-bottom: 42px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.case-study-hero-grid h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  color: var(--dark-text);
  margin: 14px 0 16px;
}

.case-study-hero-grid p {
  color: var(--muted-text);
  line-height: 1.85;
  font-size: 1.05rem;
}

.case-study-hero-grid img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.case-study-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.case-study-facts div {
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--soft-mint);
  border: 1px solid var(--border-color);
}

.case-study-facts strong,
.case-study-facts span {
  display: block;
}

.case-study-facts strong {
  color: var(--dark-text);
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.case-study-facts span {
  color: var(--muted-text);
  font-size: 0.93rem;
}

.case-study-content {
  max-width: none;
}

@media (max-width: 900px) {
  .case-study-hero-grid {
    grid-template-columns: 1fr;
  }
}

.blog-article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--soft-mint);
  border-left: 4px solid var(--primary-teal);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--dark-text);
  line-height: 1.75;
}

.blog-article-body strong {
  color: var(--dark-text);
  font-weight: 600;
}

.blog-article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--soft-mint) 0%, var(--light-green) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 36px 40px;
  margin-top: 56px;
  box-shadow: var(--shadow-card);
}

.blog-article-cta-content {
  flex: 1;
  min-width: 260px;
}

.blog-article-cta h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.blog-article-cta p {
  font-size: 1rem;
  color: var(--muted-text);
  margin-bottom: 0;
  line-height: 1.7;
}

.blog-article-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.legal-contact-box strong {
  color: var(--deep-teal);
}
