:root {
  --navy: #0b3d2e;
  --navy-2: #14583f;
  --teal: #1f9d55;
  --teal-dark: #0f6b3f;
  --gold: #f97316;
  --ink: #10231b;
  --muted: #607067;
  --line: #dce9df;
  --bg: #f6fbf7;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(11, 61, 46, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.1rem; }
strong { color: var(--navy); }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.section-pad { padding: 92px 0; }
.center { text-align: center; margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 231, 239, 0.75);
  transition: box-shadow 180ms ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(11, 61, 46, 0.08); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.brand img { width: 240px; height: auto; }
.site-nav { display: flex; gap: 26px; align-items: center; font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.site-nav a { position: relative; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 180ms ease;
}
.site-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform 180ms ease; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(31, 157, 85, 0.18), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(249, 115, 22, 0.18), transparent 32%),
    linear-gradient(135deg, #f7fff9 0%, #fff4eb 52%, #ffffff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 61, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 61, 46, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 54px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--teal-dark); font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; font-size: 0.78rem; }
h1, h2, h3 { margin: 0; line-height: 1.08; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 6vw, 5.3rem); letter-spacing: -0.065em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.04em; }
h3 { font-size: 1.22rem; letter-spacing: -0.02em; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 665px; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 16px 32px rgba(31, 157, 85, 0.25); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--line); box-shadow: 0 10px 26px rgba(11, 61, 46, 0.08); }

.hero-panel { background: rgba(255,255,255,0.72); border: 1px solid rgba(255,255,255,0.9); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.panel-card { border-radius: 24px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--white); padding: 30px; }
.stat-feature strong { display: block; color: var(--white); font-size: clamp(4.3rem, 9vw, 7.4rem); line-height: 0.9; letter-spacing: -0.08em; }
.stat-feature span { display: block; max-width: 360px; margin-top: 12px; color: rgba(255,255,255,0.86); font-weight: 700; }
.mini-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.mini-stat-grid div { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.mini-stat-grid strong { display: block; font-size: 1.8rem; color: var(--teal-dark); letter-spacing: -0.04em; }
.mini-stat-grid span { display: block; color: var(--muted); font-size: 0.87rem; line-height: 1.38; margin-top: 4px; }

.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading.center { margin-left: auto; margin-right: auto; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.07rem; margin-top: 18px; }
.problem-section, .maintenance-section, .deliverables-section { background: var(--bg); }
.cards { display: grid; gap: 22px; }
.three-col { grid-template-columns: repeat(3, 1fr); }
.two-col { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; box-shadow: 0 12px 34px rgba(11, 61, 46, 0.055); }
.card p { color: var(--muted); margin-top: 12px; margin-bottom: 0; }
.card-number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(31, 157, 85, 0.10); color: var(--teal-dark); font-weight: 900; margin-bottom: 24px; }
.service-card { display: flex; flex-direction: column; }
.icon-box { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, var(--teal), var(--gold)); color: var(--white); font-weight: 900; margin-bottom: 22px; }
.service-card ul { margin-top: 18px; color: var(--muted); }
.service-card li { margin: 8px 0; }

.split-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: start; }
.split-grid > div:last-child p { font-size: 1.08rem; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: 1fr 0.86fr; gap: 54px; align-items: center; }
.feature-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }
.role-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.role-cloud span { padding: 10px 14px; border: 1px solid rgba(31, 157, 85, 0.22); background: rgba(31, 157, 85, 0.07); border-radius: 999px; color: var(--navy); font-weight: 800; }
.database-card { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.database-card h3 { color: var(--white); font-size: 1.55rem; }
.database-card .note { color: rgba(255,255,255,0.78); margin-top: 22px; margin-bottom: 0; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { position: relative; padding-left: 28px; margin: 12px 0; color: inherit; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 900; }
.card .check-list li { color: var(--muted); }

.quality-section { background: linear-gradient(135deg, #ffffff 0%, #effaf2 100%); }
.quality-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 50px; align-items: center; }
.quality-badge { min-height: 340px; border-radius: 50%; aspect-ratio: 1/1; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 30% 24%, #2fba65, var(--teal-dark)); color: var(--white); box-shadow: var(--shadow); padding: 36px; margin: auto; }
.quality-badge span { display: block; font-size: clamp(4rem, 9vw, 7rem); font-weight: 950; line-height: 0.9; letter-spacing: -0.08em; }
.quality-badge strong { color: var(--white); font-size: 1.12rem; text-transform: uppercase; letter-spacing: 0.12em; }
.compact-cards { gap: 16px; margin-top: 24px; }
.compact-cards .card { padding: 22px; }
.compact-cards h3 { font-size: 1.05rem; }

.process-section { background: var(--navy); color: var(--white); }
.process-section h2, .process-section h3 { color: var(--white); }
.process-section .eyebrow { color: #ffb86b; }
.timeline { list-style: none; padding: 0; margin: 42px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.timeline li { position: relative; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 24px; }
.timeline span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 950; margin-bottom: 20px; }
.timeline p { color: rgba(255,255,255,0.74); font-size: 0.92rem; margin-top: 10px; margin-bottom: 0; }

.fit-section { background: var(--white); }
.fit-card { display: flex; align-items: center; justify-content: space-between; gap: 36px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.fit-card h2 { color: var(--white); }
.fit-card p:not(.eyebrow) { color: rgba(255,255,255,0.78); max-width: 760px; margin-top: 14px; margin-bottom: 0; }
.fit-card .eyebrow { color: #ffb86b; }
.fit-card .btn { flex: 0 0 auto; }

.contact-section { background: linear-gradient(135deg, #f6f9fc, #ffffff); }
.contact-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 54px; align-items: start; }
.contact-copy p { color: var(--muted); margin-top: 18px; }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 10px 26px rgba(11, 61, 46, 0.045); }
.contact-list strong { font-size: 0.83rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal-dark); }
.contact-list span { color: var(--navy); font-weight: 750; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.55rem; margin-bottom: 20px; }
label { display: grid; gap: 8px; margin: 14px 0; color: var(--navy); font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; color: var(--ink); background: #fbfffc; outline: none; transition: border-color 180ms ease, box-shadow 180ms ease; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.12); }
textarea { resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 12px; border: 0; }
.form-note { color: var(--muted); font-size: 0.87rem; margin: 14px 0 0; }

.site-footer { background: #062418; color: rgba(255,255,255,0.78); padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.85fr 0.85fr; gap: 48px; }
.footer-logo { width: 220px; margin-bottom: 18px; }
.site-footer strong { display: block; color: var(--white); margin-bottom: 14px; }
.site-footer a, .site-footer span { display: block; margin: 8px 0; color: rgba(255,255,255,0.74); }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 42px; padding-top: 22px; font-size: 0.9rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-grid, .split-grid, .feature-grid, .quality-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .quality-badge { max-width: 360px; }
  .fit-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1120px); }
  .section-pad { padding: 68px 0; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 12px; border-radius: 12px; }
  .site-nav a:hover { background: var(--bg); }
  .site-nav a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand img { width: 200px; }
  .mini-stat-grid, .three-col, .two-col, .timeline, .footer-grid { grid-template-columns: 1fr; }
  .contact-list a, .contact-list div { grid-template-columns: 1fr; gap: 6px; }
  .fit-card, .contact-form, .database-card { padding: 26px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}


.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

button[disabled] {
  cursor: not-allowed;
  opacity: 0.72;
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.form-status.is-success {
  color: var(--teal-dark);
}

.form-status.is-error {
  color: #b42318;
}
