/* ==========================================================
   JAI ALUMINIUM — Premium cinematic website
   Palette extracted from the official logo (navy + teal)
   ========================================================== */

:root {
  --navy: #061B3B;
  --blue: #003F67;
  --teal: #00A6A6;
  --teal-hi: #18C5C0;
  --soft: #F5F8FA;
  --white: #FFFFFF;
  --muted: #687587;
  --line: rgba(255, 255, 255, .12);
  --line-dark: rgba(6, 27, 59, .12);

  --ff-head: "Playfair Display", Georgia, serif;
  --ff-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-cine: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; margin: 0; }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--teal); color: #fff; padding: .6rem 1rem; border-radius: 4px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--teal-hi); margin: 0 0 1.25rem;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow-dark { color: var(--teal); }

.section-title {
  font-family: var(--ff-head); font-weight: 500;
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem);
  line-height: 1.12; letter-spacing: -.01em; color: var(--navy); margin: 0 0 1.5rem;
}
.section-title em { font-style: italic; color: var(--teal); font-weight: 400; }
.section-title-light { color: var(--white); }
.section-title-light em { color: var(--teal-hi); }

.section-sub { color: rgba(255, 255, 255, .72); font-size: 1.05rem; max-width: 560px; }
.lead-text { font-size: 1.15rem; color: var(--navy); font-weight: 400; margin-bottom: 1rem; }
.body-text { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn-jai, .btn-jai-ghost, .btn-jai-outline {
  --pad-y: .95rem; --pad-x: 2rem;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--pad-y) var(--pad-x); min-height: 48px;
  font: 500 .78rem/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn-jai-sm { --pad-y: .7rem; --pad-x: 1.35rem; min-height: 42px; font-size: .72rem; }
.btn-jai { background: var(--teal); color: #fff; }
.btn-jai::before, .btn-jai-outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy); transform: translateY(101%); transition: transform .5s var(--ease-cine);
}
.btn-jai:hover, .btn-jai:focus-visible { color: #fff; transform: translateY(-2px); }
.btn-jai:hover::before { transform: none; }
.site-header .btn-jai::before, .section-dark .btn-jai::before, .showcase .btn-jai::before, .hero .btn-jai::before { background: var(--teal-hi); }
.site-header .btn-jai:hover, .section-dark .btn-jai:hover, .showcase .btn-jai:hover, .hero .btn-jai:hover { color: var(--navy); }

.btn-jai-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-jai-ghost:hover { color: var(--navy); background: #fff; border-color: #fff; transform: translateY(-2px); }

.btn-jai-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-jai-outline::before { background: var(--navy); }
.btn-jai-outline:hover { color: #fff; transform: translateY(-2px); }
.btn-jai-outline:hover::before { transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  background: linear-gradient(to bottom, rgba(6, 27, 59, .72), rgba(6, 27, 59, .38));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .4s var(--ease);
}
.site-header.is-scrolled { background: rgba(6, 27, 59, .94); box-shadow: 0 8px 30px rgba(0, 0, 0, .18); }
.site-header .navbar { padding:  0; min-height: var(--header-h); transition: padding .4s var(--ease); }

.site-header.is-scrolled .navbar { padding: .35rem 0; }

/* The logo's navy lettering needs a light ground on dark navy, so it sits on a white plate (logo untouched) */
.logo-plate { display: inline-flex; background: #ffffff00; border-radius: 4px; padding: 1px 1px; }
.logo-plate img { height: 80px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .logo-plate img { height: 70px; }
.logo-plate-footer { padding: 10px 16px; margin-bottom: 1.5rem; }
.logo-plate-footer img { height: 84px; }

.navbar-nav .nav-link {
  position: relative; color: rgba(255, 255, 255, .85);
  font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: .6rem .95rem !important; transition: color .3s var(--ease);
}
.navbar-nav .nav-link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .25rem; height: 1px;
  background: var(--teal-hi); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--teal-hi); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler { border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; padding: 0; width: 46px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px var(--teal-hi); }
.toggler-bar { width: 20px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), opacity .25s; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 1.5rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .navbar-nav .nav-link { padding: .95rem .25rem !important; font-size: .82rem; border-bottom: 1px solid var(--line); }
  .navbar-nav .nav-link::after { display: none; }
  .navbar-nav .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--navy);
  height: 90vh; min-height: 650px; display: flex; align-items: center;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s var(--ease-cine); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.hero-slide.is-active .hero-img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 27, 59, .93) 0%, rgba(6, 27, 59, .72) 38%, rgba(6, 27, 59, .25) 75%, rgba(6, 27, 59, .15) 100%),
    linear-gradient(to top, rgba(6, 27, 59, .6), transparent 40%);
}
.hero-frame { position: absolute; inset: calc(var(--header-h) + 18px) 28px 90px; z-index: 3; pointer-events: none; }
.hero-frame span { position: absolute; width: 56px; height: 56px; border: 1px solid var(--teal-hi); opacity: 0; animation: frameIn 1.4s var(--ease) .9s forwards; }
.hero-frame span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-frame span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-frame span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-frame span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
@keyframes frameIn { from { opacity: 0; transform: scale(1.4); } to { opacity: .8; transform: none; } }

.hero-content { position: relative; z-index: 4; padding-top: var(--header-h); }
.hero-copy { max-width: 640px; }
.hero-title {
  font-family: var(--ff-head); font-weight: 500;
  font-size: clamp(2.35rem, 1.2rem + 5vw, 4.9rem);
  line-height: 1.07; letter-spacing: -.015em; margin: 0 0 1.5rem;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--teal-hi); }
.hero-text { font-size: clamp(.98rem, .9rem + .35vw, 1.15rem); color: rgba(255, 255, 255, .82); max-width: 540px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-anim { opacity: 0; transform: translateY(32px); animation: heroUp 1.1s var(--ease) var(--d, 0s) forwards; }
/* wait for the window-opening intro before the hero copy enters */
html.js:not(.intro-done) .hero-anim, html.js:not(.intro-done) .hero-frame span { animation: none; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

.hero-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 30px; }
.hero-dots { display: flex; gap: .6rem; }
.hero-dot { width: 44px; height: 24px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.hero-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, .35); transform: translateY(-50%); }
.hero-dot::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 0; background: var(--teal-hi); transform: translateY(-50%); }
.hero-dot.is-active::after { animation: dotFill var(--slide-ms, 7000ms) linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.hero-arrows { display: flex; gap: .6rem; }
.hero-arrow { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(6, 27, 59, .3); color: #fff; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.hero-arrow:hover { background: var(--teal); border-color: var(--teal); transform: scale(1.06); }

@media (max-width: 767.98px) {
  .hero { min-height: 580px; height: 92vh; align-items: flex-end; }
  .hero-content { padding-bottom: 110px; padding-top: calc(var(--header-h) + 20px); }
  .hero-overlay { background: linear-gradient(to top, rgba(6, 27, 59, .96) 0%, rgba(6, 27, 59, .78) 55%, rgba(6, 27, 59, .45) 100%); }
  .hero-frame { inset: calc(var(--header-h) + 10px) 14px 84px; }
  .hero-frame span { width: 32px; height: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-arrow { width: 42px; height: 42px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0; position: relative; }
.section-light { background: var(--white); }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 4vw, 4rem); }
.section-head .section-sub { margin-inline: auto; }
.section-head .eyebrow { justify-content: center; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal[data-reveal="left"] { transform: translateX(-40px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- About ---------- */
.img-frame { position: relative; padding: 0 0 22px 22px; }
.img-frame::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%;
  border: 1px solid var(--teal); z-index: 0;
  transform: translate(-14px, 14px); opacity: 0; transition: transform 1.3s var(--ease) .4s, opacity 1s var(--ease) .4s;
}
.img-frame.is-visible::before { transform: none; opacity: 1; }
.img-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; transition: transform 1.6s var(--ease); }
.img-frame { overflow: hidden; }
.img-frame:hover img { transform: scale(1.03); }
.about-copy { max-width: 540px; }
.check-list { list-style: none; padding: 0; margin: 1.75rem 0 2.25rem; display: grid; gap: .8rem; }
.check-list li { display: flex; align-items: center; gap: .85rem; font-weight: 500; }
.check-list i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 166, 166, .12); color: var(--teal); font-size: 1rem; flex: none; }

/* ---------- Products ---------- */
.product-card {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.product-media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product-body { padding: 1.6rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; position: relative; }
.product-body::before { content: ""; position: absolute; top: 0; left: 1.5rem; width: 40px; height: 2px; background: var(--teal); transition: width .6s var(--ease); }
.product-num { font-family: var(--ff-head); font-size: .95rem; letter-spacing: .12em; color: var(--teal-hi); margin-bottom: .5rem; }
.product-body h3 { font-family: var(--ff-head); font-weight: 500; font-size: 1.45rem; line-height: 1.25; color: #fff; margin: 0 0 .75rem; }
.product-body p { color: rgba(255, 255, 255, .68); font-size: .93rem; margin: 0 0 1.5rem; flex: 1; }
.product-link { display: inline-flex; align-items: center; gap: .6rem; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-hi); align-self: flex-start; min-height: 44px; }
.product-link i { transition: transform .45s var(--ease); }
.product-card:hover { transform: translateY(-8px); border-color: var(--teal); background: rgba(0, 166, 166, .06); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-card:hover .product-body::before { width: 80px; }
.product-card:hover .product-link i { transform: translateX(6px); }

/* ---------- Why choose us ---------- */
.feature {
  height: 100%; position: relative; padding: 2.25rem 1.75rem 2rem; background: #fff;
  border: 1px solid var(--line-dark); border-bottom: 2px solid transparent;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.feature:hover { transform: translateY(-6px); border-bottom-color: var(--teal); box-shadow: 0 18px 36px -24px rgba(6, 27, 59, .35); }
.feature-icon { width: 52px; height: 52px; color: var(--teal); margin-bottom: 1.5rem; transition: transform .6s var(--ease), color .4s; }
.feature:hover .feature-icon { transform: scale(1.08) rotate(-4deg); color: var(--blue); }
.feature-num { position: absolute; top: 1.5rem; right: 1.5rem; font-family: var(--ff-head); font-size: 1rem; color: rgba(6, 27, 59, .25); }
.feature h3 { font-family: var(--ff-head); font-weight: 500; font-size: 1.35rem; margin: 0 0 .6rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Cinematic showcase ---------- */
.showcase { position: relative; overflow: hidden; min-height: clamp(520px, 78vh, 760px); display: flex; align-items: center; color: #fff; }
.showcase-bg { position: absolute; inset: -12% 0; will-change: transform; }
.showcase-bg img { width: 100%; height: 100%; object-fit: cover; }
.showcase-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 27, 59, .92) 10%, rgba(6, 27, 59, .6) 55%, rgba(6, 27, 59, .35)); }
.showcase-inner { position: relative; z-index: 2; padding-block: 4rem; }
.showcase-copy { max-width: 600px; }
.showcase-copy .section-title { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.2rem); }

/* ---------- Process ---------- */
.process-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; position: relative; counter-reset: s; }
.process-step { position: relative; padding-top: 1.25rem; transition: transform .5s var(--ease); }
.process-step::before { content: ""; position: absolute; top: 0; left: 0; right: -2.5rem; height: 1px; background: var(--line-dark); }
.process-step:last-child::before { right: 0; }
.process-step::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); transition: transform .4s var(--ease); }
.step-num { display: block; font-family: var(--ff-head); font-weight: 400; font-size: clamp(3.4rem, 2rem + 4vw, 5.2rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(0, 63, 103, .35); margin: 1rem 0 1rem; transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease); }
.process-step h3 { font-family: var(--ff-head); font-weight: 500; font-size: 1.5rem; margin: 0 0 .5rem; transition: color .4s; }
.process-step p { color: var(--muted); font-size: .95rem; margin: 0; max-width: 260px; }
.process-step:hover { transform: translateY(-4px); }
.process-step:hover .step-num { color: var(--teal); -webkit-text-stroke-color: var(--teal); }
.process-step:hover h3 { color: var(--teal); }
.process-step:hover::after { transform: scale(1.8); }

@media (max-width: 991.98px) { .process-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; } .process-step::before { right: -2rem; } .process-step:nth-child(2n)::before { right: 0; } }
@media (max-width: 575.98px) { .process-grid { grid-template-columns: 1fr; gap: 2.25rem; } .process-step::before { right: 0 !important; } .process-step p { max-width: none; } }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--navy) 55%, #08254a 100%); }
.contact-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.75rem; }
.contact-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact-list > li > i { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(24, 197, 192, .5); color: var(--teal-hi); border-radius: 50%; font-size: 1.1rem; }
.contact-label { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-hi); margin-bottom: .3rem; }
.contact-list a { font-family: var(--ff-head); font-size: 1.5rem; transition: color .3s; }
.contact-list a:hover { color: var(--teal-hi); }
.contact-list address { color: rgba(255, 255, 255, .82); }

.enquiry-form { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.75rem); backdrop-filter: blur(6px); }
.form-title { font-family: var(--ff-head); font-weight: 500; font-size: 1.6rem; margin: 0 0 1.5rem; }
.enquiry-form label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-bottom: .5rem; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%; padding: .9rem 1rem; font: 400 .98rem var(--ff-body); color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); border-radius: 2px;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.enquiry-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2318C5C0' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.enquiry-form select option { color: var(--navy); background: #fff; }
.enquiry-form ::placeholder { color: rgba(255, 255, 255, .42); }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: 0; border-color: var(--teal-hi); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(24, 197, 192, .18); }
.enquiry-form .is-invalid { border-color: #ff9b9b; }
.field-error { min-height: 0; margin: .35rem 0 0; font-size: .8rem; color: #ffb3b3; }
.field-error:empty { display: none; }
.form-status { margin: 0; font-size: .92rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--teal-hi); }
.form-status.is-info { color: rgba(255, 255, 255, .85); border-left: 2px solid var(--teal-hi); padding-left: .85rem; }
.form-status.is-error { color: #ffb3b3; }
@media (max-width: 575.98px) { .w-100-sm { width: 100%; } }

/* ==========================================================
   WINDOW EFFECTS & NEW SECTIONS
   ========================================================== */

/* ---------- Window-opening intro ---------- */
.window-intro { display: none; }
html.js.has-intro .window-intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 3000;
  background: radial-gradient(circle at 50% 45%, #0b2f5b 0%, var(--navy) 70%);
  perspective: 1500px; animation: wiOut .8s ease 2.35s forwards;
}
@keyframes wiOut { to { opacity: 0; visibility: hidden; } }
.wi-stage { position: relative; display: grid; justify-items: center; gap: 1.75rem; animation: wiZoom 1.2s var(--ease-cine) 1.55s forwards; transform-origin: 50% 40%; }
@keyframes wiZoom { to { transform: scale(2.6); } }
.wi-window {
  position: relative; width: min(74vw, 520px); aspect-ratio: 4 / 5; max-height: 62vh;
  border: 10px solid #eef3f6; background: #eef3f6; transform-style: preserve-3d; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.wi-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, #ffffff 0%, #bff3f0 35%, var(--teal-hi) 100%); }
.wi-sash {
  position: absolute; top: 0; bottom: 0; width: 50%; display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 6px; padding: 6px;
  background: #eef3f6; backface-visibility: hidden;
}
.wi-sash span { background: linear-gradient(135deg, rgba(160, 215, 232, .95), rgba(0, 63, 103, .95)); }
.wi-left { left: 0; transform-origin: left center; animation: wiOpenL 1.45s var(--ease-cine) .55s forwards; }
.wi-right { right: 0; transform-origin: right center; animation: wiOpenR 1.45s var(--ease-cine) .55s forwards; }
@keyframes wiOpenL { to { transform: rotateY(-112deg); } }
@keyframes wiOpenR { to { transform: rotateY(112deg); } }
.wi-logo { opacity: 0; animation: wiFade .8s ease .2s forwards; }
.wi-logo img { height: 40px; }
@keyframes wiFade { to { opacity: 1; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--teal); color: #fff; overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .25); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 2rem; padding: 1rem 0; animation: marq 38s linear infinite; }
.marquee-track span { font-family: var(--ff-head); font-style: italic; font-size: clamp(1.05rem, .9rem + .6vw, 1.5rem); white-space: nowrap; }
.marquee-track i { width: 9px; height: 9px; border: 1.5px solid #fff; flex: none; transform: rotate(45deg); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Window shutters over the About image ---------- */
.shutter { position: absolute; top: 0; bottom: 22px; z-index: 3; background: linear-gradient(160deg, var(--blue), var(--navy)); transition: transform 1.5s var(--ease-cine) .35s; }
.shutter-l { left: 22px; width: calc((100% - 22px) / 2); border-right: 6px solid #eef3f6; }
.shutter-r { right: 0; width: calc((100% - 22px) / 2); border-left: 6px solid #eef3f6; }
.shutter::after { content: ""; position: absolute; inset: 14% 18%; border: 1px solid rgba(24, 197, 192, .55); }
.img-frame.is-visible .shutter-l { transform: translateX(-102%); }
.img-frame.is-visible .shutter-r { transform: translateX(102%); }
html:not(.js) .shutter { display: none; }

/* ---------- Scroll-opened window ---------- */
.window-reveal { position: relative; height: 260vh; background: var(--navy); }
html.js .window-reveal { --p: 0; }
html:not(.js) .window-reveal { --p: 1; height: auto; }
.wr-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1700px; background: var(--navy); }
html:not(.js) .wr-sticky { position: relative; min-height: 70vh; }
.wr-scene, .wr-scene img, .wr-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.wr-scene img { object-fit: cover; transform: scale(calc(1.2 - var(--p) * .2)); will-change: transform; }
.wr-shade { background: linear-gradient(90deg, rgba(6, 27, 59, .88), rgba(6, 27, 59, .35) 65%, rgba(6, 27, 59, .15)); }
.wr-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; max-width: 100%; opacity: clamp(0, calc((var(--p) - .3) * 2.4), 1); transform: translateY(calc((1 - var(--p)) * 36px)); }
.wr-copy > * { max-width: 560px; }
.wr-window { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.wr-sash {
  position: absolute; top: 0; bottom: 0; width: 50%; background: #e8eef2; box-shadow: inset 0 0 0 1px rgba(6, 27, 59, .15);
  opacity: clamp(0, calc((1 - var(--p)) * 7), 1); backface-visibility: visible; will-change: transform;
}
.wr-left { left: 0; transform-origin: left center; transform: rotateY(calc(var(--p) * -112deg)); }
.wr-right { right: 0; transform-origin: right center; transform: rotateY(calc(var(--p) * 112deg)); }
.wr-panes { position: absolute; inset: clamp(10px, 2vw, 26px); display: grid; grid-template: repeat(3, 1fr) / repeat(2, 1fr); gap: clamp(8px, 1.4vw, 18px); }
.wr-panes span { background: linear-gradient(135deg, rgba(190, 232, 240, .55), rgba(0, 63, 103, .75)); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); position: relative; overflow: hidden; }
.wr-panes span::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 18%; width: 22%; background: rgba(255, 255, 255, .16); transform: skewX(-18deg); }
.wr-handle { position: absolute; top: 50%; width: 7px; height: clamp(54px, 9vh, 90px); background: var(--teal); border-radius: 4px; transform: translateY(-50%); }
.wr-left .wr-handle { right: 5px; }
.wr-right .wr-handle { left: 5px; }
.wr-hint { position: absolute; left: 0; right: 0; bottom: 2rem; z-index: 5; margin: 0; text-align: center; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--navy); background: none; opacity: clamp(0, calc(1 - var(--p) * 5), 1); }
.wr-hint i { display: inline-block; margin-right: .4rem; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
html:not(.js) .wr-window, html:not(.js) .wr-hint { display: none; }

.wr-sash::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(255, 255, 255, .18), transparent 40%); }

/* ---------- Blueprint: anatomy of a window ---------- */
.blueprint {
  color: #fff; background-color: var(--blue);
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}
.anat-figure { position: relative; max-width: 440px; margin-inline: auto; padding: 1.5rem; border: 1px dashed rgba(255, 255, 255, .25); }
.anat-svg { width: 100%; height: auto; display: block; }
.anat-svg .draw { stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.anat-figure.is-visible .draw { animation: drawLine 3s var(--ease-cine) .3s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
html:not(.js) .anat-svg .draw { stroke-dashoffset: 0; }
.hotspot { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; margin-left: -20px; padding: 0; border: 0; border-radius: 50%; background: var(--teal); color: #fff; font: 500 .85rem var(--ff-body); display: grid; place-items: center; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.hotspot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--teal-hi); animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.hotspot:hover, .hotspot.is-active { background: #fff; color: var(--navy); transform: scale(1.12); }
.anat-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 1.5rem; }
.anat-tab { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .55rem 1.1rem; font: 500 .74rem var(--ff-body); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: 2px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.anat-tab span { font-family: var(--ff-head); color: var(--teal-hi); transition: color .3s; }
.anat-tab:hover { border-color: var(--teal-hi); }
.anat-tab.is-active { background: #fff; color: var(--navy); border-color: #fff; }
.anat-tab.is-active span { color: var(--teal); }
.anat-panel { border-left: 2px solid var(--teal-hi); padding: .25rem 0 .25rem 1.25rem; max-width: 520px; min-height: 130px; }
.anat-panel h3 { font-family: var(--ff-head); font-weight: 500; font-size: 1.5rem; margin: 0 0 .5rem; }
.anat-panel p { margin: 0; color: rgba(255, 255, 255, .78); }
.anat-panel.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Gallery with window-pane hover ---------- */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(170px, 20vw, 270px); gap: clamp(10px, 1.4vw, 20px); grid-template-areas: "a a b" "a a c" "d e e"; }
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; } .g-e { grid-area: e; }
.gal-item { position: relative; margin: 0; overflow: hidden; background: var(--blue); isolation: isolate; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; }
.gal-item::before { content: ""; position: absolute; inset: 14px; z-index: 2; border: 1px solid rgba(255, 255, 255, .85); opacity: 0; transform: scale(1.08); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.gal-item::after { content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease) .1s;
  background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)) center / 1px 100% no-repeat, linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)) center / 100% 1px no-repeat; }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 2.5rem 1.4rem 1.2rem; color: #fff; font-family: var(--ff-head); font-size: 1.2rem; background: linear-gradient(to top, rgba(6, 27, 59, .85), transparent); transform: translateY(30%); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.gal-item:hover img { transform: scale(1.08); filter: saturate(1.05); }
.gal-item:hover::before { opacity: 1; transform: none; }
.gal-item:hover::after { opacity: .55; }
.gal-item:hover figcaption { transform: none; opacity: 1; }
@media (hover: none) { .gal-item figcaption { transform: none; opacity: 1; } }

/* ---------- FAQ ---------- */
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-acc .accordion-item { background: #fff; border: 1px solid var(--line-dark); border-radius: 0; margin-bottom: .75rem; transition: border-color .4s, box-shadow .4s; }
.faq-acc .accordion-item:has(.show) { border-color: var(--teal); box-shadow: 0 14px 30px -22px rgba(6, 27, 59, .4); }
.faq-acc .accordion-button { font-family: var(--ff-head); font-size: 1.12rem; color: var(--navy); background: #fff; padding: 1.15rem 1.35rem; box-shadow: none; border-radius: 0; }
.faq-acc .accordion-button:not(.collapsed) { color: var(--teal); background: #fff; }
.faq-acc .accordion-button:focus { box-shadow: 0 0 0 2px var(--teal-hi); }
.faq-acc .accordion-button::after { background-size: 1rem; }
.faq-acc .accordion-body { color: var(--muted); padding: 0 1.35rem 1.35rem; }

/* ---------- Sticky WhatsApp + call buttons (all devices) ---------- */
.float-actions { position: fixed; right: 16px; bottom: 16px; z-index: 1040; display: flex; flex-direction: column; gap: 12px; }
.fab { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.fab:hover { color: #fff; transform: scale(1.08); box-shadow: 0 14px 30px rgba(0, 0, 0, .42); }
.fab-wa { background: #25D366; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s ease-out infinite; }
.fab-call { background: var(--teal); }
.fab-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); padding: .4rem .8rem; background: var(--navy); color: #fff; font: 500 .72rem var(--ff-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border-radius: 2px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
@media (hover: hover) { .fab:hover .fab-tip { opacity: 1; transform: translate(0, -50%); } }
@media (max-width: 575.98px) { .float-actions { right: 12px; bottom: 12px; gap: 10px; } .fab { width: 52px; height: 52px; font-size: 1.4rem; } }

/* ---------- Products mega dropdown ---------- */
.has-mega { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.nav-caret { background: none; border: 0; color: rgba(255, 255, 255, .85); width: 28px; height: 40px; margin-left: -.55rem; padding: 0; cursor: pointer; font-size: .68rem; transition: color .3s; }
.nav-caret i { display: inline-block; transition: transform .4s var(--ease); }
.has-mega:hover .nav-caret, .has-mega.open .nav-caret { color: var(--teal-hi); }
.has-mega.open .nav-caret i { transform: rotate(180deg); }
.mega { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.75rem; padding: 1.5rem; background: rgba(6, 27, 59, .98); border: 1px solid var(--line); border-top: 2px solid var(--teal); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.mega-h { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); font-family: var(--ff-head); font-size: 1.1rem; color: #fff; }
.mega-h i { color: var(--teal-hi); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem; font-size: .84rem; color: rgba(255, 255, 255, .85); border-radius: 2px; transition: background .3s var(--ease), color .3s, padding-left .3s var(--ease); }
.mega li a i { color: var(--teal-hi); width: 1.1rem; text-align: center; }
.mega li a:hover, .mega li a:focus-visible { background: rgba(0, 166, 166, .2); color: var(--teal-hi); padding-left: .9rem; }
.mega-all { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .6rem; padding-top: .9rem; margin-top: .4rem; border-top: 1px solid var(--line); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-hi); }
.mega-all i { transition: transform .4s var(--ease); }
.mega-all:hover i { transform: translateX(5px); }
@media (min-width: 992px) {
  .mega { position: absolute; top: 100%; left: 50%; min-width: 600px; opacity: 0; visibility: hidden; transform: translate(-50%, 14px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; z-index: 5; }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-mega:hover .nav-caret i { transform: rotate(180deg); }
}
@media (max-width: 991.98px) {
  .has-mega > .nav-link { flex: 1 1 auto; }
  .nav-caret { width: 48px; height: 48px; margin: 0; border-left: 1px solid var(--line); font-size: .85rem; }
  .mega { display: none; width: 100%; grid-template-columns: 1fr; padding: .75rem 1rem 1rem; background: rgba(255, 255, 255, .04); border: 0; border-left: 2px solid var(--teal); box-shadow: none; margin: .5rem 0 .75rem; }
  .has-mega.open .mega { display: grid; animation: swap .4s var(--ease); }
  .mega li a { min-height: 44px; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(160deg, #08254a, var(--navy) 70%); color: #fff; overflow: hidden; }
.t-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem .25rem 1.25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.t-track::-webkit-scrollbar { display: none; }
.t-track:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 4px; }
.t-card { position: relative; flex: 0 0 min(540px, 88%); scroll-snap-align: start; margin: 0; padding: 3rem 2.25rem 2.25rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); transition: border-color .5s var(--ease), transform .6s var(--ease), background .5s; }
.t-card::before, .t-card::after { content: ""; position: absolute; background: rgba(24, 197, 192, .35); }
.t-card::before { right: 28px; bottom: 0; width: 1px; height: 46px; }
.t-card::after { right: 0; bottom: 28px; width: 46px; height: 1px; }
.t-card:hover { border-color: var(--teal); transform: translateY(-6px); background: rgba(0, 166, 166, .07); }
.t-quote { display: block; font-size: 3.2rem; line-height: 1; color: var(--teal-hi); margin-bottom: .25rem; }
.t-card blockquote { margin: 0 0 1.75rem; font-family: var(--ff-head); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.6; color: #fff; }
.t-card figcaption { display: flex; align-items: center; gap: 1rem; }
.t-card figcaption strong { display: block; font-weight: 500; }
.t-card figcaption small { color: rgba(255, 255, 255, .6); font-size: .82rem; }
.t-avatar { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--teal-hi); color: var(--teal-hi); font-size: 1.3rem; }
.t-sample { position: absolute; top: 1rem; right: 1rem; padding: .25rem .6rem; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-hi); border: 1px dashed rgba(24, 197, 192, .6); background: rgba(24, 197, 192, .08); }
.t-cta { margin-top: 2.25rem; text-align: center; }

.form-note { margin: .9rem 0 0; font-size: .82rem; color: rgba(255, 255, 255, .62); }
.form-note i { color: var(--teal-hi); margin-right: .35rem; }
.form-note strong { color: #fff; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .76); border-top: 2px solid var(--teal); }
.footer-strip { display: grid; grid-template-columns: repeat(6, 1fr); }
.fs-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue); }
.fs-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fs-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 27, 59, .55), transparent 55%); transition: background .5s; }
.fs-tile:hover img { transform: scale(1.1); }
.fs-tile:hover::after { background: rgba(0, 166, 166, .35); }

.footer-body { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(3.5rem, 6vw, 6rem); }
.footer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.footer-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 27, 59, .93), rgba(4, 20, 41, .97)); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.footer-cta-title { margin: 0; font-family: var(--ff-head); font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); line-height: 1.15; color: #fff; }
.footer-cta-title em { font-style: italic; font-weight: 400; color: var(--teal-hi); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.footer-name { font-family: var(--ff-head); font-size: 1.45rem; color: #fff; margin: 0; letter-spacing: .04em; }
.footer-tag { color: var(--teal-hi); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; margin: .25rem 0 1rem; }
.footer-about { margin: 0; max-width: 300px; }
.footer-h { position: relative; font: 500 .76rem var(--ff-body); letter-spacing: .22em; text-transform: uppercase; color: #fff; margin: 0 0 1.6rem; padding-bottom: .9rem; }
.footer-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--teal); }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links { display: grid; gap: .1rem; }
.footer-links a { display: flex; align-items: center; gap: .7rem; padding: .35rem 0; min-height: 36px; transition: color .3s, transform .35s var(--ease); }
.footer-links a i { color: var(--teal-hi); font-size: .95rem; width: 1.1rem; flex: none; }
.footer-links a:hover { color: var(--teal-hi); transform: translateX(5px); }
.footer-contact { display: grid; gap: 1.1rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 1rem; }
.footer-contact li > i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(24, 197, 192, .5); border-radius: 50%; color: var(--teal-hi); transition: background .3s, color .3s; }
.footer-contact li:hover > i { background: var(--teal); color: #fff; border-color: var(--teal); }
.footer-contact a, .footer-contact address { align-self: center; color: rgba(255, 255, 255, .85); }
.footer-contact a { transition: color .3s; }
.footer-contact a:hover { color: var(--teal-hi); }


.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding: 1.5rem 0 1.75rem; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.back-top { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-hi); }
.back-top i { transition: transform .4s var(--ease); }
.back-top:hover i { transform: translateY(-4px); }
@media (max-width: 991.98px) { .footer-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) {
  .footer-cta-actions .btn { flex: 1 1 100%; }
  .footer-bottom { padding-bottom: 5.5rem; }   /* leaves room for the sticky buttons */
}

/* ---------- Products carousel (compact) ---------- */
#products.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
#products .section-head { margin-bottom: 1.75rem; }
.pc { position: relative; }
.pc-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 12px 2px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.pc-track::-webkit-scrollbar { display: none; }
.pc-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.pc-track.dragging a { pointer-events: none; }
.pc-track:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 4px; }
.pc-card { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; height: auto; }
.product-media { position: relative; }
.pc-card .product-media { aspect-ratio: 16 / 10; }
.pc-card .product-media img { -webkit-user-drag: none; user-select: none; }
.pc-card .product-num { position: absolute; left: 0; bottom: 0; margin: 0; padding: .25rem .7rem; background: rgba(6, 27, 59, .82); font-size: .8rem; }
.pc-card .product-body { padding: 1rem 1.1rem 1rem; }
.pc-card .product-body::before { left: 1.1rem; }
.pc-card h3 { font-size: 1.12rem; margin: 0 0 .4rem; }
.pc-card p { font-size: .84rem; line-height: 1.55; margin: 0 0 .7rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-card .product-link { min-height: 34px; font-size: .68rem; }
.pc-card:hover { transform: translateY(-5px); }
.pc-bar { display: flex; align-items: center; gap: 1.25rem; margin-top: .75rem; }
.pc-bar .pc-arrows { order: -1; }   /* keeps the arrows clear of the sticky buttons */
.pc-progress { position: relative; flex: 1; height: 2px; background: rgba(255, 255, 255, .18); }
.pc-progress span { position: absolute; top: 0; left: 0; height: 100%; width: 25%; background: var(--teal-hi); transition: left .3s ease, width .3s ease; }
.pc-arrows, .t-ctrl { display: flex; gap: .5rem; align-items: center; }
.pc-arrows .hero-arrow, .t-ctrl .hero-arrow { width: 40px; height: 40px; }
.hero-arrow:disabled { opacity: .35; pointer-events: none; }
@media (max-width: 1199.98px) { .pc-card { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 991.98px) { .pc-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 575.98px) { .pc-card { flex-basis: 80%; } .pc-track { gap: 12px; } }

/* ---------- Anatomy: real photo per part ---------- */
.anat-photo { max-width: 540px; padding: 0; border: 0; aspect-ratio: 5 / 4; }
.anat-imgs { position: absolute; inset: 0; overflow: hidden; background: var(--navy); }
.anat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.8s var(--ease); }
.anat-img.is-active { opacity: 1; transform: scale(1); }
.anat-badge { position: absolute; left: 0; bottom: 0; z-index: 3; padding: .6rem 1.1rem; background: var(--teal); color: #fff; font: 500 .74rem var(--ff-body); letter-spacing: .14em; text-transform: uppercase; }
.anat-corner { position: absolute; z-index: 3; width: 34px; height: 34px; border: 2px solid var(--teal-hi); pointer-events: none; }
.anat-corner.c1 { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.anat-corner.c2 { top: -10px; right: -10px; border-left: 0; border-bottom: 0; }
.anat-corner.c3 { bottom: -10px; left: -10px; border-right: 0; border-top: 0; }
.anat-corner.c4 { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }
@media (max-width: 575.98px) { .anat-photo { aspect-ratio: 4 / 3; } .anat-corner.c1, .anat-corner.c2 { top: -6px; } .anat-corner.c3, .anat-corner.c4 { bottom: -6px; } .anat-corner.c1, .anat-corner.c3 { left: -6px; } .anat-corner.c2, .anat-corner.c4 { right: -6px; } }

/* ---------- Testimonials (compact carousel) ---------- */
.testimonials.section { padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.5rem); }
.t-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.t-head .eyebrow { margin-bottom: .6rem; }
.t-head .section-title { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); margin: 0; }
.t-track { gap: 16px; padding: .4rem .15rem .6rem; }
.t-card { flex: 0 0 calc((100% - 16px) / 2); padding: 2.7rem 1.5rem 1.3rem; }
.t-card .t-quote { position: absolute; top: .65rem; left: 1.2rem; margin: 0; font-size: 2rem; }
.t-card blockquote { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.55; }
.t-avatar { width: 40px; height: 40px; font-size: 1.05rem; }
.t-sample { top: .75rem; right: .75rem; font-size: .58rem; padding: .2rem .5rem; }
.t-card:hover { transform: translateY(-4px); }
.t-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .6rem; }
.t-dots span { width: 22px; height: 3px; background: rgba(255, 255, 255, .25); cursor: pointer; transition: background .3s, width .3s; }
.t-dots span.is-on { width: 38px; background: var(--teal-hi); }
@media (max-width: 767.98px) { .t-card { flex-basis: 88%; } }

/* ---------- Footer: compact, one row on laptops, uniform icons ---------- */
.footer-body { padding-top: clamp(2rem, 3.5vw, 3rem); }
.footer-cta { padding-bottom: 1.4rem; margin-bottom: 1.75rem; gap: 1rem; }
.footer-cta-title { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); }
.footer-cta .eyebrow { margin-bottom: .35rem !important; }
.logo-plate-footer { margin-bottom: 0; padding: 8px 14px; }
.logo-plate-footer img { height: 84px; }
.footer-tag { margin: .75rem 0 .9rem; }
.footer-h { margin-bottom: 1rem; padding-bottom: .7rem; }
.footer-links { gap: 0; }
.footer-links a { min-height: 30px; padding: .2rem 0; font-size: .9rem; gap: .55rem; }
.footer-links a i { font-size: .72rem; width: .8rem; }
.footer-contact { gap: .75rem; }
.footer-contact li { gap: .8rem; }
.footer-contact li > i { width: 34px; height: 34px; font-size: .9rem; }
.footer-contact address { font-size: .9rem; line-height: 1.55; }
.footer-cols > .col-lg-4 { display: flex; }
.footer-map { position: relative; flex: 1; min-height: 270px; padding: 6px; background: #eef3f6; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .6); }
.footer-map iframe { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); border: 0; filter: saturate(.85); }
.map-open { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; background: var(--navy); color: #fff; border-top: 2px solid var(--teal); font: 500 .68rem var(--ff-body); letter-spacing: .14em; text-transform: uppercase; transition: background .3s; }
.map-open i { color: var(--teal-hi); }
.map-open:hover { background: var(--teal); color: #fff; }
.map-open:hover i { color: #fff; }
.footer-bottom { margin-top: 1.5rem; padding: .9rem 0 1rem; }
@media (min-width: 992px) { .fs-tile { aspect-ratio: 16 / 7; } }

/* ---------- Responsive refinements ---------- */
@media (max-width: 991.98px) {
  .window-reveal { height: 220vh; }
  .faq-side { position: static; }
  .gal { grid-template-areas: "a a" "b c" "d d" "e e"; grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(160px, 34vw, 280px); }
  .anat-figure { max-width: 380px; }
}
@media (max-width: 575.98px) {
  .window-reveal { height: 200vh; }
  .wr-copy > * { max-width: 100%; }
  .wr-shade { background: linear-gradient(to top, rgba(6, 27, 59, .92), rgba(6, 27, 59, .55)); }
  .wr-panes { grid-template-rows: repeat(3, 1fr); }
  .gal { grid-template-areas: "a a" "b c" "d d" "e e"; grid-auto-rows: 150px; }
  .gal-item.g-a { grid-row: span 2; }
  .anat-tab { flex: 1 1 calc(50% - .6rem); justify-content: center; }
  .marquee-track { padding: .8rem 0; }
  .hotspot { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .map-window { padding: 8px; }
}
@media (max-width: 359.98px) {
  .anat-tab { flex-basis: 100%; }
  .hero-title { font-size: 2.1rem; }
}

/* ==========================================================
   v5: photo-split window sashes, anatomy hotspots, Why, Process
   ========================================================== */

/* ---- Intro + scroll-opened window: the supplied window photo, split into two sashes ---- */
.wi-window { width: min(88vw, 780px); aspect-ratio: 1600 / 1067; max-height: none; border: 0; background: transparent; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.wi-sash { display: block; padding: 0; gap: 0; background: #0b2a52; overflow: hidden; }
.wi-photo, .wr-photo { position: absolute; top: 0; height: 100%; width: 200%; max-width: none; object-fit: cover; object-position: 50% 50%; -webkit-user-drag: none; user-select: none; }
.wi-left .wi-photo, .wr-left .wr-photo { left: 0; }
.wi-right .wi-photo, .wr-right .wr-photo { right: 0; left: auto; }
.wr-sash { background: #0b2a52; overflow: hidden; box-shadow: 0 0 46px rgba(0, 0, 0, .4); }

/* ---- Products carousel: infinite loop jump (no visible snap) ---- */
.pc-track.jump { scroll-snap-type: none; scroll-behavior: auto; }

/* ---- Anatomy: marked parts on the real photo ---- */
.anat-wrap { position: relative; max-width: 600px; margin-inline: auto; }
.anat-stage { position: relative; overflow: hidden; aspect-ratio: 1600 / 1067; background: var(--navy); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65); }
.anat-stage::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; box-shadow: inset 0 0 0 0 var(--teal-hi); transition: box-shadow .5s var(--ease); }
.anat-stage.is-zoom::before { box-shadow: inset 0 0 0 3px var(--teal-hi); }
.anat-layer { position: absolute; inset: 0; transform-origin: 0 0; transform: translate(calc(var(--tx) * 100%), calc(var(--ty) * 100%)) scale(var(--z)); transition: transform .9s var(--ease-cine); will-change: transform; }
.anat-main { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.mk { position: absolute; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; transform: scale(calc(1 / var(--z))); transition: transform .9s var(--ease-cine); }
.mk-n, .mk-ring { position: absolute; left: 3px; top: 3px; width: 38px; height: 38px; border-radius: 50%; }
.mk-n { display: grid; place-items: center; background: var(--teal); color: #fff; font: 600 .85rem var(--ff-body); box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 0 3px rgba(255, 255, 255, .9); opacity: 0; transform: scale(0); transition: background .3s, color .3s; }
.mk-ring { border: 2px solid var(--teal-hi); opacity: 0; pointer-events: none; }
.mk-tag { position: absolute; left: 50px; top: 9px; white-space: nowrap; padding: .28rem .65rem; background: rgba(6, 27, 59, .92); color: #fff; font: 500 .64rem var(--ff-body); letter-spacing: .12em; text-transform: uppercase; border-left: 2px solid var(--teal-hi); opacity: 0; transform: translateX(-6px); transition: background .3s; }
.mk[data-part="2"] .mk-tag { left: auto; right: 50px; border-left: 0; border-right: 2px solid var(--teal-hi); }
.mk:hover .mk-n, .mk.is-on .mk-n { background: #fff; color: var(--navy); }
.mk.is-on .mk-tag { background: var(--teal); }
.mk:focus-visible { outline: none; }
.mk:focus-visible .mk-n { outline: 2px solid #fff; outline-offset: 4px; }
.anat-wrap.is-visible .mk-n { animation: mkPop .6s var(--ease) calc(var(--i) * .28s + .8s) forwards; }
.anat-wrap.is-visible .mk-ring { animation: ping 2.2s ease-out calc(var(--i) * .28s + 1.3s) infinite; }
.anat-wrap.is-visible .mk-tag { animation: tagIn .5s var(--ease) calc(var(--i) * .28s + 1.1s) forwards; }
@keyframes mkPop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes tagIn { to { opacity: 1; transform: none; } }
.anat-scan { position: absolute; left: 0; right: 0; top: -8%; height: 8%; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(to bottom, transparent, rgba(24, 197, 192, .55), transparent); }
.anat-wrap.is-visible .anat-scan { animation: scanY 2.2s var(--ease-cine) .2s 1 forwards; }
@keyframes scanY { 0% { top: -8%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
.anat-hint, .anat-reset { position: absolute; top: 10px; z-index: 5; font: 500 .66rem var(--ff-body); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(6, 27, 59, .85); padding: .35rem .65rem; }
.anat-hint { left: 10px; transition: opacity .4s; }
.anat-hint i, .anat-reset i { color: var(--teal-hi); margin-right: .3rem; }
.anat-stage.is-zoom .anat-hint { opacity: 0; }
.anat-reset { right: 10px; min-height: 34px; border: 1px solid rgba(255, 255, 255, .4); cursor: pointer; transition: background .3s; }
.anat-reset:hover { background: var(--teal); }
.anat-reset[hidden] { display: none; }
@media (max-width: 575.98px) {
  .mk-tag { display: none; }
  .mk.is-on .mk-tag { display: block; }
  .anat-hint { font-size: .6rem; }
}

/* ---- Why choose us: compact + premium ---- */
.why { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); background: linear-gradient(180deg, var(--soft), #fff); }
.why::before { content: ""; position: absolute; right: -5%; top: -14%; width: min(46vw, 520px); aspect-ratio: 1 / 1.2; border: 1px solid rgba(0, 63, 103, .1); pointer-events: none;
  background: linear-gradient(rgba(0, 63, 103, .08), rgba(0, 63, 103, .08)) center / 1px 100% no-repeat, linear-gradient(rgba(0, 63, 103, .08), rgba(0, 63, 103, .08)) center / 100% 1px no-repeat; }
.why .container-xl { position: relative; }
.why .section-title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.why-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.5rem; }
.why-call { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-weight: 500; color: var(--navy); transition: color .3s; }
.why-call i { color: var(--teal); }
.why-call:hover { color: var(--teal); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.why-card { position: relative; display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.3rem 1.35rem; background: #fff; border: 1px solid var(--line-dark); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.why-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--teal), var(--teal-hi)); transition: width .6s var(--ease); }
.why-card:hover { transform: translateY(-5px); border-color: rgba(0, 166, 166, .45); box-shadow: 0 22px 40px -26px rgba(6, 27, 59, .45); }
.why-card:hover::after { width: 100%; }
.why-icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: linear-gradient(145deg, #fff, #eaf6f6); box-shadow: inset 0 0 0 1px rgba(0, 166, 166, .35); transition: background .4s, color .4s, transform .6s var(--ease); }
.why-icon svg { width: 28px; height: 28px; }
.why-card:hover .why-icon { background: var(--teal); color: #fff; transform: rotate(-6deg) scale(1.06); }
.why-card h3 { font-family: var(--ff-head); font-weight: 500; font-size: 1.2rem; margin: 0 0 .3rem; }
.why-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.why-no { position: absolute; right: .9rem; top: .45rem; font-family: var(--ff-head); font-size: 1.8rem; line-height: 1; color: rgba(6, 27, 59, .08); }
@media (max-width: 575.98px) { .why-grid { grid-template-columns: 1fr; } }

/* ---- Process: arched windows that open ---- */
.process { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, var(--soft)); }
.pw-list { --aw: 168px; --ah: 208px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.25rem 1.25rem; position: relative; }
.pw-list::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: calc(var(--ah) / 2); border-top: 2px dashed rgba(0, 63, 103, .28); }
.pw { position: relative; z-index: 1; text-align: center; }
.pw-arch { position: relative; width: var(--aw); height: var(--ah); margin: 0 auto 1.25rem; border: 7px solid var(--navy); border-radius: calc(var(--aw) / 2) calc(var(--aw) / 2) 6px 6px; background: radial-gradient(circle at 50% 62%, #fff 0%, #cdf6f3 42%, var(--teal-hi) 135%); overflow: hidden; perspective: 650px; box-shadow: 0 22px 34px -20px rgba(6, 27, 59, .55); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pw-core { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; color: var(--navy); }
.pw-num { font-family: var(--ff-head); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); line-height: 1; }
.pw-core i { font-size: 1.35rem; color: var(--blue); }
.pw-sash { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2; background: linear-gradient(135deg, rgba(196, 236, 244, .97), rgba(0, 63, 103, .95)); transition: transform 1.1s var(--ease-cine); }
.pw-sash::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)) center / 100% 3px no-repeat, linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)) center / 3px 100% no-repeat; }
.pw-sash.l { left: 0; transform-origin: left center; border-right: 3px solid #fff; }
.pw-sash.r { right: 0; transform-origin: right center; border-left: 3px solid #fff; }
.pw.is-visible .pw-sash.l { transform: rotateY(-64deg); transition-delay: calc(var(--i) * .25s + .5s); }
.pw.is-visible .pw-sash.r { transform: rotateY(64deg); transition-delay: calc(var(--i) * .25s + .5s); }
.pw:hover .pw-sash.l, .pw:focus-within .pw-sash.l { transform: rotateY(-104deg); transition-delay: 0s; }
.pw:hover .pw-sash.r, .pw:focus-within .pw-sash.r { transform: rotateY(104deg); transition-delay: 0s; }
.pw:hover .pw-arch { transform: translateY(-6px); box-shadow: 0 30px 40px -22px rgba(0, 166, 166, .6); }
.pw-text h3 { font-family: var(--ff-head); font-weight: 500; font-size: 1.45rem; margin: 0 0 .35rem; transition: color .4s; }
.pw:hover .pw-text h3 { color: var(--teal); }
.pw-text p { margin: 0 auto; color: var(--muted); font-size: .92rem; max-width: 240px; }
.pw-cta { text-align: center; margin: 2.5rem 0 0; }
@media (max-width: 991.98px) { .pw-list { grid-template-columns: repeat(2, 1fr); } .pw-list::before { display: none; } }
@media (max-width: 575.98px) {
  .pw-list { grid-template-columns: 1fr; gap: 1.25rem; --aw: 96px; --ah: 122px; }
  .pw { display: grid; grid-template-columns: var(--aw) 1fr; gap: 1.1rem; text-align: left; align-items: center; }
  .pw-arch { margin: 0; border-width: 5px; }
  .pw-num { font-size: 1.9rem; }
  .pw-core i { font-size: 1rem; }
  .pw-text p { margin: 0; max-width: none; }
  .pw-cta { margin-top: 1.75rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .hero-anim { opacity: 1 !important; transform: none !important; }
  .hero-img { transform: none !important; }
  .showcase-bg { transform: none !important; }
  .window-intro { display: none !important; }
  .marquee-track { animation: none; }
  .anat-svg .draw { stroke-dashoffset: 0; }
  .shutter { display: none; }
  .mk-n, .mk-tag { opacity: 1 !important; transform: none !important; animation: none !important; }
  .anat-scan { display: none; }
}

/* keep the last footer row clear of the sticky call / WhatsApp buttons */
.footer-bottom { padding-bottom: calc(1rem + 140px); }
@media (min-width: 1200px) { .footer-bottom { padding-bottom: 1rem; } }
