/* ==========================================================================
   OEIPL – Onloadgears Exports India Private Limited
   Corporate website stylesheet
   1. Tokens  2. Base  3. Layout  4. Header  5. Hero  6. Buttons  7. Sections
   8. Products  9. Modal  10. Services/AMC  11. Quality  12. About  13. Contact
   14. Footer  15. Utilities / motion
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --navy-900: #0b1e3e;           /* logo navy */
  --navy: #12345a;
  --blue: #1a4f8c;
  --blue-2: #2d6ba9;
  --accent: #4a90e2;
  --bg: #f4f7fb;
  --white: #fff;
  --heading: #172b45;
  --text: #526174;
  --border: #e2e8f0;
  --success: #0f7b4b;
  --danger: #b42318;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  --fs-h1: clamp(2rem, 1.2rem + 3.6vw, 3.5rem);

  --sp-1: .5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2rem; --sp-5: 3rem; --sp-6: 4.5rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --gutter: clamp(1rem, .5rem + 2.5vw, 2rem);
  --maxw: 1180px;
  --header-h: 76px;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 30, 62, .06), 0 1px 3px rgba(11, 30, 62, .06);
  --shadow: 0 6px 20px rgba(11, 30, 62, .08);
  --shadow-lg: 0 18px 44px rgba(11, 30, 62, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--navy); color: #fff;
  padding: .6rem 1rem; border-radius: var(--radius-sm); transition: top .2s;
}
.skip-link:focus { top: .75rem; color: #fff; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg); }
.section--dark { background: var(--navy-900); color: #c9d6e8; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto var(--sp-5); text-align: center; }
.section-head p { font-size: var(--fs-lg); margin: 0; }
.eyebrow {
  display: inline-block; margin-bottom: .75rem; font-size: .8125rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2);
}
.section--dark .eyebrow, .hero .eyebrow { color: #9cc4f2; }
.grid { display: grid; gap: var(--sp-3); }
.split { display: grid; gap: var(--sp-5); grid-template-columns: 1fr 1fr; align-items: center; }

/* 4. HEADER ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border); transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--heading); min-width: 0; }
.brand img { height: 52px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; color: var(--navy-900); }
.brand-full { font-size: .6875rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  position: relative; display: block; padding: .6rem .9rem; font-weight: 500; font-size: .9375rem; color: var(--heading); border-radius: 6px;
}
.nav-link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--blue); font-weight: 600; }
.nav-cta { margin-left: .5rem; }
.menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--navy-900);
}
.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

/* 5. HERO ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11, 30, 62, .92) 0%, rgba(11, 30, 62, .78) 45%, rgba(11, 30, 62, .35) 100%);
}
.hero-inner { min-height: clamp(520px, 78vh, 700px); display: flex; align-items: center; padding-block: var(--sp-6) calc(var(--sp-6) + 24px); }
.hero-copy { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p.lead { font-size: clamp(1rem, .95rem + .4vw, 1.25rem); color: #dbe6f5; max-width: 560px; margin-bottom: var(--sp-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-dots { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 2; }
.hero-dot {
  width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); background: transparent;
}
.hero-dot.is-active { background: #fff; }
.hero-dot:focus-visible { outline-color: #fff; }

/* highlights strip */
.highlights { position: relative; z-index: 3; margin-top: -44px; }
.highlight-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.highlight { padding: 1.4rem 1.25rem; text-align: center; border-right: 1px solid var(--border); }
.highlight:last-child { border-right: 0; }
.highlight strong { display: block; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; color: var(--navy); font-weight: 800; }
.highlight span { display: block; margin-top: .35rem; font-size: var(--fs-sm); line-height: 1.35; }

/* 6. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.5rem;
  font-weight: 600; font-size: .9375rem; line-height: 1.2; border-radius: var(--radius-sm); border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }

/* 7. GENERIC CARDS / ICONS ------------------------------------------------- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: var(--sp-3); }
.icon-badge {
  width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center; margin-bottom: 1rem;
  background: #e8f0fa; color: var(--blue);
}
.icon-badge .icon { width: 26px; height: 26px; }
.section--dark .icon-badge { background: rgba(255, 255, 255, .1); color: #9cc4f2; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .55rem;
  border-left: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2); transform: rotate(-45deg) translateY(-30%);
}
.section--dark .check-list li::before { border-color: #9cc4f2; }
.check-list.compact li { margin-bottom: .4rem; font-size: .9375rem; }

/* Who we are */
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.about-copy .btn { margin-top: .5rem; }

/* 8. PRODUCTS -------------------------------------------------------------- */
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }
.product-card {
  flex: 0 1 calc((100% - 3 * var(--sp-3)) / 4); min-width: 230px; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d6ea; }
.product-media { aspect-ratio: 740 / 450; background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { flex: 1; display: flex; flex-direction: column; padding: 1.1rem 1.25rem 1.25rem; }
.product-body h3 { margin: 0 0 .25rem; font-size: 1.125rem; }
.product-meta { font-size: var(--fs-sm); margin: 0 0 1rem; min-height: 1.5em; }
.product-body .btn { margin-top: auto; }

/* 9. PRODUCT MODAL --------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11, 30, 62, .72); animation: fade .25s ease; }
.modal-dialog {
  position: relative; width: 100%; max-width: 1040px; max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: rise .3s var(--ease);
}
.modal-close {
  position: absolute; top: .75rem; right: .75rem; z-index: 5; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm);
}
.modal-close:hover { background: var(--bg); }
.modal-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.modal-gallery { padding: var(--sp-3); background: var(--bg); border-radius: var(--radius) 0 0 var(--radius); }
.gallery-stage { position: relative; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border); background: rgba(255, 255, 255, .92); color: var(--navy-900);
}
.gallery-nav:hover { background: #fff; box-shadow: var(--shadow); }
.gallery-prev { left: .6rem; } .gallery-next { right: .6rem; }
.gallery-count { position: absolute; right: .6rem; bottom: .6rem; background: rgba(11, 30, 62, .8); color: #fff; font-size: .75rem; padding: .15rem .6rem; border-radius: 99px; }
.gallery-caption { margin: .6rem 0 0; font-size: var(--fs-sm); text-align: center; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 68px; height: 52px; padding: 0; border: 2px solid var(--border); border-radius: 6px; overflow: hidden; background: #fff;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb[aria-current="true"] { border-color: var(--blue); }
.modal-info { padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-3); min-width: 0; }
.modal-info h2 { font-size: 1.75rem; padding-right: 3rem; margin-bottom: .5rem; }
.modal-desc { margin-bottom: 1.25rem; }
.modal-info h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-2); margin-bottom: .6rem; }
.spec-wrap { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { padding: .6rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 54%; font-weight: 500; color: var(--heading); background: var(--bg); }
.spec-table td { font-weight: 600; color: var(--heading); }
.modal-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* 10. SERVICES / AMC ------------------------------------------------------- */
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { margin: 0; font-size: .9375rem; }
.amc-head { max-width: 760px; margin: 0 auto var(--sp-4); text-align: center; }
.amc-grid { grid-template-columns: repeat(5, 1fr); gap: var(--sp-2); margin-bottom: var(--sp-4); }
.amc-item { padding: 1.25rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .05); }
.amc-item h3 { font-size: 1rem; margin-bottom: .4rem; }
.amc-item p { margin: 0; font-size: .875rem; line-height: 1.55; }
.amc-terms { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--sp-4); align-items: start; }
.amc-box { padding: var(--sp-3); border-radius: var(--radius); background: #fff; color: var(--text); }
.amc-box h3, .amc-box h4 { color: var(--heading); }
.amc-box .check-list li::before { border-color: var(--blue-2); }
.amc-terms p { margin-top: 1.25rem; margin-bottom: 0; }
.spares { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.spares h4 { margin-bottom: .6rem; }

/* 11. QUALITY -------------------------------------------------------------- */
.quote {
  max-width: 820px; margin: 0 auto var(--sp-5); padding: var(--sp-3) var(--sp-4); text-align: center; font-size: var(--fs-lg);
  font-style: italic; color: var(--navy); border-left: 4px solid var(--blue); background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.subhead { margin: var(--sp-5) 0 var(--sp-3); text-align: center; }
.subhead h3 { font-size: 1.5rem; margin: 0; }
.quality-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.q-card h3 { display: flex; align-items: center; gap: .75rem; }
.q-card h3 .icon-badge { margin: 0; width: 44px; height: 44px; flex: none; }
.q-card h3 .icon-badge .icon { width: 22px; height: 22px; }
.q-card.span-2 { grid-column: 1 / -1; }
.stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.stage { position: relative; padding-top: 2.5rem; }
.stage-num {
  position: absolute; top: -1rem; left: var(--sp-3); width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow);
}
.facility-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-4); }
.cert-grid { grid-template-columns: repeat(3, 1fr); }
.cert { text-align: center; }
.cert .icon-badge { margin-inline: auto; width: 60px; height: 60px; }
.cert h3 { margin-bottom: .25rem; }
.cert p { margin: 0; font-size: .9375rem; }
.cert .std { font-size: 1.25rem; font-weight: 800; color: var(--navy); letter-spacing: .02em; }

/* 12. ABOUT ---------------------------------------------------------------- */
.vm-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: var(--sp-5); }
.vm-card { border-top: 4px solid var(--blue); }
.vm-card h3 { text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: var(--blue-2); }
.vm-card p { margin: 0; font-size: var(--fs-lg); color: var(--heading); font-weight: 500; }
.timeline { position: relative; display: grid; gap: var(--sp-3); padding-left: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: .45rem; top: .4rem; bottom: .4rem; width: 2px; background: #cfdcee; }
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -1.75rem; top: .45rem; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); box-sizing: border-box;
}
.tl-year { font-weight: 800; color: var(--navy); display: block; }
.tl-item p { margin: 0; }
.facts { margin-top: var(--sp-3); padding: var(--sp-3); border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; }
.facts dt { font-weight: 600; color: var(--heading); }
.facts dd { margin: 0; }
.why-grid { grid-template-columns: repeat(4, 1fr); margin-top: var(--sp-3); }
.why-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.why-card p { margin: 0; font-size: .9375rem; }

.plant-list { display: grid; gap: var(--sp-2); }
.plant { padding: 1.1rem 1.25rem; }
.plant-tag { display: inline-block; margin-bottom: .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); }
.plant address { font-style: normal; color: var(--heading); font-weight: 500; overflow-wrap: anywhere; }

/* 13. CONTACT -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-4); align-items: start; }
.contact-cards { display: grid; gap: var(--sp-2); }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; }
.contact-card .icon-badge { margin: 0; flex: none; width: 46px; height: 46px; }
.contact-card h3 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-2); margin: 0 0 .15rem; font-weight: 600; }
.contact-card p, .contact-card address { margin: 0; font-style: normal; color: var(--heading); font-weight: 500; overflow-wrap: anywhere; }
.contact-card a { color: var(--heading); }
.contact-card a:hover { color: var(--blue); }
.contact-card a.btn { color: var(--blue); }
.contact-card a.btn:hover { color: #fff; }
.contact-card .btn { margin-top: .75rem; }
.form-card { padding: var(--sp-4); }
.form-card h3 { font-size: 1.35rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .9rem; color: var(--heading); }
.field label .req { color: var(--danger); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem; font: inherit; color: var(--heading); background: #fff;
  border: 1px solid #c6d2e1; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(74, 144, 226, .25); }
.field .error-msg { display: none; margin-top: .3rem; font-size: .8125rem; color: var(--danger); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error-msg { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .9375rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.success { background: #e7f6ee; color: #0b5a38; border: 1px solid #b6e2c9; }
.form-status.error { background: #fdecea; color: #8a1c13; border: 1px solid #f5c0bb; }
.form-status.info { background: #e8f0fa; color: var(--navy); border: 1px solid #c3d6ee; }
.form-note { margin: .85rem 0 0; font-size: .8125rem; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-wrap { margin-top: var(--sp-4); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: clamp(280px, 40vw, 420px); border: 0; }

/* 14. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #b8c6db; padding-top: var(--sp-6); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: var(--sp-4); padding-bottom: var(--sp-5); }
.footer-brand img { height: 56px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; margin-bottom: 1rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #b8c6db; }
.site-footer a:hover { color: #fff; }
.footer-links li { margin-bottom: .55rem; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .75rem; overflow-wrap: anywhere; }
.footer-contact .icon { margin-top: .2rem; color: #9cc4f2; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.25rem; font-size: .8125rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { margin: 0; }

/* Pages (hash-routed, like the previous site): one page visible at a time */
.js .page { display: none; }
.js .page.is-active { display: block; animation: fade .35s ease; }
main { min-height: 60vh; }
.page-banner { background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--blue)); color: #fff; padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
.page-banner h1 { color: #fff; margin: .35rem 0 0; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }
.crumbs { display: flex; gap: .5rem; font-size: var(--fs-sm); color: #b8c6db; }
.crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
main:focus { outline: none; }

/* 15. MOTION / RESPONSIVE -------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .product-card { flex-basis: calc((100% - 2 * var(--sp-3)) / 3); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .amc-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-link { padding-inline: .65rem; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 46px; }
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .nav-link { padding: .9rem .5rem; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-link::after { display: none; }
  .nav-link.is-active { background: #eef4fb; border-radius: 6px; }
  .split, .contact-grid, .amc-terms { grid-template-columns: 1fr; }
  .split { gap: var(--sp-4); }
  .split .about-photo { order: -1; max-width: 560px; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-gallery { border-radius: var(--radius) var(--radius) 0 0; }
  .modal-info { padding: var(--sp-3); }
  .quality-two, .stage-grid, .facility-cols, .cert-grid, .vm-grid { grid-template-columns: 1fr; }
  .stage-grid { gap: var(--sp-4); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(2) { border-right: 0; }
  .highlight:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .product-card { flex-basis: calc((100% - var(--sp-3)) / 2); }
}
@media (max-width: 640px) {
  .brand-full { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(11, 30, 62, .82), rgba(11, 30, 62, .9)); }
  .hero-inner { min-height: 520px; padding-block: var(--sp-5) calc(var(--sp-5) + 24px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .service-grid, .amc-grid, .why-grid, .spares { grid-template-columns: 1fr; }
  .product-card { flex-basis: 100%; min-width: 0; max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .form-card { padding: var(--sp-3); }
  .facts dl { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: .6rem; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-dialog { max-height: 94dvh; border-radius: var(--radius) var(--radius) 0 0; }
  .modal-info h2 { font-size: 1.5rem; }
  .spec-table th { width: 50%; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 400px) {
  :root { --gutter: 1rem; }
  .brand-name { font-size: 1.1rem; }
  .brand img { height: 40px; }
  .highlight { padding: 1rem .6rem; }
  .highlight span { font-size: .8125rem; }
  .contact-card { padding: 1rem; }
  .gallery-thumb { width: 56px; height: 44px; }
  .spec-table { font-size: .8125rem; }
  .spec-table th, .spec-table td { padding: .5rem .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .hero-dots, .modal, .menu-btn { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
