/* Sindhvai Enterprise — site styles */

:root {
  --navy-900: #0f1b2a;
  --navy-800: #16263a;
  --navy-700: #223750;
  --blue-600: #0d6fb8;
  --blue-500: #0d7fc4;
  --blue-100: #e3f0fa;
  --accent: #e8752a;          /* molten metal */
  --accent-dark: #c95f1a;
  --steel-50: #f4f6f8;
  --steel-100: #e7ebef;
  --steel-300: #c3ccd5;
  --steel-500: #6b7a8a;
  --ink: #1a2533;
  --white: #ffffff;
  --whatsapp: #1fa855;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 27, 42, .06), 0 8px 24px rgba(15, 27, 42, .08);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-500); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--navy-800); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; }
.muted { color: var(--steel-500); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: .75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-ghost-dark { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn-ghost-dark:hover { background: var(--navy-700); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #178a45; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--steel-100);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 48px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.25rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-700); }
.brand-text small { font-size: .68rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--blue-500); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--navy-700); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--blue-500); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-700); margin: 5px 0; transition: transform .2s, opacity .2s; }
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--steel-100);
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(13, 127, 196, .35), transparent 60%),
    radial-gradient(600px 400px at 70% 100%, rgba(232, 117, 42, .18), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 2.5rem;
  overflow: hidden;
}
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .eyebrow { color: #7cc3f0; }
.hero .lead { font-size: 1.12rem; color: var(--steel-300); max-width: 52ch; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero-media { margin: 0; position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  transform: rotate(1.5deg);
  aspect-ratio: 500 / 370;
  object-fit: cover;
}
.hero-media figcaption {
  position: absolute;
  left: -14px;
  bottom: 22px;
  background: var(--white);
  color: var(--navy-700);
  font-weight: 700;
  font-size: .88rem;
  padding: .6rem .9rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.hero-media figcaption .mono { color: var(--accent-dark); margin-right: .35rem; }

.fact-strip {
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.fact-strip li { display: flex; flex-direction: column; gap: .15rem; }
.fact-strip strong { color: var(--white); font-size: 1.05rem; }
.fact-strip span { font-size: .88rem; color: var(--steel-300); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--steel-50); }
.section-dark { background: var(--navy-800); color: var(--steel-300); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: #7cc3f0; }

.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head p:last-child { color: var(--steel-500); }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.prose p { color: #3a4757; }
.small-head { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); margin-top: 2rem; }

/* ---------- Grades ---------- */
.grade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grade-card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.grade-card p { color: #3a4757; font-size: .96rem; }
.grade-code {
  align-self: flex-start;
  background: var(--blue-100);
  color: var(--blue-600);
  padding: .3rem .6rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.grade-card dl { margin: auto 0 0; padding-top: 1rem; border-top: 1px dashed var(--steel-300); display: grid; gap: .55rem; }
.grade-card dl div { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.grade-card dt { color: var(--steel-500); }
.grade-card dd { margin: 0; font-weight: 600; text-align: right; color: var(--navy-700); }

.reject-box {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: var(--white);
  border-left: 4px solid var(--accent);
}
.reject-box h3 { font-size: 1.05rem; }
.reject-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem 1.5rem; }
.reject-list li { position: relative; padding-left: 1.5rem; font-size: .95rem; color: #3a4757; }
.reject-list li::before { content: "×"; position: absolute; left: 0; top: -1px; font-weight: 800; color: var(--accent-dark); }

/* ---------- Process ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 2rem;
}
.steps li { counter-increment: step; position: relative; padding-top: 3.2rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--mono);
  font-size: .9rem;
  color: var(--white);
  background: var(--navy-700);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.steps li::after {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 3rem;
  right: -1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--steel-300), transparent);
}
.steps li:nth-child(3n)::after { display: none; }
.steps p { color: #3a4757; font-size: .96rem; margin: 0; }

/* ---------- Partners ---------- */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.partner-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.partner-tag { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.partner-card h3 { font-size: 1.5rem; }
.check-list { list-style: none; margin: .4rem 0 1.4rem; padding: 0; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 1.7rem; color: var(--steel-100); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .95rem;
  height: .55rem;
  border-left: 2px solid #7cc3f0;
  border-bottom: 2px solid #7cc3f0;
  transform: rotate(-45deg);
}
.partner-needs { font-size: .93rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); margin-bottom: 1.6rem; }
.partner-needs strong { color: var(--white); }
.partner-card .btn { margin-top: auto; }

/* ---------- About ---------- */
.reg-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.reg-logos li { width: 96px; height: 96px; padding: 10px; background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius-sm); display: grid; place-items: center; }
.reg-logos img { max-height: 100%; width: auto; object-fit: contain; }

.next-strip {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius);
  background: var(--blue-100);
}
.next-strip p { margin: 0; color: var(--navy-700); }
.link-arrow { font-weight: 700; white-space: nowrap; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---------- Enquiry ---------- */
.enquiry-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 3rem; align-items: start; }
.enquiry-form { margin-top: 1.6rem; display: grid; gap: 1rem; }

.role-toggle { border: 0; padding: 4px; margin: 0 0 .4rem; display: grid; grid-template-columns: 1fr 1fr; background: var(--steel-100); border-radius: 999px; }
.role-toggle label { position: relative; cursor: pointer; }
.role-toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-toggle span { display: block; text-align: center; padding: .7rem .5rem; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--steel-500); transition: background-color .15s, color .15s; }
.role-toggle input:checked + span { background: var(--white); color: var(--navy-800); box-shadow: 0 1px 4px rgba(15, 27, 42, .12); }
.role-toggle input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field[hidden] { display: none; }
.field > span { font-size: .88rem; font-weight: 600; color: var(--navy-700); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(13, 127, 196, .18); }
.field .invalid { border-color: #c62828; }
.form-error { color: #c62828; font-weight: 600; margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.contact-list { margin: 0 0 1.4rem; display: grid; gap: 1.1rem; }
.contact-list dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-500); }
.contact-list dd { margin: .2rem 0 0; font-weight: 600; color: var(--navy-700); }
.contact-list a { color: var(--navy-700); text-decoration: none; }
.contact-list a:hover { color: var(--blue-500); }
.map { width: 100%; height: 220px; border: 0; border-radius: var(--radius-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--steel-300); padding: 2.8rem 0 1.6rem; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand p { margin: 0; line-height: 1.4; }
.footer-brand strong { color: var(--white); }
.social { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: var(--steel-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.2rem; }
.footer-bottom p { margin: 0; }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .enquiry-grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .hero-media { max-width: 520px; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .grade-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .partner-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { position: static; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 20px 1.2rem;
    background: var(--white);
    border-bottom: 1px solid var(--steel-100);
    box-shadow: 0 12px 24px rgba(15, 27, 42, .1);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--steel-100); }
  .nav-cta { margin-top: 1rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .fact-strip { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .reject-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn, .form-actions .btn { flex: 1 1 100%; }
  .hero-media figcaption { left: 8px; }
  .next-strip { flex-direction: column; align-items: flex-start; }
  .role-toggle span { font-size: .85rem; }
  .reg-logos { gap: .6rem; }
  .reg-logos li { width: calc((100% - 1.8rem) / 4); height: auto; aspect-ratio: 1; padding: 6px; }
}

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