:root {
  --navy-900: #0e1e30;
  --navy-800: #14304e;
  --navy-700: #1d4266;
  --ink: #1b2733;
  --muted: #5c6a78;
  --line: #dfe5eb;
  --bg-soft: #f5f7f9;
  --accent: #e87722;      /* ASK Laboratories orange */
  --accent-dark: #c05f10;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { color: var(--muted); }

.section-eyebrow {
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-eyebrow.light { color: #f0a468; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(14, 30, 48, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand-logo { height: 60px; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--accent-dark); }
.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font: inherit; font-size: .78rem; font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch button.active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.nav-cta {
  background: var(--navy-800);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--navy-900); color: #fff !important; }

/* ---------- Hero ---------- */
.hero { background: #fff; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
.hero-kicker {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-sub { margin-top: 22px; font-size: 1.05rem; max-width: 54ch; }
.hero-sub strong { color: var(--navy-900); }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { margin-top: 38px; list-style: none; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .95rem;
}
.hero-points li::before {
  content: "";
  position: absolute; left: 0; top: .48em;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 2px;
}
.hero-visual {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
}
.hero-rotator {
  position: relative;
  width: 100%;
  height: 460px;
}
.hero-rotator .rot {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%) scale(.97);
  height: 440px; width: auto; max-width: 100%;
  opacity: 0;
  filter: drop-shadow(0 22px 30px rgba(14, 30, 48, .16));
  transition: opacity 1s ease, transform 1.2s ease;
  pointer-events: none;
}
.hero-rotator .rot.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.rot-caption {
  margin-top: 18px;
  text-align: center;
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  transition: opacity .5s ease;
}
.rot-caption.switching { opacity: 0; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-rotator .rot { transition: none; }
  .product-media img, .p-media img { transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 6px;
  cursor: pointer; border: none;
  transition: background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); }
.btn-ghost { border: 1.5px solid var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-ghost:hover { background: var(--bg-soft); }

/* ---------- Products ---------- */
.products { padding: 92px 0 76px; background: var(--bg-soft); }
.products h2, .interest h2, .about h2 { text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 14px auto 0; }

.range-header { margin: 52px auto 0; text-align: center; }
.range-header img { height: 130px; max-width: 100%; }
.range-header p {
  margin-top: 12px;
  color: var(--navy-800);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
}

.product-grid {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { border-color: #c6d2dd; box-shadow: 0 10px 26px rgba(14, 30, 48, .08); }
.product-media {
  background: linear-gradient(180deg, #ffffff 0%, #f2f6f9 100%);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 36px; min-height: 360px;
  overflow: hidden;
}
.product-media img {
  max-height: 400px; width: auto; max-width: 100%; object-fit: contain;
  transition: transform .3s ease;
}
.product-card:hover .product-media img { transform: scale(1.045); }
.product-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-stage {
  color: var(--accent-dark);
  font-weight: 700; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .12em;
}
.product-desc { color: var(--muted); font-size: .94rem; margin-top: 8px; }
.product-facts { list-style: none; margin: 16px 0 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.product-facts li {
  position: relative; padding-left: 18px; margin-bottom: 6px;
  font-size: .9rem; color: var(--ink); font-weight: 500;
}
.product-facts li::before {
  content: "";
  position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.product-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.product-actions .btn { align-self: flex-start; }
.tds-link { color: var(--accent-dark); font-size: .88rem; font-weight: 600; text-decoration: none; }
.tds-link:hover { text-decoration: underline; }

/* ---------- Offer ---------- */
.offer { padding: 0 0 92px; background: #fff; }
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--navy-900);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 84px;
}
.stat {
  padding: 30px 26px;
  border-left: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; gap: 4px;
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.1rem; font-weight: 700; color: #fff; line-height: 1.1;
}
.stat-label { color: #9fb0c2; font-size: .86rem; line-height: 1.45; }

.offer-grid {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.offer-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: #fff;
}
.offer-icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.offer-num {
  display: block;
  color: var(--accent);
  font-weight: 700; font-size: .85rem;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.offer-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.offer-card p { font-size: .92rem; }

/* ---------- Portfolio banner (index) ---------- */
.portfolio-banner {
  margin-top: 32px;
  background: var(--navy-900);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.portfolio-banner h3 { color: #fff; font-size: 1.25rem; margin-bottom: 4px; }
.portfolio-banner p { color: #9fb0c2; margin: 0; font-size: .93rem; max-width: 60ch; }
.portfolio-banner .btn-ghost { border-color: #4a617a; color: #fff; }
.portfolio-banner .btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- Portfolio page ---------- */
.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 72px 0; text-align: center; }
.page-hero .hero-sub { max-width: 60ch; margin: 18px auto 0; }
.pgroup { padding: 64px 0 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.pgroup:last-of-type { padding-bottom: 80px; }
.pgroup h2 { text-align: center; }
.p-grid {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 20px;
}
.p-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.p-card:hover { border-color: #c6d2dd; box-shadow: 0 8px 20px rgba(14, 30, 48, .08); }
.p-avail { border-top: 3px solid var(--accent); }
.p-media {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6f9 100%);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 22px; height: 235px;
  overflow: hidden;
}
.p-media img { max-height: 200px; max-width: 82%; width: auto; object-fit: contain; transition: transform .25s ease; }
.p-card:hover .p-media img { transform: scale(1.05); }
.p-media .ph {
  color: #b3bfcb;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.3rem; font-weight: 700;
  border: 1.5px dashed #c9d4de;
  border-radius: 8px;
  padding: 26px 20px;
  text-align: center;
  max-width: 100%;
}
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.p-top h3 { font-size: 1rem; line-height: 1.3; }
.p-desc { font-size: .82rem; margin: 0; }
.p-body .btn { margin-top: auto; padding: 10px 18px; font-size: .85rem; align-self: flex-start; }
.btn-grey { background: #e6eaee; color: #5c6a78; }
.btn-grey:hover { background: #dbe1e7; }
.badge {
  flex-shrink: 0;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  white-space: nowrap;
}
.badge-now { background: #e7f2e9; color: #2e6b3f; }
.badge-soon { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.portfolio-cta { text-align: center; margin-top: 36px; }
@media (max-width: 720px) {
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .p-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* ---------- Image band ---------- */
.image-band {
  position: relative;
  background:
    linear-gradient(rgba(14, 30, 48, .86), rgba(14, 30, 48, .86)),
    url("assets/warehouse.jpg") center / cover no-repeat;
  background-attachment: fixed;
  padding: 96px 0;
  text-align: center;
}
.image-band h2 { color: #fff; }
.image-band p { color: #b9c6d4; max-width: 620px; margin: 14px auto 0; }
@media (max-width: 900px) {
  .image-band { background-attachment: scroll; padding: 72px 0; }
}

/* ---------- Map ---------- */
.map-wrap {
  margin: 56px auto 0;
  max-width: 1140px;
  padding: 0 24px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ---------- Interest ---------- */
.interest { padding: 92px 0; background: var(--navy-900); color: #fff; }
.interest h2 { color: #fff; }
.interest .section-sub { color: #9fb0c2; }
.interest-form {
  max-width: 780px; margin: 44px auto 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.interest-form .form-row { display: contents; }
.interest-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .85rem; color: var(--navy-800); }
.form-full { grid-column: 1 / -1; }
.interest-form input, .interest-form select, .interest-form textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px; padding: 12px 14px;
  font: inherit; font-size: .95rem; color: var(--ink);
}
.interest-form input:focus, .interest-form select:focus, .interest-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.interest-form textarea { resize: vertical; }
.btn-send { grid-column: 1 / -1; font-size: 1rem; }
.form-note { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: .85rem; }

/* ---------- About ---------- */
.about { padding: 92px 0; background: #fff; }
.about-inner { display: flex; gap: 56px; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.about-brand {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 50px; display: flex; align-items: center;
}
.about-logo { width: 260px; }
.about-text { max-width: 540px; }
.about-text p { margin-top: 14px; }
.about-text strong { color: var(--navy-900); }
.about-contact { color: var(--ink) !important; font-weight: 600; line-height: 2 !important; }
.about-contact a { color: var(--accent-dark); text-decoration: none; }
.about-contact a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #8fa0b3;
  padding: 30px 0;
  font-size: .82rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; gap: 44px; }
  .hero-visual { order: -1; }
  .hero-visual img { width: 26%; }
  .hero-visual img:nth-child(2) { width: 29%; }
}
@media (max-width: 720px) {
  .nav { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }
  .interest-form { grid-template-columns: 1fr; padding: 24px; }
  .about-inner { flex-direction: column; align-items: center; text-align: center; }
}
