/* ============ BASE ============ */
:root {
  --bg: #faf6ef;
  --bg-tint: #f3ece0;
  --ink: #191410;
  --ink-soft: #5c544a;
  --accent: #ff5a36;
  --accent-dark: #e8441f;
  --line: rgba(25, 20, 16, 0.12);
  --dark: #1c1712;
  --radius: 22px;
  --font-head: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: min(1140px, 100% - 48px);
  margin-inline: auto;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; }

::selection { background: var(--accent); color: #fff; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(250, 246, 239, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-nav { padding: 10px 20px; font-size: 14px; }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(255, 90, 54, 0.55);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 190px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 90, 54, 0.18), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255, 90, 54, 0.10), transparent 55%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(25, 20, 16, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 20, 16, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}

.hero-inner { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 54, 0.18);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 15ch;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  margin-top: 26px;
  max-width: 540px;
  font-size: 17.5px;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  list-style: none;
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.meta-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-right: 8px;
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: #faf6ef;
  padding: 17px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track i {
  color: var(--accent);
  font-style: normal;
  font-size: 11px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section { padding: 110px 0; }

.section-tint { background: var(--bg-tint); }

.section-head { margin-bottom: 56px; }

.section-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 14px;
  line-height: 1.15;
}

.section-sub {
  margin-top: 16px;
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 16.5px;
}

.section-head-light { margin-bottom: 36px; }
.section-head-light h2 { color: #faf6ef; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.about-text .lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 20px;
}

.about-text p:not(.lead) {
  color: var(--ink-soft);
  font-size: 16.5px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.fact:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(25, 20, 16, 0.18);
  border-color: rgba(255, 90, 54, 0.4);
}

.fact b {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}

.fact span {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(25, 20, 16, 0.2);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}

.card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ============ PROGRAM ============ */
.program {
  background: var(--dark);
  color: #faf6ef;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.program::before {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 54, 0.22), transparent 65%);
  pointer-events: none;
}

.program-inner { position: relative; }

.program-body {
  max-width: 640px;
  display: grid;
  gap: 18px;
}

.program-body .lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.program-body p:not(.lead) { color: rgba(250, 246, 239, 0.72); font-size: 16.5px; }

.program-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 640px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.04);
}

.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat span { font-size: 13.5px; color: rgba(250, 246, 239, 0.7); }

/* ============ FOR WHOM ============ */
.for-list {
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.for-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.for-list li:hover {
  transform: translateX(6px);
  border-color: rgba(255, 90, 54, 0.4);
  box-shadow: 0 18px 40px -20px rgba(25, 20, 16, 0.16);
}

.for-mark {
  color: var(--accent);
  font-size: 18px;
  line-height: 1.4;
  flex: none;
}

.for-list b { font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.for-list p { margin-top: 6px; font-size: 14.5px; color: var(--ink-soft); }

/* ============ CONTACT ============ */
.contact {
  background: var(--accent);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.contact-inner { position: relative; text-align: center; }

.contact h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.contact h2 em { font-style: normal; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }

.contact p {
  margin: 24px auto 40px;
  max-width: 520px;
  font-size: 17px;
  opacity: 0.95;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  color: rgba(250, 246, 239, 0.65);
  padding: 28px 0;
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .nav-links { display: none; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 40px); }
  .section, .program { padding: 84px 0; }
  .hero { padding: 150px 0 70px; }
  .hero-meta { margin-top: 44px; gap: 14px 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .program-stats { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
  .hero-title { font-size: clamp(34px, 10vw, 46px); }
}
