/* ============================================================
   UNION PRO CORP LTD — site styles
   Modern corporate, light theme, navy + warm gold accent
   ============================================================ */

:root {
  --navy-900: #061528;
  --navy-800: #0a2540;
  --navy-700: #14304f;
  --navy-600: #1f3f64;
  --gold-500: #c19a3e;
  --gold-400: #d4b164;
  --gold-100: #f6efdf;

  --ink-900: #0a1626;
  --ink-700: #1f2c3d;
  --ink-500: #4a5a70;
  --ink-400: #6c7d93;
  --ink-300: #9aa7b8;
  --line-200: #e3e8ef;
  --line-100: #eef2f7;

  --bg-0: #ffffff;
  --bg-1: #f7f9fc;
  --bg-2: #eef2f7;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 6px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.12);

  --container: 1200px;
  --header-h: 76px;

  --t-fast: 150ms ease;
  --t-base: 240ms cubic-bezier(.4,.0,.2,1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-500); }

ul, ol { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 { color: var(--navy-900); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw + .5rem, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.5vw + 1rem, 2.7rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-400); }

p { margin: 0 0 1em; color: var(--ink-700); }
p.lead { font-size: 1.15rem; color: var(--ink-700); }

.container { width: min(100% - 2.5rem, var(--container)); margin: 0 auto; }

.tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold-500);
  padding: .35rem .75rem;
  background: var(--gold-100);
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
  position: relative;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--gold-400);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), color var(--t-base), border-color var(--t-base);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .65rem 1.1rem; font-size: .9rem; }

.btn-primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 37, 64, 0.18);
}
.btn-primary:hover { background: var(--navy-900); color: #fff; box-shadow: 0 12px 26px rgba(10, 37, 64, 0.25); }

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line-200);
}
.btn-ghost:hover { border-color: var(--navy-800); color: var(--navy-800); }

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }

/* ============================================================
   Header / Nav
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.site-header.scrolled { border-bottom-color: var(--line-200); background: rgba(255, 255, 255, .92); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 2rem;
}

.brand { display: flex; align-items: center; gap: .65rem; color: var(--navy-900); font-weight: 700; }
.brand:hover { color: var(--navy-900); }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--navy-800);
  color: var(--gold-400);
  border-radius: 9px;
  font-weight: 800;
  letter-spacing: -.02em;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--t-base);
}
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.05); }
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(212, 177, 100, .35) 25%, transparent 50%);
  animation: brand-shine 8s linear infinite;
}
.brand-mark--text {
  width: auto;
  height: 38px;
  padding: 0 16px;
  font-size: 1.05rem;
  letter-spacing: .14em;
  color: var(--gold-400);
}
@keyframes brand-shine {
  to { transform: rotate(360deg); }
}
.brand-name { font-size: .95rem; letter-spacing: .04em; }
.brand-name em { font-style: normal; color: var(--gold-500); margin-left: .15rem; }

.nav-main ul { display: flex; gap: 2rem; }
.nav-main a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
}
.nav-main a:hover { color: var(--navy-900); }
.nav-main a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.nav-main a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* Lang switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 1px solid var(--line-200);
  border-radius: 999px;
  padding: .5rem .8rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.lang-btn:hover { border-color: var(--navy-800); color: var(--navy-900); }
.lang-flag { font-size: 1.05rem; line-height: 1; }
.lang-code { letter-spacing: .04em; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + .55rem);
  right: 0;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  min-width: 360px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-height: 60vh;
  overflow-y: auto;
}
.lang-dropdown[hidden] { display: none; }

.lang-option {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--ink-700);
  transition: background var(--t-fast), color var(--t-fast);
  border: 0;
  background: transparent;
  text-align: left;
  font-family: inherit;
  width: 100%;
}
.lang-option:hover { background: var(--bg-1); color: var(--navy-900); }
.lang-option.is-active { background: var(--navy-800); color: #fff; }
.lang-option.is-active:hover { background: var(--navy-900); color: #fff; }
.lang-option .lang-flag { font-size: 1.15rem; }
.lang-option .lang-name { font-weight: 500; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  color: #fff;
  background: var(--navy-900);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 10vw, 9rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(193, 154, 62, 0.18), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, rgba(31, 63, 100, 0.55), transparent 60%),
    linear-gradient(180deg, #0a2540 0%, #061528 100%);
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
  will-change: transform;
  animation: orb-float 14s ease-in-out infinite;
}
.hero-orb--gold {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--gold-500), transparent 70%);
  top: -180px; right: -100px;
  animation-delay: 0s;
}
.hero-orb--blue {
  width: 540px; height: 540px;
  background: radial-gradient(circle, #2d5da8, transparent 70%);
  bottom: -200px; left: -120px;
  animation-delay: -5s;
  opacity: .45;
}
.hero-orb--violet {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #4d3a7d, transparent 70%);
  top: 35%; left: 45%;
  animation-delay: -10s;
  opacity: .35;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(.95); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black 30%, transparent 90%);
}

.hero .container { position: relative; z-index: 2; max-width: 880px; }
.hero-title { color: #fff; }
.hero-lead {
  color: rgba(255,255,255,.78);
  font-size: clamp(1.05rem, 1vw + .8rem, 1.25rem);
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 2rem;
  max-width: 760px;
}
.hero-stats li { display: flex; flex-direction: column; gap: .25rem; }
.hero-stats strong {
  font-size: clamp(2.4rem, 4vw + 1rem, 3.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-400) 0%, #f5d98c 60%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.hero-stats span { color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.4; }

/* ============================================================
   Marquee
   ============================================================ */

.marquee {
  background: linear-gradient(180deg, #061528 0%, var(--navy-900) 100%);
  border-block: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--navy-900), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--navy-900), transparent); }

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee-track span {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  padding: 0 2.5rem;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.marquee-track span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  margin-right: 2.5rem;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Section base
   ============================================================ */

.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section-head { max-width: 740px; margin: 0 auto 3.5rem; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.1rem; margin: 0; }

/* ============================================================
   Services
   ============================================================ */

.services { background: var(--bg-1); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--gold-100), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--t-base);
  z-index: -1;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { opacity: 1; }
.card h3 { color: var(--navy-900); margin-bottom: .65rem; }
.card p { color: var(--ink-500); font-size: .96rem; margin-bottom: 1.25rem; }

.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--gold-100);
  color: var(--gold-500);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .3s var(--t-base);
}
.card:hover .card-icon {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--gold-100), #f5d98c);
}

.card-list { display: flex; flex-direction: column; gap: .55rem; padding-top: 1.1rem; border-top: 1px dashed var(--line-200); }
.card-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .92rem;
  color: var(--ink-700);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  background: var(--gold-500);
  border-radius: 50%;
}

/* ============================================================
   About
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-copy .lead { font-size: 1.18rem; color: var(--ink-700); margin-bottom: 1.25rem; }
.about-copy p { color: var(--ink-500); }

.about-card {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-lg);
}
.about-card h3 { color: var(--gold-400); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.5rem; }
.about-card dl { display: grid; gap: 1.1rem; margin: 0 0 1.75rem; }
.about-card dl > div { display: flex; flex-direction: column; gap: .15rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.about-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.about-card dt { font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
.about-card dd { margin: 0; font-size: 1.1rem; font-weight: 600; color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--gold-400);
  font-weight: 600;
  font-size: .92rem;
  border-bottom: 1px solid rgba(212, 177, 100, .35);
  padding-bottom: 2px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.link-arrow:hover { color: #fff; border-bottom-color: #fff; }

/* ============================================================
   Why us
   ============================================================ */

.why { background: var(--bg-1); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem 1.75rem;
}
.why-item {
  background: transparent;
  padding: 1.75rem 1.5rem 1.5rem;
  border-left: 2px solid var(--line-200);
  transition: border-color var(--t-base);
}
.why-item:hover { border-left-color: var(--gold-500); }
.why-num {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: .12em;
  margin-bottom: .85rem;
}
.why-item h3 { color: var(--navy-900); font-size: 1.15rem; margin-bottom: .55rem; }
.why-item p { color: var(--ink-500); font-size: .95rem; margin: 0; }

/* ============================================================
   Contact
   ============================================================ */

.contact-card {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem 2.25rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400) 50%, var(--gold-500));
  background-size: 200% 100%;
  animation: gold-shimmer 6s linear infinite;
}
@keyframes gold-shimmer {
  to { background-position: 200% 0; }
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; margin: 0 0 2rem; }
.contact-info li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line-100);
}
.contact-info li:last-child { border-bottom: 0; }

.ci-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--gold-100);
  color: var(--gold-500);
  border-radius: 10px;
  transition: transform var(--t-base);
}
.contact-info li:hover .ci-icon { transform: scale(1.08); }

.ci-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.ci-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.contact-info a { font-size: 1.05rem; font-weight: 600; color: var(--navy-900); word-break: break-word; }
.contact-info a:hover { color: var(--gold-500); }
.ci-text span:not(.ci-label) { color: var(--ink-700); font-size: 1rem; }

.contact-cta { width: 100%; justify-content: center; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  gap: 1.1rem;
  box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: .04em;
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--bg-1);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 4px rgba(10, 37, 64, 0.08);
}
.field textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { justify-self: start; margin-top: .35rem; }
.form-note { font-size: .82rem; color: var(--ink-400); margin: 0; }
.form-success,
.form-error {
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  font-size: .95rem;
  font-weight: 500;
}
.form-success { background: var(--gold-100); color: var(--navy-800); }
.form-error   { background: #fdecec; color: #9c2c2c; }
.contact-form button[type="submit"][disabled] { opacity: .65; cursor: progress; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding: 4.5rem 0 2rem;
  margin-top: 0;
}
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand-mark { background: var(--navy-700); }
.footer-tag { color: rgba(255,255,255,.55); font-size: .9rem; max-width: 260px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid h4 { color: rgba(255,255,255,.5); margin-bottom: 1.1rem; }
.footer-grid ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-grid a { color: rgba(255,255,255,.78); font-size: .92rem; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-legal { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.6); }

.footer-bottom { padding-top: 1.5rem; }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .85rem; margin: 0; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .nav-main { display: none; }
  .menu-toggle { display: inline-flex; }

  .nav-cta { display: none; }
  .lang-dropdown { right: -1rem; min-width: 320px; }

  .nav-main.open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line-200);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.25rem;
  }
  .nav-main.open ul { flex-direction: column; gap: 0; }
  .nav-main.open li { border-bottom: 1px solid var(--line-100); }
  .nav-main.open li:last-child { border-bottom: 0; }
  .nav-main.open a { display: block; padding: .9rem 0; }
  .nav-main.open a::after { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

/* ============================================================
   Reveal animations
   ============================================================ */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms cubic-bezier(.4,.0,.2,1), transform 700ms cubic-bezier(.4,.0,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
