:root {
  --bg:        #ffffff;
  --bg-alt:    #fafafa;
  --bg-dark:   #0a0a0a;
  --ink:       #1d1d1f;
  --ink-2:     #424245;
  --muted:     #6e6e73;
  --line:      #d2d2d7;
  --line-soft: #e8e8ed;
  --accent:    #ff6b1a;
  --accent-2:  #0071e3;
  --radius:    18px;
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 86px;
  display: flex; align-items: center; justify-content: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  width: 100%; max-width: 1200px; padding: 0 5px;
  display: flex; align-items: center; justify-content: space-between;
  
}
.logo-slot {
  height: 65px; display: flex; align-items: center; 
  overflow: hidden; flex-shrink: 0;
}
.logo-slot img {
  height: 140px; width: auto;
  margin: -40.5px 0;
  transition: transform .35s var(--ease);
}
.logo-slot:hover img { transform: scale(1.04); }
.nav-links {
  display: flex; gap: 28px;
  font-size: 13px; color: var(--ink-2);
}
.nav-links a { transition: color .25s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-right {
  display: flex; align-items: center; gap: 14px;
}
.nav-cta {
  font-size: 13px; padding: 7px 14px;
  background: var(--ink); color: #fff;
  border-radius: 980px;
  transition: background .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: #000; transform: translateY(-1px); }

/* ============ LANGUAGE SWITCHER ============ */
.lang-switcher { position: relative; }
.lang-current {
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 12px 6px 14px;
  border-radius: 980px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  font-family: inherit;
}
.lang-current:hover { border-color: var(--ink); background: rgba(0,0,0,0.03); }
.lang-current .chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-bottom: 2px; transition: transform .25s var(--ease); }
.lang-switcher.open .lang-current .chev { transform: rotate(225deg); margin-top: 3px; margin-bottom: 0; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 6px;
  min-width: 160px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.12);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.lang-switcher.open .lang-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; font-size: 13px; border-radius: 8px;
  color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-menu a:hover { background: var(--bg-alt); color: var(--ink); }
.lang-menu a.active { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.lang-menu a .code { font-size: 11px; letter-spacing: 1px; color: var(--muted); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 130px 22px 80px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 0%, #fff5ee 0%, transparent 60%),
    radial-gradient(50% 40% at 80% 90%, #fff 0%, #fafafa 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.hero::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #ffd1ae 0%, transparent 70%);
  top: -120px; left: -120px;
}
.hero::after {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #cfe7ff 0%, transparent 70%);
  bottom: -160px; right: -160px;
}
.eyebrow {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--ink);
  max-width: 1000px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #ff6b1a 0%, #ff8e3c 50%, #0071e3 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin-top: 22px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.45;
}
.hero-cta {
  margin-top: 36px;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  font-size: 15px; font-weight: 500;
  border-radius: 980px;
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 2px; color: var(--muted);
  text-transform: uppercase;
  animation: bounce 2.4s infinite;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); opacity: .6; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ============ SECTIONS ============ */
section { padding: 120px 22px; position: relative; }
.container { max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 72px; }
.section-head .tag {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--ink);
}
.section-head p {
  margin: 18px auto 0; max-width: 640px;
  color: var(--ink-2); font-size: 19px;
}

/* MISSION */
.mission { background: var(--bg-alt); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.08);
  border-color: var(--line);
}
.pillar .num {
  font-size: 13px; letter-spacing: 2px; color: var(--accent);
  font-weight: 600; margin-bottom: 18px;
}
.pillar h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.pillar p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }

/* SERVICES */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.service {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 44px 38px;
  display: flex; gap: 24px; align-items: flex-start;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.1);
}
.service-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #fff2e7, #ffe1cc);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.service h3 {
  font-size: 19px; font-weight: 600; margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.service p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }

/* FRANCHISE */
.franchise {
  background: var(--bg-dark);
  color: #f5f5f7;
  overflow: hidden;
}
.franchise::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 20%, rgba(255,107,26,0.18) 0%, transparent 60%),
              radial-gradient(50% 40% at 20% 80%, rgba(0,113,227,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.franchise .container { position: relative; }
.franchise .section-head h2 { color: #fff; }
.franchise .section-head p { color: #a1a1a6; }
.franchise-card {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 56px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center;
}
.price-block .label {
  font-size: 12px; letter-spacing: 3px; color: var(--accent);
  text-transform: uppercase; font-weight: 600; margin-bottom: 18px;
}
.price-block .amount {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(120deg, #fff 0%, #ff8e3c 70%, #ff6b1a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-block .amount-sub {
  font-weight: 300;
  background: linear-gradient(120deg, #fff 0%, #c8c8cc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-block .desc {
  margin-top: 22px; font-size: 16px; color: #c8c8cc; max-width: 420px; line-height: 1.55;
}
.btn-quote {
  margin-top: 28px;
  background: var(--accent); color: #fff;
  padding: 14px 28px; font-weight: 600;
  text-decoration: none;
}
.btn-quote:hover { background: #ff8e3c; transform: translateY(-2px); }
.features-list { list-style: none; display: grid; gap: 18px; }
.features-list li {
  display: flex; gap: 14px; align-items: flex-start;
  color: #d2d2d7; font-size: 15.5px;
}
.features-list .check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,107,26,0.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
@media (max-width: 880px) {
  .franchise-card { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
}

/* STATS */
.stats {
  background: #fff;
  padding: 100px 22px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  max-width: 1180px; margin: 0 auto;
  text-align: center;
}
.stat .num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; letter-spacing: -0.03em; color: var(--ink);
  line-height: 1;
}
.stat .num .suffix { color: var(--accent); }
.stat .label {
  margin-top: 10px; font-size: 13px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1.5px;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; } }

/* TECHNICAL */
.tech .container { max-width: 980px; }
.tech-list {
  display: grid; gap: 0;
  border-top: 1px solid var(--line-soft);
}
.tech-row {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 36px; padding: 36px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
  transition: padding .4s var(--ease);
}
.tech-row:hover { padding-left: 12px; }
.tech-row .idx {
  font-size: 13px; letter-spacing: 2px; color: var(--accent);
  font-weight: 600;
}
.tech-row h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.tech-row p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 700px) {
  .tech-row { grid-template-columns: 1fr; gap: 8px; }
}

/* CONTACT */
.contact {
  background: var(--bg-alt);
  text-align: center;
}
.contact-card {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 56px;
  max-width: 720px; margin-left: auto; margin-right: auto;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.1);
}
.contact-name {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.contact-role {
  font-size: 14px; color: var(--muted); margin-bottom: 28px;
  text-transform: uppercase; letter-spacing: 2px;
}
.contact-rows {
  display: grid; gap: 14px;
  margin-top: 28px; padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  text-align: left;
}
.contact-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding: 12px 0;
  align-items: center;
}
.contact-row .key {
  font-size: 12px; letter-spacing: 2px; color: var(--muted);
  text-transform: uppercase;
}
.contact-row .val { font-size: 16px; color: var(--ink); font-weight: 500; }
.contact-row .val a { transition: color .25s var(--ease); }
.contact-row .val a:hover { color: var(--accent); }
.wa-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 980px;
  background: #25D366; color: #fff !important;
  font-weight: 600; font-size: 15px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.wa-link:hover { background: #1ebe5a; transform: translateY(-1px); color: #fff !important; }
.wa-link svg { flex-shrink: 0; }
@media (max-width: 600px) {
  .contact-card { padding: 36px 24px; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
}

/* FOOTER */
footer {
  background: var(--bg-dark);
  color: #86868b;
  padding: 48px 22px;
  font-size: 13px;
  text-align: center;
}
footer .footer-logo-slot {
  margin: 0 auto 22px;
  height: 120px;
  display: flex; justify-content: center; align-items: center;
  overflow: hidden;
}
footer .footer-logo-slot img {
  height: 220px; width: auto;
  margin: -50px 0;
  filter: brightness(0) invert(1);
}
footer a { color: #f5f5f7; }
footer .footer-meta { margin-top: 14px; color: #6e6e73; }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
