/* ============================
   Sahasraveer LIC Ravi – Portfolio
   Palette: Blue, White, Gold
   ============================ */

:root {
  --blue-900: #0a2540;
  --blue-800: #123268;
  --blue-700: #1a4a8f;
  --blue-600: #2563b5;
  --blue-500: #3478d1;
  --blue-100: #e7efff;
  --blue-50:  #f3f7ff;
  --gold-600: #c9a227;
  --gold-500: #d4af37;
  --gold-400: #e6c459;
  --gold-100: #fbf3d0;
  --white: #ffffff;
  --ink-900: #0f1a2e;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-100: #f1f5f9;
  --green-wa: #25d366;
  --green-wa-dark: #128c7e;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 18px 48px rgba(10, 37, 64, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-600); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ===== Top bar ===== */
.topbar {
  background: var(--blue-900);
  color: var(--white);
  font-size: 0.86rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar i { color: var(--gold-500); margin-right: 6px; }

/* ===== Nav ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-100);
  transition: box-shadow .25s ease;
}
.nav-wrap.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--blue-900);
  font-size: 1.1rem;
}
.brand-mark {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: var(--white);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}
.brand-text small {
  display: block;
  font-weight: 500;
  color: var(--gold-600);
  font-size: 0.78rem;
  letter-spacing: 0.4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: var(--gold-500);
  transition: width .25s;
}
.nav-links a:not(.nav-cta):hover:after,
.nav-links a.active:not(.nav-cta):after { width: 100%; }
.nav-cta {
  background: var(--blue-700);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--blue-900); color: var(--white) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--blue-900);
  cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); color: var(--white); }
.btn-primary:hover { color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: var(--white); color: var(--blue-900); }
.btn-wa { background: var(--green-wa); color: var(--white); }
.btn-wa:hover { background: var(--green-wa-dark); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 70px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(212,175,55,.25), transparent 60%),
    radial-gradient(800px 400px at 10% 80%, rgba(52,120,209,.35), transparent 60%),
    linear-gradient(135deg, #081c3a 0%, #0e2a5a 50%, #123268 100%);
}
.hero-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.08) 1.3px, transparent 1.3px);
  background-size: 28px 28px;
  opacity: 0.35;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.15);
  color: var(--gold-400);
  border: 1px solid rgba(212,175,55,0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 8px;
  line-height: 1.1;
  font-weight: 700;
}
.hero-text .gold { color: var(--gold-400); }
.credentials {
  color: rgba(255,255,255,0.8);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin: 6px 0 18px;
}
.tagline { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 540px; margin: 0 0 26px; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 460px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
}
.hero-stats strong {
  display: block;
  font-size: 1.9rem;
  font-family: 'Playfair Display', serif;
  color: var(--gold-400);
  line-height: 1;
}
.hero-stats span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* Hero photo */
.hero-photo { display: flex; justify-content: center; }
.photo-ring {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 4/5;
  padding: 10px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #e8eef7;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.badge-mdrt {
  position: absolute;
  bottom: -10px;
  left: -18px;
  background: var(--white);
  color: var(--blue-900);
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}
.badge-mdrt i { color: var(--gold-500); font-size: 1.8rem; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: linear-gradient(180deg, var(--blue-50), var(--white)); }
.section-head {
  text-align: center;
  margin-bottom: 50px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--blue-900);
  margin: 0;
}
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  margin: 14px auto 0;
  border-radius: 2px;
}
.divider.left { margin: 14px 0 0; }
.section-sub {
  color: var(--ink-500);
  margin: 18px auto 0;
  max-width: 620px;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text p { color: var(--ink-700); font-size: 1.02rem; margin: 0 0 16px; }
.about-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  font-weight: 500;
}
.about-points i { color: var(--gold-500); }
.about-side { display: grid; gap: 18px; }
.side-card {
  background: var(--white);
  padding: 22px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.side-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.side-card i {
  color: var(--blue-700);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.side-card h4 { margin: 4px 0 4px; color: var(--blue-900); }
.side-card p { margin: 0; color: var(--ink-500); font-size: 0.95rem; }

/* ===== Achievements ===== */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.ach-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
  position: relative;
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.ach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ach-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--gold-500));
}
.ach-card.highlight {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  border: none;
}
.ach-card.highlight h3, .ach-card.highlight p { color: var(--white); }
.ach-card.highlight .ach-icon { background: rgba(212,175,55,0.2); color: var(--gold-400); }
.ach-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.ach-card h3 {
  color: var(--blue-900);
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
}
.ach-card p { margin: 0; color: var(--ink-500); font-size: 0.95rem; }
.ach-card.highlight p { color: rgba(255,255,255,0.85); }

/* ===== Services ===== */
.sub-head {
  color: var(--blue-900);
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  margin: 30px 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sub-head i { color: var(--gold-500); }
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 40px;
}
.spec-card {
  background: var(--white);
  padding: 28px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
  transition: transform .25s, box-shadow .25s;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.spec-card i {
  color: var(--gold-600);
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.spec-card h4 { margin: 0 0 6px; color: var(--blue-900); font-size: 1.2rem; }
.spec-card p { margin: 0; color: var(--ink-500); }

.servicing-intro { color: var(--ink-500); margin-bottom: 18px; }
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-100);
  color: var(--ink-900);
  font-weight: 500;
  transition: background .2s, border-color .2s;
}
.check-item i {
  background: var(--blue-700);
  color: var(--white);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.check-item:hover {
  background: var(--blue-50);
  border-color: var(--blue-100);
}

/* ===== Forms ===== */
.form-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 820px;
  margin: 0 auto;
}
.form-title {
  font-family: 'Playfair Display', serif;
  color: var(--blue-900);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-title i { color: var(--gold-500); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 14px;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(52,120,209,0.18);
}
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}
.form-note {
  text-align: center;
  color: var(--ink-500);
  font-size: 0.86rem;
  margin: 14px 0 0;
}
.form-note i { color: var(--gold-600); margin-right: 4px; }

/* ===== Non-life ===== */
.nonlife-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.nonlife-card {
  background: var(--white);
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .2s;
}
.nonlife-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}
.nonlife-card i {
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.nonlife-card h4 { margin: 0 0 6px; color: var(--blue-900); }
.nonlife-card p { margin: 0; color: var(--ink-500); font-size: 0.93rem; }

/* ===== Recruitment ===== */
.recruit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 50px;
}
.recruit-card {
  background: var(--white);
  padding: 34px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue-700);
  position: relative;
  overflow: hidden;
}
.recruit-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.recruit-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--ink-700);
  border-bottom: 1px dashed var(--ink-100);
}
.recruit-card li:last-child { border-bottom: none; }
.recruit-card li i { color: var(--blue-700); width: 20px; }
.recruit-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--blue-900);
  margin: 0 0 8px;
  font-size: 1.4rem;
}
.recruit-icon {
  width: 54px;
  height: 54px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.recruit-card.sakhi {
  border-top-color: var(--gold-500);
  background: linear-gradient(135deg, #fff 0%, var(--gold-100) 100%);
}
.recruit-card.sakhi .recruit-icon {
  background: var(--gold-100);
  color: var(--gold-600);
}
.recruit-card.sakhi li i { color: var(--gold-600); }
.sakhi-ribbon {
  position: absolute;
  top: 18px;
  right: -30px;
  background: var(--gold-500);
  color: var(--blue-900);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 36px;
  transform: rotate(35deg);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== Testimonials ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.testi-card {
  background: var(--white);
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card .quote {
  color: var(--gold-400);
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.testi-card p {
  color: var(--ink-700);
  font-style: italic;
  margin: 0 0 22px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.testi-author strong { display: block; color: var(--blue-900); font-size: 0.98rem; }
.testi-author span { color: var(--ink-500); font-size: 0.85rem; }

/* ===== Contact ===== */
.contact-section {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-size: 2.3rem;
}
.contact-info > p { color: rgba(255,255,255,0.85); margin-bottom: 26px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-list li > i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212,175,55,0.18);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-list span {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
}
.contact-list a {
  color: var(--white);
  font-weight: 500;
}
.contact-list a:hover { color: var(--gold-400); }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  text-align: center;
}
.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin: 0 0 6px;
}
.contact-card .muted { color: rgba(255,255,255,0.7); margin: 0 0 20px; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 20px;
}
.stat-row strong {
  font-family: 'Playfair Display', serif;
  color: var(--gold-400);
  font-size: 1.6rem;
  display: block;
  line-height: 1;
}
.stat-row span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  display: block;
}
.small-note {
  font-style: italic;
  color: var(--gold-400);
  margin: 0;
  font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.75);
  padding: 22px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer .muted { color: rgba(255,255,255,0.5); margin: 0; }
.footer p { margin: 0; }

/* ===== Sticky actions ===== */
.sticky-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}
.sticky-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform .2s;
}
.sticky-btn:hover { transform: scale(1.08); color: var(--white); }
.sticky-call {
  background: var(--blue-700);
  animation: pulse 2s infinite;
}
.sticky-wa { background: var(--green-wa); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(26,74,143,0.5), 0 10px 24px rgba(0,0,0,0.25); }
  70% { box-shadow: 0 0 0 18px rgba(26,74,143,0), 0 10px 24px rgba(0,0,0,0.25); }
  100% { box-shadow: 0 0 0 0 rgba(26,74,143,0), 0 10px 24px rgba(0,0,0,0.25); }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text .eyebrow, .hero-ctas, .hero-stats { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-ctas { display: flex; justify-content: center; }
  .hero-text .tagline { margin-left: auto; margin-right: auto; }
  .photo-ring { max-width: 320px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .recruit-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar-inner { justify-content: center; text-align: center; font-size: 0.78rem; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0 22px;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s ease, padding .3s ease, visibility .3s;
  }
  .nav-links.open {
    max-height: 480px;
    padding: 14px 22px 22px;
    border-bottom: 1px solid var(--ink-100);
    visibility: visible;
  }
  .nav-links a {
    padding: 10px 4px;
    border-bottom: 1px solid var(--ink-100);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .section { padding: 60px 0; }
  .about-points { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding: 50px 0 70px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats strong { font-size: 1.5rem; }
  .contact-card { padding: 30px 22px; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .btn { padding: 11px 16px; font-size: 0.88rem; }
  .section-head h2 { font-size: 1.6rem; }
  .hero-text h1 { font-size: 2rem; }
}
