/* =========================================================
   BEZ Balloons — modern site stylesheet (2024 refresh)
   Pure CSS, no framework. Works offline, fully responsive.
   ========================================================= */

:root {
  --red: #d7263d;
  --red-dark: #b01e31;
  --gold: #f5a623;
  --teal: #0f8b8d;
  --violet: #5d3fd3;
  --ink: #232936;
  --body: #3d4451;
  --muted: #6b7280;
  --line: #e7e9f0;
  --soft: #f7f8fb;
  --soft-2: #fff4f1;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(35, 41, 54, 0.08);
  --shadow-lg: 0 18px 50px rgba(35, 41, 54, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 860px; }

.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 44px; height: 44px; flex: none; }
.brand__name { font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.brand__name b { color: var(--red); }
.brand__tag { display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.main-nav a:hover { background: var(--soft); color: var(--red); }
.main-nav a[aria-current="page"] { background: var(--red); color: #fff; }
.main-nav a[aria-current="page"]:hover { background: var(--red-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 11px; cursor: pointer;
}
.nav-toggle__bar { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none; padding: 12px 20px 18px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 11px 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; border: 0; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(215, 38, 61, 0.28); }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(215, 38, 61, 0.34); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(93, 63, 211, 0.14), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(15, 139, 141, 0.12), transparent 60%),
    linear-gradient(180deg, #fffdfb 0%, var(--soft) 100%);
  padding: 64px 0 72px;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 32px; } }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 0.82rem; font-weight: 700; color: var(--red);
  box-shadow: var(--shadow); margin-bottom: 18px;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 .accent { color: var(--red); }
.hero__lead { font-size: 1.13rem; color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media-wrap { position: relative; }
.hero__media {
  border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden;
  border: 6px solid #fff; transform: rotate(1.2deg);
}
.hero__badge {
  position: absolute; left: -14px; bottom: 26px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 18px; display: flex; gap: 12px; align-items: center;
  transform: rotate(-2deg);
}
.hero__badge strong { color: var(--ink); font-size: 1.05rem; display: block; line-height: 1.2; }
.hero__badge span { color: var(--muted); font-size: 0.8rem; }
.hero__badge-dot { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--gold), var(--red)); display: grid; place-items: center; color: #fff; font-weight: 800; }

/* ---------- Trust strip ---------- */
.trustbar { border-block: 1px solid var(--line); background: #fff; padding: 22px 0; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { .trustbar__grid { grid-template-columns: repeat(2, 1fr); } }
.trustbar__item { display: flex; gap: 12px; align-items: flex-start; }
.trustbar__icon { font-size: 1.5rem; line-height: 1; }
.trustbar__item strong { display: block; color: var(--ink); font-size: 0.95rem; line-height: 1.3; }
.trustbar__item span { color: var(--muted); font-size: 0.83rem; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section--tint { background: linear-gradient(180deg, #fff, var(--soft)); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.04rem; margin: 0; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 2px 8px rgba(35, 41, 54, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.card { display: block; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.card__icon--red { background: var(--soft-2); }
.card__icon--gold { background: #fef6e7; }
.card__icon--teal { background: #e8f5f5; }
.card__icon--violet { background: #f1ecfd; }
.card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.card p { color: var(--muted); font-size: 0.94rem; margin: 0 0 12px; }
.card__link { font-weight: 700; font-size: 0.92rem; color: var(--red); }
.card--media { padding: 0; overflow: hidden; }
.card--media .card__body { padding: 20px 22px 22px; }
.card--media img { width: 100%; height: 200px; object-fit: cover; }
.card--media img.ph { object-fit: contain; padding: 26px; background: var(--soft); }

/* ---------- Category / service cards ---------- */
.service-card { position: relative; }
.service-card .card__arrow { position: absolute; top: 24px; right: 22px; color: var(--line); font-size: 1.2rem; transition: color .15s, transform .15s; }
a.card:hover .service-arrow { color: var(--red); transform: translateX(3px); }

/* ---------- Split feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } }
.feature__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.feature__list { list-style: none; padding: 0; margin: 0 0 24px; }
.feature__list li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.feature__list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 0.7rem;
  display: grid; place-items: center; font-weight: 800;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.gallery figure {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; cursor: zoom-in; transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.gallery figure:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery img { width: 100%; height: 170px; object-fit: cover; }
.gallery img.ph { object-fit: contain; background: var(--soft); }
.gallery figcaption { padding: 10px 14px; font-size: 0.85rem; color: var(--ink); font-weight: 600; }
.gallery figure::after {
  content: "🔍"; position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,.9); border-radius: 50%;
  width: 30px; height: 30px; display: grid; place-items: center; font-size: .8rem;
  opacity: 0; transition: opacity .15s;
}
.gallery figure:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */
dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 88vh;
}
dialog.lightbox::backdrop { background: rgba(20, 22, 30, 0.82); }
dialog.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
dialog.lightbox figcaption { color: #fff; text-align: center; margin-top: 10px; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--red); font-weight: 400; flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--body); font-size: 0.97rem; }
.faq-item[open] { box-shadow: var(--shadow); border-color: #f0d2d6; }

/* ---------- Price table / promo cards ---------- */
.promo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: center; position: relative; overflow: hidden;
}
.promo-card .promo-tag {
  position: absolute; top: 14px; right: -34px; transform: rotate(38deg);
  background: var(--gold); color: #fff; font-size: 0.7rem; font-weight: 800;
  padding: 4px 40px; letter-spacing: 0.08em;
}
.promo-card .price-old { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.promo-card .price-new { color: var(--red); font-size: 1.9rem; font-weight: 800; }
.promo-card h3 { margin: 6px 0 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #232936 0%, #3a2140 55%, #8e1c2e 100%);
  color: #fff; border-radius: 24px; padding: 52px 48px;
  display: grid; grid-template-columns: 1.2fr auto; gap: 28px; align-items: center;
}
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c9cdd8; margin: 0; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 300px at 90% -30%, rgba(93, 63, 211, 0.12), transparent 60%),
    linear-gradient(180deg, #fffdfb, var(--soft));
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero .lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0; }

/* ---------- Sub-nav (category quick links) ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.cat-nav a {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: 0.88rem; font-weight: 600; color: var(--ink);
}
.cat-nav a:hover { border-color: var(--red); color: var(--red); background: #fff; }
.cat-nav a.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Gallery section anchors ---------- */
.cat-section { margin-bottom: 56px; scroll-margin-top: 96px; }
.cat-section > h2 { font-size: 1.4rem; padding-bottom: 12px; border-bottom: 3px solid var(--red); display: inline-block; margin-bottom: 6px; }
.cat-section .cat-sub { color: var(--muted); margin-bottom: 18px; font-size: 0.95rem; }

/* ---------- Info cards (contact) ---------- */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 12px; }
.info-card address { font-style: normal; line-height: 1.7; }

/* ---------- Prose ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose blockquote {
  margin: 1.5em 0; padding: 18px 24px; background: var(--soft);
  border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0;
}
.prose .note { background: #fff8e6; border: 1px solid #f3e3b3; border-radius: 12px; padding: 14px 18px; font-size: 0.94rem; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; margin-bottom: 26px; }
.timeline__item::before {
  content: ""; position: absolute; left: -31px; top: 5px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--red); border: 3px solid #f8d7dc;
}
.timeline__item strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: #1c202b; color: #aab0bd; margin-top: 72px; font-size: 0.94rem; }
.site-footer a { color: #d6dae4; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 40px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.04em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer .brand__name { color: #fff; font-size: 1.15rem; }
.site-footer .brand__tag { color: #8b91a1; }
.footer-bottom {
  border-top: 1px solid #2c3140; padding: 20px 0; display: flex;
  justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; color: #8b91a1;
}
.footer-balloon { font-size: 1.6rem; }

/* ---------- Misc ---------- */
.badge {
  display: inline-block; background: #fdf0e3; color: #9a6b10;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 0.82rem; font-weight: 600; color: var(--body);
}
.notice {
  background: #eef7f7; border: 1px solid #cfe8e8; color: #0b5c5e;
  border-radius: 12px; padding: 12px 16px; font-size: 0.92rem; margin: 18px 0;
}
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-row strong { display: block; font-size: 1.7rem; color: var(--red); font-weight: 800; }
.stat-row span { color: var(--muted); font-size: 0.88rem; }

.back-top { text-align: center; padding: 10px 0 30px; }

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
}

:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 4px; }