/* ═══════════════════════════════════════════════
   ClarosDPP — Shared Stylesheet
   All pages import this single file.
   No external assets. All icons are inline SVG
   or emoji. Fonts loaded via Google Fonts CDN
   (only external dependency).
═══════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
p,
li,
.sf-feature {
  text-align: justify;
  text-justify: inter-word;
}
a { text-decoration: none; color: inherit; overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6, p, li, span, strong, a, button {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ── CSS VARIABLES ── */
:root {
  --navy:      #0b1826;
  --navy2:     #0e1f30;
  --navy3:     #132840;
  --navy4:     #1a3555;
  --teal:      #0db5b0;
  --teal2:     #06d6d0;
  --teal-dim:  rgba(13,181,176,0.15);
  --teal-bdr:  rgba(13,181,176,0.25);
  --green:     #10b981;
  --gold:      #f0a500;
  --gold-dim:  rgba(240,165,0,0.15);
  --red:       #ef4444;
  --white:     #f0f6fa;
  --white2:    #dce8f0;
  --gray:      #7a94a8;
  --lgray:     #b8ccd9;
  --divider:   rgba(255,255,255,0.08);
  --card-bg:   rgba(255,255,255,0.03);
  --card-bdr:  rgba(255,255,255,0.08);
  --layout-x:  5%;
  --first-section-gap: 6rem;
  --section-gap: 6rem;
  --section-pad-y: 0rem;
  --hero-pad-y: 4rem;
  --footer-pad-top: 6rem;
  --footer-pad-bottom: 2rem;
  --sans:      'DM Sans', system-ui, -apple-system, sans-serif;
  --serif:     'Playfair Display', Georgia, serif;
  --mono:      'DM Mono', 'Courier New', monospace;
}

[data-theme="light"] {
  --navy:      #f5f8fb;
  --navy2:     #edf3f8;
  --navy3:     #e2ebf3;
  --navy4:     #d6e3ef;
  --teal:      #0db5b0;
  --teal2:     #0891b2;
  --teal-dim:  rgba(13,181,176,0.12);
  --teal-bdr:  rgba(13,181,176,0.26);
  --green:     #0f9a6b;
  --gold:      #c98300;
  --gold-dim:  rgba(201,131,0,0.12);
  --red:       #dc2626;
  --white:     #10243a;
  --white2:    #3d5870;
  --gray:      #657f96;
  --lgray:     #516b82;
  --divider:   rgba(23,48,74,0.11);
  --card-bg:   rgba(255,255,255,0.5);
  --card-bdr:  rgba(23,48,74,0.08);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

/* ── NAVBAR ── shared across all pages
══════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 80px;
  background: rgba(11, 24, 38, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--divider);
  transition: background 0.3s;
}

[data-theme="light"] .navbar {
  background: rgba(240, 246, 250, 0.95);
  border-bottom-color: rgba(23, 48, 74, 0.12);
}

.navbar.scrolled { background: rgba(11, 24, 38, 0.99); }

[data-theme="light"] .navbar.scrolled { background: rgba(240, 246, 250, 0.98); }

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.4px; color: var(--white); flex-shrink: 0;
}
.nav-logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.nav-logo .accent { color: var(--teal); }

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  display: flex; align-items: center; gap: 5px;
  padding: 0.45rem 0.85rem; border-radius: 8px;
  font-size: 14px; font-weight: 700; color: var(--lgray);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }

[data-theme="light"] .nav-links a {
  color: #0b1826;
}
[data-theme="light"] .nav-links a:hover {
  color: #0b1826;
  background: rgba(13, 181, 176, 0.1);
}

.nav-links a.active { color: var(--teal); background: var(--teal-dim); }

[data-theme="light"] .nav-links a.active {
  background: rgba(13, 181, 176, 0.15);
}
.nav-links a.nav-cta {
  background: var(--teal); color: var(--navy) !important;
  font-weight: 700; padding: 0.45rem 1.1rem;
  margin-left: 0.5rem;
}
.nav-links a.nav-cta:hover { background: var(--teal2); transform: translateY(-1px); }
.nav-links a.nav-customer {
  border: 1.5px solid var(--teal-bdr); color: var(--teal) !important;
  background: var(--teal-dim); font-weight: 600;
  padding: 0.42rem 1rem; margin-left: 0.25rem; border-radius: 8px;
}
.nav-links a.nav-customer:hover {
  background: var(--teal); color: var(--navy) !important;
  border-color: var(--teal); transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
.nav-mobile-menu {
  display: none; position: fixed; top: 80px; left: 0; right: 0;
  background: var(--navy2); border-bottom: 1px solid var(--divider);
  padding: 1rem 5%; flex-direction: column; gap: 0.3rem; z-index: 999;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  padding: 0.75rem 1rem; border-radius: 8px;
  font-size: 1.1rem; font-weight: 500; color: var(--lgray);
  transition: color 0.2s, background 0.2s;
}
.nav-mobile-menu a:hover, .nav-mobile-menu a.active { color: var(--teal); background: var(--teal-dim); }
.nav-mobile-menu .nav-cta {
  background: var(--teal) !important; color: var(--navy) !important;
  font-weight: 700; margin-top: 0.5rem;
}
.nav-mobile-menu .nav-customer {
  background: var(--teal-dim) !important; color: var(--teal) !important;
  border: 1px solid var(--teal-bdr); font-weight: 600;
}

/* ══════════════════════════════════
   PAGE WRAPPER — accounts for fixed navbar
══════════════════════════════════ */
.page-body { padding-top: 80px; }

/* ══════════════════════════════════
   COMMON LAYOUT HELPERS
══════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--layout-x); width: 100%; }
.section { padding: var(--section-pad-y) 0; }
.section-alt { background: var(--navy2); }
.section-dark { background: var(--navy); }

.hero + section,
.page-hero + section,
.about-hero + section,
.service-hero + section,
.product-hero + section,
.timeline-hero + section {
  margin-top: var(--first-section-gap);
}

section + section {
  margin-top: var(--section-gap);
}

.sample-hero + .sample-shell {
  margin-top: var(--first-section-gap);
}

.sample-section + .sample-section {
  margin-top: var(--section-gap);
}

.section-intro {
  margin-bottom: 1.5rem;
}

.section-eyebrow {
  display: inline-block; font-size: 1rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal);
  margin: 0 0 0.7rem;
}
.hero-dpp-label {
  font-family: var(--sans);
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}
.section-title {
  font-family: var(--sans); font-size: clamp(1.95rem, 3.5vw, 3.1rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.5px;
  margin: 0 0 1rem; color: #10243a;
}
.section-title .hl { color: var(--teal); }
.section-lead {
  font-size: 1.1rem; color: #50697f; line-height: 1.82;
  max-width: 660px; margin: 0 0 3rem;
}

/* Two-col grid */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col.center { align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.75rem; border-radius: 50px;
  font-size: 1.1rem; font-weight: 700; cursor: pointer;
  transition: all 0.22s; border: none; white-space: normal;
  text-align: center; justify-content: center;
  max-width: 100%;
  min-width: 0;
  line-height: 1.3;
}
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(13,181,176,0.4); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.22);
}

[data-theme="light"] .btn-outline {
  color: #0b1826;
  border-color: rgba(13, 181, 176, 0.3);
}

.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
[data-theme="light"] .btn-outline:hover {
  background: rgba(13, 181, 176, 0.08);
}
.btn-ghost { background: var(--teal-dim); color: var(--teal); border: 1px solid var(--teal-bdr); }
.btn-ghost:hover { background: rgba(13,181,176,0.25); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 1.12rem; }

/* ── CARDS ── */
.card {
  background: var(--card-bg); border: 1px solid var(--card-bdr);
  border-radius: 16px; padding: 1.8rem;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: var(--teal-bdr); transform: translateY(-4px); }

/* ── CTA STRIP ── */
.cta-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(13,181,176,0.12) 0%, rgba(6,214,208,0.07) 100%);
  border: 1px solid var(--teal-bdr);
  border-radius: 14px; padding: 1.3rem 1.8rem;
  margin-top: 2rem;
}
.cta-strip p { font-size: 1.12rem; font-weight: 500; color: var(--white); }
.cta-strip p span { color: var(--teal); font-weight: 700; }

/* ── TAGS / BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 0.22rem 0.65rem;
  border-radius: 50px;
}
.badge-teal   { background: var(--teal-dim); color: var(--teal); }
.badge-gold   { background: var(--gold-dim); color: var(--gold); }
.badge-green  { background: rgba(16,185,129,0.15); color: var(--green); }
.badge-red    { background: rgba(239,68,68,0.12); color: var(--red); }
.badge-blue   { background: rgba(6,182,212,0.15); color: #22d3ee; }
[data-theme="light"] .badge-blue { background: rgba(3,105,161,0.1); color: #0369a1; }

/* ── LIVE DOT ── */
.live-dot {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--teal);
}
.live-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.35;transform:scale(1.6)} }

/* ── DIVIDER ── */
.hr { border: none; border-top: 1px solid var(--divider); margin: 3rem 0; }

/* ══════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ══════════════════════════════════
   MARQUEE TICKER
══════════════════════════════════ */
.marquee-bar {
  background: rgba(13,181,176,0.08);
  border-top: 1px solid var(--teal-bdr);
  border-bottom: 1px solid var(--teal-bdr);
  padding: 0.75rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--teal); white-space: nowrap;
}
.marquee-item::after { content: '◆'; font-size: 0.4rem; color: var(--gray); margin-left: 0.5rem; }

/* ══════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════ */
.page-hero {
  padding: var(--hero-pad-y) 0 calc(var(--section-pad-y) * 0.5);
}
.page-hero h1 {
  font-family: var(--sans); font-size: clamp(1.95rem, 3.5vw, 3.1rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 1rem;
  color: #10243a;
}
.page-hero p {
  font-size: 1.1rem; color: var(--lgray); line-height: 1.8;
  max-width: 640px; margin-bottom: 1.8rem;
}

/* ═════════════════════════════════
   FOOTER
═════════════════════════════════ */
footer {
  background: var(--navy); border-top: 1px solid var(--divider);
  margin-top: var(--section-gap);
  padding: var(--footer-pad-top) var(--layout-x) var(--footer-pad-bottom);
}

[data-theme="light"] footer {
  background: #f0f6fa;
  border-top-color: rgba(23, 48, 74, 0.12);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--divider);
}
.footer-brand-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.8; margin: 0.8rem 0 1.2rem; }
.footer-offices { font-size: 0.78rem; color: var(--gray); }
.footer-col h5 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul li a { font-size: 0.85rem; color: var(--gray); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: var(--gray); }

/* ══════════════════════════════════
   FORM STYLES (contact page)
══════════════════════════════════ */
.form-card {
  background: var(--card-bg); border: 1px solid var(--card-bdr);
  border-radius: 20px; padding: 2.5rem;
}
.form-section-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 1.8rem;
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--divider);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-group label {
  font-size: 0.78rem; font-weight: 600; color: var(--lgray); letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.8); border: 1px solid var(--card-bdr);
  border-radius: 10px; padding: 0.7rem 1rem;
  color: var(--white); font-size: 14px; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal); background: rgba(13,181,176,0.06);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--navy2); }
.form-group textarea { resize: vertical; min-height: 115px; }
.form-group .hint { font-size: 15px; color: var(--gray); margin-top: 0.2rem; }
[data-theme="light"] .form-group label {
  color: #385269;
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(13,181,176,0.12);
}
.btn-submit {
  width: 100%; padding: 0.95rem;
  background: var(--teal); color: var(--navy);
  border: none; border-radius: 50px; font-family: inherit;
  font-size: 1.1rem; font-weight: 700; cursor: pointer; letter-spacing: 0.2px;
  transition: all 0.22s; margin-top: 0.5rem;
  white-space: normal;
  line-height: 1.3;
}
.btn-submit:hover { background: var(--teal2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(13,181,176,0.4); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-message {
  display: none; text-align: center; padding: 1.2rem;
  border-radius: 10px; font-size: 14px; font-weight: 600; margin-top: 1rem;
}
.form-message.success { background: rgba(16,185,129,0.12); color: var(--green); border: 1px solid rgba(16,185,129,0.25); display: block; }
.form-message.error { background: rgba(239,68,68,0.1); color: var(--red); border: 1px solid rgba(239,68,68,0.2); display: block; }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .four-col { grid-template-columns: 1fr 1fr; }
  .hero-inner,
  .hero-grid,
  .hero-layout,
  .about-hero-inner,
  .dpp-explainer,
  .mission-grid,
  .detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .hero-actions,
  .cta-strip {
    align-items: stretch;
  }
  .hero-actions .btn,
  .cta-strip .btn {
    width: 100%;
  }
  .float-note {
    position: static !important;
    max-width: none !important;
    width: 100%;
    margin-top: 0.85rem;
  }
  .passport-stage,
  .passport-visual {
    min-width: 0;
  }
  .hero-demo-card,
  .hero-panel,
  .passport-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 640px) {
  :root {
    --first-section-gap: 2.5rem;
    --section-gap: 2rem;
    --section-pad-y: 0rem;
    --hero-pad-y: 3rem;
    --footer-pad-top: 3rem;
    --layout-x: 1rem;
  }
  .hero,
  .page-hero,
  .about-hero,
  .service-hero,
  .product-hero,
  .timeline-hero,
  .sample-hero {
    padding-top: 6rem;
  }
  p,
  li,
  .sf-feature {
    text-align: left;
    text-justify: auto;
  }
  .hero h1,
  .page-hero h1,
  .section-title,
  .hero-layout h1,
  .product-hero h1,
  .service-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem) !important;
  }
  .hero-copy p,
  .page-hero p,
  .section-lead,
  .hero-layout p,
  .product-hero p,
  .service-hero p {
    font-size: 1rem !important;
    line-height: 1.75 !important;
  }
  .btn,
  .btn-sm,
  .btn-submit,
  .nav-mobile-menu a,
  .nav-mobile-menu .nav-cta,
  .nav-mobile-menu .nav-customer {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-size: 1rem;
  }
  .hero-actions,
  .hero-demo-meta,
  .hero-bullets,
  .hero-facts,
  .cta-strip {
    width: 100%;
  }
  .hero-dpp-blocks,
  .reg-cat-grid,
  .help-grid,
  .detail-grid,
  .pf-pillars,
  .pf-tracks,
  .pf-mini-grid,
  .sample-stat-grid,
  .sample-field-grid,
  .mission-grid,
  .expertise-grid,
  .impact-grid,
  .approach-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-dpp-block,
  .hero-fact,
  .contact-detail,
  .contact-faq,
  .form-card,
  .card {
    min-width: 0;
  }
  .form-card {
    padding: 1.35rem;
  }
  .pc-data div {
    flex-wrap: wrap;
  }
  .pc-data span:last-child {
    text-align: left;
  }
  .three-col, .four-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}
