/* ===== Гарант 365 — Design Tokens ===== */
:root {
  --color-black: #131110;
  --color-black-soft: #1D1A17;
  --color-orange: #FF6A1A;
  --color-orange-dark: #D4550E;
  --color-orange-tint: #FFF1E8;
  --color-gold: #E8B23D;
  --color-bg: #FAF7F2;
  --color-surface: #ffffff;
  --color-text: #1A1712;
  --color-text-muted: #6B6558;
  --color-border: #EAE3D6;
  --gradient-primary: linear-gradient(135deg, var(--color-orange) 0%, var(--color-gold) 100%);
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(19, 17, 16, 0.08);
  --shadow-md: 0 10px 26px rgba(19, 17, 16, 0.14);
  --shadow-lg: 0 22px 52px rgba(19, 17, 16, 0.22);
  --container-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-black);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; color: var(--color-text-muted); }
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-black);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--color-orange); color: #fff; }
.btn--primary:hover { background: var(--color-orange-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; border-color: var(--color-black); color: var(--color-black); }
.btn--outline:hover { background: var(--color-black); color: #fff; }
.btn--light { background: #fff; color: var(--color-black); }
.btn--light:hover { background: var(--color-orange-tint); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-black);
  font-size: 1.05rem;
}
.brand__text strong { font-weight: 800; color: var(--color-orange); }

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav__list > li > a,
.main-nav .dropdown-toggle {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  background: none;
  border: none;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font-body);
}
.main-nav__list > li > a:hover,
.main-nav .dropdown-toggle:hover { color: var(--color-orange-dark); }
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -14px;
  min-width: 240px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text);
}
.dropdown-menu li a:hover { background: var(--color-orange-tint); color: var(--color-orange-dark); }
.dropdown-menu__all { color: var(--color-orange-dark) !important; font-weight: 700; }
.chev { margin-top: 2px; opacity: 0.6; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-black);
  display: block;
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}
.mobile-menu.is-open { max-height: 80vh; overflow-y: auto; }
.mobile-menu ul { padding: 10px 20px 20px; }
.mobile-menu li a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}
.mobile-menu__group-title {
  padding: 14px 4px 4px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 700;
}

@media (max-width: 1000px) {
  .main-nav { display: none; }
  .site-header__actions .btn--primary { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-menu { display: block; }
}

/* ===== Hero ===== */
.hero {
  padding: 56px 0 72px;
  background: var(--color-black);
  color: #fff;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.tag {
  display: inline-block;
  background: rgba(255, 106, 26, 0.16);
  color: var(--color-orange);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 20px; }
.hero p.lead { color: rgba(255,255,255,0.78); font-size: 1.08rem; max-width: 52ch; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-badges li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-gold); flex-shrink: 0; }
.hero__art {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3.4;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.3), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(19,17,16,0.35), transparent 50%);
}
.hero__art-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 24px; gap: 14px; }
.hero__art-grid span { border: 1px solid rgba(255,255,255,0.25); border-radius: 14px; background: rgba(255,255,255,0.06); }
.hero__art-badge { position: absolute; bottom: 22px; left: 22px; right: 22px; background: rgba(255,255,255,0.97); border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--shadow-md); }
.hero__art-badge strong { display: block; color: var(--color-black); font-size: 1.3rem; font-family: var(--font-heading); }
.hero__art-badge span { color: var(--color-text-muted); font-size: 0.85rem; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; aspect-ratio: 16/10; }
}

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--color-surface); }
.section--dark { background: var(--color-black); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 660px; margin: 0 auto 42px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head--left { margin-left: 0; text-align: left; }

/* ===== Card grids ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; flex-grow: 1; }
.service-card__link { margin-top: 14px; font-weight: 800; font-size: 0.88rem; color: var(--color-orange-dark); display: inline-flex; align-items: center; gap: 6px; }

/* ===== Why grid ===== */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { background: var(--color-black); color: #fff; border-radius: var(--radius-md); padding: 24px 20px; }
.why-item h3 { color: var(--color-gold); font-size: 1rem; margin-bottom: 8px; }
.why-item p { color: rgba(255,255,255,0.78); font-size: 0.88rem; margin: 0; }

/* ===== Room / post cards ===== */
.room-grid, .post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .room-grid, .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .room-grid, .post-grid { grid-template-columns: 1fr; } }
.room-card, .post-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.room-card:hover, .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.room-card__num {
  aspect-ratio: 16/10;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 2.4rem;
}
.room-card__body, .post-card__body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.room-card h3, .post-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.room-card p, .post-card p { font-size: 0.88rem; flex-grow: 1; }
.room-card__link, .post-card__link { margin-top: 14px; font-weight: 800; font-size: 0.85rem; color: var(--color-black); }
.post-card__tag { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-orange-dark); margin-bottom: 6px; }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--color-orange-tint); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Breadcrumbs ===== */
.breadcrumbs { font-size: 0.85rem; color: var(--color-text-muted); padding: 18px 0 0; }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-orange-dark); }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }

/* ===== Process ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 22px; }
.process-step__num { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: var(--color-orange); margin-bottom: 10px; }
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.88rem; margin: 0; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-weight: 700; color: var(--color-black); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--color-orange-dark); flex-shrink: 0; transition: transform 0.15s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; margin: 0; font-size: 0.94rem; }
.faq-item p a { color: var(--color-orange-dark); font-weight: 700; text-decoration: underline; }

/* ===== Two-col / lists ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--color-text); }
.check-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-orange-dark); }

/* ===== Prices ===== */
.price-table { width: 100%; border-collapse: collapse; background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.94rem; }
.price-table th { background: var(--color-black); color: #fff; font-family: var(--font-heading); font-weight: 700; }
.price-table td:nth-child(2) { font-weight: 800; color: var(--color-orange-dark); }
.price-table tr:last-child td { border-bottom: none; }

/* ===== CTA band ===== */
.cta-band { background: var(--gradient-primary); border-radius: var(--radius-lg); padding: 52px 44px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(19,17,16,0.75); margin: 0; max-width: 46ch; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Contact cards ===== */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 24px 20px; text-align: center; }
.contact-card__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.contact-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.contact-card a, .contact-card p { font-size: 0.9rem; }

/* ===== Footer ===== */
.site-footer { background: var(--color-black); color: rgba(255,255,255,0.8); margin-top: 90px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 30px; padding: 60px 20px 40px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer .brand__text { color: #fff; }
.site-footer .brand__text strong { color: var(--color-gold); }
.site-footer__tagline { font-size: 0.88rem; margin: 14px 0 16px; color: rgba(255,255,255,0.55); }
.social-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: rgba(255,255,255,0.8); }
.site-footer__col h3 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.site-footer__col a:hover { color: var(--color-orange); }
.contact-list { display: grid; gap: 14px; }
.contact-list li { font-size: 0.88rem; color: rgba(255,255,255,0.72); }
.contact-list__label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.contact-list a { color: rgba(255,255,255,0.88); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 20px; font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* ===== WhatsApp FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 22px; right: 22px; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); z-index: 90; transition: transform 0.15s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); }

/* ===== Page hero (inner pages) ===== */
.page-hero { padding: 20px 0 50px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); max-width: 26ch; }
.page-hero p.lead { max-width: 62ch; font-size: 1.02rem; }

/* ===== Blog article ===== */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article h2 { font-size: 1.5rem; margin-top: 1.6em; }
.article h3 { font-size: 1.2rem; margin-top: 1.4em; }
.article p { color: var(--color-text); font-size: 1.02rem; }
.article ul, .article ol { margin: 0 0 1.2em; padding-left: 1.4em; color: var(--color-text); }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 0.5em; }
.article a { color: var(--color-orange-dark); font-weight: 600; text-decoration: underline; }
.article__meta { display: flex; gap: 14px; align-items: center; font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 10px; }
.article__meta .tag { margin-bottom: 0; }
.article-cta {
  background: var(--color-orange-tint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 2em 0;
  text-align: center;
}
.article-cta p { margin-bottom: 14px; }

/* ===== Misc ===== */
.eyebrow { font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-orange-dark); margin-bottom: 10px; display: block; }
.section-cta { text-align: center; margin-top: 36px; }
.data-note { font-size: 0.82rem; color: var(--color-text-muted); font-style: italic; }
.empty-state { background: var(--color-surface); border: 1px dashed var(--color-border); border-radius: var(--radius-md); padding: 48px; text-align: center; }
