/* ==========================================================================
   Ponik Process — Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

/* ---- Design tokens ---- */
:root {
  --navy-950: #0a1730;
  --navy-900: #0e1c3f;
  --navy: #112047;
  --navy-700: #1c2f5c;
  --slate: #3f5c81;
  --slate-400: #7188a6;
  --teal: #3f8e9f;
  --teal-600: #347786;
  --teal-700: #2a5f6c;
  --teal-100: #e4f1f3;

  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-navy: var(--navy);

  --text: #16213d;
  --text-muted: #56617a;
  --text-on-navy: #eef2f8;
  --text-on-navy-muted: #aab6cc;

  --border: #e3e8f0;
  --border-navy: #26355f;

  --shadow-sm: 0 1px 2px rgba(17, 32, 71, 0.06);
  --shadow-md: 0 8px 24px rgba(17, 32, 71, 0.09);
  --shadow-lg: 0 20px 48px rgba(17, 32, 71, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --space-section: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: var(--space-section); }

/* ---- Focus & accessibility ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Type helpers ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.eyebrow.on-navy { color: #8fd4de; }
.eyebrow.on-navy::before { background: #8fd4de; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 10px; }
.section-head p { color: var(--text-muted); font-size: 17px; margin-top: 14px; }
.section-head.centered { margin-inline: auto; text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15.5px;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  min-height: 48px;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--teal-600);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--slate); background: var(--bg-soft); }
.btn-on-navy {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-on-navy:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(17,32,71,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }

.nav-desktop {
  display: none;
}
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-desktop a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding-block: 6px;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transition: right 0.25s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 400;
  padding: 96px 24px 32px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  overflow-y: auto;
}
.nav-mobile.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  display: block;
  padding: 16px 4px;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.nav-mobile .btn { margin-top: 24px; }

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .header-actions .btn-primary { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 96px) clamp(56px, 8vw, 88px);
  background: var(--bg-soft);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--slate);
  opacity: 0.16;
}
.hero-bg svg { width: 100%; height: 100%; }

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-top: 14px;
  letter-spacing: -0.01em;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--teal-600);
}
.hero-copy p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-meta svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-visual .mark-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 56px);
  width: 100%;
  max-width: 480px;
}
.hero-visual img { width: 100%; height: auto; }

@media (min-width: 960px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; }
}

/* ==========================================================================
   Value strip
   ========================================================================== */
.value-strip {
  padding-block: 44px;
  border-bottom: 1px solid var(--border);
}
.value-strip ul {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, 1fr);
}
.value-strip li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.value-strip .icon-badge { flex-shrink: 0; }
.value-strip strong {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 3px;
}
.value-strip span { font-size: 14px; color: var(--text-muted); }

@media (min-width: 720px) {
  .value-strip ul { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Icon badge ---- */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-600);
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.navy { background: rgba(17,32,71,0.08); color: var(--navy); }
.icon-badge.lg { width: 58px; height: 58px; border-radius: 16px; }
.icon-badge.lg svg { width: 28px; height: 28px; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card .step-no {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--border);
}
.service-card h3 {
  font-size: 19px;
  margin-top: 20px;
}
.service-card p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15px;
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process { background: var(--bg-soft); }
.timeline {
  position: relative;
  display: grid;
  gap: 36px;
  counter-reset: step;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
}
.timeline-node {
  position: relative;
  display: flex;
  justify-content: center;
}
.timeline-node .dot {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.timeline-item:nth-child(2) .dot { background: var(--slate); }
.timeline-item:nth-child(3) .dot { background: var(--teal-600); }
.timeline-item:nth-child(4) .dot { background: var(--teal-600); }
.timeline-node .line {
  position: absolute;
  top: 52px;
  bottom: -36px;
  width: 2px;
  background: var(--border);
}
.timeline-item:last-child .timeline-node .line { display: none; }
.timeline-content { padding-top: 6px; }
.timeline-content h3 { font-size: 19px; }
.timeline-content p { margin-top: 8px; color: var(--text-muted); font-size: 15px; max-width: 60ch; }

@media (min-width: 720px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .timeline-item { grid-template-columns: 1fr; text-align: left; padding-right: 24px; }
  .timeline-node { justify-content: flex-start; }
  .timeline-node .line {
    top: 26px; bottom: auto; left: 52px; right: -12px;
    width: auto; height: 2px;
  }
}

/* ==========================================================================
   About
   ========================================================================== */
.about .container {
  display: grid;
  gap: 48px;
  align-items: center;
}
.about-text p { color: var(--text-muted); font-size: 17px; margin-top: 16px; }
.about-points {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.about-points strong { display: block; color: var(--navy); font-size: 15.5px; }
.about-points span { font-size: 14.5px; color: var(--text-muted); }
.about-points svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

.about-card {
  background: var(--navy);
  color: var(--text-on-navy);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -80px; top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,142,159,0.35), transparent 70%);
}
.about-card .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 18px;
  border-bottom: 1px solid var(--border-navy);
}
.about-card .stat:last-child { border-bottom: none; }
.about-card .stat b {
  font-family: var(--font-head);
  font-size: 28px;
  color: #fff;
}
.about-card .stat span { font-size: 14px; color: var(--text-on-navy-muted); }

@media (min-width: 960px) {
  .about .container { grid-template-columns: 1.1fr 0.9fr; }
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 60%, var(--teal-600) 130%);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-inline: 24px;
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.cta-banner p { margin-top: 12px; color: var(--text-on-navy-muted); font-size: 16.5px; }
.cta-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.cta-wrap { max-width: var(--container); margin-inline: auto; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: 40px;
}
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
}
.contact-list { display: grid; gap: 20px; margin-top: 24px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list a:hover { color: var(--teal-600); }
.contact-list strong { display: block; font-size: 14px; color: var(--text-muted); font-weight: 500; }
.contact-list p, .contact-list a { font-size: 16px; font-weight: 600; color: var(--navy); }

.map-embed {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.form-group .req { color: var(--teal-600); font-weight: 500; }
.form-group input,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15.5px;
  background: #fbfcfe;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(63,142,159,0.15);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.form-status {
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 500;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { color: var(--teal-600); }

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; }
  .form-row.two-col { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--text-on-navy-muted);
  padding-block: 56px 28px;
}
.footer-grid {
  display: grid;
  gap: 40px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; max-width: 32ch; line-height: 1.6; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col p { font-size: 14.5px; color: var(--text-on-navy-muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13.5px;
}
.footer-bottom a:hover { color: #fff; }

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-page { padding-block: 56px var(--space-section); }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(28px, 4vw, 40px); }
.legal-page .updated { color: var(--text-muted); font-size: 14.5px; margin-top: 10px; }
.legal-page h2 {
  font-size: 21px;
  margin-top: 44px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 16px; margin-top: 10px; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page a { color: var(--teal-600); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 32px;
}
.back-link svg { width: 18px; height: 18px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
