/* ============================================================
   OMKAR INSULATION — SHARED DESIGN SYSTEM
   Palette: Navy Blue · Slate Gray · Light Gray · White
   Aesthetic: Professional · Trusted · Industrial Authority
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Core Palette ── */
  --navy:          #1B2A4A;
  --navy-dark:     #0F1E35;
  --navy-deep:     #0A1628;
  --navy-mid:      #243554;
  --slate:         #4A5568;
  --slate-lt:      #718096;
  --gray-light:    #EDF2F7;
  --gray-mid:      #CBD5E0;
  --gray-border:   #E2E8F0;
  --white:         #FFFFFF;
  --off-white:     #F7FAFC;

  /* ── Accents ── */
  --accent:        #2563EB;
  --accent-lt:     #3B82F6;
  --gold:          #D4A847;

  /* ── Text ── */
  --text-dark:     #1A202C;
  --text-body:     #2D3748;
  --text-muted:    #718096;

  /* ── Typography ── */
  --ff-display:    'Playfair Display', Georgia, serif;
  --ff-body:       'Plus Jakarta Sans', sans-serif;

  /* ── Layout ── */
  --nav-h:         72px;
  --radius-sm:     4px;
  --radius:        8px;
  --radius-lg:     14px;
  --shadow-sm:     0 1px 3px rgba(27,42,74,0.08), 0 1px 2px rgba(27,42,74,0.06);
  --shadow-md:     0 4px 16px rgba(27,42,74,0.10), 0 2px 6px rgba(27,42,74,0.06);
  --shadow-lg:     0 10px 40px rgba(27,42,74,0.14);
  --transition:    0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text-body);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
main { margin-top: var(--nav-h); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 10px; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  /*height: var(--nav-h); */
  display: flex; align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  background: rgba(15, 30, 53, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(10,22,40,0.35); }

.nav-brand { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 22px; height: 22px; fill: white; }
.brand-text { line-height: 1.15; }
.brand-name {
  font-family: var(--ff-display); font-size: 1.12rem; font-weight: 700;
  color: var(--white); display: block;
}
.brand-sub {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); display: block;
}

.nav-links { display: flex; align-items: center; gap: 0.1rem; margin-left: auto; }
.nav-links a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0.5rem 0.9rem; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 4px; left: 0.9rem; right: 0.9rem;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-cta {
  margin-left: 0.75rem !important;
  background: var(--accent) !important; color: var(--white) !important;
  padding: 0.5rem 1.3rem !important; border-radius: var(--radius-sm) !important;
}
.nav-cta:hover { background: var(--accent-lt) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; margin-left: auto;
  background: none; border: none; padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-direction: column;
  padding: 1.25rem clamp(1.25rem, 4vw, 3.5rem) 1.75rem;
  z-index: 899; display: none;
  transform: translateY(-110%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.mobile-drawer.open { display: flex; transform: translateY(0); }
.mobile-drawer a {
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
.mobile-drawer a:last-child { border-bottom: none; }
.mobile-drawer a:hover, .mobile-drawer a.active { color: var(--gold); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--navy-dark); border-top: 3px solid var(--accent); }

.footer-top {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 4rem clamp(1.25rem, 4vw, 3.5rem) 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-col p { color: rgba(255,255,255,0.42); font-size: 0.88rem; max-width: 285px; line-height: 1.75; margin-top: 1rem; margin-bottom: 1.4rem; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.25);
  border-radius: 50px; padding: 0.3rem 0.85rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-lt);
}
.footer-col h4 {
  font-family: var(--ff-display); font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.42); font-size: 0.87rem;
  display: flex; align-items: center; gap: 0.4rem;
  transition: color var(--transition);
}
.footer-col ul a::before { content: '›'; color: var(--accent-lt); font-size: 1.1rem; line-height: 1; }
.footer-col ul a:hover { color: var(--white); }

.footer-contact-row { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.85rem; }
.fi-icon {
  width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px;
  background: rgba(37,99,235,0.14); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
}
.footer-contact-row span { color: rgba(255,255,255,0.42); font-size: 0.86rem; line-height: 1.6; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem);
  font-size: 0.79rem; color: rgba(255,255,255,0.28);
}
.footer-bottom a { color: rgba(255,255,255,0.42); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ============================================================
   UTILITIES
============================================================ */
.container { width: min(1180px, 100%); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3.5rem); }
.section { padding: 5.5rem 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.85rem;
}
.section-label::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-label.light { color: var(--gold); }
.section-label.light::before { background: var(--gold); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.13; color: var(--text-dark); margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold); }

.section-desc { color: var(--text-muted); font-size: 1.02rem; max-width: 620px; line-height: 1.8; }
.section-desc.light { color: rgba(255,255,255,0.58); }

.divider { width: 44px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 2px; margin-bottom: 1.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--ff-body); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.82rem 1.8rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-lt); border-color: var(--accent-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.28); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-icon {
  width: 50px; height: 50px; background: rgba(37,99,235,0.08);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.1rem; font-size: 1.3rem;
}
.card h3 { font-family: var(--ff-display); font-size: 1.18rem; color: var(--text-dark); margin-bottom: 0.55rem; }
.card p { color: var(--text-muted); font-size: 0.91rem; line-height: 1.75; }

/* Stat chips */
.stat-chip {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.stat-chip:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.stat-chip .num { font-family: var(--ff-display); font-size: 2.6rem; color: var(--navy); line-height: 1; }
.stat-chip .lbl { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.35rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.62s ease, transform 0.62s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Page hero (shared) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  padding: 5rem 0 4rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 70px 70px;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-desc { color: rgba(255,255,255,0.62); font-size: 1.04rem; max-width: 580px; line-height: 1.8; margin: 1rem 0 1.75rem; }
.breadcrumb { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }

/* Form */
.form-group { margin-bottom: 1.3rem; }
.form-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.45rem; }
.form-control {
  width: 100%; background: var(--off-white);
  border: 1.5px solid var(--gray-border); border-radius: var(--radius-sm);
  padding: 0.875rem 1.1rem;
  color: var(--text-dark); font-family: var(--ff-body); font-size: 0.97rem;
  outline: none; transition: border-color var(--transition), box-shadow var(--transition); resize: vertical;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); background: var(--white); }
.form-control::placeholder { color: var(--gray-mid); }

/* o-rule */
.o-rule { border: none; border-top: 1px solid var(--gray-border); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}
