/* ==========================================================================
   RIG WORKS — Truck Tire Service
   Hybrid (PC/SP shared) responsive stylesheet
   ========================================================================== */

:root {
  --c-black: #0a0a0a;
  --c-black-2: #121212;
  --c-black-3: #171717;
  --c-yellow: #f8c400;
  --c-yellow-2: #ffd633;
  --c-green: #06c755;
  --c-white: #ffffff;
  --c-gray-100: #f5f5f5;
  --c-gray-300: #cfcfcf;
  --c-gray-500: #8a8a8a;
  --c-gray-700: #3d3d3d;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Oswald", "Noto Sans JP", sans-serif;
  --header-h: 68px;
  --container: 1160px;
  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--font-jp);
  background: var(--c-black);
  color: var(--c-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.en-tag {
  font-family: var(--font-en);
  color: var(--c-yellow);
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  line-height: 1.3;
}

.section-rule {
  width: 40px;
  height: 3px;
  background: var(--c-yellow);
  margin: 18px 0 20px;
}

.section-lead {
  color: var(--c-gray-300);
  font-size: 15px;
  margin: 0 0 28px;
}

.section-pad { padding: 72px 0; }

.on-dark { background: var(--c-black); }
.on-light { background: var(--c-white); color: #111; }
.on-panel { background: var(--c-black-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), background 0.2s var(--ease);
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
.btn svg { flex-shrink: 0; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-yellow { background: var(--c-yellow); color: #141414; }
.btn-yellow:hover { filter: brightness(1.08); }
.btn-green { background: var(--c-green); color: #fff; }
.btn-green:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--c-black-3); color: #fff; border-color: rgba(255,255,255,0.15); }
.btn-dark:hover { background: #202020; }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 24px; font-size: 16px; }

.btn-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-sub {
  display: block;
  font-weight: 400;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--c-yellow);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.cta-bar-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 500;
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }

.menu-toggle {
  width: 68px;
  height: var(--header-h);
  background: var(--c-yellow);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #141414;
  flex-shrink: 0;
}
.menu-toggle .bars { display: flex; flex-direction: column; gap: 4px; }
.menu-toggle .bars span { width: 20px; height: 2px; background: #141414; display: block; transition: all 0.25s var(--ease); }
.menu-toggle .label { font-size: 9px; font-weight: 800; letter-spacing: 0.08em; }
.menu-toggle.is-open .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open .bars span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile full-screen nav drawer */
.nav-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(8,8,8,0.98);
  z-index: 480;
  padding: 32px 24px 40px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}
.nav-drawer.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.nav-drawer ul { display: flex; flex-direction: column; }
.nav-drawer a {
  display: block;
  padding: 18px 4px;
  font-size: 18px;
  font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-drawer .drawer-cta { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../img/hero-sunset-truck.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,0.35) 0%, rgba(6,6,6,0.25) 35%, rgba(6,6,6,0.85) 78%, #0a0a0a 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 24px 56px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-headline {
  font-size: clamp(44px, 12vw, 84px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.hero-sub {
  display: inline-block;
  background: rgba(10,10,10,0.75);
  border-left: 3px solid var(--c-yellow);
  padding: 8px 16px;
  font-size: clamp(14px, 3vw, 18px);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-logo { height: 34px; width: auto; margin-bottom: 28px; }
.hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 420px; }
.hero-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 800;
}
.hero-action .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.hero-action .ic svg { width: 20px; height: 20px; }
.hero-action .tt { font-size: 16px; white-space: nowrap; }
.hero-action .st { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; margin-top: 1px; }
.hero-action.yellow { background: var(--c-yellow); color: #141414; }
.hero-action.green { background: var(--c-green); color: #fff; }
.hero-action.dark { background: rgba(20,20,20,0.85); color: #fff; border: 1px solid rgba(255,255,255,0.25); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-gray-300);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--c-yellow); flex-shrink: 0; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
}
.scroll-cue .line { width: 1px; height: 30px; background: rgba(255,255,255,0.4); animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Message / Why RIG WORKS intro ---------- */
.message-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.message-text p { margin: 0 0 4px; font-size: 16px; color: #e6e6e6; }
.message-text .highlight {
  text-decoration: underline;
  text-decoration-color: var(--c-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  font-weight: 700;
  color: #fff;
}
.stat-card {
  background: #fff;
  color: #111;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 14px;
  margin-bottom: 14px;
}
.stat-item { text-align: left; }
.stat-item .ic {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: #fff4d6;
  border-radius: 50%;
  margin-bottom: 10px;
}
.stat-item .ic svg { width: 22px; height: 22px; color: #d99a00; }
.stat-item .num { font-size: 26px; font-weight: 900; line-height: 1; }
.stat-item .num small { font-size: 14px; font-weight: 700; margin-left: 2px; }
.stat-item .cap { font-size: 12px; color: #666; margin-top: 6px; line-height: 1.5; }
.stat-note { font-size: 11px; color: #999; margin: 0; }

/* ---------- Service ---------- */
.service-wrap { display: grid; grid-template-columns: 1fr; gap: 32px; }
.service-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.service-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.service-item .ic {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--c-yellow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-item .ic svg { width: 22px; height: 22px; color: var(--c-yellow); }
.service-item h3 { font-size: 16px; margin: 0 0 4px; font-weight: 800; }
.service-item p { margin: 0; font-size: 13px; color: var(--c-gray-300); }
.service-media { position: relative; border-radius: 8px; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.service-cta { margin-top: 8px; text-align: center; }

/* ---------- Why (reasons) ---------- */
.why-hero { position: relative; border-radius: 8px; overflow: hidden; margin-top: 28px; }
.why-hero img { width: 100%; height: 320px; object-fit: cover; object-position: center 25%; }
.reason-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 32px;
}
.reason-card {
  background: var(--c-black-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 22px 20px;
}
.reason-card.disabled { opacity: 0.55; }
.reason-num {
  font-family: var(--font-en);
  color: var(--c-yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.reason-card h3 { font-size: 17px; margin: 6px 0 14px; font-weight: 800; }
.reason-card .ic { width: 34px; height: 34px; margin-bottom: 14px; }
.reason-card .ic svg { width: 100%; height: 100%; color: var(--c-yellow); }
.reason-card p { font-size: 13px; color: var(--c-gray-300); margin: 0; }
.coming-soon {
  font-family: var(--font-en);
  color: var(--c-gray-500);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  margin: 4px 0 14px;
}

/* ---------- Works ---------- */
.works-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.work-card {
  background: var(--c-black-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}
.work-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.work-card:hover .thumb img { transform: scale(1.06); }
.work-card .body { padding: 18px 20px 20px; }
.work-card .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800;
  margin-bottom: 8px;
}
.work-card .tag .ic { width: 20px; height: 20px; color: var(--c-yellow); }
.work-card p { font-size: 13px; color: var(--c-gray-300); margin: 0 0 12px; }

/* ---------- Sign ---------- */
.sign-media { position: relative; border-radius: 8px; overflow: hidden; margin-top: 24px; }
.sign-media img { width: 100%; height: 320px; object-fit: cover; object-position: center 40%; }
.sign-quote {
  margin-top: 0;
  background: var(--c-black-2);
  border-radius: 0 0 8px 8px;
  padding: 30px 24px;
  text-align: center;
}
.sign-quote p { font-size: clamp(16px,4vw,20px); font-weight: 700; margin: 0 0 18px; }

/* ---------- Area ---------- */
.area-wrap { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.area-list { margin: 22px 0 26px; display: grid; gap: 10px; }
.area-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.area-list li svg { width: 16px; height: 16px; color: var(--c-yellow); flex-shrink: 0; }
.area-map-wrap { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.area-cta-bar {
  margin-top: 32px;
  background: var(--c-black-2);
  border-radius: 8px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  background-image: url('../img/tire-tread-wide.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
.area-cta-bar::before { content:""; position:absolute; inset:0; background: rgba(8,8,8,0.82); border-radius: 8px; }
.area-cta-bar > * { position: relative; z-index: 1; }
.area-cta-bar p { font-size: 18px; font-weight: 800; margin: 0; line-height: 1.5; }

/* ---------- Flow ---------- */
.flow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
  counter-reset: step;
}
.flow-step {
  position: relative;
  background: var(--c-black-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.flow-step .num { font-family: var(--font-en); color: var(--c-yellow); font-weight: 700; font-size: 13px; letter-spacing: 0.05em; }
.flow-step h3 { font-size: 17px; font-weight: 800; margin: 6px 0 16px; }
.flow-step .ic {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid rgba(248,196,0,0.5);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.flow-step .ic img,
.flow-step .ic svg { width: 60%; height: 60%; object-fit: contain; color: var(--c-yellow); }
.flow-step p { font-size: 12px; color: var(--c-gray-300); margin: 0; }
.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--c-yellow);
}
.flow-arrow svg { width: 20px; height: 20px; }

.inline-cta {
  margin-top: 32px;
  background: var(--c-yellow);
  color: #141414;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.inline-cta .headset {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(20,20,20,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.inline-cta .headset svg { width: 22px; height: 22px; }
.inline-cta-text { display: flex; align-items: center; gap: 14px; }
.inline-cta-text h3 { font-size: 17px; margin: 0 0 2px; font-weight: 800; }
.inline-cta-text p { font-size: 12px; margin: 0; opacity: 0.8; }
.inline-cta .btn-row { width: 100%; }
.inline-cta .btn-row .btn { flex: 1 1 auto; }
.inline-cta .btn-dark { background: #141414; color: #fff; }
.inline-cta .btn-outline { border-color: rgba(20,20,20,0.4); color: #141414; }

/* ---------- Company ---------- */
.company-media { border-radius: 8px; overflow: hidden; margin-top: 24px; }
.company-media img { width: 100%; height: 260px; object-fit: cover; }
.company-info-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
.company-card {
  background: var(--c-black-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 26px;
}
.company-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 18px; }
.company-detail { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 14px; }
.company-detail:last-of-type { border-bottom: none; }
.company-detail svg { width: 17px; height: 17px; color: var(--c-yellow); margin-top: 2px; flex-shrink: 0; }
.company-map-card { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); position: relative; min-height: 220px; }
.company-map-card iframe { width: 100%; height: 100%; min-height: 220px; border: 0; filter: grayscale(0.15) contrast(1.05); }
.map-fallback-link {
  position: absolute; inset: auto 0 0 0;
  padding: 10px;
  background: rgba(10,10,10,0.85);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-yellow);
}

/* ---------- Stop Change Go ---------- */
.scg {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}
.scg-bg {
  position: absolute; inset: 0;
  background-image: url('../img/truck-studio-gray.jpg');
  background-size: cover;
  background-position: center;
}
.scg-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.85)); }
.scg-content { position: relative; z-index: 1; }
.scg-content img.mark { height: 30px; margin-bottom: 34px; }
.scg-steps { font-family: var(--font-en); font-weight: 800; font-size: clamp(30px,9vw,58px); letter-spacing: 0.03em; line-height: 1.25; color: #fff; }
.scg-steps .arrow { color: var(--c-yellow); display: block; font-size: 0.5em; margin: 2px 0; }
.scg-jp { margin-top: 22px; font-size: clamp(24px,7vw,42px); font-weight: 900; color: #fff; }

/* ---------- Bottom band CTA (generic reusable) ---------- */
.band-cta {
  background: var(--c-black-2);
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.band-cta .container { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.band-cta p { margin: 0; font-size: 16px; font-weight: 700; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #050505; padding: 60px 0 110px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-top { display: flex; flex-direction: column; gap: 36px; }
.footer-brand img { height: 30px; margin-bottom: 14px; }
.footer-brand p { font-size: 12px; color: var(--c-gray-500); margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
.footer-col h4 { font-size: 13px; color: var(--c-yellow); margin: 0 0 12px; letter-spacing: 0.04em; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: var(--c-gray-300); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: var(--c-gray-500);
  text-align: center;
}

/* ---------- Floating CTA (persistent, mobile bottom bar / desktop side stack) ---------- */
.floating-cta {
  position: fixed;
  z-index: 400;
  right: 0; bottom: 0; left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.floating-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  padding: 10px 4px 12px;
  font-size: 11px;
  font-weight: 800;
}
.floating-cta a svg { width: 19px; height: 19px; }
.floating-cta .fc-call { background: var(--c-yellow); color: #141414; }
.floating-cta .fc-line { background: var(--c-green); color: #fff; }
.floating-cta .fc-mail { background: #1c1c1c; color: #fff; border-top: 1px solid rgba(255,255,255,0.1); }

/* Back to top */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 76px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(20,20,20,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 399;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  transform: translateY(8px);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- Reveal animation ----------
   Safe by default: content is fully visible even if JS never runs.
   Only once script.js confirms and adds "js-ready" to <body> do
   .reveal elements start hidden, ready to be animated in on scroll. */
.reveal { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
body.js-ready .reveal { opacity: 0; transform: translateY(24px); }
body.js-ready .reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Tablet / small desktop  (>= 640px)
   ========================================================================== */
@media (min-width: 640px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(5, 1fr); align-items: stretch; }
  .flow-arrow { display: none; }
  .company-info-grid { grid-template-columns: 1.1fr 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .hero-actions { grid-template-columns: repeat(3,1fr); max-width: none; }
}

/* ==========================================================================
   Desktop (>= 960px) — hybrid layout switches to multi-column
   ========================================================================== */
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .container { padding: 0 40px; }

  .main-nav { display: block; }
  .header-cta { display: flex; gap: 8px; }
  .header-cta a {
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 800;
    border-radius: var(--radius);
    display: flex; align-items: center; gap: 6px;
  }
  .header-cta a svg { width: 14px; height: 14px; }
  .header-cta .hc-call { background: var(--c-yellow); color: #141414; }
  .header-cta .hc-line { background: var(--c-green); color: #fff; }

  .menu-toggle { display: none; }
  .nav-drawer { display: none; }

  .hero-content { padding: 40px 40px 90px; }
  .hero-actions { max-width: 640px; }
  .hero-action { padding: 14px 14px; }
  .hero-action .st { white-space: nowrap; }

  .message-grid { grid-template-columns: 1.1fr 0.9fr; gap: 60px; }

  .service-wrap { grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
  .service-list { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .service-media { order: 2; }
  .service-media img { min-height: 420px; }

  .why-hero { margin-top: 0; }
  .why-grid-top { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
  .why-hero img { height: 100%; min-height: 340px; }
  .reason-grid { grid-template-columns: repeat(3, 1fr); }

  .works-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .works-grid { grid-template-columns: repeat(4, 1fr); }

  .sign-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; align-items: stretch; margin-top: 28px; border-radius: 8px; overflow: hidden; }
  .sign-media { margin-top: 0; border-radius: 0; height: 100%; }
  .sign-media img { height: 100%; min-height: 360px; }
  .sign-quote { border-radius: 0; display: flex; flex-direction: column; justify-content: center; text-align: left; }

  .area-wrap { grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
  .area-cta-bar { flex-direction: row; align-items: center; justify-content: space-between; }
  .area-cta-bar .btn-row { flex-shrink: 0; }

  .company-media img { height: 340px; }

  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-cols { grid-template-columns: repeat(5, 1fr); flex: 1; margin-left: 60px; }

  .floating-cta { top: 50%; bottom: auto; right: 24px; left: auto; transform: translateY(-50%); grid-template-columns: 1fr; width: 96px; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7); }
  .floating-cta a { padding: 16px 6px; }
  .floating-cta .fc-mail { border-top: 1px solid rgba(255,255,255,0.1); }
  .to-top { right: 24px; bottom: 200px; }

  .band-cta .container { flex-direction: row; align-items: center; justify-content: space-between; }
  .band-cta p { text-align: left; }
}

@media (min-width: 1200px) {
  .hero-headline { font-size: 92px; }
}

/* Utility: hide scrollbar-less overflow on small screens for badges row */
@media (max-width: 959px) {
  .header-cta, .main-nav { display: none; }
}
