/* CFMOTO Experience Рязань — корпоративный стиль сети CFMOTO */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --teal: #009bb4;
  --teal-dark: #00707f;
  --teal-light: #e3f6f9;
  --dark: #101820;
  --dark-2: #182430;
  --bg: #ffffff;
  --bg-alt: #f3f7f8;
  --text: #12181c;
  --text-muted: #5b6670;
  --border: #e1e8ea;
  --radius: 14px;
  --container: 1180px;
  --shadow: 0 20px 45px rgba(16, 24, 32, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--teal);
  display: inline-block;
  border-radius: 2px;
}

.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #aab6bd; }
.section--dark .eyebrow { color: #5fd6e8; }
.section--dark .eyebrow::before { background: #5fd6e8; }

.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head p { max-width: 580px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0,155,180,.32);
}
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn--ghost {
  background: #fff;
  color: var(--dark);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--ghost-dark {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn--ghost-dark:hover { border-color: #5fd6e8; color: #5fd6e8; }
.btn--block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand-badge { height: 66px !important; width: auto; padding: 8px 0; }
.brand-text {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.1;
  color: var(--dark);
  white-space: nowrap;
}
.brand-text span {
  display: block;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
}
@media (max-width: 560px) {
  .brand-text { display: none; }
}

.main-nav { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal-dark); background: var(--teal-light); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-social { display: flex; align-items: center; color: var(--text-muted); transition: color .15s; }
.header-social:hover { color: var(--teal); }
.header-social svg { width: 20px; height: 20px; display: block; }
.header-phone { font-weight: 800; font-size: .95rem; color: var(--dark); white-space: nowrap; display: none; }
@media (min-width: 1150px) { .header-phone { display: inline; } }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 92px 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    overflow-y: auto;
  }
  .main-nav a { padding: 16px; font-size: 1.1rem; border-bottom: 1px solid var(--border); }
  body.nav-open .main-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(16,24,32,.92) 0%, rgba(16,24,32,.55) 55%, rgba(0,155,180,.28) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 60px 0 52px; max-width: 760px; }
.hero--small { min-height: 42vh; }
.hero--small .hero-inner { padding: 44px 0 36px; }
.hero h1, .hero p, .hero .eyebrow, .hero .breadcrumb { color: #fff; }
.hero .eyebrow { color: #5fd6e8; }
.hero .eyebrow::before { background: #5fd6e8; }
.hero-tagline { color: #d7e6ea; font-size: 1.08rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.breadcrumb { color: #5fd6e8; font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; margin-bottom: 14px; display: block; }

/* Hero split (главная, по образцу брендбука) */
.hero-split { display: grid; grid-template-columns: 440px 1fr; min-height: 540px; }
.hero-split-text { background: #fff; display: flex; flex-direction: column; justify-content: center; padding: 48px 52px; }
.hero-split-text h1 { color: var(--dark); font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: .25em; }
.hero-keywords { list-style: none; margin: 0 0 14px; padding: 0; }
.hero-keywords li { font-weight: 800; text-transform: uppercase; font-size: 1.25rem; color: var(--teal); line-height: 1.35; }
.hero-split-sub { font-weight: 700; text-transform: uppercase; font-size: .82rem; color: var(--text-muted); letter-spacing: .08em; margin-bottom: 26px; }
.hero-split-media { background-size: cover; background-position: center; min-height: 320px; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-media { min-height: 260px; order: -1; }
  .hero-split-text { padding: 32px 24px; }
}

/* Grid / cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(16,24,32,.12); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-price { font-size: 1.3rem; font-weight: 800; color: var(--teal-dark); }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.pill {
  font-size: .74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal-dark);
}

/* Audience segments (Для новичков/любителей/профи/семьи) */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.audience-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 14px;
}
@media (max-width: 980px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr; } }

/* Program detail blocks */
.program {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 380px 1fr;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.program-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.program-body { padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.program-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.program-price { font-size: 1.4rem; font-weight: 800; color: var(--teal-dark); white-space: nowrap; }
.program-included { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.program-included li { padding-left: 26px; position: relative; color: var(--text); }
.program-included li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 800; }
.program-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px;
  margin: 6px 0; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.fact-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 4px; }
.fact-value { font-weight: 700; color: var(--dark); }
.program-footnote { font-size: .84rem; color: var(--text-muted); margin: 0; }
@media (max-width: 860px) { .program { grid-template-columns: 1fr; } .program-media img { min-height: 220px; } }

/* Callout */
.callout {
  background: var(--teal-light);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 32px 0;
  border-left: 4px solid var(--teal);
}
.callout p { color: var(--dark); }
.callout p:last-child { margin-bottom: 0; }

/* Price table */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); margin: 28px 0; }
.price-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .92rem; }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.price-table th { background: var(--bg-alt); color: var(--teal-dark); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.price-table td:first-child, .price-table th:first-child { white-space: normal; min-width: 220px; }
.price-table tbody tr.model-row td { font-weight: 700; color: var(--dark); }
.price-table tbody tr.addon-row td { color: var(--text-muted); font-weight: 400; font-size: .84rem; padding-top: 4px; padding-bottom: 12px; }
.price-table tbody tr.addon-row td:first-child { padding-left: 32px; }
.price-table td.na { color: #c3ccd0; }

.addon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.addon-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--bg-alt); border-radius: 10px; }
.addon-list li b { color: var(--teal-dark); white-space: nowrap; }

/* Steps (как записаться) */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step-card { text-align: center; padding: 10px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem;
  margin: 0 auto 16px;
}
@media (max-width: 780px) { .step-grid { grid-template-columns: 1fr; } }

/* Model strip */
.model-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.model-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.model-card .card-body { padding: 18px 20px; }

/* Network cities strip */
.city-chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.city-chip {
  padding: 8px 16px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border);
  font-weight: 700; font-size: .86rem; color: var(--text-muted);
}
.city-chip--active { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.contact-row { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); }
.contact-row:first-of-type { border-top: none; }
.contact-row .label { color: var(--text-muted); min-width: 120px; flex-shrink: 0; font-size: .9rem; }
.contact-row .value { font-weight: 700; color: var(--dark); }
.contact-row .value a:hover { color: var(--teal); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.map-embed { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
.social-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--border); font-weight: 700; font-size: .9rem; transition: border-color .15s, color .15s; }
.social-btn:hover { border-color: var(--teal); color: var(--teal-dark); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 18px; }

/* Footer */
.site-footer { background: var(--dark); color: #aab6bd; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #5fd6e8; margin-bottom: 16px; }
.footer-grid a, .footer-grid p { color: #aab6bd; font-size: .92rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 26px; }
.footer-brand-text { font-weight: 800; color: #fff; }
.footer-badge { height: 76px !important; width: auto; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
