/* ОКИ-ДОКИ СМП — частная скорая помощь. Прототип сайта. */

@font-face {
  font-family: "Interface";
  src: url("../fonts/INTERFACE-LIGHT.TTF") format("truetype");
  font-weight: 300;
}
@font-face {
  font-family: "Interface";
  src: url("../fonts/INTERFACE-REGULAR.TTF") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Interface";
  src: url("../fonts/INTERFACE-BOLD.TTF") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "Interface";
  src: url("../fonts/INTERFACE-XBOLD.TTF") format("truetype");
  font-weight: 800;
}

:root {
  --green: #1fd65e;
  --teal: #00c2b4;
  --blue: #2440ff;
  --gradient: linear-gradient(90deg, var(--green) 0%, var(--teal) 50%, var(--blue) 100%);
  --ink: #0b1220;
  --ink-soft: #4a5568;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --border: #e4e9ee;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Interface", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 72px 0; }
h1, h2, h3 { font-weight: 800; margin: 0 0 16px; line-height: 1.15; }
h2 { font-size: 34px; }
h3 { font-size: 20px; }
p { color: var(--ink-soft); margin: 0 0 12px; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-wa { background: #25d366; color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 700; }
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.logo img { height: 40px; }
nav.main-nav { display: flex; gap: 28px; }
nav.main-nav a { font-size: 15px; font-weight: 700; color: var(--ink); }
nav.main-nav a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { font-weight: 800; font-size: 17px; white-space: nowrap; }

/* Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern.png");
  background-size: 420px;
  opacity: 0.06;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11,18,32,0.97) 30%, rgba(11,18,32,0.55) 65%, rgba(36,64,255,0.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0 64px;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 { font-size: 44px; margin-bottom: 18px; }
.hero p.lead { color: #cbd5e1; font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 26px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat span { font-size: 13px; color: #94a3b8; }
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Occasion cards */
.occasions { background: var(--bg-soft); }
.card-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.occasion-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.occasion-card .num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}
.occasion-card h3 { font-size: 17px; }
.occasion-card p { font-size: 14px; margin: 0; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p { font-size: 14px; margin: 0; }

/* Pricing */
.pricing { background: var(--ink); color: #fff; }
.pricing .section-head p { color: #94a3b8; }
.pricing .eyebrow { color: var(--green); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border-color: var(--teal); background: rgba(0,194,180,0.08); }
.price-card h3 { font-size: 17px; margin-bottom: 6px; }
.price-card .price { font-size: 26px; font-weight: 800; margin: 10px 0 14px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-card ul { margin: 0 0 20px; padding-left: 18px; color: #cbd5e1; font-size: 13.5px; flex: 1; }
.price-card li { margin-bottom: 8px; }
.pricing-note {
  margin-top: 28px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}
.pricing-note b { color: #fff; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.stat-box {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 20px;
}
.stat-box b { display: block; font-size: 28px; margin-bottom: 4px; }
.stat-box span { font-size: 13px; color: var(--ink-soft); }
.client-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.client-badges span {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
}

/* Advantages */
.advantages { background: var(--bg-soft); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid var(--border);
}
.adv-card h3 { font-size: 17px; }
.adv-card p { font-size: 14px; margin: 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.gallery-grid a:first-child img,
.gallery-grid a:nth-child(4) img { }
.gallery-grid a.tall { grid-row: span 2; }

/* How we work */
.how-work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.steps { counter-reset: step; }
.step { display: flex; gap: 16px; margin-bottom: 22px; }
.step .n {
  counter-increment: step;
  min-width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 14px; margin: 0; }
.callout-box {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
}
.callout-box .phone-big {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin: 10px 0 18px;
}

/* Contact / form */
.contact { background: var(--ink); color: #fff; }
.contact .section-head p { color: #94a3b8; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info .row { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info .row .ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info .row b { display: block; }
.contact-info .row span { color: #94a3b8; font-size: 14px; }
form.request-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
}
form.request-form label { display: block; font-size: 13px; color: #94a3b8; margin-bottom: 6px; margin-top: 14px; }
form.request-form label:first-child { margin-top: 0; }
form.request-form input, form.request-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}
form.request-form textarea { resize: vertical; min-height: 80px; }
form.request-form .consent { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0; font-size: 12.5px; color: #94a3b8; }
form.request-form .consent input { width: auto; margin-top: 3px; }
form.request-form button { margin-top: 6px; }

/* Footer */
footer {
  background: #070c17;
  color: #94a3b8;
  padding: 48px 0 24px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
footer .logo img { height: 34px; margin-bottom: 14px; }
footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 10px; }
footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  gap: 10px;
}
.mobile-cta a { flex: 1; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .card-scroll { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .how-work, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
}
@media (max-width: 640px) {
  section { padding: 52px 0; }
  h2 { font-size: 26px; }
  .hero h1 { font-size: 30px; }
  .card-scroll { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 66px; }
}
