/* ==========================================================================
   Shinwoo Group — stylesheet
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  --navy-950: #0a0d14;
  --navy-900: #0e1420;
  --navy-800: #131b2b;
  --navy-700: #1a2438;
  --navy-600: #263252;
  --gold-600: #8c6822;
  --gold-500: #c9a24b;
  --gold-400: #dcb968;
  --gold-100: #f4e9d2;
  --cream-100: #faf8f3;
  --cream-200: #f3efe4;
  --ink-900: #171a20;
  --ink-700: #3a4150;
  --ink-500: #656d7d;
  --white: #ffffff;
  --muted-on-dark: #9aa3b7;
  --line-on-dark: rgba(255, 255, 255, 0.1);
  --line-on-light: rgba(23, 26, 32, 0.08);

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(15, 20, 30, 0.04), 0 12px 32px -12px rgba(15, 20, 30, 0.16);
  --shadow-card-hover: 0 1px 2px rgba(15, 20, 30, 0.06), 0 24px 48px -16px rgba(15, 20, 30, 0.24);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.visually-hidden:focus {
  position: fixed;
  top: 12px; left: 12px;
  width: auto; height: auto;
  margin: 0;
  padding: 12px 20px;
  clip: auto;
  overflow: visible;
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-sm);
  z-index: 200;
  font-family: var(--font-display);
  font-weight: 600;
}

body {
  font-family: var(--font-body);
  background: var(--cream-100);
  color: var(--ink-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.on-dark .eyebrow { color: var(--gold-400); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }

h2 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem); margin-top: 14px; }
h3 { font-size: 1.3rem; }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; color: var(--ink-500); font-size: 1.05rem; }
.on-dark .section-head p { color: var(--muted-on-dark); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 8px 20px -10px rgba(201, 162, 75, 0.45);
}
.btn-gold:hover { box-shadow: 0 12px 26px -10px rgba(201, 162, 75, 0.5); }

.btn-outline {
  border: 1.5px solid var(--line-on-dark);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }

.btn-outline-dark {
  border: 1.5px solid var(--line-on-light);
  color: var(--ink-900);
}
.btn-outline-dark:hover { border-color: var(--gold-500); color: var(--gold-600); }

.btn-card {
  width: 100%;
  justify-content: center;
  background: var(--navy-900);
  color: var(--white);
  padding: 13px 22px;
}
.btn-card:hover { background: var(--navy-700); }
.btn-card:hover svg { transform: translate(3px, -3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 20px;
  transition: padding 0.35s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-900);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}
.site-header.is-scrolled { padding-block: 12px; box-shadow: 0 8px 30px -12px rgba(0,0,0,0.35); }
.site-header.is-scrolled::before { opacity: 1; }

.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  color: var(--white);
}
.brand-word .sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--gold-400);
  margin-top: 3px;
}

.nav-desktop { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  position: relative;
  padding-block: 4px;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold-400);
  transition: right 0.3s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy-950);
  padding: 110px 28px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.nav-mobile.is-open { display: block; opacity: 1; pointer-events: auto; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white);
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-on-dark);
}
.nav-mobile .mobile-cta { margin-top: 28px; }

@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 90px;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(201,162,75,0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(201,162,75,0.10), transparent 55%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 46%, var(--navy-800) 100%);
  overflow: hidden;
  color: var(--white);
}
.hero-rings { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-rings svg { position: absolute; opacity: 0.5; }
.hero-rings .r1 { width: 620px; height: 620px; top: -140px; right: -160px; opacity: 0.35; animation: spin 90s linear infinite; }
.hero-rings .r2 { width: 360px; height: 360px; bottom: -120px; left: -100px; opacity: 0.22; animation: spin 70s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 780px; }
.hero-inner h1 {
  margin-top: 20px;
  font-size: clamp(2.4rem, 1.8rem + 3vw, 4rem);
  color: var(--white);
}
.hero-inner h1 em {
  font-style: normal;
  background: linear-gradient(95deg, var(--gold-400), var(--gold-500) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-inner .lede {
  margin-top: 24px;
  font-size: 1.15rem;
  max-width: 620px;
  color: var(--muted-on-dark);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero-brandrow { margin-top: 64px; }
.hero-brandrow .label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.hero-brandrow ul { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.hero-brandrow li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.85);
}
.hero-brandrow li svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-display);
  z-index: 1;
}
.scroll-cue svg { width: 16px; height: 16px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip { background: var(--navy-950); border-top: 1px solid var(--line-on-dark); padding-block: 26px; }
.trust-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; }
.trust-strip li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--muted-on-dark);
}
.trust-strip li svg { width: 17px; height: 17px; color: var(--gold-500); }

/* ==========================================================================
   Generic section paddings / alternating surfaces
   ========================================================================== */
.section { padding-block: 108px; }
.section.tight { padding-block: 84px; }
.surface-light { background: var(--cream-100); }
.surface-white { background: var(--white); }
.surface-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: var(--white); }

/* ---- About / values ---- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
  background: var(--white);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.value-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--gold-100), #fff);
  color: var(--gold-600);
  margin-bottom: 20px;
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--ink-500); font-size: 0.98rem; }

.about-copy { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; margin-bottom: 64px; }
.about-copy .lede { font-size: 1.15rem; color: var(--ink-700); }
.about-copy .lede + p { margin-top: 16px; color: var(--ink-500); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-stats .stat { border-left: 3px solid var(--gold-500); padding-left: 16px; }
.about-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--ink-900);
}
.about-stats .stat span { color: var(--ink-500); font-size: 0.9rem; }

/* ---- Companies ---- */
.companies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.company-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-on-light);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.company-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }

.company-card .card-top {
  padding: 34px 28px 28px;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.company-card .card-top::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 30px solid rgba(201,162,75,0.12);
  right: -80px; top: -90px;
}
.company-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  position: relative; z-index: 1;
  color: var(--gold-400);
}
.company-icon svg { width: 30px; height: 30px; }
.company-card .tag {
  position: relative; z-index: 1;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 10px;
}
.company-card .card-top h3 { position: relative; z-index: 1; font-size: 1.4rem; color: var(--white); }

.company-card .card-body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.company-card .card-body > p { color: var(--ink-500); font-size: 0.97rem; margin-bottom: 20px; }
.company-card .feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.company-card .feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-700); }
.company-card .feature-list svg { width: 18px; height: 18px; color: var(--gold-600); flex-shrink: 0; margin-top: 1px; }
.company-card .meta {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-on-light);
}
.company-card .card-body .btn-card { margin-top: auto; }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800) 60%, var(--navy-900));
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -120px; top: -140px;
  border-radius: 50%;
  border: 46px solid rgba(201,162,75,0.10);
}
.cta-banner .cta-copy { position: relative; z-index: 1; max-width: 520px; }
.cta-banner h2 { margin-top: 8px; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); color: var(--white); }
.cta-banner p { margin-top: 12px; color: var(--muted-on-dark); }
.cta-banner .cta-action { position: relative; z-index: 1; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  margin: 0;
}
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-700); font-family: var(--font-display); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line-on-light);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.96rem;
  background: var(--cream-100);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-500);
  background: var(--white);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--ink-500); margin-top: 14px; }
.form-status { font-size: 0.9rem; margin-top: 14px; font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { color: #2f7d4f; }
.form-status.error { color: #b3423a; }

.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}
.contact-card > div:last-child { flex: 1; min-width: 0; }
.contact-card p, .contact-card a { overflow-wrap: anywhere; }
.contact-card.alt { background: var(--white); color: var(--ink-900); border: 1px solid var(--line-on-light); }
.contact-card .ci-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(201,162,75,0.16);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card .ci-icon svg { width: 20px; height: 20px; }
.contact-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 4px; color: var(--white); }
.contact-card.alt h4 { color: var(--ink-900); }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--muted-on-dark); }
.contact-card.alt p, .contact-card.alt a { color: var(--ink-500); }
.contact-card a:hover { color: var(--gold-400); }
.contact-card.alt a:hover { color: var(--gold-600); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: var(--muted-on-dark); padding-top: 76px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-on-dark); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { max-width: 320px; font-size: 0.92rem; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-950); }

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold-400); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-block: 26px;
  font-size: 0.82rem;
}
.footer-bottom .fb-links { display: flex; gap: 22px; }

.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(201,162,75,0.6);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 60;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal-group].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.15s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.25s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.35s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .about-copy { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 860px) {
  .about-grid, .companies-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 44px 28px; }
}

@media (max-width: 640px) {
  .section { padding-block: 76px; }
  .container { padding-inline: 20px; }
  .hero { padding-top: 104px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 26px 20px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ---- Light-mode-only safety: force light color-scheme (site is not theme-toggled) ---- */
:root { color-scheme: light; }
