/* Chozha Technologies — site styles. No build step: edit and redeploy. */
:root {
  --navy-900: #0a1630;
  --navy-800: #0f1e3d;
  --navy-700: #1e3a8a;
  --navy-600: #2563eb;
  --accent-500: #0d9488;
  --accent-400: #2dd4bf;
  --accent-100: #ccfbf1;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ok: #15803d;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(7, 20, 40, .18);
  --max: 1180px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent-400); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-800); color: #cbd5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-500); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section--dark .lead { color: #94a3b8; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .98rem; padding: 13px 22px; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
  text-decoration: none !important; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: #14b8a6; color: var(--navy-900); }
.btn--accent:hover { background: var(--accent-400); box-shadow: 0 8px 20px rgba(20, 184, 166, .35); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; letter-spacing: 0; color: #2563eb; }
.site-footer .brand-name { color: #3b82f6; }
.brand-sub { font-size: .62rem; font-weight: 600; letter-spacing: .3em; margin-top: 2px; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a[aria-current="page"] { color: var(--accent-500); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #cbd5e1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(20, 184, 166, .22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(37, 99, 235, .45), transparent 60%),
    var(--navy-900);
  padding: 96px 0 104px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent-400); }
.hero p.lead { color: #a8b5c8; font-size: 1.2rem; margin-bottom: 32px; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pillars span {
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(45, 212, 191, .4); color: var(--accent-400);
}
.hero-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.metric-list { list-style: none; display: grid; gap: 12px; }
.metric-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: .93rem;
}
.metric-list b { color: #fff; font-weight: 600; }
.tag { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag--crit { background: rgba(239, 68, 68, .15); color: #fca5a5; }
.tag--high { background: rgba(249, 115, 22, .15); color: #fdba74; }
.tag--med { background: rgba(234, 179, 8, .15); color: #fde047; }
.tag--low { background: rgba(34, 197, 94, .15); color: #86efac; }
.hero-card small { display: block; margin-top: 14px; color: #7f8ea3; font-size: .78rem; }

/* Page hero (inner pages) */
.page-hero { background: var(--navy-900); color: #a8b5c8; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 90% 0%, rgba(20, 184, 166, .2), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { max-width: 720px; font-size: 1.1rem; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 14px; color: #7f8ea3; }
.breadcrumb a { color: var(--accent-400); }

/* Tech strip */
.tech-strip { border-bottom: 1px solid var(--line); padding: 26px 0; background: #fff; }
.tech-strip .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.tech-strip p { margin: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tech-list { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; justify-content: center; }
.tech-list li { font-family: var(--font-head); font-weight: 600; color: #475569; font-size: .98rem; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-400); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-100); color: var(--accent-500);
}
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .more { margin-top: auto; font-weight: 600; color: var(--navy-600); font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 18px; }
.chips li { font-size: .78rem; background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; color: #475569; }

/* Why-now cards */
.alert-card { border-left: 4px solid var(--accent-500); }
.alert-card .when { font-family: var(--font-head); font-weight: 700; color: var(--accent-500); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }

/* BC framework */
.framework { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.phase {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  padding: 24px 20px; position: relative;
}
.phase::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--accent-400); display: block; margin-bottom: 8px;
}
.phase h3 { letter-spacing: .1em; font-size: 1.05rem; }
.phase ul { list-style: none; display: grid; gap: 6px; font-size: .9rem; }
.phase li::before { content: "› "; color: var(--accent-400); }
.equation { text-align: center; font-family: var(--font-head); font-size: 1.1rem; color: #fff; margin-top: 36px; }
.equation span { color: var(--accent-400); }

/* Lists */
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 10px 28px; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .88rem; letter-spacing: .03em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: var(--bg-soft); }
td.yes { text-align: center; color: var(--ok); font-weight: 700; }
th.c { text-align: center; }

/* Service detail blocks */
.service-block { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-block:last-child { border-bottom: 0; }
.service-block .icon { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); color: var(--accent-400); margin-bottom: 18px; }
.service-block .icon svg { width: 30px; height: 30px; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sub-grid .card { padding: 22px; }
.sub-grid h4 { font-size: 1rem; margin-bottom: 12px; }
.outcomes { margin-top: 24px; padding: 20px 22px; background: var(--accent-100); border-radius: var(--radius-sm); }
.outcomes h4 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #0f766e; margin-bottom: 10px; }
.outcomes ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: var(--ink); font-size: .94rem; }
.outcomes li::before { content: "✓ "; color: var(--accent-500); }
.service-nav { position: sticky; top: 72px; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.service-nav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.service-nav a { display: block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--body); }
.service-nav a:hover { background: var(--bg-soft); text-decoration: none; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); border-radius: 20px; padding: 56px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; color: #cbd5e1; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(20, 184, 166, .18); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-band .btn-row { position: relative; z-index: 1; }

/* Engagement */
.engage .card h3 { display: flex; align-items: center; gap: 10px; }
.engage .card .num { font-family: var(--font-head); color: var(--accent-500); font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-100); color: var(--accent-500); display: grid; place-items: center; flex: none; }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p { margin: 0; color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-500); box-shadow: 0 0 0 3px rgba(20, 184, 166, .2); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #b91c1c; }
.hp { position: absolute; left: -9999px; }

/* About */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quote-card { background: var(--navy-800); color: #cbd5e1; border-radius: var(--radius); padding: 40px; position: relative; }
.quote-card p.big { font-family: var(--font-head); font-size: 1.4rem; color: #fff; line-height: 1.4; }
.quote-card .mark { font-family: Georgia, serif; font-size: 5rem; color: var(--accent-500); line-height: .6; display: block; margin-bottom: 10px; }
.founder { display: flex; gap: 24px; align-items: center; }
.card.founder { flex-direction: row; }
@media (max-width: 560px) { .card.founder { flex-direction: column; align-items: flex-start; } }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: var(--accent-400); display: grid; place-items: center; font-family: var(--font-head); font-size: 2rem; font-weight: 700; flex: none; }

/* Footer */
.site-footer { background: var(--navy-900); color: #8b9ab0; padding: 72px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #b6c2d3; }
.site-footer a:hover { color: var(--accent-400); }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-sub { color: #7f8ea3; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Prose (privacy etc.) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4, .grid-5, .framework { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; width: 100%; }
  .hero-grid, .grid-3, .grid-2, .contact-grid, .story, .sub-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 36px 24px; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .grid-4, .grid-5, .framework, .footer-grid, .form-row, .check-list.cols-2 { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .btn-row .btn { width: 100%; }
  th, td { padding: 12px; }
}
