/* ==========================================================================
   Shri Harihar Texfab — Stylesheet
   Brand: Navy #2E3192 (logo), Red #E31E24 (wordmark)
   ========================================================================== */

:root {
  --navy: #2E3192;
  --navy-dark: #1f2166;
  --navy-light: #4b4fb8;
  --red: #E31E24;
  --red-dark: #b8161b;
  --ink: #1b1d2a;
  --text: #3d4152;
  --muted: #6b7084;
  --line: #e4e6ef;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --bg-tint: #eef0fa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(30, 33, 102, 0.10);
  --shadow-lg: 0 20px 50px rgba(30, 33, 102, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --header-h: 76px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 860px; }
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .5rem;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
}
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p:last-child { color: var(--muted); margin: 0; }
.section-head.light h2 { color: var(--white); }
.section-head.light .section-eyebrow { color: #ffb3b5; }
.section-head.light .section-eyebrow::before { background: #ffb3b5; }

.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 1000;
}
.skip-link:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(227,30,36,.3); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-tint); color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: var(--bg-tint); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25D366; color: #fff; margin-top: 8px; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .3s, height .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(30,33,102,.10); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(46,49,146,.18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; padding-left: 14px; border-left: 2px solid var(--line); }
.brand-text strong {
  font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  display: flex; gap: .35em; white-space: nowrap;
}
.brand-a { color: var(--navy); }
.brand-b {
  color: var(--red);
  background: linear-gradient(90deg, var(--red), #ff5a5f);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-text small {
  margin-top: 4px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.brand-text small em { font-style: normal; color: var(--red); font-weight: 700; }
.brand:hover .brand-a { color: var(--navy-light); }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; color: var(--ink); white-space: nowrap;
  transition: color .25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--navy));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-call { font-weight: 700; letter-spacing: .02em; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: var(--bg-tint); border-radius: 10px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .3s, opacity .3s; border-radius: 2px; }
.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; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 90px;
  color: #fff; overflow: hidden;
  background: var(--navy-dark);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(31,33,102,.92) 0%, rgba(46,49,146,.78) 45%, rgba(20,22,60,.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }

/* Eyebrow pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: #fff; margin-bottom: 22px;
  padding: 8px 18px 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255,90,95,.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,90,95,.7); }
  70% { box-shadow: 0 0 0 10px rgba(255,90,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,90,95,0); }
}

/* Headline */
.hero h1 {
  color: #fff; margin-bottom: 24px; font-weight: 800;
  font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -.02em;
  text-shadow: 0 6px 30px rgba(0,0,0,.28);
}
.hero h1 > span { display: block; }
.h1-top {
  font-size: .42em; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.78); margin-bottom: .35em;
}
.h1-mid {
  background: linear-gradient(180deg, #ffffff 30%, #d9dcff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.h1-bot { display: block; }

/* Rotating accent word */
.rotator {
  position: relative; display: inline-grid; vertical-align: bottom;
  padding-bottom: .12em;
}
.rotator .accent {
  grid-area: 1 / 1; color: #ff6b6f;
  background: linear-gradient(90deg, #ff4d52, #ff8a8d);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0; transform: translateY(.45em) rotateX(-60deg); transform-origin: 50% 100%;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  white-space: nowrap; position: relative; justify-self: start;
}
.rotator .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .12em; border-radius: 99px;
  background: linear-gradient(90deg, var(--red), rgba(255,138,141,.35));
  transform: scaleX(0); transform-origin: left; transition: transform .7s .25s var(--ease);
}
.rotator .accent.is-on { opacity: 1; transform: none; }
.rotator .accent.is-on::after { transform: scaleX(1); }
.rotator .accent.is-out { opacity: 0; transform: translateY(-.45em) rotateX(60deg); }

/* Lead */
.hero .lead {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem); line-height: 1.75; color: rgba(255,255,255,.88);
  max-width: 620px; margin-bottom: 34px;
  padding-left: 18px; border-left: 3px solid rgba(255,107,111,.85);
}
.hero .lead strong { color: #fff; font-weight: 600; }

/* CTAs */
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }

/* Badges */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li {
  display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: #fff;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.hero-badges li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Staggered entrance */
.hero .anim { opacity: 0; transform: translateY(24px); animation: heroIn .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { font-size: .85rem; color: rgba(255,255,255,.8); }

/* ---------- About ---------- */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media > img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.about-card {
  position: absolute; right: -20px; bottom: -24px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 16px 20px; border-radius: 12px; box-shadow: var(--shadow-lg);
  max-width: 300px; border-left: 4px solid var(--red);
}
.about-card img { width: 48px; height: 48px; }
.about-card p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.about-card strong { color: var(--navy); }
.about-text h2 { margin-bottom: 20px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.checklist { margin: 20px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232E3192'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Products ---------- */
.products { background: var(--bg-soft); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.card-icon svg { width: 28px; height: 28px; fill: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Infrastructure ---------- */
.infra-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.infra-row:last-child { margin-bottom: 0; }
.infra-row.reverse .infra-media { order: 2; }
.infra-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.infra-text h3 { font-size: 1.5rem; margin-bottom: 14px; }
.infra-text p { color: var(--muted); }

/* ---------- Why us ---------- */
.why { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,30,36,.35), transparent 65%); top: -250px; right: -200px;
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.why-item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; transition: background .3s, transform .3s; }
.why-item:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.why-num { display: block; font-size: 2rem; font-weight: 800; color: #ff6b6f; margin-bottom: 8px; line-height: 1; }
.why-item h3 { color: #fff; font-size: 1.1rem; }
.why-item p { margin: 0; color: rgba(255,255,255,.8); font-size: .93rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; position: relative; box-shadow: var(--shadow); }
.gallery-item img, .gallery-item video { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.video-item { grid-column: span 2; }
.gallery-item.video-item video { aspect-ratio: 16/9; height: 100%; }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 36px 18px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: #fff; font-size: .9rem; font-weight: 500; pointer-events: none;
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--ink);
  position: relative; display: block;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-tint); color: var(--navy);
  display: grid; place-items: center; font-weight: 700; transition: transform .3s, background .3s;
}
.faq-list details[open] summary::after { content: "–"; background: var(--red); color: #fff; }
.faq-list details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.contact-info { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px 30px; }
.contact-info address { font-style: normal; }
.contact-info h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.contact-info p { color: rgba(255,255,255,.85); font-size: .95rem; margin: 0; }
.contact-info a { color: #fff; }
.contact-info a:hover { color: #ffb3b5; }
.info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.info-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.info-icon svg { width: 22px; height: 22px; fill: #fff; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.form-group label span { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(46,49,146,.12);
}
.form-group input.invalid, .form-group textarea.invalid, .form-group select.invalid { border-color: var(--red); background: #fff6f6; }
.form-group textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--red); }
.consent label { font-size: .8rem; line-height: 1.55; color: var(--muted); font-weight: 400; margin: 0; }
.consent label a { text-decoration: underline; }
.consent.invalid { border-color: var(--red); background: #fff6f6; }

#submit-btn { position: relative; margin-top: 6px; }
#submit-btn .btn-loader {
  display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .8s linear infinite;
}
#submit-btn.loading .btn-text { opacity: .7; }
#submit-btn.loading .btn-loader { display: inline-block; }
#submit-btn:disabled { opacity: .75; cursor: not-allowed; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: 14px 0 0; font-size: .9rem; font-weight: 500; min-height: 1.4em; }
.form-status.success { color: #15803d; }
.form-status.error { color: var(--red); }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map iframe { width: 100%; }

/* ---------- Legal ---------- */
.legal { padding-top: 0; }
.legal-block { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: #fff; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-block summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; }
.legal-block summary::-webkit-details-marker { display: none; }
.legal-block summary h2 { font-size: 1.15rem; margin: 0; display: inline; }
.legal-block summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-tint); color: var(--navy);
  display: grid; place-items: center; font-weight: 700;
}
.legal-block[open] summary::after { content: "–"; background: var(--red); color: #fff; }
.legal-body { padding: 0 22px 22px; font-size: .93rem; color: var(--muted); }
.legal-body h3 { font-size: 1rem; margin: 18px 0 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #13153f; color: rgba(255,255,255,.8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 0 40px; }
.site-footer h2 { color: var(--white); font-size: 1.1rem; letter-spacing: .08em; margin: 14px 0 10px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer p { font-size: .92rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #ff6b6f; }
.footer-brand img { width: 72px; height: 72px; background: #fff; border-radius: 14px; padding: 6px; }
.footer-nav li, .footer-products li { margin-bottom: 8px; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { margin: 0; }

/* ---------- Floating ---------- */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .2s;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }
.back-top {
  position: fixed; right: 20px; bottom: 88px; z-index: 800;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
  box-shadow: var(--shadow);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
  .hero .anim { opacity: 1; transform: none; animation: none; }
  .eyebrow .dot { animation: none; }
}

/* anchor offset for fixed header */
section[id] { scroll-margin-top: var(--header-h); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav a { padding: 8px 10px; font-size: .88rem; }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  .header-call span { display: none; }
  .header-call { padding: 9px 11px; border-radius: 10px; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; box-shadow: 0 20px 40px rgba(30,33,102,.15);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 16px 18px; }
  .main-nav a { padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a::after { display: none; }
  .main-nav a.active { padding-left: 18px; border-left: 3px solid var(--red); background: #fff6f6; }
  .main-nav li:last-child a { border-bottom: 0; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 1rem; }

  .about-grid, .infra-row, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .infra-row.reverse .infra-media { order: 0; }
  .about-card { right: 12px; bottom: -20px; max-width: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.video-item { grid-column: span 2; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; min-height: auto; }
  .br-desktop { display: none; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .h1-top { font-size: .48em; letter-spacing: .18em; }
  .hero .lead { padding-left: 14px; }
  .eyebrow { font-size: .68rem; letter-spacing: .12em; padding: 7px 14px 7px 12px; }
  .hero-badges li { font-size: .82rem; }
  .hero-cta .btn { width: 100%; }
  .cards-grid, .why-grid, .gallery-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .gallery-item.video-item { grid-column: span 1; }
  .gallery-item.video-item video { aspect-ratio: 16/9; }
  .about-card { position: static; margin: 16px auto 0; max-width: 100%; }
  .brand-text strong { font-size: .84rem; letter-spacing: 0; gap: .3em; }
  .brand { gap: 10px; min-width: 0; }
  .header-actions { gap: 8px; }
  .brand-text { padding-left: 10px; }
  .brand img { width: 44px; height: 44px; }
  .contact-form, .contact-info { padding: 26px 20px; }
  .section-head { margin-bottom: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .float-wa { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .back-top { right: 14px; bottom: 78px; }
  .map iframe { height: 300px; }
}

@media (max-width: 340px) {
  .brand-text { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .float-wa, .back-top, .hero-video, .scroll-hint, .map, .contact-form { display: none !important; }
  .hero { min-height: auto; color: #000; background: #fff; padding: 20px 0; }
  .hero h1, .hero .lead { color: #000; text-shadow: none; }
  .hero-overlay { display: none; }
  .reveal { opacity: 1; transform: none; }
}
