/* Chittor Core Infra — site styles */
:root {
  --ink: #1b2430;
  --ink-soft: #4a5565;
  --muted: #6b7686;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --dark: #17202b;
  --dark-2: #222d3a;
  --accent: #e8891c;
  --accent-dark: #c76f0c;
  --accent-soft: #fdf1e3;
  --ok: #1f7a4a;
  --err: #b42318;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(23, 32, 43, .08);
  --max: 1160px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .6em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: currentColor; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); }

/* Top bar */
.topbar { background: var(--dark); color: #c9d1db; font-size: .85rem; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #c9d1db; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--dark); color: var(--accent);
  display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; letter-spacing: .02em;
}
.brand small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); font-weight: 500; padding: .5em .9em; border-radius: 6px; }
.nav a:hover { color: var(--accent-dark); text-decoration: none; }
.nav a.active { color: var(--accent-dark); }
.nav .btn { margin-left: 8px; padding: .6em 1.2em; color: #fff; }
.nav .btn:hover { color: #fff; }
.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;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(23, 32, 43, .94) 35%, rgba(23, 32, 43, .65)),
    url("../img/hero.svg") center / cover no-repeat,
    var(--dark);
  padding: 120px 0 110px;
}
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 span { color: var(--accent); }
.hero p { color: #d3dae3; font-size: 1.15rem; max-width: 620px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Page banner (inner pages) */
.page-banner {
  background: linear-gradient(115deg, var(--dark) 40%, var(--dark-2));
  color: #fff;
  padding: 70px 0 60px;
}
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner p { color: #c9d1db; margin: 0; }
.crumbs { font-size: .85rem; color: #9aa6b4; margin-bottom: 10px; }
.crumbs a { color: #c9d1db; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-box {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: url("../img/site.svg") center / cover no-repeat, var(--dark-2);
  box-shadow: var(--shadow);
}
.checks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c76f0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Process steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.2rem; font-weight: 800;
  color: var(--accent);
  line-height: 1; margin-bottom: 12px;
}

/* Projects */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filters button {
  font: inherit; font-size: .9rem; font-weight: 500;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: .5em 1.1em; border-radius: 999px; cursor: pointer;
}
.filters button.active, .filters button:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.project { padding: 0; overflow: hidden; }
.project .thumb {
  aspect-ratio: 16 / 10;
  background: var(--dark-2) url("../img/project.svg") center / cover no-repeat;
  position: relative;
}
.project .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project .tag {
  position: absolute; left: 14px; top: 14px;
  background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 600; padding: .25em .8em; border-radius: 999px;
}
.project .body { padding: 22px 24px 24px; }
.project .meta { font-size: .85rem; color: var(--muted); margin: 0; }
.project[hidden] { display: none; }

/* CTA band */
.cta { background: var(--accent); color: #fff; padding: 56px 0; }
.cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { color: #fff; margin: 0 0 .2em; }
.cta p { color: #fff6ea; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.info-item { display: flex; gap: 16px; margin-bottom: 22px; }
.info-item .icon { margin: 0; flex: none; }
.info-item h3 { margin-bottom: .2em; font-size: 1rem; }
.info-item p { margin: 0; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: .75em .9em;
  border: 1px solid #cfd5dc; border-radius: 8px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 137, 28, .18);
}
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-size: .95rem; }
.alert-ok { background: #e7f5ee; color: var(--ok); border: 1px solid #b9e2cc; }
.alert-err { background: #fdecea; color: var(--err); border: 1px solid #f5c2bd; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 8px; }

/* Footer */
.site-footer { background: var(--dark); color: #aab4c0; padding: 64px 0 0; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer p { color: #aab4c0; }
.site-footer a { color: #aab4c0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand small { color: #8995a3; }
.copyright { border-top: 1px solid #2c3846; margin-top: 48px; padding: 20px 0; font-size: .85rem; text-align: center; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.wa-float svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 74px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8em .4em; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; justify-content: center; border-bottom: 0; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .footer-grid, form .row { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 72px; }
  .topbar .hide-sm { display: none; }
}
