/* Guidly · публичный сайт гида (имя.guidly.site). Редизайн по design_handoff (guide-landing).
   --accent подставляется из настроек гида (JS), всё интерактивное — в акценте.
   Заголовки Montserrat, текст Inter. Единый вертикальный ритм --sec. */
:root{
  --accent:#ff5533; --accent-d:#e8472b; --accent-soft:rgba(255,85,51,.10);
  --ink:#05203c; --muted:#5a6872; --line:#e7e9ec; --panel:#fff; --soft:#f5f6f8; --star:#ffb100;
  --green:#12855b;
  --sh-sm:0 1px 2px rgba(20,24,30,.06),0 1px 3px rgba(20,24,30,.05);
  --sh-md:0 10px 30px rgba(20,24,30,.12);
  --sec:32px;
}
*{box-sizing:border-box}
body{margin:0;background:var(--panel);color:var(--ink);font-family:'Inter',system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:'Montserrat',system-ui,sans-serif;margin:0;letter-spacing:-.015em;line-height:1.14}
p{margin:0}
button{font-family:inherit;cursor:pointer}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-d)}
img{max-width:100%;display:block}
.loading{padding:80px 20px;text-align:center;color:var(--muted)}
.wrap{max-width:1160px;margin:0 auto}
.sec{padding-left:20px;padding-right:20px}
.secpad{padding-top:var(--sec)}
.h2{font-size:22px;font-weight:800;margin-bottom:18px}
.ph{background-image:repeating-linear-gradient(135deg,#e3e7eb 0 12px,#eef1f4 12px 24px);background-size:cover;background-position:center}

/* nav */
.nav{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px}
.nav-in .name{font-family:'Montserrat';font-weight:700;font-size:15px;color:var(--ink)}

/* buttons */
.btn{border:none;border-radius:12px;font-weight:600;cursor:pointer}
.btn-accent{background:var(--accent);color:#fff}
.btn-ghost{background:var(--accent-soft);color:var(--accent-d);border:1px solid var(--accent)}
.btn-nav{font-size:13px;padding:9px 16px;border-radius:11px}
.btn-cta{font-size:16px;font-weight:700;padding:15px 26px;border-radius:14px;box-shadow:var(--sh-sm);width:100%}

/* hero */
.hero-in{display:flex;flex-direction:column;gap:20px}
.hero-photo{width:100%;aspect-ratio:4/3;border-radius:20px;box-shadow:var(--sh-sm);cursor:zoom-in}
.pill{display:inline-flex;align-items:center;gap:6px;background:var(--accent-soft);color:var(--accent-d);font-weight:700;font-size:13px;padding:6px 12px;border-radius:20px;margin-bottom:14px}
.h1{font-size:30px;font-weight:800}
.slogan{font-size:17px;color:var(--muted);line-height:1.45;margin-top:14px;max-width:36ch}
.hero-actions{margin-top:20px}
.rating{display:flex;align-items:center;gap:8px}
.stars{display:inline-flex;gap:2px;color:var(--star)}

/* grids — mobile first */
.grid-exc{display:grid;grid-template-columns:1fr;gap:16px}
.grid-why{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.grid-gal{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.grid-rev{display:grid;grid-template-columns:1fr;gap:14px}
.grid-foot{display:grid;grid-template-columns:1fr;gap:22px}

/* excursion card */
.exc-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:22px}
.exc-head h2{font-size:26px;font-weight:800}
.exc-head .cnt{font-size:14px;color:var(--muted)}
.exc{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--panel);box-shadow:var(--sh-sm);display:flex;flex-direction:column;text-align:left;padding:0}
.exc-photo{position:relative;aspect-ratio:3/2}
.exc-photo img{width:100%;height:100%;object-fit:cover}
.exc-badge{position:absolute;top:11px;left:11px;background:var(--ink);color:#fff;font-weight:700;font-size:12px;padding:5px 10px;border-radius:9px}
.exc-body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:10px;flex:1}
.exc-body h3{font-size:17px;font-weight:700;line-height:1.25}
.exc-meta{display:flex;align-items:center;gap:14px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.exc-meta span{display:inline-flex;align-items:center;gap:5px}
.exc-foot{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding-top:6px}
.price-l{font-size:12px;color:var(--muted)}
.price{font-family:'Montserrat';font-weight:800;font-size:21px}
.exc-foot .btn{font-size:14px;padding:10px 16px;border-radius:11px}

/* cards / facts / why */
.card{border:1px solid var(--line);border-radius:16px;padding:18px;background:var(--panel)}
.why-item{display:flex;flex-direction:column}
.ico{width:38px;height:38px;border-radius:11px;background:var(--accent-soft);display:flex;align-items:center;justify-content:center;margin-bottom:12px;color:var(--accent);font-size:20px;font-weight:700}
.about-text{font-size:15.5px;color:#404750;line-height:1.62;max-width:70ch}
.facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.fact{display:flex;align-items:center;gap:8px;background:var(--soft);border-radius:12px;padding:10px 15px}
.fact b{font-family:'Montserrat';font-weight:800;font-size:18px;color:var(--accent)}
.fact span{font-size:13px;color:var(--muted)}
.policy{margin-top:16px;font-size:14px;color:#404750;display:flex;flex-direction:column;gap:6px;max-width:70ch}

/* gallery */
.gal-cell{border:none;padding:0;aspect-ratio:1;border-radius:14px;overflow:hidden;cursor:pointer;background:var(--soft)}
.gal-cell img{width:100%;height:100%;object-fit:cover}

/* reviews */
.rev-body{font-size:14.5px;color:#404750;line-height:1.58;margin:10px 0 12px}
.rev-meta{font-size:13px;color:var(--muted);font-weight:600}

/* faq */
.faq{max-width:70ch}
.faq-item{border-top:1px solid var(--line)}
.faq-q{width:100%;background:none;border:none;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;font-size:15.5px;font-weight:600;color:var(--ink)}
.faq-q svg{flex:0 0 auto;transition:transform .2s;stroke:var(--muted)}
.faq-item.open .faq-q svg{transform:rotate(180deg)}
.faq-a{font-size:14.5px;color:#4b5158;line-height:1.6;padding:0 0 18px;max-width:64ch;display:none;white-space:pre-line}
.faq-item.open .faq-a{display:block}

/* steps (опционально — «как проходит бронирование») */
.steps{display:grid;grid-template-columns:1fr;gap:14px}
.step{border:1px solid var(--line);border-radius:14px;padding:16px}
.step-n{width:30px;height:30px;border-radius:50%;background:var(--accent);color:#fff;font-family:'Montserrat';font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.step h3{font-size:16px;font-weight:700;margin-bottom:4px}
.step p{font-size:14px;color:var(--muted);line-height:1.5}

/* blog (опционально) */
.art{border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:14px;background:var(--panel)}
.art-cover{aspect-ratio:16/7;background-size:cover;background-position:center}
.art-inner{padding:16px 18px}
.art-title{font-size:17px;font-weight:700;margin-bottom:6px}
.art-teaser{font-size:14.5px;color:#404750;line-height:1.55}
.art-full{display:none;font-size:14.5px;color:#404750;line-height:1.6;margin-top:8px}
.art.open .art-full{display:block}
.art.open .art-teaser{display:none}
.art-more{margin-top:10px;background:none;border:none;color:var(--accent-d);font-weight:600;padding:0}

/* footer */
.foot{padding-top:var(--sec);padding-bottom:36px;margin-top:var(--sec);background:var(--soft)}
.foot h3{font-size:16px;font-weight:700;margin-bottom:12px}
.foot-col a,.foot-col .fc{font-size:14px;color:#404750;display:flex;align-items:center;gap:9px;margin-bottom:8px}
.msgr{display:flex;gap:10px;flex-wrap:wrap}
.msgr a{border:1px solid var(--line);background:var(--panel);border-radius:11px;padding:10px 14px;font-weight:600;color:var(--ink)}
.legal{font-size:12px;color:var(--muted);line-height:1.6;margin-top:26px;padding-top:18px;border-top:1px solid var(--line)}
.legal-nav{display:flex;flex-wrap:wrap;gap:10px 16px;margin-bottom:10px}
.legal-nav a{font-size:12.5px;color:var(--muted)}

/* booking overlay (виджет по «Подробнее») */
.book-ov{position:fixed;inset:0;z-index:100;background:rgba(5,10,18,.55);display:flex}
.book-ov .box{background:var(--panel);width:min(560px,100%);height:100%;margin-left:auto;box-shadow:var(--sh-md);display:flex;flex-direction:column}
.book-ov .obar{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--line)}
.book-ov .obar b{font-family:'Montserrat';font-size:14px}
.book-ov .oclose{border:none;background:var(--soft);width:34px;height:34px;border-radius:50%;font-size:18px;cursor:pointer}
.book-ov iframe{border:0;width:100%;flex:1}

/* lightbox (используется openLightbox из JS) */
.g-lightbox{position:fixed;inset:0;z-index:120;background:rgba(5,10,18,.82);display:flex;align-items:center;justify-content:center;padding:40px}
.g-lightbox img{max-width:min(760px,92vw);max-height:86vh;border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.g-lightbox .lb-close{position:fixed;top:22px;right:26px;width:44px;height:44px;border-radius:50%;border:none;background:rgba(255,255,255,.15);color:#fff;font-size:22px;cursor:pointer}
.g-lightbox .lb-nav{position:fixed;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:none;background:rgba(255,255,255,.15);color:#fff;font-size:26px;cursor:pointer}
.g-lightbox .lb-prev{left:20px}.g-lightbox .lb-next{right:20px}
.g-lightbox .lb-counter{position:fixed;bottom:24px;left:0;right:0;text-align:center;color:#fff;font-size:14px}

.empty{color:var(--muted);font-size:14px}

/* ===== desktop ===== */
@media (min-width:720px){
  :root{--sec:60px}
  .sec{padding-left:56px;padding-right:56px}
  .hero-in{flex-direction:row;align-items:center;gap:44px}
  .hero-photo{width:44%;flex:0 0 44%;aspect-ratio:1;max-width:420px}
  .hero-text{flex:1}
  .h1{font-size:42px}
  .btn-cta{width:auto}
  .hero-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
  .grid-exc{grid-template-columns:1fr 1fr 1fr}
  .grid-why{grid-template-columns:repeat(4,1fr)}
  .grid-gal{grid-template-columns:repeat(4,1fr)}
  .grid-rev{grid-template-columns:1fr 1fr}
  .grid-foot{grid-template-columns:1.4fr 1fr 1fr}
  .steps{grid-template-columns:repeat(3,1fr)}
}
