﻿:root {
  --bg: #f7f4ee;
  --bg-soft: #fffaf1;
  --ink: #12263a;
  --muted: #5f6b76;
  --line: #e5ddcf;
  --primary: #006d77;
  --primary-2: #83c5be;
  --accent: #ff7a00;
  --card: #ffffff;
  --ok: #1b8a5a;
  --warn: #9c6a00;
  --radius: 14px;
  --shadow: 0 14px 34px rgba(18, 38, 58, 0.12);
  --promo-h: 44px;
  --header-h: 72px;
  --quick-h: 44px;
  --sticky-offset: calc(var(--promo-h) + var(--header-h) + var(--quick-h));
}

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

body {
  font-family: "Trebuchet MS", "Segoe UI", "Verdana", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1300px 420px at 85% -10%, rgba(255, 122, 0, 0.18), transparent 50%),
    radial-gradient(900px 380px at 10% -15%, rgba(0, 109, 119, 0.2), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  line-height: 1.65;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sticky-offset) + 12px);
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(1180px, 92%); margin: 0 auto; }

.top-promo {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(90deg, var(--accent), #ff8f1f);
  color: #1b1200;
  text-align: center;
  font-weight: 800;
  padding: 10px 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}

.top-promo a { color: #1b1200; text-decoration: none; }

.site-header {
  position: sticky;
  top: var(--promo-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  font-weight: 900;
  letter-spacing: 0.3px;
  color: var(--ink);
  font-size: 1.35rem;
}

.brand span { color: var(--accent); }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.main-nav a:hover {
  transform: translateY(-2px);
  border-color: var(--primary-2);
  background: #f6fffe;
}

.header-cta { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 800;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-login { color: var(--primary); border-color: var(--primary-2); background: #f2fffd; }
.btn-main { color: #fff; background: linear-gradient(135deg, var(--primary), #005760); box-shadow: 0 10px 22px rgba(0, 109, 119, .28); }

.btn-main:hover,
.btn-login:hover,
.cta-inline:hover,
.floating-cta:hover,
.slot-link:hover { transform: translateY(-2px); text-decoration: none; }

.sticky-quick-nav {
  position: sticky;
  top: calc(var(--promo-h) + var(--header-h));
  z-index: 95;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(7px);
  min-height: var(--quick-h);
}

.quick-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 9px 0;
  scrollbar-width: thin;
}

.quick-nav-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.quick-nav-inner a:hover {
  background: #f6fffe;
  border-color: var(--primary-2);
  text-decoration: none;
}

.hero { padding: 26px 0 16px; }

.hero-card {
  background: linear-gradient(135deg, #ffffff, #fff8ec);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 3.5vw, 42px);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -70px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0, 109, 119, .14), transparent 62%);
  pointer-events: none;
}

.hero h1 { font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.15; max-width: 920px; margin-bottom: 12px; }
.hero p { color: var(--muted); max-width: 920px; margin-bottom: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.promo-banner-section {
  margin: 8px 0 20px;
}

.promo-banner-link {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: auto;
  max-height: none;
  background: #1a1a1a;
}

.promo-banner-link img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.promo-banner-link img { max-height: 420px; margin: 0 auto; }

.breadcrumbs { margin: 14px 0 2px; color: var(--muted); font-size: 0.9rem; }

main.container { padding-top: 10px; }

.section {
  margin: 24px 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.6vw, 30px);
  scroll-margin-top: calc(var(--sticky-offset) + 12px);
}

.section h2 { font-size: clamp(1.3rem, 2.6vw, 2rem); margin-bottom: 10px; color: var(--ink); }
.section h3 { font-size: 1.08rem; margin-bottom: 6px; }
.section p { color: var(--muted); margin-bottom: 12px; }

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.seo-pill {
  background: #f7fbfd;
  border: 1px solid #d8eaec;
  border-radius: 10px;
  padding: 9px 11px;
  font-weight: 700;
  color: #24414a;
}

.seo-link { display: block; }

.adv-grid,
.providers-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.adv-card,
.provider-card,
.review-card {
  background: #fffdf8;
  border: 1px solid #efe4cc;
  border-radius: 12px;
  padding: 14px;
}

.review-stars {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.review-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eadcbc;
  margin-bottom: 8px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.slot-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.slot-card h3,
.slot-card p { padding: 0 12px; }

.slot-card p { margin-bottom: 12px; }

.slot-link {
  margin: 0 12px 12px;
  display: inline-flex;
  align-self: flex-start;
  padding: 9px 13px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #ff9126);
  color: #2d1d00;
  font-weight: 900;
}

.slot-image-wrap,
.mobile-app-image-wrap {
  width: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, #111a21, #1e2a33);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-app-image-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
}

@supports (aspect-ratio: 16 / 10) {
  .slot-image-wrap,
  .mobile-app-image-wrap {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

.slot-image-wrap img,
.mobile-app-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.slot-image-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #4a5a66;
  text-align: center;
  padding: 10px;
}

.slot-image-wrap.no-image .slot-image-fallback,
.mobile-app-image-wrap.no-image .slot-image-fallback { display: flex; }

.mobile-app-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 14px;
  align-items: start;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eef8f8; color: #174149; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
tr:hover td { background: #fcfffe; }

.status-ok,
.status-pending {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-ok { background: #e8f7ef; color: var(--ok); border: 1px solid #ccead8; }
.status-pending { background: #fff6e0; color: var(--warn); border: 1px solid #f2dfb2; }

.small-note { font-size: 0.88rem; }

.checklist { list-style: none; display: grid; gap: 8px; margin: 10px 0; }

.checklist li {
  background: #fffdf7;
  border: 1px solid #f0e5cc;
  border-radius: 10px;
  padding: 10px 12px;
  color: #4b4f55;
}

.checklist li::before {
  content: "OK";
  font-size: .76rem;
  font-weight: 900;
  color: #0f6a44;
  margin-right: 8px;
  border: 1px solid #c3e9d6;
  background: #e9f7f1;
  border-radius: 6px;
  padding: 2px 6px;
}

.cta-inline {
  display: inline-flex;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #ff9126);
  color: #2d1d00;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(255, 122, 0, 0.28);
}

.seo-text-block {
  background:
    radial-gradient(900px 240px at 10% -20%, rgba(0, 109, 119, 0.09), transparent 60%),
    linear-gradient(180deg, #fffdf8, #fff6e9);
  border: 1px solid #f1e3c4;
}

.provider-card {
  display: flex;
  flex-direction: column;
}

.provider-logo {
  width: 100%;
  max-width: 150px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 8px;
}

.provider-logo-dark {
  background: #162126;
  border-radius: 8px;
  padding: 8px;
}

.author-block {
  background: linear-gradient(180deg, #f8fbff, #f4f9fc);
}

.author-grid {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: start;
}

.author-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d7e4ef;
}

.main-footer {
  margin-top: 38px;
  border-top: 1px solid var(--line);
  background: #fffaf2;
  padding: 24px 0 74px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.footer-col h3 { color: var(--ink); font-size: 1rem; margin-bottom: 6px; }
.footer-col ul { list-style: none; display: grid; gap: 5px; }

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  background: linear-gradient(135deg, var(--accent), #ff9b37);
  color: #2b1700;
  font-weight: 900;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
  border: 1px solid rgba(255, 255, 255, .45);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 14px 30px rgba(0, 0, 0, .24); }
  50% { box-shadow: 0 16px 36px rgba(255, 122, 0, .35); }
}

@media (max-width: 920px) {
  :root {
    --promo-h: 40px;
    --header-h: 66px;
    --quick-h: 42px;
  }
  .site-header { top: var(--promo-h); }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav a { padding: 8px 10px; font-size: .88rem; }
  .sticky-quick-nav { top: calc(var(--promo-h) + var(--header-h)); }
  .mobile-app-grid { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-banner-link img { max-height: 320px; }
  .slot-image-wrap,
  .mobile-app-image-wrap { min-height: 170px; }
}

@media (max-width: 600px) {
  :root {
    --promo-h: 38px;
    --header-h: 64px;
    --quick-h: 40px;
  }
  .top-promo { font-size: .88rem; }
  .site-header { top: var(--promo-h); }
  .sticky-quick-nav { top: calc(var(--promo-h) + var(--header-h)); }
  .hero-actions { width: 100%; }
  .btn,
  .cta-inline,
  .slot-link { width: 100%; justify-content: center; }
  .floating-cta { left: 12px; right: 12px; text-align: center; border-radius: 12px; }
  .author-grid { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: 1fr; }
  .promo-banner-link img { max-height: 240px; }
  .slot-image-wrap,
  .mobile-app-image-wrap { min-height: 150px; }
}

