:root {
  --teal: #087d8a;
  --teal-dark: #065d66;
  --teal-deep: #04383f;
  --teal-soft: #e6f3f4;
  --gold: #c8a24f;
  --gold-soft: #f5eddb;
  --ink: #10282d;
  --muted: #607075;
  --line: #dfe8ea;
  --surface: #f5f7f7;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(3, 42, 48, 0.12);
  --shadow-hover: 0 24px 72px rgba(3, 42, 48, 0.18);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 96px 0; }
.section-muted { background: var(--surface); }
.section-dark { background: radial-gradient(circle at 20% 10%, rgba(200,162,79,0.17), transparent 28%), linear-gradient(135deg, var(--teal-dark), var(--teal-deep)); color: var(--white); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.7rem); max-width: 860px; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.22rem; }
p { margin: 16px 0 0; color: var(--muted); }
.lead { font-size: 1.14rem; color: #415358; }
.section-dark p, .section-dark .lead { color: rgba(255,255,255,0.78); }

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  height: 3px;
  width: 100%;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: calc(var(--scroll, 0) * 100%);
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(4, 60, 67, 0.12);
  transition: width .28s ease, top .28s ease, padding .28s ease, box-shadow .28s ease;
}
body.is-scrolled .site-header {
  top: 8px;
  width: min(1020px, calc(100% - 24px));
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 14px 46px rgba(4, 60, 67, 0.18);
}
.brand img { width: 230px; height: auto; transition: width .28s ease; }
body.is-scrolled .brand img { width: 196px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #214046;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a:hover { background: var(--teal-soft); color: var(--teal-dark); transform: translateY(-1px); }
.nav-links .nav-cta { background: var(--teal); color: var(--white); }
.nav-links .nav-cta:hover { background: var(--teal-dark); color: var(--white); }
.nav-toggle, .nav-button { display: none; }

.hero {
  --hero-scale: 1;
  position: relative;
  min-height: 790px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #f1f4f4;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.96));
  z-index: 1;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1 + var(--hero-scale) * 0.08)) translateY(calc(var(--hero-scale) * 18px));
  transition: transform .1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 36%, rgba(255,255,255,0.45) 62%, rgba(255,255,255,0.08) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding-top: 88px; }
.hero-text { max-width: 650px; font-size: 1.22rem; color: #334b50; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button-primary { background: var(--teal); color: var(--white); }
.button-secondary { background: rgba(255,255,255,0.74); color: var(--teal-dark); border-color: rgba(8,125,138,0.24); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(8,125,138,0.16);
  color: var(--teal-dark);
  font-size: .88rem;
  font-weight: 800;
}
.hero-points span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(6,93,102,0.5);
  border-radius: 999px;
  transform: translateX(-50%);
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  transform: translateX(-50%);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0%, 100% { transform: translate(-50%,0); opacity: .25; } 45% { transform: translate(-50%,12px); opacity: 1; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-center { align-items: center; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.stat-grid article, .service-card, .process-grid article, .contact-card, .trust-box, .product-notes {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(3, 42, 48, 0.06);
}
.stat-grid article { padding: 26px; }
.stat-grid span {
  display: inline-flex;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 36px;
}
.stat-grid p { font-size: 0.95rem; }

.section-heading { max-width: 820px; margin-bottom: 44px; }
.section-heading p:not(.eyebrow) { font-size: 1.08rem; }
.light-heading p:not(.eyebrow) { color: rgba(255,255,255,0.76); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { padding: 28px; }
.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 900;
  margin-bottom: 24px;
}
.interactive-card {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.interactive-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-hover);
  border-color: rgba(8,125,138,0.22);
}

.image-split { align-items: center; }
.image-split.reverse figure { order: 2; }
.image-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.image-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.zoom-card:hover img, .image-card.is-visible img { transform: scale(1.045); }
.image-card figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.82);
}
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: #344b50; font-weight: 650; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.section-dark .check-list li { color: rgba(255,255,255,0.9); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.process-grid article {
  position: relative;
  padding: 26px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  box-shadow: none;
  overflow: hidden;
}
.process-grid article::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 100%;
  background: radial-gradient(circle, rgba(200,162,79,0.22), transparent 62%);
  transform: scale(.8);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
}
.process-grid article:hover::after, .process-grid article.is-visible::after { transform: scale(1.2); opacity: 1; }
.process-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #241c08;
  font-weight: 900;
  margin-bottom: 28px;
}
.process-grid h3 { color: var(--white); position: relative; z-index: 1; }
.process-grid p { font-size: 0.93rem; position: relative; z-index: 1; }

.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.mini-cards div {
  padding: 16px;
  border-radius: 18px;
  background: var(--teal-soft);
  border: 1px solid rgba(8,125,138,0.14);
}
.mini-cards strong, .mini-cards span { display: block; }
.mini-cards strong { color: var(--teal-dark); }
.mini-cards span { margin-top: 6px; color: #52686d; font-size: 0.92rem; }

.product-showcase {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}
.product-main-image { min-height: 100%; }
.product-main-image img { height: 100%; }
.product-notes {
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 20px;
}
.product-notes p { margin-top: 8px; }
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.category-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 6px 24px rgba(3,42,48,0.06);
  transition: transform .24s ease, box-shadow .24s ease;
}
.category-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.category-card img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; transition: transform .55s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-card div { padding: 18px; }
.category-card p { font-size: .92rem; }
.category-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.category-list span {
  padding: 10px 14px;
  border: 1px solid rgba(8,125,138,0.18);
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.92rem;
}

.trust-box { padding: 46px; display: grid; grid-template-columns: 0.85fr 1.25fr; gap: 46px; align-items: start; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.trust-grid article { padding-left: 18px; border-left: 3px solid var(--gold); }
.trust-grid p { font-size: 0.95rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.contact-card { padding: 32px; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.16); box-shadow: none; }
.contact-card h3 { color: var(--white); }
.contact-card a { color: var(--white); font-weight: 900; border-bottom: 1px solid rgba(255,255,255,0.4); }
.contact-card .small { font-size: 0.9rem; }

.site-footer { padding: 34px 0; background: #f7faf9; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.footer-grid img { width: 230px; margin-bottom: 8px; }
.footer-grid p { margin-top: 6px; max-width: 520px; font-size: 0.92rem; }
.footer-grid div:last-child { display: grid; gap: 4px; text-align: right; color: var(--muted); }
.footer-grid strong { color: var(--teal-dark); }

.reveal, .reveal-group > * {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible, .reveal-group > *.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-group > *:nth-child(2) { transition-delay: .06s; }
.reveal-group > *:nth-child(3) { transition-delay: .12s; }
.reveal-group > *:nth-child(4) { transition-delay: .18s; }
.reveal-group > *:nth-child(5) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
  .hero-image { transform: none; }
}

@media (max-width: 980px) {
  .brand img { width: 194px; }
  body.is-scrolled .brand img { width: 178px; }
  .nav-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--teal-soft);
    cursor: pointer;
  }
  .nav-button span, .nav-button span::before, .nav-button span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--teal-dark);
    border-radius: 2px;
    transition: .2s ease;
  }
  .nav-button span::before, .nav-button span::after { content: ""; position: relative; }
  .nav-button span::before { top: -7px; }
  .nav-button span::after { top: 5px; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow);
  }
  .nav-links a { display: block; padding: 13px 16px; }
  .nav-toggle:checked ~ .nav-links { display: block; }
  .split, .contact-grid, .trust-box, .product-showcase { grid-template-columns: 1fr; }
  .stat-grid, .service-grid, .category-cards { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .image-split.reverse figure { order: 0; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1140px); }
  .section-pad { padding: 68px 0; }
  .site-header { top: 10px; width: calc(100% - 20px); padding-left: 12px; }
  body.is-scrolled .site-header { top: 8px; width: calc(100% - 16px); }
  .brand img { width: 168px; }
  body.is-scrolled .brand img { width: 154px; }
  .hero { min-height: 750px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.88) 52%, rgba(255,255,255,0.32) 100%); }
  .hero-content { padding-top: 86px; }
  h1 { font-size: clamp(2.45rem, 13vw, 4.1rem); }
  h2 { font-size: 2.1rem; }
  .hero-text { font-size: 1.05rem; }
  .button { width: 100%; }
  .stat-grid, .service-grid, .process-grid, .mini-cards, .trust-grid, .category-cards { grid-template-columns: 1fr; }
  .image-card { border-radius: 18px; }
  .trust-box { padding: 28px; }
  .footer-grid { display: grid; }
  .footer-grid div:last-child { text-align: left; }
}


/* v4 service-focused additions */
.service-hero .hero-image { object-position: center center; }
.service-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 38%, rgba(255,255,255,0.44) 64%, rgba(255,255,255,0.05) 100%);
}
.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.photo-service-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(3,42,48,0.06);
}
.photo-service-card img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  transition: transform .55s ease;
}
.photo-service-card:hover img { transform: scale(1.06); }
.photo-service-card div { padding: 20px; }
.photo-service-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .04em;
}
.photo-service-card p { font-size: .93rem; }
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, background .22s ease;
}
body.is-scrolled .to-top { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--teal-dark); }
.site-footer { padding: 38px 0 20px; }
.footer-company { min-width: 260px; }
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #6a797d;
  font-size: 0.86rem;
  text-align: center;
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #607075;
  transition: color .2s ease;
}
.footer-legal a:hover { color: var(--teal-dark); }
.footer-legal img { width: 16px; height: 16px; object-fit: contain; }
@media (max-width: 980px) {
  .service-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .service-hero .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 58%, rgba(255,255,255,0.3) 100%); }
  .service-photo-grid { grid-template-columns: 1fr; }
  .footer-legal { justify-content: flex-start; text-align: left; }
  .to-top { right: 12px; bottom: 12px; }
}


/* v5 refinements: simpler title, fewer product photos, one product list */
.service-hero .hero-image { object-position: center center; }
.product-list-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(230,243,244,0.75), rgba(255,255,255,0.96));
  box-shadow: var(--shadow);
  padding: 32px;
}
.product-lines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}
.product-lines li {
  position: relative;
  padding: 18px 18px 18px 42px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(8,125,138,0.12);
}
.product-lines li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(200,162,79,0.12);
}
.product-lines strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.02rem;
}
.product-lines span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}
@media (max-width: 780px) {
  .product-lines { grid-template-columns: 1fr; }
  .product-list-panel { padding: 20px; }
}
