/* ==========================================================================
   rusrb.ru   Unified style.css (mobile-first)
   Pages: index.html, airport.html, bosnia.html, vojvodina.html, subotica.html
   Includes: Hero cinematic zoom + subtle parallax + TARA slideshow styles
   ========================================================================== */

/* =========================
   0) Variables / Base
   ========================= */
:root{
  /* Surfaces */
  --bg:#f4f7f6;
  --surface:#ffffff;

  /* Text */
  --text:#111827;
  --muted:#6b7280;

  /* Dark */
  --dark:#0f172a;
  --dark2:#111827;

  /* Brand */
  --brand:#f97316;
  --brand2:#ea580c;

  /* Borders / Radii / Shadow */
  --border:rgba(17,24,39,.10);
  --border2:rgba(17,24,39,.16);
  --r:18px;
  --r2:14px;
  --shadow:0 10px 26px rgba(15,23,42,.10);
  --shadow2:0 18px 40px rgba(15,23,42,.16);

  /* Layout */
  --container:1180px;
  --section:64px;
  --gap:24px;

  /* Motion */
  --t:.2s ease;
}

*,
*::before,
*::after{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  background:var(--dark); /* важное: фон под safe-area */
}

html, body{
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
}

img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }

.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

::selection{ background:rgba(249,115,22,.28); }

hr{
  border:0;
  border-top:1px solid var(--border);
  margin:28px 0;
}

/* lock scroll when lightbox open */
.no-scroll{ overflow:hidden; }

/* =========================
   1) Header / Nav
   ========================= */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(15,23,42,.92);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  color:#f9fafb;
  border-bottom:1px solid rgba(255,255,255,.08);
  padding-top: env(safe-area-inset-top, 0px);
}

.header__inner{
  position:relative; /* важно для абсолютного mobile меню */
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
}

.logo{
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:210px;
}
.logo{
  display:flex;
  flex-direction:column;
  gap:2px;
  /* min-width:210px;  ❌ убрать */
  flex:0 0 auto;
  white-space:nowrap;
}
.logo__title{
  font-weight:900;
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.logo__subtitle{
  font-size:12px;
  opacity:.85;
}

/* Desktop nav */
.nav-menu{
  margin:0;
  padding:0;
  display:flex;
  gap:10px;
  align-items:center;
}
.nav-menu li{ list-style:none; }
.nav-menu li.nav-apart{
  margin-right:6px;
  padding-right:16px;
  border-right:1px solid rgba(255,255,255,.28);
}

.nav-menu a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:14px;
  color:rgba(249,250,251,.92);
  transition:background var(--t), color var(--t), transform .08s ease;
}
.nav-menu a:hover{
  background:rgba(255,255,255,.12);
  color:#fff;
}
.nav-menu a:active{ transform:scale(.98); }

/* Burger (mobile) */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.06);
  padding:8px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:#fff;
  margin:4px 0;
  border-radius:3px;
  transition:transform var(--t), opacity var(--t);
}
.nav-toggle_open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle_open span:nth-child(2){ opacity:0; }
.nav-toggle_open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ✅ Mobile dropdown (исправлено: в закрытом состоянии НЕТ полоски) */
@media (max-width: 900px){
  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .nav-menu{
    position:absolute;
    left:0;
    right:0;
    top:calc(100% + 10px);

    display:block;

    /* Закрытое состояние: никаких padding/border/bg -> не рисуем "пилюлю" */
    padding:0;
    border:0;
    background:transparent;

    border-radius:16px;

    max-height:0;
    overflow:hidden;

    opacity:0;
    transform:translateY(-6px);
    pointer-events:none;

    transition:
      max-height .25s ease,
      opacity .18s ease,
      transform .18s ease;
  }

  .nav-menu.nav-menu_open{
    padding:10px 12px;
    background:rgba(15,23,42,.98);
    border:1px solid rgba(255,255,255,.10);

    max-height:560px;

    opacity:1;
    transform:none;
    pointer-events:auto;
  }

  .nav-menu li{ padding:4px 0; }
  .nav-menu li.nav-apart{
    margin:0 0 6px;
    padding:0 0 8px;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.28);
  }
  .nav-menu a{
    width:100%;
    justify-content:flex-start;
    padding:10px 12px;
    border-radius:12px;
  }
}

/* =========================
   2) Hero (zoom + parallax + crop)
   ========================= */
.hero{
  position:relative;
  overflow:hidden;
  color:#f9fafb;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:inherit;
  background-size:inherit;
  background-repeat:inherit;
  background-position:inherit;
  transform:scale(1.06);
  will-change:transform;
  z-index:0;
  animation:heroZoom 16s ease-in-out infinite alternate;
}

.hero__overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(120deg, rgba(15,23,42,.90), rgba(15,23,42,.35));
}

.hero__content{
  position:relative;
  z-index:2;
  padding:78px 0 84px;
}

.hero h1{
  margin:0 0 14px;
  font-size:clamp(26px, 4vw, 42px);
  letter-spacing:.01em;
}
.hero__subtitle{
  margin:0 0 22px;
  max-width:760px;
  font-size:16px;
  opacity:.95;
}
.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:0 0 14px;
}
.hero__note{
  font-size:13px;
  opacity:.92;
}

@media (prefers-reduced-motion: reduce){
  .hero::before{ animation:none; transform:scale(1.06); }
}
@keyframes heroZoom{
  from{ transform:scale(1.06); }
  to{ transform:scale(1.12); }
}

/* Subtle parallax only on desktop pointers */
@media (hover:hover) and (pointer:fine){
  .hero{ background-attachment:fixed; }
}
@media (max-width: 900px){
  .hero{ background-attachment:scroll; }
}

/* Hero backgrounds */
.hero--bosnia     { background-image:url("/images/bosnia.jpg"); }
.hero--airport    { background-image:url("/images/airport-hero.jpg"); }
.hero--vojvodina  { background-image:url("/images/vojvodina-novi-sad.jpg"); }
.hero--montenegro { background-image:url("/images/montenegro-hero.jpg"); }
.hero--subotica   { background-image:url("/images/hero-subotica.jpg"); }
.hero--serbia     { background-image:url("/images/serbia-hero.jpg"); }

.hero--novi-sad { background-image:url("/vojvodina/images/vojvodina-novi-sad.jpg"); background-position:center 42%; }
.hero--fruska   { background-image:url("/vojvodina/images/vojvodina-fruska-gora.jpg"); background-position:center 40%; }
.hero--wine     { background-image:url("/vojvodina/images/poti_med_vinogradi_naslovna.jpg"); background-position:center 45%; }
.hero:not(.hero--bosnia):not(.hero--airport):not(.hero--vojvodina):not(.hero--montenegro):not(.hero--subotica):not(.hero--sarajevo):not(.hero--mostar):not(.hero--neum):not(.hero--falls):not(.hero--sights):not(.hero--novi-sad):not(.hero--fruska):not(.hero--wine){
  background-image:url("/images/hero-belgrade.jpg");
}
.hero--sarajevo { background-image:url("/bosnia/images/sarajevo.webp"); background-position:center 42%; }
.hero--mostar   { background-image:url("/bosnia/images/mostar.jpg"); background-position:center 58%; }
.hero--neum     { background-image:url("/bosnia/images/neum.jpg"); background-position:center 48%; }
.hero--falls    { background-image:url("/bosnia/images/kravica.jpg"); background-position:center 40%; }
.hero--sights   { background-image:url("/bosnia/images/pocitelj.jpg"); background-position:center 42%; }

/* Bosnia crop tuning */
.hero--bosnia{ background-position:50% 50%; }
@media (max-width: 760px){ .hero--bosnia{ background-position:50% 45%; } }
@media (max-width: 420px){ .hero--bosnia{ background-position:50% 42%; } }

/* =========================
   3) Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:10px 18px;
  border-radius:999px;
  border:1px solid transparent;

  font-size:14px;
  font-weight:800;

  cursor:pointer;
  transition:background var(--t), border-color var(--t), color var(--t), transform .08s ease;
}
.btn:active{ transform:scale(.98); }

.btn-primary{
  background:var(--brand);
  border-color:var(--brand2);
  color:#111827;
}
.btn-primary:hover{
  background:var(--brand2);
  border-color:#c2410c;
  transform:translateY(-1px);
}

.btn-outline{
  background:transparent;
  border-color:rgba(255,255,255,.55);
  color:#fff;
}
.btn-outline:hover{
  background:rgba(255,255,255,.92);
  border-color:rgba(255,255,255,.92);
  color:#111827;
  transform:translateY(-1px);
}

/* optional: outline button on light bg */
.btn-dark-outline{
  border-color:rgba(17,24,39,.22);
  color:#111827;
}
.btn-dark-outline:hover{
  background:#111827;
  border-color:#111827;
  color:#fff;
}

/* =========================
   4) Sections / Titles
   ========================= */
.section{ padding:var(--section) 0; }

.section-light{
  background:var(--bg);
  color:var(--text);
}
.section-dark{
  background:var(--dark);
  color:#e5e7eb;
}
.section-accent{
  background:radial-gradient(circle at top left, #1f2937, var(--dark2));
  color:#f9fafb;
}

.section__title{
  margin:0 0 14px;
  font-size:26px;
  letter-spacing:.01em;
}
.section__title--light{ color:#f9fafb; }

.section__intro{
  margin:0 0 28px;
  max-width:820px;
  color:#4b5563;
  font-size:15px;
}
.section__intro--light{ color:#d1d5db; }

.section__subtitle{
  margin:0 0 10px;
  font-size:18px;
}
.section__subtitle--light{ color:#e5e7eb; }

/* =========================
   5) Grid helpers
   ========================= */
.grid{ display:grid; gap:var(--gap); }
.grid-2{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
.grid-3{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
.grid-4{ grid-template-columns:repeat(4, minmax(0, 1fr)); }

/* =========================
   6) Cards
   ========================= */
.info-card,
.price-card,
.tour-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--r);
  box-shadow:var(--shadow);
}

.info-card,
.price-card{ padding:18px 18px 16px; }

.section-accent .info-card,
.section-accent .price-card{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.10);
  box-shadow:none;
}

.info-card h3,
.price-card h3{ margin:0 0 8px; }

/* base text inside cards */
.info-card p{ margin:0; color:rgba(17,24,39,.86); }
.section-accent .info-card p{ color:rgba(249,250,251,.92); }

/* Price card */
.price-card__price{
  margin:0 0 10px;
  font-weight:900;
  font-size:16px;
}
.price-card__note{
  margin:12px 0 0;
  font-size:13px;
  opacity:.92;
}
.price-card ul{ margin:0; padding-left:18px; }
.price-card ul li{ list-style:disc; margin-bottom:6px; }

/* Tour cards */
.tour-card{
  overflow:hidden;
  transition:transform .18s ease-out, box-shadow .18s ease-out;
}
.tour-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow2); }
.tour-card__image-wrap{ height:180px; overflow:hidden; }
.tour-card__image-wrap img{ width:100%; height:100%; object-fit:cover; }
.tour-card__body{ padding:16px 18px 18px; }
.tour-card__body h3{ margin:0 0 8px; font-size:18px; }
.tour-card__body p{ margin:0 0 10px; color:rgba(17,24,39,.86); }
.tour-card__more{
  font-weight:900;
  font-size:13px;
  color:var(--brand2);
}

/* About highlights */
.about-highlights{
  display:grid;
  gap:12px;
  align-content:start;
}
.about-item{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--r2);
  padding:14px 14px 12px;
}
.about-item h3{ margin:0 0 6px; color:#f9fafb; }
.about-item p{ margin:0; color:#d1d5db; font-size:14px; }

/* =========================
   7) Lists / Notes / Timeline
   ========================= */
.list{
  margin:0 0 16px;
  padding-left:20px;
  font-size:14px;
}
.list li{
  list-style:disc;
  margin-bottom:8px;
}

/* list--light inherits currentColor; sections define intended color */
.list--light{ color:currentColor; }

.timeline{
  margin:0;
  padding-left:0;
  list-style:none;
  font-size:14px;
}
.timeline li{
  display:flex;
  gap:10px;
  margin-bottom:10px;
}
.timeline li span{
  min-width:120px;
  font-weight:900;
  opacity:.95;
}

.note{
  margin:14px 0 0;
  padding:12px 14px;
  border-radius:var(--r2);
  border:1px solid var(--border2);
  background:rgba(15,23,42,.04);
  color:rgba(17,24,39,.86);
  font-size:13px;
}

.section-dark .note,
.section-accent .note{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
  color:rgba(249,250,251,.92);
}

/* =========================
   8) Gallery
   ========================= */
.gallery{
  display:grid;
  gap:12px;
}
.gallery img{
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:14px;
  transition:transform .25s ease, box-shadow .18s ease-out;
}
.gallery img:hover{
  transform:translateY(-3px) scale(1.01);
  box-shadow:0 18px 36px rgba(15,23,42,.28);
}

/* Clickable gallery wrapper */
.gallery-link{
  display:block;
  color:inherit;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
  cursor:pointer;
}
.gallery-link:focus,
.gallery-link:focus-visible{ outline:none; }
.gallery-link:focus-visible .gallery{
  outline:2px solid var(--brand);
  outline-offset:6px;
  border-radius:14px;
}

/* =========================
   9) FAQ
   ========================= */
.faq{
  display:grid;
  gap:10px;
  max-width:900px;
}
.faq-item{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--r2);
  box-shadow:0 6px 16px rgba(15,23,42,.08);
  padding:10px 14px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:900;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item p{
  margin:10px 0 6px;
  color:rgba(17,24,39,.86);
}
.faq-item[open]{ background:#f9fafb; }

/* =========================
   10) Contacts
   ========================= */
.contacts-list p{ margin:0 0 10px; font-size:14px; }
.contacts-list a{
  color:var(--brand);
  font-weight:900;
  border-bottom:1px dashed rgba(249,115,22,.45);
}
.contacts-list a:hover{ border-bottom-color:rgba(249,115,22,.95); }

/* =========================
   11) Footer
   ========================= */
.footer{
  background:var(--dark);
  color:rgba(156,163,175,.95);
  border-top:1px solid rgba(255,255,255,.06);
  padding:14px 0 18px;
  font-size:13px;
}
.footer__inner{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:8px;
}
.footer__note{ opacity:.88; }

/* =========================
   12) TARA: Preview + Hover zoom
   ========================= */
.tara-slideshow-trigger{
  touch-action: manipulation;
  position:relative;
  border:0;
  padding:0;
  background:transparent;
  cursor:pointer;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
  -webkit-tap-highlight-color:transparent;
}

/* preview crop */
.tara-slideshow-trigger img{
  width:100%;
  height:420px;
  object-fit:cover;
  object-position:center;
  display:block;

  transition:transform .35s ease;
  will-change:transform;
}

@media (max-width: 760px){
  .tara-slideshow-trigger img{ height:360px; }
}

/* Hover zoom only with fine pointer */
@media (hover: hover) and (pointer: fine){
  .tara-slideshow-trigger{
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .tara-slideshow-trigger:hover{
    transform:translateY(-2px);
    box-shadow:0 22px 60px rgba(0,0,0,.22);
  }
  .tara-slideshow-trigger:hover img{
    transform:scale(1.05);
  }
}

.tara-slideshow-label{
  position:absolute;
  left:12px;
  bottom:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-size:13px;
  font-weight:900;
}

/* Android: allow click on trigger itself */
.tara-slideshow-trigger * { pointer-events:none; }

/* =========================
   13) TARA Lightbox / Slideshow
   ========================= */
.tara-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.92);
  padding:18px;
}
.tara-lightbox.open{ display:flex; }

.tara-lightbox__stage{
  margin:0;
  width:min(92vw, 520px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.tara-lightbox__img{
  width:100%;
  max-height:86vh;
  object-fit:contain;
  border-radius:16px;
  box-shadow:0 22px 60px rgba(0,0,0,.35);
}

.tara-lightbox__caption{
  color:rgba(255,255,255,.88);
  font-size:13px;
  font-weight:900;
  letter-spacing:.02em;
}

.tara-lightbox__close,
.tara-lightbox__prev,
.tara-lightbox__next{
  position:absolute;
  border:0;
  background:rgba(255,255,255,.10);
  color:#fff;
  width:46px;
  height:46px;
  border-radius:14px;
  font-size:34px;
  line-height:46px;
  cursor:pointer;
  transition:transform .08s ease, background var(--t);
}
.tara-lightbox__close:hover,
.tara-lightbox__prev:hover,
.tara-lightbox__next:hover{ background:rgba(255,255,255,.18); }
.tara-lightbox__close:active,
.tara-lightbox__prev:active,
.tara-lightbox__next:active{ transform:scale(.98); }

.tara-lightbox__close{ top:14px; right:14px; font-size:30px; }
.tara-lightbox__prev{ left:14px; top:50%; transform:translateY(-50%); }
.tara-lightbox__next{ right:14px; top:50%; transform:translateY(-50%); }

@media (max-width: 520px){
  .tara-lightbox__prev, .tara-lightbox__next{
    top:auto;
    bottom:16px;
    transform:none;
  }
  .tara-lightbox__prev{ left:16px; }
  .tara-lightbox__next{ right:16px; }
  .tara-lightbox__stage{ width:min(92vw, 420px); }
}

/* =========================
   14) Airport block styles
   ========================= */
.section-airport{
  background:linear-gradient(180deg, var(--bg), #eef2ff);
  color:var(--text);
}
.airport-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow2);
  padding:20px;
}
.airport-visual img{
  border-radius:18px;
  width:100%;
  height:auto;
}
.airport-title{ margin:16px 0 10px; font-size:26px; }
.airport-lead{ margin:0 0 16px; color:rgba(17,24,39,.84); }

.airport-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}
.airport-column h3{ margin:0 0 10px; }
.airport-list{ margin:0; padding-left:18px; }
.airport-list li{ margin:0 0 10px; }
.airport-steps{ margin:0; padding-left:18px; }
.airport-steps li{ margin:0 0 10px; }

.airport-contact{
  margin-top:14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--border2);
  background:rgba(15,23,42,.04);
}
.airport-contact-label{
  font-size:12px;
  color:rgba(17,24,39,.70);
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom:6px;
}
.airport-contact-main{ font-weight:900; margin-bottom:6px; }
.airport-contact-main a{
  color:var(--brand2);
  border-bottom:1px dashed rgba(249,115,22,.45);
}
.airport-contact-main a:hover{ border-bottom-color:rgba(249,115,22,.95); }
.airport-contact-text{ margin:0; font-size:13px; color:rgba(17,24,39,.80); }

@media (max-width: 760px){
  .airport-grid{ grid-template-columns:1fr; }
}

/* =========================
   15) Responsive (layout)
   ========================= */
@media (max-width: 980px){
  .grid-4{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .grid-3{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
  .section{ padding:54px 0; }
  .hero__content{ padding:84px 0 84px; }
  .logo{ min-width:0; }
}

@media (max-width: 420px){
  .hero__subtitle{ font-size:15px; }
  .timeline li span{ min-width:104px; }
}

/* =========================================================================
   TARA fixes: keep preview aligned and allow click-to-next slideshow
   ======================================================================= */
#tara .grid.grid-2{ align-items:start; }

#tara .tara-slideshow-trigger{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  text-align:left;
  align-self:start;
  justify-self:stretch;
}

#tara .tara-slideshow-trigger img{
  display:block;
  width:100%;
  height:auto;
}

#tara .tara-lightbox__img{ cursor:pointer; }

.logo:hover{ text-decoration:none; }
.logo:focus-visible{ outline:2px solid currentColor; outline-offset:4px; }

/* PALIC — весь текст чёрный */
#palic,
#palic * { color:#000 !important; }

/* ===============================
   АЭРОПОРТ — карточки с фоном
   =============================== */

.info-card--bg {
  position: relative;
  overflow: hidden;
  min-height: 260px;

  background-color: transparent;
  background-size: cover;
  background-position: center;

  color: #ffffff;
}

.info-card--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.75)
  );
  z-index: 1;
}

/* контент поверх затемнения */
.info-card--bg > * {
  position: relative;
  z-index: 2;
}

/* фоновые изображения */
.info-card--bg1 { background-image: url("/images/port04.png"); }
.info-card--bg2 { background-image: url("/images/port01.png"); }
.info-card--bg3 { background-image: url("/images/port02.png"); }
.info-card--bg4 { background-image: url("/images/port03.png"); }

/* типографика */
.info-card--bg h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.info-card--bg p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ffffff;
  opacity: 0.95;
}

.gallery--wide {
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form { display: grid; gap: 12px; max-width: 640px; }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 800; }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
}
.split { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.note.ok { background: #ecfdf3; border-color: #86efac; }
.note.bad { background: #fef2f2; border-color: #fecaca; }
.admin { width: min(1100px, calc(100% - 32px)); margin: 24px auto 48px; }
.admin table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; }
.admin th, .admin td { border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; padding: 10px; font-size: 14px; }
.admin .filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.admin .filters a { font-weight: 800; color: var(--brand2); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.postcard{
  display:grid;
  grid-template-columns:minmax(240px, 38%) 1fr;
  align-items:start;
  background:#fffdf8;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.postcard img{
  width:100%;
  height:auto;
  display:block;
}
.postcard__body{ padding:28px 28px 24px; position:relative; }
.postcard__stamp{
  float:right;
  margin:0 0 12px 16px;
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--brand2);
  border:2px dashed rgba(234,88,12,.55);
  border-radius:8px;
  transform:rotate(8deg);
}
.postcard h2{ margin:0 0 12px; font-size:26px; }
.postcard p{ margin:0 0 12px; }
@media (max-width: 760px){
  .postcard{ grid-template-columns:1fr; }
  .postcard img{ width:100%; height:auto; max-height:none; aspect-ratio:461/800; object-fit:cover; }
}

.place-nav{
  position:sticky;
  top:0;
  z-index:30;
  background:#fff;
  border-bottom:1px solid var(--border);
}
.place-nav ul{
  display:flex;
  gap:8px;
  margin:0;
  padding:12px 0;
  list-style:none;
  overflow-x:auto;
}
.place-nav a{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  color:#111827;
  text-decoration:none;
  white-space:nowrap;
}
.place-nav a:hover{ background:#fff7ed; }
.place-nav a[aria-current="page"]{ background:var(--brand); }

.bento{
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:14px;
}
.bento a{
  position:relative;
  display:block;
  min-height:240px;
  border-radius:18px;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
}
.bento a.bento--wide{ grid-column:1 / -1; min-height:360px; }
.bento img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.bento a:hover img{ transform:scale(1.04); }
.bento span{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:56px 18px 16px;
  background:linear-gradient(transparent, rgba(15,23,42,.78));
  font-weight:900;
  font-size:clamp(22px, 3vw, 32px);
}

.story{
  display:grid;
  grid-template-columns:minmax(220px, 340px) 1fr;
  align-items:stretch;
  margin:0 0 28px;
  background:#fffdf8;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.story img,
.story video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 30%;
  display:block;
  background:#111;
}
.story--photo{ align-items:start; }
.story--photo img{ height:auto; object-fit:contain; }
.story__body{ padding:28px 28px 12px; }
.story h2{ margin:0 0 12px; font-size:26px; }
.story h3{ margin:18px 0 10px; font-size:20px; }
.story p{ margin:0 0 14px; }
.story .list{ font-size:inherit; }
.story__body a,
.note a,
.price-card a,
.faq-item a,
.airport-contact-text a{
  color:var(--brand2);
  font-weight:800;
  border-bottom:1px dashed rgba(234,88,12,.55);
}
.story__body a:hover,
.note a:hover,
.price-card a:hover,
.faq-item a:hover,
.airport-contact-text a:hover{ border-bottom-color:var(--brand2); }
.hero__subtitle a,
.hero__note a{
  color:#fff;
  font-weight:800;
  border-bottom:1px dashed rgba(255,255,255,.75);
}
.section-dark p a{
  color:var(--brand);
  font-weight:800;
  border-bottom:1px dashed rgba(249,115,22,.75);
}
@media (max-width: 760px){
  .story{ grid-template-columns:1fr; }
  .story img,
  .story video{ max-width:420px; height:auto; }
}

.place-frame{
  margin:0 0 28px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow2);
}
.place-frame img{
  display:block;
  width:100%;
  max-height:620px;
  object-fit:cover;
}

.place-rail{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}
.place-rail__card{
  position:relative;
  display:block;
  min-height:150px;
  border-radius:16px;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
}
.place-rail__card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.place-rail__card span{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:36px 12px 10px;
  background:linear-gradient(transparent, rgba(15,23,42,.8));
  font-weight:800;
}

.falls-board{
  display:grid;
  grid-template-columns:minmax(200px, 320px) 1fr;
  gap:14px;
  margin-bottom:28px;
  align-items:stretch;
}
.falls-board img{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
  border-radius:18px;
}
.falls-board img:first-child{ object-position:center 30%; }

.sight-jump{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px;
}
.sight-jump a{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--border);
  font-weight:800;
  font-size:14px;
  color:#111827;
  text-decoration:none;
}
.sight-jump a:hover{ background:#fff7ed; }
.sight-board{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin:0 0 28px;
  padding:0;
  list-style:none;
}
.sight-board li{
  display:flex;
  flex-direction:column;
  min-height:0;
  padding:0;
  border-radius:18px;
  overflow:hidden;
  background:#fffdf8;
  color:var(--text);
  font-size:16px;
  font-weight:400;
  border:1px solid var(--border);
  box-shadow:var(--shadow2);
  scroll-margin-top:76px;
}
.sight-board img{
  width:100%;
  height:210px;
  object-fit:cover;
}
.sight-board div{ padding:16px 16px 6px; }
.sight-board h2{ margin:0 0 8px; font-size:22px; }
.sight-board p{ margin:0 0 12px; }
.sight-board a{
  color:var(--brand2);
  font-weight:800;
  border-bottom:1px dashed rgba(234,88,12,.55);
}
.sight-board a:hover{ border-bottom-color:var(--brand2); }

@media (max-width: 800px){
  .bento,
  .place-rail,
  .falls-board,
  .sight-board{ grid-template-columns:1fr; }
  .bento a.bento--wide{ min-height:240px; }
  .falls-board img{ min-height:280px; }
}