
:root {
  color-scheme: light;

  --nav: #003366;
  --hero: #001464;

  --brand: #0056b3;
  --link: #0056b3;
  --accent: #f2a900;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #ececec;
  --ink: #14294a;
  --ink-2: #4a6fa5;
  --muted: #54637a;
  --danger: #c0392b;
  --line-green: #047a35;
  --divider: rgba(0, 0, 0, 0.1);
  --shadow: rgba(0, 0, 0, 0.12);
  --shadow-soft: rgba(0, 0, 0, 0.06);
  --nav-ink: #ffffff;
  --badge-ink: #ffffff;

  --badge-bg: #ffffff;

  --max: 1400px;
  --grid-max: 1400px;
  --radius: 10px;
  --radius-lg: 14px;
  --nav-h: 62px;


  --band: clamp(52px, 7vw, 92px);
  --band-tight: clamp(28px, 4vw, 46px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }


h1, h2, h3, h4 {
  font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em;
  font-weight: 600; color: var(--nav);
}
h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Layout */
main { min-height: 60vh; display: flow-root; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--grid-max); }
.page-head { padding: clamp(30px, 4.5vw, 52px) 0 10px; text-align: center; }
.page-head h1 { letter-spacing: -.015em; }
.page-head p { color: var(--muted); margin: 0 auto; max-width: 62ch; line-height: 1.8; }
@media (max-width: 600px) { .page-head p { text-align: left; } }


.section-heading {
  font-size: clamp(1.45rem, 3.2vw, 2.05rem); font-weight: 600;
  letter-spacing: -.01em; line-height: 1.3;
  text-align: center; margin: var(--band) 0 .7em; color: var(--nav);
}
.section-heading::after {
  content: ''; display: block; width: 42px; height: 3px;
  margin: .6em auto 0; border-radius: 999px; background: var(--accent);
}


.section-text {
  max-width: 62ch; margin: 0 auto; text-align: center;
  color: var(--muted); font-size: clamp(.95rem, 1.6vw, 1.05rem);
  line-height: 1.85;
}
.section-text strong { color: var(--ink); font-weight: 600; }

::placeholder { color: var(--muted); opacity: .45; }

@media (max-width: 600px) { .section-text { text-align: left; } }


.section-divider {
  border: 0; height: 1px; width: min(100%, 220px);
  margin: var(--band) auto 0;
  background: linear-gradient(to right, transparent, var(--divider), transparent);
}

.section-divider + .section-heading { margin-top: var(--band-tight); }


.hero {
  position: fixed; inset: 0 0 auto 0; width: 100%; height: 100vh;
  height: 100svh; display: grid; overflow: hidden; z-index: 10;
}
.hero-logo-pane {
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.hero-logo-pane img { width: 100%; height: auto; object-fit: contain; }
.hero-logo-box { display: flex; align-items: center; justify-content: center; width: 420px; max-width: 78vw; }
.hero-body {
  background: var(--hero); color: #fff; position: relative;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-title {
  margin: 0 0 1rem; font-weight: 600; line-height: 1.2; color: #fff;
  font-size: clamp(1.65rem, 4.2vw, 4rem); text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.hero-sub {
  margin: 0 0 2.5rem; color: #fff; opacity: .95;
  font-size: clamp(1rem, 1.7vw, 1.8rem);
}
.hero-nav ul { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.hero-nav a {
  display: inline-block; font-size: clamp(.9rem, 1.1vw, 1.1rem); font-weight: 600;
  color: #fff; padding: .5rem 1.5rem; border-radius: 4px;
  background: rgba(255, 255, 255, .15); border: 1px solid transparent;
  white-space: nowrap; transition: background .2s, border-color .2s, color .2s;
}
.hero-nav a:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .5); color: var(--accent); }
.hero-scroll {
  position: absolute; left: 0; right: 0; bottom: 2rem; text-align: center;
  color: #fff; opacity: .8; font-size: clamp(.85rem, 1vw, 1rem);
  background: none; border: 0; cursor: pointer; width: 100%;
}
.hero-scroll:hover { opacity: 1; color: #fff; }
.hero-scroll svg { margin: .5rem auto 0; width: 24px; height: 24px; animation: hero-bob 2s ease-in-out infinite; }
@keyframes hero-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (min-width: 992px) {
  .hero { grid-template-columns: 42% 58%; grid-template-rows: 100vh; grid-template-rows: 100svh; }
  .hero-body { padding: 0 3rem 0 4rem; text-align: left; }
}
@media (max-width: 991px) {
  .hero { grid-template-columns: 100%; grid-template-rows: auto minmax(0, 1fr); }
  .hero-logo-pane { padding: 1.75rem 1rem; min-height: 0; }
  .hero-logo-box { width: 300px; min-height: 0; }
  .hero-logo-pane img { max-height: 26svh; }
  .hero-body { padding: 1.75rem 2rem 4.5rem; text-align: center; min-height: 0; }
  .hero-sub { margin-bottom: 1.5rem; }
  .hero-nav ul { justify-content: center; gap: .75rem; }
  .hero-scroll { bottom: 1.25rem; }
}
@media (max-width: 575px) {
  .hero-logo-box { width: 260px; }
}
@media (max-width: 375px) {
  .hero-logo-pane { padding: 1.25rem 1rem; }
  .hero-logo-box { width: 220px; }
  .hero-logo-pane img { max-height: 24svh; }
  .hero-body { padding: 1.25rem 1.5rem 4rem; }
  .hero-sub { margin-bottom: 1.2rem; }
  .hero-nav ul { gap: .5rem; }
  .hero-nav a { padding: .3rem .8rem; }
}
@media (max-width: 991px) and (max-height: 560px) and (orientation: landscape) {
  .hero { grid-template-columns: 38% 62%; grid-template-rows: 100svh; }
  .hero-logo-pane { padding: 1rem; }
  .hero-logo-pane img { max-height: 62svh; }
  .hero-body { padding: 1rem 1.5rem 4.25rem; }
  .hero-title { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: .4rem; }
  .hero-sub { font-size: clamp(.9rem, 1.3vw, 1.05rem); margin-bottom: .8rem; }
  .hero-nav ul { gap: .5rem; }
  .hero-scroll { bottom: .9rem; }
}


/* Watermark */
.page-mark {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 1;
  pointer-events: none; opacity: .05;
  background: url('/shared/assets/logo/AMATA_Logo_Hover.svg') center center / 40% no-repeat;
}
@media (max-width: 1200px) { .page-mark { background-size: 50%; } }
@media (max-width: 992px) { .page-mark { background-size: 55%; } }
@media (max-width: 768px) { .page-mark { background-size: 65%; } }
@media (max-width: 576px) { .page-mark { background-size: 70%; } }
@media print { .page-mark { display: none; } }


body.has-hero main { position: relative; z-index: 20; margin-top: 100vh; margin-top: 100svh; background: var(--bg); }
body.has-hero .foot { position: relative; z-index: 20; }

body.has-hero .nav { opacity: 0; pointer-events: none; transition: opacity .3s ease; }
body.has-hero.nav-visible .nav { opacity: 1; pointer-events: auto; }

/* Navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: var(--nav); color: var(--nav-ink);
  box-shadow: 0 1px 10px var(--shadow);
}
.nav-in {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  height: var(--nav-h); display: flex; align-items: center; gap: 18px;
}

body:not(.has-hero) { padding-top: var(--nav-h); }

.nav-brand { display: flex; align-items: center; position: relative; z-index: 2; flex-shrink: 0; }

.nav-badge { position: relative; display: inline-block; }
.nav-badge::before {
  content: ''; position: absolute;

  top: calc(50% - var(--nav-h) / 2);
  left: -12px; right: -12px; bottom: -8px;
  background: var(--badge-bg); border-radius: 0 0 1rem 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .10); z-index: -1;
}
.nav-badge:hover::before { box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.nav-badge img { height: 34px; width: auto; position: relative; z-index: 1; }
@media (max-width: 600px) {
  .nav-badge img { height: 28px; }

  .nav-badge::before { left: -9px; right: -9px; bottom: -7px; }
}

.nav-title {
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  color: var(--nav-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 42vw; opacity: 0; transform: translateX(-6px);
  transition: opacity .28s ease, transform .28s ease;
}
.nav.scrolled .nav-title { opacity: 1; transform: none; }
@media (max-width: 900px) { .nav-title { font-size: .88rem; max-width: 46vw; } }
@media (max-width: 480px) { .nav-title { display: none; } }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--nav-ink); padding: 8px 12px; border-radius: 8px;
  font-size: .95rem; white-space: nowrap; transition: background .15s, color .15s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .12); color: var(--accent); }
.nav-links a.active { color: #7ec2ff; font-weight: 600; }

.icon-btn {
  background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: var(--nav-ink);
  width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(255, 255, 255, .14); color: var(--accent); }

/* Language toggle */
.lang-switch {
  position: relative; display: inline-grid; grid-auto-flow: column;
  grid-auto-columns: 1fr; align-items: center; margin-left: 10px;
  padding: 3px; border-radius: 999px; isolation: isolate;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}
.lang-pill {
  position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px); border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #e8eef8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  transition: transform .32s cubic-bezier(.65, .05, .18, 1);
}
.lang-switch[data-on='en'] .lang-pill { transform: translateX(100%); }
.lang-opt {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 26px; padding: 0 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  color: rgba(255, 255, 255, .72);
  transition: color .32s ease, transform .18s ease;
}
.lang-opt.on { color: var(--nav); }
.lang-opt:hover { color: #fff; }
.lang-opt.on:hover { color: var(--nav); }
.lang-opt:active { transform: scale(.94); }
.lang-switch:focus-within { border-color: rgba(255, 255, 255, .55); }
.lang-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (hover: none) and (pointer: coarse) {
  .icon-btn { position: relative; }
  .icon-btn::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: max(100%, 44px); height: max(100%, 44px);
  }
  .lang-opt { height: 38px; min-width: 52px; }
}

.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }

  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-end; gap: 0;
    background: var(--nav); padding: 8px 16px 14px;
    box-shadow: 0 8px 16px var(--shadow); margin-left: 0;
  }
  .nav-links:not(.open) { display: none; }
  .nav-links a { padding: 11px 12px; border-radius: 6px; text-align: right; width: auto; }
  .lang-switch {
    margin: 10px 0 2px; align-self: stretch; justify-self: stretch;
    grid-auto-columns: 1fr;
  }
  .lang-switch::before {
    content: ''; position: absolute; left: 0; right: 0; top: -11px;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }
  .nav-links .lang-opt { padding: 0; text-align: center; }
}


.nav-progress {
  position: fixed; left: 0; top: var(--nav-h); z-index: 59;
  width: 100%; height: 2px; background: transparent;
}
.nav-progress span { display: block; height: 100%; width: 0; background: var(--brand); }
body.has-hero:not(.nav-visible) .nav-progress { opacity: 0; }

/* Stats */

.stats {
  background: var(--surface); border: 1px solid var(--divider);
  box-shadow: 0 6px 15px var(--shadow-soft);
  padding: clamp(34px, 5vw, 52px) 20px; text-align: center; border-radius: var(--radius-lg);
}
.stats-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 30px; max-width: var(--grid-max); margin: 0 auto; }
.stat { flex: 0 0 calc(25% - 30px); max-width: calc(25% - 30px); min-width: 180px; display: flex; flex-direction: column; align-items: center; }
.stat svg { width: 36px; height: 36px; color: var(--link); fill: currentColor; margin-bottom: 10px; }

.stat-num { font-size: 30px; font-weight: 600; color: var(--link); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; color: var(--muted); border-top: 1px solid var(--divider); padding-top: 6px; }
@media (max-width: 992px) { .stat { flex-basis: calc(33.333% - 30px); max-width: calc(33.333% - 30px); } }
@media (max-width: 768px) { .stat { flex-basis: calc(50% - 30px); max-width: calc(50% - 30px); } }
@media (max-width: 576px) {
  .stats-in { gap: 30px 20px; }
  .stat { flex-basis: 100%; max-width: 300px; }
  .stat-num { font-size: 24px; }
  .stat svg { width: 28px; height: 28px; }
}


.hiw { padding: 4rem 1rem; text-align: center; }
.hiw-steps {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(40px, 5vw, 60px); max-width: 1000px; margin: 0 auto; position: relative;
}
.hiw-step {
  background: var(--bg); border: 1px solid var(--divider); border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem); width: 100%; max-width: 480px;
  box-shadow: 0 6px 15px var(--shadow-soft); position: relative; z-index: 2;
  color: inherit; display: block;
  transition: transform .5s cubic-bezier(.175, .885, .32, 1.275), box-shadow .4s ease, border-color .3s ease;
}
a.hiw-step { cursor: pointer; }
.hiw-step:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 12px 28px var(--shadow); border-color: var(--brand); color: inherit; }
.hiw-step svg {
  width: 2.2rem; height: 2.2rem; margin: 0 auto 1rem; color: var(--link); fill: currentColor;
  transition: transform .3s ease, color .3s ease;
}
.hiw-step:hover svg { transform: scale(1.15); }
.hiw-title { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; margin: 0 0 .5rem; transition: color .3s ease; }
.hiw-step:hover .hiw-title { color: var(--link); }
.hiw-desc { font-size: clamp(.85rem, 2vw, 1rem); color: var(--muted); margin: 0; }


.hiw-line::after {
  content: ''; position: absolute; top: 100%; left: 50%; width: 2px;
  height: clamp(30px, 6vw, 60px); background: var(--divider); transform: translateX(-50%); z-index: 1;
}
.hiw-line::before {
  content: ''; position: absolute; top: calc(100% + clamp(28px, 6vw, 58px)); left: 50%;
  width: 0; height: 0; border: 6px solid transparent; border-top-color: var(--divider);
  transform: translateX(-50%); z-index: 1;
}
.hiw-steps > :last-child::after, .hiw-steps > :last-child::before { display: none; }

.hiw-branch {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: clamp(15px, 3vw, 40px); position: relative; width: 100%;
}
.hiw-branch .hiw-step { max-width: calc(50% - 20px); min-width: 0; padding: clamp(.8rem, 2vw, 1.5rem); }
.hiw-branch .hiw-step::before, .hiw-branch .hiw-step::after { display: none; }
.hiw-branch::after {
  content: ''; position: absolute; top: 100%; left: 50%; width: 2px;
  height: clamp(30px, 6vw, 60px); background: var(--divider); transform: translateX(-50%); z-index: 1;
}
.hiw-or {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
  font-size: clamp(.8rem, 1.5vw, 1rem); color: var(--muted); background: var(--surface);
  padding: .25rem .6rem; border-radius: 20px; box-shadow: 0 2px 6px var(--shadow-soft); white-space: nowrap;
}

.hiw-branch > .hiw-step:first-child { position: relative; }
.hiw-branch > .hiw-step:first-child::after {
  content: ''; display: block; position: absolute; top: 50%; right: calc(-1 * clamp(15px, 3vw, 40px));
  width: clamp(15px, 3vw, 40px); height: 2px; background: var(--divider);
  transform: translateY(-50%); z-index: 1;
}
@media (max-width: 480px) {
  .hiw { padding: 3rem .5rem; }
  .hiw-branch { gap: 10px; }
  .hiw-branch .hiw-step { padding: .8rem; }
  .hiw-title { font-size: 1rem; }
  .hiw-desc { font-size: .8rem; }
  .hiw-step svg { width: 1.5rem; height: 1.5rem; margin-bottom: .6rem; }
}


.hiw-anim-cycle svg { animation: hiw-hue 12s linear infinite; }
@keyframes hiw-hue {
  0% { color: #0056b3; } 10% { color: #e63946; } 20% { color: #f7b801; } 30% { color: #2a9d8f; }
  40% { color: #6a4c93; } 50% { color: #fb8500; } 60% { color: #1d3557; } 70% { color: #06d6a0; }
  80% { color: #ef476f; } 90% { color: #118ab2; } 100% { color: #0056b3; }
}
.hiw-anim-bulb svg { color: #d9b17d; animation: hiw-bulb 5s ease-in-out infinite; }
@keyframes hiw-bulb {
  0%, 90%, 100% { color: #d9b17d; filter: drop-shadow(0 0 0 transparent); transform: scale(1); }
  45% { color: #f0c678; filter: drop-shadow(0 0 6px rgba(240, 198, 120, .5)); transform: scale(1.06); }
  55% { color: #d9b17d; filter: drop-shadow(0 0 4px rgba(217, 177, 125, .4)); transform: scale(1.02); }
}
.hiw-anim-shake svg { animation: hiw-shake .5s ease-in-out infinite; }
@keyframes hiw-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
.hiw-anim-press svg { animation: hiw-press 3s ease-in-out infinite; }
@keyframes hiw-press {
  0%, 100% { transform: translateY(0); } 10% { transform: translateY(-5px); } 15% { transform: translateY(0); }
  25% { transform: scaleY(.92); } 40% { transform: scaleY(1); } 50% { transform: translateY(0); }
  60% { transform: translateY(-5px); } 65% { transform: translateY(0); } 75% { transform: scaleY(.92); } 90% { transform: scaleY(1); }
}
.hiw-anim-truck svg { animation: hiw-truck 6s ease-in-out infinite; }
@keyframes hiw-truck { 0% { transform: translateX(-15px); } 50% { transform: translateX(15px); } 100% { transform: translateX(-15px); } }
.hiw-step:hover svg { animation-play-state: paused; }

/* Banner slider */
.slider { position: relative; overflow: hidden; border-radius: var(--radius); margin: 0 auto; max-width: 1000px; }
.slider-slides { position: relative; display: block; }
.slide { position: absolute; inset: 0; opacity: 0; display: none; transition: opacity .5s ease; }
.slide.active { position: relative; display: block; opacity: 1; z-index: 1; }
.slide img { width: 100%; height: auto; aspect-ratio: 1000 / 400; object-fit: cover; display: block; }
.slider-ui { background: rgba(0, 0, 0, .6); color: #fff; padding: 4px 10px 6px; text-align: center; }
.slider-cap { font-size: 14px; line-height: 1.2; }
.slider-dots { display: flex; justify-content: center; gap: 8px; padding: 4px 0 0; }
.slider-dots button {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; opacity: .55; transition: opacity .3s, transform .3s;
}
.slider-dots button.active { opacity: 1; transform: scale(1.35); }
.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px;
  background: rgba(0, 0, 0, .3); color: #fff; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  z-index: 10; font-size: 16px; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, background .3s;
}
.slider:hover .slider-nav, .slider:focus-within .slider-nav { opacity: .6; visibility: visible; }
.slider-nav:hover { opacity: .95; background: rgba(0, 0, 0, .55); }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
@media (max-width: 768px) { .slider-nav { width: 24px; height: 24px; font-size: 12px; } .slider-cap { font-size: 12px; } }

/* Product / service cards */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--max); margin: 0 auto; }
@media (max-width: 992px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-lg);
  overflow: hidden; color: var(--ink); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
a.tile:hover { transform: translateY(-6px); box-shadow: 0 14px 30px var(--shadow); border-color: var(--brand); color: var(--ink); }
.tile-img { width: 100%; height: auto; aspect-ratio: 1000 / 630; object-fit: cover; }
.tile-body { padding: 14px 16px 18px; }
.tile-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 .35em; }
a.tile:hover .tile-title { color: var(--link); }
.tile-desc { font-size: .9rem; color: var(--muted); margin: 0; }


.marquee { overflow: hidden; position: relative; padding: 8px 0; --visible: 4; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee-track {
  display: flex; align-items: center;
  width: calc(var(--cells, 8) / var(--visible) * 100%);
  animation: marquee-l var(--speed, 40s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  flex: 0 0 calc(100% / var(--cells, 8));
  padding: 6px 14px; display: flex; align-items: center; justify-content: center;
}
.marquee-item img {
  max-width: 100%; height: auto; object-fit: contain;
  transition: transform .3s ease;
}
.marquee-item:hover img { transform: scale(1.05); }
@media (max-width: 768px) {
  .marquee { --visible: 2; }
  .marquee::before, .marquee::after { width: 34px; }
  .marquee-item { padding: 5px 8px; }
}

.foot { margin-top: 0; padding: 48px 0 20px; background: var(--bg); position: relative; z-index: 20; }
.foot-card {
  max-width: var(--grid-max); margin: 0 auto; background: var(--nav); color: rgba(255, 255, 255, .88);
  border-radius: 18px; padding: 30px clamp(18px, 4vw, 40px);
  display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) { .foot-card { grid-template-columns: 1fr; } }
.foot-card a { color: rgba(255, 255, 255, .92); }
.foot-card a:hover { color: var(--accent); }
.foot-col + .foot-col { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: clamp(16px, 3vw, 34px); }
@media (max-width: 900px) {
  .foot-col + .foot-col { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 20px; }
}
.foot-card h2 { color: #fff; font-size: 1.05rem; margin: 0 0 .9em; }
.foot-card ul { list-style: none; margin: 0; padding: 0; }
.foot-card li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.foot-card li svg { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; fill: currentColor; }
.foot-base { max-width: var(--grid-max); margin: 18px auto 0; padding: 0 20px; text-align: center; font-size: .85rem; color: var(--muted); }
.foot-base a { color: var(--muted); }

/* Floating contact button */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.fab[aria-expanded='false'] { animation: fab-shake 6s cubic-bezier(.36, .07, .19, .97) .5s infinite; }
.fab:hover { transform: scale(1.07); background: var(--accent); animation: none; }
.fab svg { width: 26px; height: 26px; fill: currentColor; }
@keyframes fab-shake {
  0%, 70%, 100% { transform: scale(1) rotate(0); }
  74% { transform: scale(1.1) rotate(0); }
  76% { transform: scale(1.1) rotate(15deg); }
  78% { transform: scale(1.1) rotate(-15deg); }
  80% { transform: scale(1.08) rotate(10deg); }
  82% { transform: scale(1.08) rotate(-10deg); }
  84% { transform: scale(1.05) rotate(5deg); }
  86% { transform: scale(1.05) rotate(-5deg); }
  88% { transform: scale(1) rotate(0); }
}
.fab-menu {
  position: fixed; right: 20px; bottom: 86px; z-index: 80;
  display: grid; gap: 8px; justify-items: end;
}
.fab-menu[hidden] { display: none; }
.fab-menu a {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--divider);
  box-shadow: 0 4px 14px var(--shadow); font-size: .9rem; font-weight: 500; white-space: nowrap;
}
.fab-menu a:hover { border-color: var(--brand); color: var(--link); }
.fab-menu svg { width: 18px; height: 18px; fill: currentColor; }
.fab-call { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.fab-call svg { color: var(--line-green); }
@media (max-width: 600px) { .fab { right: 14px; bottom: 14px; } .fab-menu { right: 14px; bottom: 78px; } }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px; border: 1px solid transparent;
  font-size: .875rem; font-weight: 500; line-height: 1.3; white-space: nowrap;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-sm { padding: 5px 10px; font-size: .8rem; border-radius: 6px; }
.btn-lg { padding: 10px 22px; font-size: .95rem; border-radius: 9px; }
.btn-block { width: 100%; }

@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 40px; padding: 8px 16px; }
  .btn-sm { min-height: 34px; }
  .btn-lg { min-height: 46px; }
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--divider); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #036b2f; color: #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; }


.cta-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin: var(--band-tight) 0;
}
@media (max-width: 420px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}


.reveal { transition: opacity .6s ease, transform .6s ease; }
html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* Utility */
.band-top { margin-top: var(--band-tight); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--surface);
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Size guide */
.size-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 22px; }
.size-card { margin: 0; background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius); padding: 12px; }
.size-open {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; border-radius: 6px; overflow: hidden;
}
.size-open:hover .size-img { transform: scale(1.02); }
.size-img { width: 100%; height: auto; border-radius: 6px; transition: transform .25s ease; }
.size-card figcaption { margin-top: 10px; text-align: center; font-size: .92rem; color: var(--muted); }


.ab-cards {
  display: grid; gap: 14px; margin-top: 6px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.about-grid {
  display: grid; gap: 14px; margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.about-page {
  display: block; width: 100%; padding: 0; border: 1px solid var(--divider);
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.about-page:hover { transform: translateY(-4px); box-shadow: 0 12px 26px var(--shadow); border-color: var(--brand); }
.about-page img { width: 100%; height: auto; display: block; }

.ab-text { text-align: left; text-indent: 3em; }
@media (max-width: 600px) { .ab-text { text-indent: 1.5em; } }
.ab-card {
  background: var(--surface); border: 1px solid var(--divider);
  border-radius: var(--radius-lg); padding: 22px 20px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ab-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px var(--shadow); border-color: var(--brand); }
.ab-card svg { width: 30px; height: 30px; color: var(--link); fill: currentColor; margin-bottom: 12px; }
.ab-card h3 { font-size: 1.02rem; margin: 0 0 .35em; }
.ab-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.7; }


.ab-flow {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ab-step { position: relative; text-align: center; padding: 0 8px; }
.ab-step::before {
  content: ''; position: absolute; top: 19px; left: 50%; right: -50%;
  height: 2px; background: var(--divider); z-index: 0;
}
.ab-step:last-child::before { display: none; }
.ab-step-n {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 12px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 600; font-size: .95rem;
}
.ab-step svg { width: 24px; height: 24px; color: var(--link); fill: currentColor; margin: 0 auto 8px; }
.ab-step h3 { font-size: .97rem; margin: 0 0 .3em; }
.ab-step p { margin: 0; font-size: .83rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 700px) {

  .ab-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .ab-step::before { display: none; }
}


.ab-quote {
  margin: var(--band-tight) auto 0; max-width: 44ch; padding: 0;
  border: 0; text-align: center;
}
.ab-quote p {
  margin: 0; color: var(--ink); font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.6;
}
.ab-quote::after {
  content: ''; display: block; width: 42px; height: 3px;
  margin: 1em auto 0; border-radius: 999px; background: var(--accent);
}

/* Long-form text */
.prose { padding-bottom: 12px; }
.prose h2 { margin-top: 1.6em; }
.prose p { margin: 0 0 1em; max-width: 72ch; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose hr { border: 0; border-top: 1px solid var(--divider); margin: 2em 0; }

.prose blockquote {
  margin: 1.6em 0; padding: .2em 0 .2em 1.1em;
  border-left: 3px solid var(--accent);
}
.prose blockquote p {
  margin: 0; font-size: 1.08rem; font-weight: 500;
  color: var(--ink); line-height: 1.7;
}
.prose.center p { margin-left: auto; margin-right: auto; }
