:root {
  --theme-primary: #525FE1;
  --theme-dark: #0B104A;
  --theme-accent: #F26B65;
  --theme-secondary: #2D36BB;
  --theme-surface: #F5F5FD;
  --theme-card: #FFFFFF;
  --theme-text: #4A5355;
  --theme-muted: #6F7780;
  --theme-border: #E7E7F3;
  --shadow: 10px 15px 18px rgba(23, 23, 36, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--theme-text); background: #fff; font-family: "Jost", sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1170px, calc(100% - 40px)); margin: auto; }
.section { padding: 80px 0; }
.section-soft { background: var(--theme-surface); }
.section-head { margin-bottom: 55px; text-align: center; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--theme-primary); font-weight: 700; }
.section-title, h1, h2, h3 { color: var(--theme-dark); font-family: "Jost", sans-serif; line-height: 1.2; }
.section-title { margin: 0 0 18px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.muted { color: var(--theme-muted); }

.btn, .btn-primary, .btn-accent, .btn-light {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 15px 30px;
  color: #211400;
  background: var(--theme-accent);
  border: 1px solid var(--theme-accent);
  border-radius: 2px;
  box-shadow: 0 14px 34px rgba(245, 124, 32, .24);
  font-weight: 700;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:before, .btn-primary:before, .btn-accent:before, .btn-light:before {
  position: absolute;
  inset: 0 auto 0 -70%;
  width: 55%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg);
  transition: left .48s ease;
  pointer-events: none;
}
.btn:hover, .btn-primary:hover, .btn-accent:hover, .btn-light:hover {
  color: #fff;
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  box-shadow: 0 18px 38px rgba(15, 92, 178, .24);
  transform: translateY(-3px) scale(1.01);
}
.btn:hover:before, .btn-primary:hover:before, .btn-accent:hover:before, .btn-light:hover:before { left: 120%; }
.btn-light { color: var(--theme-primary); background: #fff; border-color: var(--theme-border); box-shadow: var(--shadow); }

.site-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 8px 24px rgba(11, 16, 74, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--theme-dark); font-size: 30px; font-weight: 900; line-height: 1; }
.brand-mark { display: grid; width: 48px; height: 48px; place-items: center; color: #fff; background: var(--theme-primary); border-radius: 16px; font-size: 19px; }
.nav { display: flex; align-items: center; gap: 30px; color: var(--theme-dark); font-size: 15px; font-weight: 700; }
.nav a { padding: 32px 0; transition: color .2s ease; }
.nav a.active, .nav a:hover { color: var(--theme-primary); }
.menu-btn { display: none; }
.mobile-nav { display: none; }

.hero { position: relative; min-height: 720px; overflow: hidden; background: var(--theme-surface); clip-path: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; background-size: cover; background-position: center; transition: opacity .7s ease, visibility .7s ease, transform 6s ease; }
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1.025); }
.hero-slide:before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(245,245,253,.96) 0%, rgba(245,245,253,.84) 32%, rgba(245,245,253,.44) 58%, rgba(245,245,253,.12) 100%); }
.hero-slide:after { display: none; }
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; min-height: 720px; }
.hero-card { max-width: 690px; padding: 0; color: var(--theme-text); background: transparent; border: 0; border-radius: 0; backdrop-filter: none; }
.hero h1 { margin: 0 0 20px; color: var(--theme-dark); font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1.1; }
.hero h1 span { color: var(--theme-primary); }
.hero p { max-width: 560px; color: var(--theme-muted); font-size: 18px; }
.hero-dots { position: absolute; bottom: 82px; left: 50%; z-index: 4; display: flex; gap: 10px; transform: translateX(-50%); }
.hero-dot { width: 13px; height: 13px; padding: 0; background: #fff; border: 2px solid var(--theme-primary); border-radius: 50%; }
.hero-dot.active { background: var(--theme-primary); }

.promo { position: relative; z-index: 8; padding: 40px 0 16px; margin: 0; background: #fff; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.promo-card { position: relative; display: block; min-height: 236px; overflow: hidden; color: #fff; background: transparent; border-radius: 4px; box-shadow: var(--shadow); transition: transform .2s ease; }
.promo-card:hover { transform: translateY(-4px); }
.promo-card:after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.58)); }
.promo-card img { position: static; width: 100%; height: 236px; object-fit: cover; opacity: 1; transition: transform .25s ease; }
.promo-card:hover img { transform: scale(1.04); }
.promo-card span { position: absolute; inset: auto 22px 22px; z-index: 2; color: #fff; font-size: 18px; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.42); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { height: 100%; padding: 30px; background: #fff; border: 1px solid #ddd; border-radius: 20px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { box-shadow: 0 22px 55px rgba(11,16,74,.10); transform: translateY(-5px); }
.card h3 { margin: 0 0 12px; color: var(--theme-dark); font-size: 22px; font-weight: 700; }
.icon { width: 60px; height: 60px; margin-bottom: 18px; color: var(--theme-primary); background: #ecedff; border-radius: 30px; font-size: 18px; line-height: 60px; text-align: center; }
.image-card { overflow: hidden; padding: 0; border-radius: 4px; }
.image-card .media { height: 260px; overflow: hidden; background: #ecedff; }
.image-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.image-card:hover .media img { transform: scale(1.04); }
.image-card .body { padding: 25px; }
.badge { display: inline-block; padding: 6px 12px; margin-bottom: 12px; color: var(--theme-primary); background: #ecedff; border-radius: 3px; font-weight: 700; }

.stats { color: #fff; background: var(--theme-dark); }
.stats .section-title { color: #fff; }
.stat { text-align: center; }
.stat strong { display: block; color: var(--theme-accent); font-size: 44px; line-height: 1; }
.feature { position: relative; isolation: isolate; color: #fff; background-size: cover; background-position: center; }
.feature:before { position: absolute; inset: 0; z-index: -1; content: ""; background: rgba(11,16,74,.78); }
.feature h2 { color: #fff; }
.feature ul { display: grid; gap: 14px; padding: 0; list-style: none; }
.feature li:before { margin-right: 8px; color: var(--theme-accent); content: ">"; font-weight: 900; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.rich p { margin-bottom: 14px; }
.page-hero { padding: 100px 0 80px; color: var(--theme-text); background: var(--theme-surface); }
.page-hero h1 { color: var(--theme-dark); font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field label { display: block; margin-bottom: 8px; font-weight: 700; }
.control { width: 100%; height: 56px; padding: 13px 15px; border: 1px solid var(--theme-border); border-radius: 2px; }
textarea.control { height: auto; }
.control:focus { outline: 2px solid rgba(82,95,225,.22); border-color: var(--theme-primary); }
.form-grid .field:has(textarea) { grid-column: 1 / -1; }
.form-grid .btn { justify-self: start; width: auto; min-width: 180px; }
.map-box { display: grid; min-height: 420px; place-items: center; color: var(--theme-muted); background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 6px; }
.footer { padding-top: 70px; color: var(--theme-muted); background: var(--theme-surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; }
.footer h4 { margin: 0 0 14px; color: var(--theme-dark); font-weight: 800; }
.footer a { display: block; margin: 8px 0; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-socials a { padding: 8px 12px; color: var(--theme-primary); background: #ecedff; border-radius: 3px; font-weight: 700; }
.footer-bottom { padding: 24px 0; margin-top: 42px; color: #fff; text-align: center; background: var(--theme-dark); }
.lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.88); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.close-lightbox { position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; color: var(--theme-dark); background: #fff; border: 0; border-radius: 50%; font-size: 28px; line-height: 44px; cursor: pointer; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .68s ease, transform .68s ease, filter .68s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
  .nav, .header-inner > .btn { display: none; }
  .menu-btn { display: inline-block; }
  .mobile-nav.open { display: grid; gap: 12px; padding: 0 0 18px; }
  .mobile-nav a { padding: 14px 0; color: var(--theme-dark); font-weight: 700; border-bottom: 1px solid var(--theme-border); }
  .header-inner { min-height: 92px; }
  .hero { min-height: 575px; }
  .hero-content { min-height: 575px; }
  .hero h1 { font-size: 44px; }
  .grid-3, .grid-4, .split, .footer-grid, .form-grid, .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .brand { font-size: 26px; }
  .hero { min-height: 560px; }
  .hero-content { min-height: 560px; align-items: flex-start; padding-top: 86px; }
  .hero h1 { max-width: 300px; font-size: 31px; line-height: 39px; }
  .hero p { max-width: 300px; font-size: 15px; line-height: 25px; }
  .hero-dots { left: 26px; bottom: 96px; transform: none; }
  .section-title { font-size: 27px; line-height: 34px; }
  .btn, .btn-primary, .btn-accent, .btn-light { width: 100%; }
  .form-grid .btn { width: auto; }
}
