/* =========================================================
   Hadid Infra Ispat — theme
   Teal + steel grey from the logo, deep steel-navy base,
   warm amber accent from the hero's golden-hour light.
   ========================================================= */
:root {
  --ink: #0c1820;
  --ink-2: #13242f;
  --ink-3: #1b3240;
  --steel: #8b949b;
  --steel-2: #c7cdd1;
  --teal: #45c1cd;
  --teal-d: #1f97a5;
  --amber: #f3a530;
  --paper: #f3f5f6;
  --white: #ffffff;
  --text: #1c2a33;
  --muted: #5d6b74;
  --line: #dde3e6;

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(12, 24, 32, .35);
  --header-h: 116px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.7em;
  border-radius: 999px;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn { position: relative; overflow: hidden; isolation: isolate; }
/* light sweep on hover */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg) translateX(0);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: skewX(-20deg) translateX(420%); }
/* primary buttons also glint on their own every few seconds */
.btn--teal::after { animation: btn-glint 4.5s ease-in-out 3s infinite; }
.btn--teal:hover::after { animation: none; }
@keyframes btn-glint { 0%, 70% { transform: skewX(-20deg) translateX(0); } 100% { transform: skewX(-20deg) translateX(420%); } }
/* ghost buttons fill from the bottom */
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -2; background: var(--white);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn--ghost:hover { background: transparent; }
.btn--ghost:hover::before { transform: none; }
/* white outline + expanding outer ring (Enquiry Now, Explore TMT Bars) */
.btn--ring {
  border: 2px solid rgba(255, 255, 255, .95);
  outline: 1.5px solid rgba(255, 255, 255, .7);
  outline-offset: 3px;
  animation: ring-pulse 2.4s ease-out infinite;
  transition: transform .3s var(--ease), background .3s, color .3s, outline-offset .35s var(--ease);
}
.btn--ring:hover { animation: none; outline-offset: 6px; outline-color: rgba(255, 255, 255, .95); }
@keyframes ring-pulse {
  0% { outline-offset: 2px; outline-color: rgba(255, 255, 255, .85); }
  80%, 100% { outline-offset: 12px; outline-color: rgba(255, 255, 255, 0); }
}
.site-header.is-scrolled .btn--ring { border-color: var(--white); animation-name: ring-pulse-dark; }
@keyframes ring-pulse-dark {
  0% { outline-offset: 2px; outline-color: rgba(31, 151, 165, .7); }
  80%, 100% { outline-offset: 12px; outline-color: rgba(31, 151, 165, 0); }
}
.btn--teal { background: var(--teal); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(69, 193, 205, .8); }
.btn--teal:hover { background: #63d0db; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-d);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--teal); }

.title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--ink);
  margin-bottom: 20px;
}
.title em { font-style: normal; color: var(--teal-d); }
.title--light { color: var(--white); }
.title--light em { color: var(--teal); }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 620px; }

.section { padding: clamp(70px, 10vw, 120px) 0; }
.section__head { margin-bottom: 50px; }
.section__head.center { text-align: center; }
.section__head.center .lead { margin-inline: auto; }
.section__head.split { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 26px;
}
.preloader__mark { width: 84px; animation: pulse 1.4s ease-in-out infinite; }
.preloader__bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--teal); transition: width .3s; }
@keyframes pulse { 50% { transform: scale(.92); opacity: .75; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform .45s var(--ease), background .35s, box-shadow .35s;
}
.ci svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.nav { padding-top: 12px; transition: padding .35s var(--ease); }
.nav__inner {
  display: flex; align-items: center; gap: 24px;
  height: 112px;
  transition: height .35s var(--ease);
}
/* scrolled: soft frosted strip behind the header (on a pseudo-element so the fixed mobile menu isn't trapped) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -20px rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled::before { opacity: 1; }
.nav__logo { position: relative; flex-shrink: 0; }
.nav__logo img { height: 92px; width: auto; transition: opacity .3s, height .35s var(--ease); }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
/* desktop: Home → Contact Us sit in a frosted-glass capsule */
@media (min-width: 961px) {
  .nav__menu {
    position: relative; isolation: isolate;
    padding: 7px;
    gap: 2px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07));
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 14px 40px -18px rgba(5, 20, 35, .45), inset 0 1px 0 rgba(255, 255, 255, .45);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    transition: background .35s, border-color .35s, box-shadow .35s;
  }
  .site-header.is-scrolled .nav__menu {
    background: rgba(255, 255, 255, .75);
    border-color: rgba(12, 24, 32, .08);
    box-shadow: 0 10px 30px -18px rgba(5, 20, 35, .35), inset 0 1px 0 #fff;
  }
  /* sliding pill (logo teal) that glides to the hovered / current item */
  .nav__pill {
    position: absolute; top: 7px; bottom: 7px; left: 0; width: 0; z-index: -1;
    border-radius: 999px;
    background: linear-gradient(135deg, #6fd4de 0%, var(--teal) 55%, var(--teal-d) 100%);
    box-shadow: 0 6px 18px -6px rgba(31, 151, 165, .9), inset 0 1px 0 rgba(255, 255, 255, .55);
    transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
    pointer-events: none;
  }
  .nav__link.is-lit, .site-header.is-scrolled .nav__link.is-lit { color: var(--ink); }
  /* small charcoal badge (logo grey) inside the pill, like the reference's counter dot */
  .nav__pill::after {
    content: ""; position: absolute; right: 8px; top: 50%;
    width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
    background: #333a3f; box-shadow: 0 0 0 3px rgba(255, 255, 255, .45);
  }
  .nav__menu .nav__link { padding: 11px 23px 11px 13px; white-space: nowrap; font-size: .88rem; }
}
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px;
  font-size: .9rem; font-weight: 700;
  color: var(--white);
  position: relative;
  border-radius: 999px;
  transition: color .35s;
}
.nav__link:hover { color: var(--teal); }
.site-header.is-scrolled .nav__link:hover { color: var(--teal-d); }
.nav__pill { display: none; }
@media (min-width: 961px) {
  .nav__pill { display: block; }
  /* the pill is the hover state: text turns dark on it, everything else stays neutral */
  .nav__menu .has-drop > .nav__link { padding-right: 29px; }
  .nav__menu .nav__link:hover { color: var(--white); }
  .site-header.is-scrolled .nav__menu .nav__link:hover { color: var(--text); }
  .nav__menu .nav__link.is-lit,
  .site-header.is-scrolled .nav__menu .nav__link.is-lit { color: var(--ink); }
}
.caret { transition: transform .3s var(--ease); }
.has-drop:hover .caret { transform: rotate(225deg) translate(-2px, -1px); }
/* dropdown items cascade in */
.drop li { opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .35s var(--ease); }
.has-drop:hover .drop li, .has-drop:focus-within .drop li { opacity: 1; transform: none; }
.drop li:nth-child(2) { transition-delay: .05s; }
.drop li:nth-child(3) { transition-delay: .1s; }
.drop li:nth-child(4) { transition-delay: .15s; }
.drop a { transition: background .25s, color .25s, padding .3s var(--ease); }
.drop a:hover { padding-left: 20px; }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.has-drop { position: relative; }
.drop {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--white); border-radius: 12px; padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.drop a { display: block; padding: 9px 14px; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--text); }
.drop a:hover { background: var(--paper); color: var(--teal-d); }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.nav__menu-cta { display: none; }
.nav__cta { padding: .75em 1.4em; }

.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; margin-left: auto; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, background .3s; }
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* scrolled state */
.site-header.is-scrolled .nav { padding-top: 10px; }
.site-header.is-scrolled .nav { padding-top: 6px; }
.site-header.is-scrolled .nav__inner { height: 80px; }
.site-header.is-scrolled .nav__logo img { height: 60px; }
.site-header.is-scrolled .logo-light { opacity: 0; }
.site-header.is-scrolled .logo-dark { opacity: 1; }
.site-header.is-scrolled .nav__link { color: var(--text); }
.site-header.is-scrolled .nav__toggle span { background: var(--ink); }
.site-header.is-hidden { transform: translateY(-100%); }

/* =========================================================
   HERO — text-behind-building
   ========================================================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}
.hero__stage {
  position: absolute;
  /* size + offset are set from JS so both layers stay pixel-aligned */
  left: 0; top: 0; width: 100%; height: 100%;
  transform-origin: 62% 45%;
  will-change: transform;
  z-index: 1;
}
.hero__stage--fg { z-index: 3; pointer-events: none; }

.hero__img { width: 100%; height: 100%; object-fit: fill; user-select: none; -webkit-user-drag: none; }

.hero__frame::before { /* top shade so the white header stays readable on the sky */
  content: ""; position: absolute; inset: 0 0 auto; height: 220px; z-index: 4; pointer-events: none;
  /* navy #23376C shade behind the logo and menu, fading into the sky */
  height: 260px;
  background: linear-gradient(to bottom, rgba(35, 55, 108, .92) 0%, rgba(35, 55, 108, .7) 35%, rgba(35, 55, 108, .3) 70%, rgba(35, 55, 108, 0) 100%);
}
.hero__shade {
  position: absolute; inset: auto 0 0; height: 52%; z-index: 4; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 18, 26, .82) 0%, rgba(8, 18, 26, .45) 45%, rgba(8, 18, 26, 0) 100%);
}

.hero__tagline-wrap {
  position: absolute; left: 0; right: 0;
  bottom: 50%; /* overwritten by JS: text bottom sits just under the roof line */
  z-index: 2;
  display: flex; justify-content: center;
  padding-inline: 20px;
  pointer-events: none;
}
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  font-size: var(--tl-size, 6vw);
  line-height: .98;
  letter-spacing: .012em;
  text-shadow: 0 2px 22px rgba(10, 40, 70, .22);
  will-change: transform;
}
.tl-line { display: block; white-space: nowrap; }
.tl-word { display: inline-block; white-space: nowrap; }
.tl-char { display: inline-block; will-change: transform, opacity; }
.hero__scene { position: absolute; inset: 0; z-index: 1; transform-origin: 60% 55%; }

.hero__bottom {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 60px);
  z-index: 5;
  display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  color: var(--white);
}
.hero__intro { max-width: 620px; }
.hero__brand {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.76rem, 3.68vw, 3.2rem); line-height: 1; letter-spacing: .03em;
  color: var(--teal);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: .28em; flex-wrap: wrap;
}
.hb-char { display: inline-block; white-space: pre; }
.hero__brand .hb-word { display: inline-block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero__sub { font-size: clamp(1rem, 1.35vw, 1.18rem); font-weight: 500; margin: 0; color: rgba(255, 255, 255, .92); max-width: 520px; }
.hs-word { display: inline-block; overflow: hidden; vertical-align: top; }
.hs-word > span { display: inline-block; }

/* zoom-out card: frame clips the scene; hero is pinned while it shrinks */
.hero__frame { position: absolute; inset: 0; overflow: hidden; z-index: 1; will-change: clip-path; }.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 5; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--white); border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--teal); color: var(--ink); overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; letter-spacing: .04em; }
.ticker i { width: 12px; height: 12px; border: 2px solid var(--ink); transform: rotate(45deg); flex-shrink: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; padding: 0 0 70px 0; }
.about__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 4.3; width: 82%; }
.about__img--sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1.3; border: 8px solid var(--white); background: var(--white); }
.about__badge {
  position: absolute; left: 24px; bottom: 24px;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius); padding: 18px 22px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow);
}
.about__badge strong { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--teal); font-weight: 400; }
.about__badge span { font-size: .85rem; font-weight: 700; line-height: 1.3; }
.about__text > p { color: var(--muted); }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 32px; }
.mini-card { background: var(--paper); border-radius: var(--radius); padding: 20px; border-left: 3px solid var(--teal); }
.mini-card h3 { font-size: 1rem; margin-bottom: 6px; }
.mini-card p { font-size: .9rem; color: var(--muted); margin: 0; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--line);
}
.stat { padding: 34px 20px 0; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong, .stat > span { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 3.6rem); color: var(--ink); line-height: 1; }
.stat > span { color: var(--teal-d); }
.stat p { margin: 8px 0 0; color: var(--muted); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- MD desk ---------- */
.md { background: var(--paper); padding: clamp(60px, 8vw, 100px) 0; }
.md__inner { max-width: 880px; text-align: center; }
.md__quote { width: 48px; height: 48px; fill: var(--teal); margin: 0 auto 18px; }
.md blockquote { margin: 0 0 24px; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.5; color: var(--ink); }
.md__by strong { display: block; font-size: 1rem; }
.md__by span { color: var(--muted); font-size: .9rem; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s, background .4s;
  position: relative; overflow: hidden;
}
.feature::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::after { transform: scaleX(1); }
.feature__icon { width: 58px; height: 58px; border-radius: 14px; background: rgba(69, 193, 205, .13); display: grid; place-items: center; margin-bottom: 20px; transition: background .4s; }
.feature__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--teal-d); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.feature:hover .feature__icon { background: var(--ink); }
.feature:hover .feature__icon svg { stroke: var(--teal); }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Products ---------- */
.products { background: var(--ink); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; }
.products::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(69, 193, 205, .18), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 80px);
}
.products__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.products__visual { position: relative; }
.products__img { border-radius: 20px; overflow: hidden; background: #fff; aspect-ratio: 1.15; }
.products__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.grade-badge {
  position: absolute; right: -14px; top: 26px;
  background: var(--teal); color: var(--ink);
  padding: 14px 22px; border-radius: 14px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.grade-badge span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.grade-badge strong { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; line-height: 1.05; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 26px; }
.tab {
  padding: .7em 1.3em; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .22); background: transparent; color: var(--white);
  font-weight: 700; font-size: .88rem; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.tab:hover { border-color: var(--teal); }
.tab.is-active { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.grade__desc { font-size: 1.02rem; min-height: 3.2em; }
.grade__props { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; margin: 10px 0 12px; }
.grade__props div { background: var(--ink-2); padding: 18px 20px; }
.grade__props span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel-2); margin-bottom: 4px; }
.grade__props strong { color: var(--white); font-size: 1.15rem; }
.grade__note { font-size: .8rem; color: var(--steel); }
.products__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Size chart + calculator ---------- */
.calc { background: var(--paper); }
.calc__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.table-card, .calc-card, .contact__form {
  background: var(--white); border-radius: 20px; padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 20px 60px -40px rgba(12, 24, 32, .5);
}
.table-card h3, .calc-card h3, .contact__form h3 { font-size: 1.2rem; margin-bottom: 18px; }
.table-scroll { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.size-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 12px 14px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.size-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.size-table td:first-child { font-weight: 800; color: var(--ink); }
.size-table tbody tr { transition: background .25s; }
.size-table tbody tr:hover, .size-table tbody tr.is-hl { background: rgba(69, 193, 205, .12); }
.table-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }

.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--white);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(69, 193, 205, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 20px; }
.calc-result div { background: var(--ink); color: var(--white); border-radius: 12px; padding: 16px 18px; }
.calc-result span { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.calc-result strong { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--teal); line-height: 1.2; font-variant-numeric: tabular-nums; }

/* ---------- Applications ---------- */
.apps__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 18px; }
.app-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.app-card--tall { grid-row: span 2; }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.app-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 18, 26, .85), rgba(8, 18, 26, 0) 60%); }
.app-card:hover img { transform: scale(1.08); }
.app-card__body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: var(--white); }
.app-card__body span { font-family: var(--font-display); color: var(--teal); font-size: 1rem; }
.app-card__body h3 { font-size: 1.25rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, var(--ink) 0%, var(--ink-3) 60%, #1d5560 100%); color: var(--white); padding: 70px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border: 40px solid rgba(69, 193, 205, .12); transform: rotate(30deg); border-radius: 40px; }
.cta-band__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .78); }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { margin-top: 30px; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.ci { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
.ci svg { width: 20px; height: 20px; }
.contact__list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact__list a, .contact__list span { font-weight: 700; color: var(--ink); }
.contact__list a:hover { color: var(--teal-d); }
.contact__form { border: 1px solid var(--line); }
.form-msg { margin: 12px 0 0; font-size: .9rem; font-weight: 600; min-height: 1.4em; }
.form-msg.is-error { color: #c0392b; }
.form-msg.is-ok { color: var(--teal-d); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 80px 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; padding-bottom: 50px; }
.footer__logo { width: 210px; margin-bottom: 18px; }
.footer h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--teal); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .8);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal (JS adds .is-in) ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__menu .nav__link { padding: 10px 20px 10px 10px; font-size: .84rem; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 96px; }
  .nav { padding-top: 12px; }
  .nav__inner, .site-header.is-scrolled .nav__inner { height: 76px; }
  .nav__logo img, .site-header.is-scrolled .nav__logo img { height: 56px; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 88px 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 14px 20px 40px;
    overflow-y: auto;
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .nav-open .nav__menu { transform: none; }
  /* menu items slide in one after another */
  .nav__menu > li { opacity: 0; transform: translateX(40px); transition: opacity .4s, transform .5s var(--ease); }
  .nav-open .nav__menu > li { opacity: 1; transform: none; }
  .nav-open .nav__menu > li:nth-child(1) { transition-delay: .12s; }
  .nav-open .nav__menu > li:nth-child(2) { transition-delay: .17s; }
  .nav-open .nav__menu > li:nth-child(3) { transition-delay: .22s; }
  .nav-open .nav__menu > li:nth-child(4) { transition-delay: .27s; }
  .nav-open .nav__menu > li:nth-child(5) { transition-delay: .32s; }
  .nav-open .nav__menu > li:nth-child(6) { transition-delay: .37s; }
  .nav-open .nav__menu > li:nth-child(7) { transition-delay: .42s; }
  .nav-open .nav__menu > li:nth-child(8) { transition-delay: .47s; }
  .drop li { opacity: 1; transform: none; }
  .nav-open .site-header { background: var(--ink); }
  .nav__toggle {
    border-radius: 50%; width: 48px; height: 48px;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .nav__toggle span { left: 13px; right: 13px; }
  .nav__toggle span:nth-child(1) { top: 16px; }
  .nav__toggle span:nth-child(2) { top: 23px; }
  .nav__toggle span:nth-child(3) { top: 30px; }
  .site-header.is-scrolled .nav__toggle { background: rgba(12, 24, 32, .06); border-color: rgba(12, 24, 32, .1); }
  .nav-open .site-header::before { opacity: 0; }
  .nav-open .site-header .logo-light { opacity: 1; }
  .nav-open .site-header .logo-dark { opacity: 0; }
  .nav-open .site-header .nav__toggle span { background: var(--white); }
  .nav__menu > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__link, .site-header.is-scrolled .nav__link { color: var(--white); padding: 16px 4px; font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .nav__link::after { display: none; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 12px 10px; min-width: 0; }
  .drop a { color: rgba(255, 255, 255, .7); }
  .drop a:hover { background: rgba(255, 255, 255, .06); color: var(--teal); }
  .nav__menu-cta { display: block; border: 0 !important; padding-top: 24px; }
  .nav__menu-cta .btn { width: 100%; }

  .about__grid, .products__grid, .calc__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .grade-badge { right: 12px; }
  .apps__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-auto-rows: 220px; }
  .app-card--tall { grid-row: span 1; grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 18px; bottom: 70px; }
  .hero__sub { font-size: .95rem; }
  .hero__actions .btn { padding: .8em 1.3em; }
  .hero__scroll { display: none; }
  .tl-line { white-space: normal; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .why__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature { padding: 20px 16px; }
  .feature__icon { width: 46px; height: 46px; margin-bottom: 14px; }
  .feature__icon svg { width: 26px; height: 26px; }
  .feature h3 { font-size: .95rem; }
  .feature p { font-size: .82rem; }
  .about__cards, .field-row { grid-template-columns: 1fr; }
  .grade__props div { padding: 14px; }
  .grade__props strong { font-size: 1rem; }
  .apps__grid { grid-template-columns: 1fr; }
  .app-card--tall { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__badge strong { font-size: 2.3rem; }
  .size-table th, .size-table td { padding: 10px 8px; }
}

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