/* Vishnu Tools & Dies — premium industrial system */
@view-transition { navigation: auto; }

:root {
  --navy: #0b1b33;
  --navy-2: #12284a;
  --navy-3: #1b3560;
  --amber: #f5b301;
  --amber-2: #ffc83a;
  --ink: #14213d;
  --muted: #5a6880;
  --soft: #f4f6fa;
  --line: #e3e8f0;
  --white: #ffffff;
  --on-dark: #c3cddf;
  --r-lg: 22px;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 27, 51, 0.07);
  --shadow-lg: 0 28px 70px -18px rgba(11, 27, 51, 0.28);
  --font: "Archivo", "Segoe UI", system-ui, sans-serif;
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.7;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button { font: inherit; }
h1, h2, h3, h4 { font-stretch: 104%; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
::selection { background: var(--amber); color: var(--navy); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--navy-3) var(--soft); }

.skip-link { position: absolute; left: 1rem; top: -100%; z-index: 999; padding: 0.6rem 1rem; background: var(--amber); color: var(--navy); font-weight: 700; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ———————— Top bar & header ———————— */
.topbar { background: var(--navy); color: var(--on-dark); font-size: 0.86rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem 2rem; flex-wrap: wrap; padding: 0.6rem 0; }
.topbar .group { display: flex; gap: 0.5rem 1.75rem; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.topbar .ico { color: var(--amber); width: 1rem; height: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(11, 27, 51, 0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--navy); }
.brand img { width: 3.4rem; height: 2.65rem; object-fit: contain; background: #000; border-radius: 8px; padding: 2px 4px; }
.brand strong { display: block; white-space: nowrap; font-size: 1.12rem; font-weight: 800; font-stretch: 108%; line-height: 1.1; letter-spacing: -0.01em; }
.brand small { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  position: relative; white-space: nowrap; padding: 0.55rem 0.85rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav a:hover { color: var(--navy); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--navy); background: rgba(245, 179, 1, 0.16); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-call { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); }
.header-call .ring { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--soft); color: var(--navy); transition: background 0.3s, color 0.3s; }
.header-call:hover .ring { background: var(--amber); }
.header-call small { display: block; font-size: 0.72rem; color: var(--muted); line-height: 1.2; }
.header-call strong { display: block; font-size: 1rem; line-height: 1.2; white-space: nowrap; }
.nav-toggle { display: none; width: 2.9rem; height: 2.9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 1.4rem; height: 1.4rem; }

/* ———————— Buttons ———————— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn .ico { width: 1.05rem; height: 1.05rem; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico { transform: translateX(3px); }
.btn-amber { background: var(--amber); color: var(--navy); box-shadow: 0 12px 26px -12px rgba(11, 27, 51, 0.45); }
.btn-amber:hover { background: var(--amber-2); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 12px 26px -12px rgba(11, 27, 51, 0.6); }
.btn-navy:hover { background: var(--navy-3); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 0.7rem 1.2rem; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.more { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; font-size: 0.95rem; color: var(--navy); text-decoration: none; }
.more .ico { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease); }
.more:hover .ico { transform: translateX(4px); }

/* ———————— Sections & headings ———————— */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--navy); color: var(--white); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { position: relative; margin: 0 0 1rem; padding-bottom: 1.1rem; font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; color: var(--navy); }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3.5rem; height: 4px; border-radius: 4px; background: var(--amber); }
.sec-head.center h2::after { left: 50%; translate: -50% 0; }
.sec-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.dark .sec-head h2 { color: var(--white); }
.dark .sec-head p { color: var(--on-dark); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.head-row .sec-head { margin-bottom: 0; }

/* ———————— Hero slider ———————— */
.hero { position: relative; height: clamp(560px, 86vh, 800px); overflow: hidden; background: var(--navy); color: var(--white); }
.slide { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s 1.2s; }
.slide.active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease), visibility 0s; z-index: 1; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.12; transition: scale 7s linear; }
.slide.active > img { scale: 1; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 27, 51, 0.94) 0%, rgba(11, 27, 51, 0.78) 42%, rgba(11, 27, 51, 0.25) 100%); }
.slide__body { position: relative; z-index: 2; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; padding-bottom: 4rem; }
.slide__body > div { max-width: 40rem; }
.slide h1, .slide h2 { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 6vw, 4.9rem); font-weight: 800; line-height: 1.04; color: var(--white); }
.slide h1 span, .slide h2 span { color: var(--amber); }
.slide p { margin: 0 0 2.1rem; max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-dark); }
.slide__body > div > * { opacity: 0; translate: 0 26px; transition: opacity 0.8s var(--ease), translate 1s var(--ease); }
.slide.active .slide__body > div > * { opacity: 1; translate: 0 0; }
.slide.active .slide__body > div > :nth-child(1) { transition-delay: 0.35s; }
.slide.active .slide__body > div > :nth-child(2) { transition-delay: 0.5s; }
.slide.active .slide__body > div > :nth-child(3) { transition-delay: 0.65s; }
.hero__ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 7.5rem; }
.hero__ctrl .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dots { display: flex; gap: 0.6rem; }
.dots button { position: relative; width: 3.25rem; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, 0.28); cursor: pointer; overflow: hidden; }
.dots button::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; }
.dots button[aria-current="true"]::after { animation: dotfill var(--dur, 6.5s) linear forwards; }
.hero.paused .dots button[aria-current="true"]::after { animation: none; transform: scaleX(1); }
.arrows { display: flex; gap: 0.6rem; }
.arrows button { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(11, 27, 51, 0.3); color: var(--white); cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.arrows button:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); }
@keyframes dotfill { to { transform: scaleX(1); } }

/* Feature cards overlapping hero */
.features { position: relative; z-index: 5; margin-top: -5.5rem; }
.features ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.feature {
  position: relative; overflow: hidden; height: 100%;
  padding: 1.75rem 1.5rem; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), color 0.45s var(--ease);
}
.feature:hover { transform: translateY(-6px); background: var(--navy); color: var(--white); }
.feature .badge-ico { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: 1.15rem; border-radius: 16px; background: rgba(245, 179, 1, 0.16); color: var(--navy); transition: background 0.45s, color 0.45s; }
.feature:hover .badge-ico { background: var(--amber); }
.feature .badge-ico .ico { width: 1.6rem; height: 1.6rem; }
.feature h3 { margin: 0 0 0.4rem; font-size: 1.15rem; font-weight: 800; }
.feature p { margin: 0; font-size: 0.95rem; color: var(--muted); transition: color 0.45s; }
.feature:hover p { color: var(--on-dark); }

/* ———————— About collage ———————— */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.collage { position: relative; padding: 0 3.5rem 3.5rem 0; }
.collage .main { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.collage .sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r); border: 8px solid var(--white); box-shadow: var(--shadow-lg); }
.collage .since {
  position: absolute; left: -1.25rem; top: 2rem; display: grid; place-content: center; text-align: center;
  width: 8.5rem; height: 8.5rem; border-radius: 50%; background: var(--amber); color: var(--navy); box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.collage .since small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.collage .since strong { font-size: 2.2rem; font-weight: 900; line-height: 1; font-stretch: 112%; }
.about .lead { margin: 0 0 1.5rem; font-size: 1.15rem; color: var(--ink); }
.about p { color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; margin: 1.75rem 0 2rem; padding: 0; list-style: none; }
.checks li { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 600; font-size: 0.98rem; }
.checks .ico { margin-top: 0.15rem; width: 1.35rem; height: 1.35rem; padding: 0.2rem; border-radius: 50%; background: var(--amber); color: var(--navy); stroke-width: 2.6; }
.leader { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; margin-bottom: 2rem; border-radius: var(--r); background: var(--soft); }
.leader .avatar { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 900; font-stretch: 115%; }
.leader strong { display: block; font-size: 1.05rem; }
.leader small { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.4; }

/* ———————— Service cards ———————— */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.card:hover .card__img img { scale: 1.08; }
.card__num { position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--white); color: var(--navy); font-weight: 800; font-size: 0.9rem; box-shadow: var(--shadow); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.card h3 { margin: 0 0 0.5rem; font-size: 1.18rem; font-weight: 800; color: var(--navy); }
.card p { flex: 1; margin: 0 0 1.1rem; font-size: 0.95rem; color: var(--muted); }
.card.cta-card { justify-content: center; padding: 2rem; background: var(--navy); color: var(--white); }
.card.cta-card h3 { color: var(--white); font-size: 1.5rem; }
.card.cta-card p { color: var(--on-dark); flex: none; }
.card.cta-card .ring { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: 1.5rem; border-radius: 50%; background: var(--amber); color: var(--navy); }

/* ———————— Process ———————— */
.process { position: relative; overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/cnc-drilling.webp") center / cover; opacity: 0.12; }
.process .wrap { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 2.6rem; border-top: 2px dashed rgba(255, 255, 255, 0.25); }
.step { position: relative; text-align: center; }
.step .circle {
  position: relative; display: grid; place-items: center; width: 5.2rem; height: 5.2rem; margin: 0 auto 1.25rem;
  border-radius: 50%; background: var(--navy-2); border: 2px solid rgba(255, 255, 255, 0.16); color: var(--amber);
  transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.45s;
}
.step .circle .ico { width: 1.9rem; height: 1.9rem; }
.step .circle b { position: absolute; right: -0.2rem; top: -0.2rem; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--amber); color: var(--navy); font-size: 0.75rem; }
.step:hover .circle { background: var(--amber); color: var(--navy); border-color: var(--amber); transform: translateY(-6px); }
.step:hover .circle b { background: var(--white); }
.step h3 { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 800; color: var(--white); }
.step p { margin: 0; font-size: 0.9rem; color: var(--on-dark); line-height: 1.55; }

/* ———————— Process timeline (quality page) ———————— */
.tl-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.tl-intro { position: sticky; top: 7rem; }
.tl-intro .sec-head { margin-bottom: 2rem; }
.tl-photo { position: relative; margin: 0 0 2rem; }
.tl-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.tl-photo figcaption {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.15rem;
  border-radius: var(--r); background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow); font-size: 0.92rem; color: var(--muted);
}
.tl-photo figcaption .ico { width: 2.6rem; height: 2.6rem; padding: 0.55rem; border-radius: 12px; background: var(--amber); color: var(--navy); }
.tl-photo figcaption strong { display: block; color: var(--navy); font-size: 1.02rem; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.timeline::before { content: ""; position: absolute; left: 1.7rem; top: 1.5rem; bottom: 1.5rem; width: 2px; background: linear-gradient(var(--amber), rgba(245, 179, 1, 0.15)); }
.tl-item { position: relative; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.tl-dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 3.4rem; height: 3.4rem;
  border-radius: 50%; background: var(--white); color: var(--navy); border: 2px solid var(--amber); box-shadow: 0 0 0 6px var(--soft);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.tl-dot .ico { width: 1.45rem; height: 1.45rem; }
.tl-card {
  padding: 1.25rem 1.5rem; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tl-card small { display: block; margin-bottom: 0.15rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8a6400; }
.tl-card h3 { margin: 0 0 0.25rem; font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.tl-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.tl-item:hover .tl-card { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.tl-item:hover .tl-dot { background: var(--amber); }
.tl-item:last-child .tl-dot { background: var(--navy); color: var(--amber); border-color: var(--navy); }
@media (max-width: 1020px) {
  .tl-wrap { grid-template-columns: 1fr; }
  .tl-intro { position: static; }
  .tl-photo { max-width: 36rem; }
}
@media (max-width: 560px) {
  .tl-item { grid-template-columns: 2.8rem minmax(0, 1fr); gap: 0.9rem; }
  .tl-dot { width: 2.8rem; height: 2.8rem; }
  .timeline::before { left: 1.4rem; }
  .tl-card { padding: 1rem 1.1rem; }
}

/* ———————— Spec cards (machines / instruments) ———————— */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.spec { overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.spec__img { position: relative; height: 13rem; overflow: hidden; }
.spec__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.spec:hover .spec__img img { scale: 1.05; }
.spec__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 27, 51, 0.85), transparent 65%); }
.spec__img h3 { position: absolute; left: 1.5rem; bottom: 1.1rem; z-index: 1; margin: 0; color: var(--white); font-size: 1.45rem; font-weight: 800; }
.spec ul { margin: 0; padding: 0.5rem 1.5rem 1rem; list-style: none; }
.spec li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px dashed var(--line); font-size: 0.98rem; }
.spec li:last-child { border-bottom: 0; }
.spec li span { font-weight: 600; }
.spec li em { font-style: normal; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; border-radius: 999px; background: rgba(245, 179, 1, 0.18); color: #8a6400; font-size: 0.72rem; font-weight: 700; vertical-align: 0.1em; }

/* ———————— Logos ———————— */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.logos li { display: grid; place-items: center; height: 7.5rem; padding: 1.25rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s; }
.logos li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.logos img { max-height: 3.6rem; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.4s, opacity 0.4s; }
.logos li:hover img { filter: none; opacity: 1; }

/* ———————— CTA banner ———————— */
.cta-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: var(--r-lg); color: var(--white); background: var(--navy); }
.cta-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 27, 51, 0.95), rgba(11, 27, 51, 0.55)); }
.cta-banner > * { position: relative; }
.cta-banner h2 { margin: 0 0 0.75rem; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
.cta-banner p { margin: 0; max-width: 36rem; color: var(--on-dark); }
.cta-banner .phone { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.25rem; font-size: 1.35rem; font-weight: 800; color: var(--amber); text-decoration: none; }

/* ———————— Page banner (inner pages) ———————— */
.page-banner { position: relative; overflow: hidden; padding: clamp(5rem, 11vw, 8.5rem) 0 clamp(4rem, 8vw, 6rem); background: var(--navy); color: var(--white); }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.08; animation: settle 2.4s var(--ease) forwards; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 27, 51, 0.95), rgba(11, 27, 51, 0.6)); }
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner h1 { margin: 0 0 0.8rem; font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
.page-banner p { margin: 0 0 1.5rem; max-width: 40rem; color: var(--on-dark); font-size: 1.1rem; }
.crumbs { display: inline-flex; gap: 0.6rem; margin: 0; padding: 0.5rem 1rem; list-style: none; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 0.88rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--amber); }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
@keyframes settle { to { scale: 1; } }

/* ———————— Inner page components ———————— */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv { position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.mv.navy { background: var(--navy); color: var(--white); }
.mv .badge-ico { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: 1.25rem; border-radius: 16px; background: var(--amber); color: var(--navy); }
.mv .badge-ico .ico { width: 1.7rem; height: 1.7rem; }
.mv h3 { margin: 0 0 0.75rem; font-size: 1.6rem; font-weight: 800; }
.mv p { margin: 0; color: var(--muted); }
.mv.navy p { color: var(--on-dark); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.grid3 .feature { box-shadow: var(--shadow); }

.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-row__img { order: 2; }
.svc-row__img { position: relative; }
.svc-row__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.svc-row__img .card__num { left: 1.25rem; top: 1.25rem; width: 3rem; height: 3rem; font-size: 1rem; }
.svc-row h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); }
.svc-row p { margin: 0 0 1.25rem; color: var(--muted); }
.svc-row .checks { margin: 0 0 1.75rem; }

.table-card { overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.table-card h3 { display: flex; align-items: center; gap: 0.75rem; margin: 0; padding: 1.25rem 1.5rem; background: var(--navy); color: var(--white); font-size: 1.25rem; }
.table-card h3 .ico { color: var(--amber); }
.table-card table { width: 100%; border-collapse: collapse; }
.table-card th, .table-card td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.table-card thead th { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.table-card tbody th { font-weight: 700; }
.table-card td { color: var(--muted); font-variant-numeric: tabular-nums; }
.table-card tbody tr { transition: background 0.3s; }
.table-card tbody tr:hover { background: #fbfcfe; }
.table-card tr:last-child th, .table-card tr:last-child td { border-bottom: 0; }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); aspect-ratio: 1; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.strip figure:hover img { scale: 1.08; }
.strip figcaption { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 0.5rem 0.75rem; border-radius: 10px; background: rgba(255, 255, 255, 0.94); font-size: 0.85rem; font-weight: 700; color: var(--navy); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 2.5rem; }
.filters button { padding: 0.65rem 1.25rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: 0.93rem; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 15rem; gap: 1.1rem; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.hide { display: none; }
.gallery button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery button:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.gallery figure:hover img { scale: 1.07; }
.gallery figcaption { position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--navy); font-size: 0.86rem; font-weight: 700; translate: 0 calc(100% + 1.25rem); transition: translate 0.5s var(--ease); pointer-events: none; }
.gallery figure:hover figcaption, .gallery button:focus-visible + figcaption { translate: 0 0; }
.note { margin: 1.5rem 0 0; text-align: center; color: var(--muted); font-size: 0.9rem; }
.lightbox { width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; background: transparent; color: var(--white); overflow: visible; }
.lightbox::backdrop { background: rgba(11, 27, 51, 0.9); }
.lightbox[open] { animation: pop 0.45s var(--ease); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--r); }
.lightbox p { margin: 0.75rem 0 0; text-align: center; font-weight: 600; }
.lightbox .close { position: fixed; top: 1.25rem; right: 1.25rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: var(--amber); color: var(--navy); cursor: pointer; }
@keyframes pop { from { opacity: 0; scale: 0.94; } }

/* Contact */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 0 0 3rem; padding: 0; list-style: none; }
.info { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); height: 100%; }
.info .badge-ico { display: grid; place-items: center; flex: none; width: 3.2rem; height: 3.2rem; border-radius: 14px; background: var(--amber); color: var(--navy); }
.info h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.info p, .info a { margin: 0; color: var(--muted); font-size: 0.97rem; text-decoration: none; }
.info a:hover { color: var(--navy); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1.75rem; align-items: stretch; }
.form-card { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.form-card h2 { margin: 0 0 0.4rem; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--navy); }
.form-card > p { margin: 0 0 1.75rem; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft);
  color: var(--ink); font: inherit; font-size: 1rem; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: #7a879b; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: var(--white); box-shadow: 0 0 0 4px rgba(245, 179, 1, 0.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d64545; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.form-status { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-weight: 600; color: var(--navy); }
.form-status.error { color: #c43c3c; }
.map-card { display: flex; overflow: hidden; min-height: 26rem; border-radius: var(--r-lg); box-shadow: var(--shadow); background: var(--soft); }
.map-card iframe { display: block; flex: 1; width: 100%; min-height: 26rem; border: 0; }

/* ———————— Footer ———————— */
.site-footer { background: var(--navy); color: var(--on-dark); padding-top: clamp(4rem, 8vw, 5.5rem); font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer .brand { color: var(--white); margin-bottom: 1.25rem; }
.site-footer .brand small { color: var(--on-dark); }
.site-footer p { margin: 0 0 1.25rem; }
.site-footer h3 { position: relative; margin: 0 0 1.25rem; padding-bottom: 0.8rem; color: var(--white); font-size: 1.08rem; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.25rem; height: 3px; border-radius: 3px; background: var(--amber); }
.site-footer ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--on-dark); text-decoration: none; transition: color 0.3s; }
.site-footer a:hover { color: var(--amber); }
.site-footer .btn-amber, .site-footer .btn-amber:hover { color: var(--navy); }
.site-footer .contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.site-footer .contact .ico { margin-top: 0.25rem; color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; padding: 1.25rem 0; font-size: 0.88rem; }

.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.35); transition: transform 0.35s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 1.7rem; height: 1.7rem; fill: currentColor; }
.to-top { position: fixed; right: 1.4rem; bottom: 5.6rem; z-index: 50; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; translate: 0 12px; pointer-events: none; transition: opacity 0.35s, translate 0.35s var(--ease), background 0.3s; }
.to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: var(--amber); color: var(--navy); }
.to-top .ico { rotate: -90deg; }

@keyframes ring { 0% { scale: 1; opacity: 0.8; } 100% { scale: 1.7; opacity: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ———————— Reveal ———————— */
.js [data-reveal] { opacity: 0; translate: 0 34px; transition: opacity 0.9s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--i, 0) * 0.09s); }
.js [data-reveal="left"] { translate: -40px 0; }
.js [data-reveal="right"] { translate: 40px 0; }
.js [data-reveal="zoom"] { translate: 0 0; scale: 0.94; transition: opacity 0.9s var(--ease), scale 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; translate: 0 0; scale: 1; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; translate: none; scale: 1; }
  .slide > img { scale: 1; }
}

/* ———————— Responsive ———————— */
@media (max-width: 1340px) {
  .header-call { display: none; }
}
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(22rem, 86vw);
    flex-direction: column; align-items: stretch; gap: 0.25rem; padding: 5.5rem 1.25rem 2rem;
    background: var(--white); box-shadow: -30px 0 60px rgba(11, 27, 51, 0.2);
    translate: 100% 0; visibility: hidden; transition: translate 0.55s var(--ease), visibility 0s 0.55s;
  }
  .menu-open .nav { translate: 0 0; visibility: visible; transition: translate 0.55s var(--ease), visibility 0s; }
  .nav a { padding: 0.95rem 1rem; border-radius: 12px; font-size: 1.05rem; }
  .nav .btn { margin-top: 1rem; }
  .nav-close { position: absolute; top: 1.25rem; right: 1.25rem; }
  .scrim { position: fixed; inset: 0; z-index: 70; background: rgba(11, 27, 51, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
  .menu-open .scrim { opacity: 1; pointer-events: auto; }
  .header-cta .btn { display: none; }
  .features ul { grid-template-columns: 1fr 1fr; }
  .about, .contact-grid { grid-template-columns: 1fr; }
  .collage { max-width: 36rem; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .specs, .duo { grid-template-columns: 1fr; }
  .grid3, .info-cards { grid-template-columns: 1fr 1fr; }
  .svc-row, .svc-row:nth-child(even) { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row__img { order: 0; }
  .strip { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1021px) { .nav-close, .scrim { display: none; } .nav .nav-mobile-cta { display: none; } }
@media (max-width: 720px) {
  .topbar .hide-sm { display: none; }
  .cards { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .logos { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .hero__ctrl { bottom: 6.5rem; }
  .hero__ctrl .arrows { display: none; }
  .slide__body { padding-bottom: 6rem; }
}
@media (max-width: 560px) {
  .brand small { display: none; }
  .features { margin-top: -4rem; }
  .grid3, .info-cards, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .features ul { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .feature { padding: 1.25rem 1rem; border-radius: var(--r); }
  .feature .badge-ico { width: 2.75rem; height: 2.75rem; margin-bottom: 0.8rem; border-radius: 12px; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: 0.86rem; line-height: 1.5; }
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 0.5rem var(--gutter) 1.5rem; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .cards > li { scroll-snap-align: start; }
  .gallery figure.tall { grid-row: span 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .collage { padding: 0 2rem 2.5rem 0; }
  .collage .since { width: 6.5rem; height: 6.5rem; left: -0.5rem; }
  .collage .since strong { font-size: 1.7rem; }
  .spec li { flex-direction: column; gap: 0.15rem; }
  .spec li em { text-align: left; }
  .table-card th, .table-card td { padding: 0.85rem 1rem; }
}
