/* ===========================
   Пространство событий — стилистика: минимализм, воздух, крупная типографика
   =========================== */

   :root{
    --bg: #ffffff;
    --paper: #f3f2ef;     /* светлая подложка блока */
    --text: #161616;
    --muted: rgba(22,22,22,.72);
    --hair: rgba(22,22,22,.18);
    --shadow: rgba(0,0,0,.25);
  
    --container: 1160px;
  
    --serif: ui-serif, "Georgia", "Times New Roman", Times, serif;
    --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  }
  
  /* Reset */
  *{ box-sizing: border-box; }
  html, body{ height: 100%; }
  body{
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  img{ max-width: 100%; height: auto; display: block; }
  a{ color: inherit; text-decoration: none; }
  button{ font: inherit; }

  .sr-only{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  
  .container{
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
  }
  
  .section{
    padding: 76px 0;
  }
  @media (max-width: 720px){
    .section{ padding: 54px 0; }
    .container{ width: min(var(--container), calc(100% - 28px)); }
  }
  
  /* ===========================
     Header / Nav
     =========================== */
  .site-header{
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.06);
  }
  
  .nav{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 150px;
    gap: 16px;
  }
  
  .nav-left, .nav-right{
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
  }
  
  .nav-left{
    justify-content: flex-start;
  }
  .nav-right{
    justify-content: flex-end;
  }
  
  .nav-link{
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(22,22,22,.82);
    white-space: nowrap;
  }
  .nav-link:hover{ color: rgba(22,22,22,1); }
  
  .nav-logo{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 140px;
  }
  .nav-logo img{
    height: 89px;
    width: auto;
  }
  
  .icon-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .icon{
    width: 16px;
    height: 16px;
    opacity: .75;
  }
  
  /* Mobile menu */
  .burger{
    display: none;
    background: transparent;
    border: 0;
    padding: 10px;
    margin-left: -10px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
  }
  .burger span{
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(22,22,22,.9);
    margin: 0;
    transition: transform .22s ease, opacity .22s ease;
  }
  .burger span + span{
    margin-top: 4px;
  }
  .burger[aria-expanded="true"] span:nth-child(1){
    transform: none;
  }
  .burger[aria-expanded="true"] span:nth-child(2){
    opacity: 1;
  }
  .burger[aria-expanded="true"] span:nth-child(3){
    transform: none;
  }
  .burger span{
    border-radius: 999px;
  }
  .mobile-panel{
    display: none;
    border-top: 1px solid rgba(0,0,0,.06);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height .28s ease, opacity .22s ease, transform .22s ease, padding .22s ease;
  }
  .mobile-panel[data-open="true"]{
    max-height: 70vh;
    padding: 14px 0 18px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-grid{
    display: grid;
    gap: 10px;
  }
  .mobile-grid a{
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(22,22,22,.88);
  }
  
  @media (max-width: 980px){
    .nav{
      grid-template-columns: auto 1fr auto;
      height: 105px;
    }
    .nav-left .nav-link{ display: none; }
    .nav-right .nav-link{ display: none; }
    .burger{ display: inline-flex; }
    .mobile-panel{ display: block; }
    .nav-logo img{ height: 68px; }
  }
  
  /* ===========================
     Hero
     =========================== */
  .hero{
    position: relative;
    min-height: 72vh;
    display: grid;
    align-items: end;
    padding: 0;
  }
  
  .hero-media{
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 52%, rgba(0,0,0,.08) 100%),
      url("../assets/images/hero-main.webp") center/cover no-repeat;
  }
  
  .hero-inner{
    position: relative;
    padding: 96px 0 76px;
  }
  
  .hero-kicker{
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
    margin: 0 0 10px;
  }
  
  .hero-title{
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.0;
    font-size: clamp(44px, 6vw, 86px);
    color: #fff;
    margin: 0 0 14px;
    text-transform: uppercase;
  }
  
  .hero-subtitle{
    max-width: 560px;
    font-size: 15px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
    margin: 0;
  }
  
  @media (max-width: 720px){
    .hero-inner{ padding: 78px 0 56px; }
    .hero{ min-height: 68vh; }
  }
  
  /* ===========================
     Paper blocks (как светло-серые подложки на странице)
     =========================== */
  .paper{
    background: var(--paper);
    border: 1px solid rgba(0,0,0,.06);
    padding: 52px;
  }
  @media (max-width: 720px){
    .paper{ padding: 28px; }
  }
  
  .section-title{
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: .02em;
    font-weight: 500;
    margin: 0 0 18px;
    font-size: 35px;
  }
  @media (max-width: 720px){
    .section-title{ font-size: 29px; }
  }
  
  .lead{
    margin: 0;
    color: var(--muted);
    max-width: 760px;
  }
  
  /* ===========================
     Concept (двухколоночный блок)
     =========================== */
  .concept-grid{
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 44px;
    align-items: start;
  }
  @media (max-width: 900px){
    .concept-grid{ grid-template-columns: 1fr; gap: 16px; }
  }
  
  .concept-text p{
    margin: 0 0 14px;
    color: var(--muted);
  }
  
  /* ===========================
     Choose space cards
     =========================== */
  .h2-line{
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: .02em;
    font-weight: 500;
    font-size: 35px;
    margin: 0 0 28px;
  }
  
  .cards3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .card{
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
  }
  .card-media{
    aspect-ratio: 3/4;
    background: #ddd center/cover no-repeat;
  }
  @media (max-width: 980px){
    .cards3{ grid-template-columns: 1fr; }
    .card-media{
      aspect-ratio: 4/5;
    }
  }
  .card-body{
    padding: 18px 18px 20px;
    display: grid;
    gap: 12px;
  }
  .card-title{
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: .02em;
    font-weight: 500;
    font-size: 23px;
    margin: 0;
    text-align: center;
  }
  
  .btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(0,0,0,.50);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
  }
  .btn:hover{
    background: rgba(0,0,0,.03);
  }
  
  .arrow{
    font-size: 15px;
    line-height: 1;
  }
  
  /* ===========================
     About block (фото слева, текст справа, светлая подложка)
     =========================== */
  .about-wrap{
    background: var(--paper);
    border: 1px solid rgba(0,0,0,.06);
    padding: 52px;
  }
  @media (max-width: 720px){
    .about-wrap{ padding: 28px; }
  }
  
  .about-grid{
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 44px;
    align-items: start;
  }
  @media (max-width: 980px){
    .about-grid{ grid-template-columns: 1fr; }
  }
  
.about-photo{
  overflow: hidden;
}
  .about-photo img{ width: 100%; height: 100%; object-fit: cover; }
  
  .about-text h3{
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: .02em;
    font-weight: 500;
    font-size: 29px;
    margin: 0 0 12px;
  }
  .about-text p{
    margin: 0 0 12px;
    color: var(--muted);
  }
  .signature{
    margin-top: 18px;
    color: rgba(22,22,22,.92);
  }
  
  /* ===========================
     Location page (галерея/параметры)
     =========================== */
  .page-hero{
    padding: 54px 0 22px;
  }
  .page-title{
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: .02em;
    font-weight: 500;
    font-size: clamp(34px, 4vw, 56px);
    margin: 0 0 10px;
  }
  .page-sub{
    margin: 0;
    color: var(--muted);
    max-width: 860px;
  }
  
  .meta-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 26px;
  }
  @media (max-width: 900px){
    .meta-grid{ grid-template-columns: 1fr; }
  }
  .meta{
    border: 1px solid rgba(0,0,0,.10);
    padding: 18px;
    background: #fff;
  }
  .meta b{
    display: block;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .meta span{
    color: var(--muted);
  }
  
  .gallery{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
    margin-top: 24px;
  }
  .gallery .g{
    border: 1px solid rgba(0,0,0,.10);
    overflow: hidden;
    background: #ddd center/cover no-repeat;
    min-height: 180px;
  }
  .g.span-7{ grid-column: span 7; }
  .g.span-5{ grid-column: span 5; }
  .g.span-6{ grid-column: span 6; }
  .g.span-12{ grid-column: span 12; }
  @media (max-width: 900px){
    .g.span-7, .g.span-5, .g.span-6{ grid-column: span 12; }
  }
  
  /* ===========================
     Portfolio grid
     =========================== */
  .portfolio-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
  }
  .portfolio-item{
    border: 1px solid rgba(0,0,0,.10);
    overflow: hidden;
    background: #ddd center/cover no-repeat;
    aspect-ratio: 4/3;
  }
  @media (max-width: 980px){
    .portfolio-grid{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 560px){
    .portfolio-grid{ grid-template-columns: 1fr; }
  }
  
  /* ===========================
     Footer
     =========================== */
  .site-footer{
    padding: 56px 0;
    border-top: 1px solid rgba(0,0,0,.06);
  }
  .footer-top{
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  .footer-links{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-small{
    font-size: 13px;
    color: rgba(22,22,22,.68);
    line-height: 1.6;
  }
  .hr{
    height: 1px;
    background: rgba(0,0,0,.10);
    margin: 18px 0;
  }
  
  /* ===========================
     Helpers
     =========================== */
  .spacer-28{ height: 28px; }
.spacer-40{ height: 40px; }
.center{ text-align: center; }

/* ===========================
   Home page size overrides
   =========================== */
.container{
  width: min(1320px, calc(100% - 56px));
}

.section{
  padding: 92px 0;
}

.hero{
  min-height: 78vh;
}

.paper,
.about-wrap{
  padding: 62px;
}

.cards3{
  gap: 30px;
}

.card-media{
  aspect-ratio: 3/4;
  background-position: center top;
}

.card-body{
  padding: 22px 22px 24px;
}

.card-title{
  font-size: 27px;
}

.about-grid{
  grid-template-columns: 620px 1fr;
  gap: 56px;
}

.about-photo{
  min-height: 760px;
}

@media (max-width: 980px){
  .container{
    width: min(var(--container), calc(100% - 32px));
  }
  .section{
    padding: 64px 0;
  }
  .paper,
  .about-wrap{
    padding: 34px;
  }
  .cards3{
    gap: 20px;
  }
  .card-media{
    aspect-ratio: 4/5;
  }
  .about-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-photo{
    min-height: 0;
  }
}

/* ===========================
   Event page (portfolio item)
   =========================== */

.nav--event .nav-left{ gap: 14px; }

.event-wrap{
  background: #efeeeb; /* как светлая “песочная” подложка на PDF */
}

.event-hero{
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 34px;
  align-items: start;
  padding: 22px 0 18px;
}

.event-hero__image{
  display: block;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  overflow: hidden;
}
.event-hero__image img{
  width: 100%;
  height: auto;
  display: block;
}

.event-hero__info{
  padding-top: 10px;
  display: grid;
  gap: 22px;
}

.event-hero__title{
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 25px;
}
.event-hero__subtitle{
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22,22,22,.70);
}
.event-hero__organizer{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22,22,22,.78);
}
.event-hero__actions .btn{
  max-width: 320px;
}

/* Gallery grid */
.event-gallery{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.eg{
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  overflow: hidden;
  display: block;
  position: relative;
}
.eg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
}

/* spans */
.eg--span-4{ grid-column: span 4; }

/* heights */
.eg--h-sm{ aspect-ratio: 4/3; }
.eg--h-md{ aspect-ratio: 4/3; }
.eg--h-lg{ aspect-ratio: 4/3; } /* можно менять под свои фото */

/* divider line like in PDF */
.event-divider{
  height: 1px;
  background: rgba(0,0,0,.18);
  margin: 36px 0 10px;
}

@media (max-width: 980px){
  .event-hero{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .event-hero__actions .btn{
    max-width: 100%;
  }
  .eg--span-4{
    grid-column: span 12;
  }
}

/* ===========================
   Venue pages (как в PDF Vigbo)
   =========================== */

.venue-blank-hero{
  background: #fff;
  padding: 64px 0 40px;
}
.venue-blank-hero__box{
  position: relative;
  min-height: 56vh;
  border-bottom: 1px solid rgba(0,0,0,.14);
}
.venue-logo-left{
  position: absolute;
  left: clamp(8px, 1.4vw, 22px);
  top: 50%;
  transform: translateY(-50%);
  width: min(430px, 42vw);
  opacity: .95;
}
@media (max-width: 900px){
  .venue-blank-hero__box{ min-height: 44vh; }
  .venue-logo-left{
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(320px, 72vw);
  }
}

.venue-media-row{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  align-items: stretch;
}
.venue-media-row__big,
.venue-media-row__small{
  border: 1px solid rgba(0,0,0,.10);
  overflow: hidden;
  background: #ddd center/cover no-repeat;
}
.venue-media-row__big{ aspect-ratio: 16/9; }
.venue-media-row__small{ aspect-ratio: 3/4; }

@media (max-width: 980px){
  .venue-media-row{ grid-template-columns: 1fr; }
  .venue-media-row__small{ aspect-ratio: 16/9; }
}

/* Tochka Neba top layout (logo left + large slider right) */
.tn-hero{
  background: #d9d9d9;
  padding: 44px 0 36px;
}
.tn-hero-layout{
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 26px;
  align-items: center;
}
.tn-hero-logo-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
}
.tn-hero-logo{
  width: min(420px, 100%);
  height: auto;
}
.tn-hero-slider{
  border: 1px solid rgba(0,0,0,.10);
  background: #ddd center/cover no-repeat;
  aspect-ratio: 16/10;
}

.slideshow-host{
  position: relative;
}

.slideshow-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  color: #fff;
  font-size: 29px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}

.slideshow-nav:hover{
  background: rgba(0,0,0,.4);
}

.slideshow-nav:active{
  transform: translateY(-50%) scale(.97);
}

.slideshow-nav--prev{ left: 14px; }
.slideshow-nav--next{ right: 14px; }

@media (max-width: 980px){
  .tn-hero-layout{
    grid-template-columns: 1fr;
  }
  .tn-hero-logo{
    width: min(320px, 72vw);
  }
  .tn-hero-slider{
    aspect-ratio: 4/3;
  }
  .slideshow-nav{
    width: 36px;
    height: 36px;
    font-size: 25px;
  }
  .slideshow-nav--prev{ left: 10px; }
  .slideshow-nav--next{ right: 10px; }
}

.venue-about{
  background: #efeeeb;
  padding: 46px 0;
  border-bottom: 1px solid rgba(0,0,0,.14);
}
.venue-about__grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: start;
}
@media (max-width: 980px){
  .venue-about__grid{ grid-template-columns: 1fr; gap: 18px; }
}

.venue-h{
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 35px;
  margin: 0 0 14px;
}
.venue-p{
  margin: 0 0 12px;
  color: rgba(22,22,22,.74);
  max-width: 760px;
}
.venue-metrics{
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.venue-metric{
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(22,22,22,.88);
}
.venue-metric b{ color: rgba(22,22,22,1); }

.venue-address{
  padding-top: 8px;
}
.venue-address b{
  display: block;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.venue-address .addr{
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 29px;
  line-height: 1.1;
  margin: 0 0 14px;
}
.venue-address .btn{
  width: 280px;
  max-width: 100%;
  background: rgba(0,0,0,.75);
  color: #fff;
  border-color: rgba(0,0,0,.75);
}
.venue-address .btn:hover{ background: rgba(0,0,0,.85); }

.venue-mini-gallery{
  background: #efeeeb;
  padding: 16px 0 34px;
}
.venue-mini-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.venue-mini{
  border: 1px solid rgba(0,0,0,.10);
  overflow: hidden;
  background: #ddd center/cover no-repeat;
  aspect-ratio: 4/3;
}
@media (max-width: 980px){
  .venue-mini-grid{ grid-template-columns: 1fr; }
}

.venue-tiles{
  background: #efeeeb;
  padding: 26px 0 56px;
}
.tiles-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.tiles-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.tile{
  display: grid;
  gap: 12px;
  text-align: center;
}
.tile-img{
  border: 1px solid rgba(0,0,0,.10);
  overflow: hidden;
  background: #ddd center/cover no-repeat;
  aspect-ratio: 4/3;
}
.tile-title{
  font-size: 17px;
  letter-spacing: .08em;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(22,22,22,.82);
}

.venue-tiles--tn .tiles-grid{
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.venue-tiles--tn .tile-img{
  aspect-ratio: 1/1;
}
@media (max-width: 980px){
  .tiles-row{ grid-template-columns: 1fr; }
  .tiles-grid{ grid-template-columns: repeat(2, 1fr); }
  .venue-tiles--tn .tiles-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .tiles-grid{ grid-template-columns: 1fr; }
  .venue-tiles--tn .tiles-grid{ grid-template-columns: 1fr; }
}

/* Pricing (Terrasa) */
.pricing-wrap{
  background: #efeeeb;
  padding: 46px 0 56px;
  border-top: 1px solid rgba(0,0,0,.14);
}
.pricing-title{
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 35px;
  margin: 0 0 18px;
}
.pricing-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px){
  .pricing-grid{ grid-template-columns: 1fr; }
}
.price-list{
  display: grid;
  gap: 14px;
}
.price-block{
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.14);
}
.price-block h4{
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.price-block div{
  color: rgba(22,22,22,.75);
  font-size: 15px;
  line-height: 1.7;
}
.pricing-photo{
  border: 1px solid rgba(0,0,0,.10);
  overflow: hidden;
  background: #ddd center/cover no-repeat;
  aspect-ratio: 3/4;
}

/* ===========================
   Betonika sections pages (conditions / rules)
   =========================== */

.section-page{
  background: #efeeeb; /* как подложка в ваших pdf-страницах */
  padding: 56px 0;
}

.section-card{
  background: #efeeeb;
  border-top: 1px solid rgba(0,0,0,.14);
  border-bottom: 1px solid rgba(0,0,0,.14);
  padding: 34px 0 26px;
}

.section-grid{
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 26px;
  align-items: start;
}

.section-h{
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 35px;
  margin: 0 0 18px;
}

.section-lines{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.section-line{
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(22,22,22,.88);
}

.section-note{
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22,22,22,.74);
  line-height: 1.7;
}

.section-photo{
  border: 1px solid rgba(0,0,0,.10);
  overflow: hidden;
  background: #ddd center/cover no-repeat;
  aspect-ratio: 4/3;
}

.section-bottom{
  margin-top: 22px;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.section-bottom .btn{
  width: 260px;
  max-width: 100%;
  background: rgba(0,0,0,.75);
  color: #fff;
  border-color: rgba(0,0,0,.75);
}
.section-bottom .btn:hover{ background: rgba(0,0,0,.85); }

@media (max-width: 980px){
  .section-grid{
    grid-template-columns: 1fr;
  }
  .section-photo{
    aspect-ratio: 16/9;
  }
}

/* ===========================
   Tochka Neba sections pages
   =========================== */

.tn-section{
  background:#efeeeb;
  padding: 56px 0;
}

.tn-card{
  border-top: 1px solid rgba(0,0,0,.14);
  border-bottom: 1px solid rgba(0,0,0,.14);
  padding: 34px 0 26px;
}

.tn-grid{
  display:grid;
  grid-template-columns: 1fr 520px;
  gap: 26px;
  align-items:start;
}

.tn-title{
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 35px;
  margin: 0 0 18px;
}

.tn-text{
  color: rgba(22,22,22,.76);
  line-height: 1.85;
  margin: 0 0 14px;
}

.tn-strong{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22,22,22,.82);
  margin-top: 18px;
  line-height: 1.7;
}

.tn-photo{
  border: 1px solid rgba(0,0,0,.10);
  overflow:hidden;
  background:#ddd center/cover no-repeat;
  aspect-ratio: 4/3;
}

.tn-divider{
  height: 1px;
  background: rgba(0,0,0,.14);
  margin: 22px 0;
}

.tn-actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tn-actions .btn{
  width: 260px;
  max-width: 100%;
  background: rgba(0,0,0,.75);
  color:#fff;
  border-color: rgba(0,0,0,.75);
}
.tn-actions .btn:hover{ background: rgba(0,0,0,.85); }
.tn-actions .btn--ghost{
  background: transparent;
  color: var(--text);
  border-color: rgba(0,0,0,.30);
}

/* Prices layout */
.tn-prices-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.tn-price-col{
  padding: 0 0 6px;
  border-right: 1px solid rgba(0,0,0,.14);
}
.tn-price-col:last-child{ border-right: none; }

.tn-price-head{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: rgba(22,22,22,.84);
}

.tn-price-line{
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: rgba(22,22,22,.86);
  line-height: 1.8;
}

.tn-footnote{
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22,22,22,.70);
  line-height: 1.7;
}

/* Downloads block (space plan) */
.tn-downloads{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.tn-link{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22,22,22,.82);
}
.tn-link:hover{ color: rgba(22,22,22,1); }

/* Furniture grid */
.tn-furniture{
  background:#efeeeb;
  padding: 40px 0 56px;
}
.tn-furniture-head{
  text-align:center;
  margin-bottom: 18px;
}
.tn-furniture-sub{
  margin: 10px auto 0;
  max-width: 520px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22,22,22,.70);
  line-height: 1.7;
}
.tn-items{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tn-item{
  display:grid;
  gap: 10px;
}
.tn-item-img{
  border: 1px solid rgba(0,0,0,.10);
  overflow:hidden;
  background:#ddd center/cover no-repeat;
  aspect-ratio: 4/3;
}
.tn-item-name{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22,22,22,.88);
}
.tn-item-meta{
  font-size: 13px;
  color: rgba(22,22,22,.72);
  line-height: 1.7;
}

@media (max-width: 980px){
  .tn-grid{ grid-template-columns: 1fr; }
  .tn-photo{ aspect-ratio: 16/9; }

  .tn-prices-grid{ grid-template-columns: 1fr; }
  .tn-price-col{ border-right: none; border-top: 1px solid rgba(0,0,0,.14); padding-top: 14px; }
  .tn-price-col:first-child{ border-top: none; padding-top: 0; }

  .tn-items{ grid-template-columns: 1fr; }
}

/* ===========================
   Portfolio + Contacts pages (Vigbo-like)
   =========================== */

.page-hero{
  background: #efeeeb;
  padding: 44px 0 34px;
  border-top: 1px solid rgba(0,0,0,.14);
  border-bottom: 1px solid rgba(0,0,0,.14);
}

.page-title{
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 45px;
  margin: 0 0 18px;
}

@media (max-width: 980px){
  .page-title{ font-size: 35px; }
}

/* Portfolio grid */
.portfolio-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}

.portfolio-card{
  display: grid;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.portfolio-card__img{
  border: 1px solid rgba(0,0,0,.10);
  overflow: hidden;
  background: #ddd center/cover no-repeat;
  aspect-ratio: 4/3;
}

.portfolio-card__cap{
  text-align: center;
  font-size: 17px;
  letter-spacing: .08em;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(22,22,22,.74);
}

@media (max-width: 1100px){
  .portfolio-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .portfolio-grid{ grid-template-columns: 1fr; }
}

/* Contacts top layout */
.contacts-top{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items: start;
}

.contacts-photo{
  border: 1px solid rgba(0,0,0,.10);
  overflow: hidden;
  background: #ddd center/cover no-repeat;
  aspect-ratio: 16/9;
}

.contacts-box{
  padding-top: 8px;
}

.contacts-h{
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 35px;
  margin: 0 0 12px;
}

.contacts-sub{
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 29px;
  margin: 0 0 12px;
}

.contacts-lines{
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}
.contacts-line{
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(22,22,22,.82);
}
.contacts-line a{
  color: inherit;
  text-decoration: none;
}
.contacts-line a:hover{ text-decoration: underline; }

.venue-tabs{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.venue-tab{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  padding: 10px 12px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22,22,22,.82);
}
.venue-addr{
  margin-top: 10px;
  font-size: 14px;
  color: rgba(22,22,22,.72);
}

@media (max-width: 980px){
  .contacts-top{ grid-template-columns: 1fr; }
  .contacts-photo{ aspect-ratio: 4/3; }
  .venue-tabs{ grid-template-columns: 1fr; }
}

/* Maps */
.maps-wrap{
  background: #efeeeb;
  padding: 18px 0 44px;
}
.maps-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.map-frame{
  border: 1px solid rgba(0,0,0,.10);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4/3;
}
.map-frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 980px){
  .maps-grid{ grid-template-columns: 1fr; }
  .map-frame{ aspect-ratio: 16/10; }
}

/* Maps titles (Contacts) */
.map-card{
  display: grid;
  gap: 10px;
}

.map-title{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22,22,22,.82);
}

.map-subtitle{
  margin-top: 2px;
  font-size: 15px;
  color: rgba(22,22,22,.72);
}

/* Light reveal animation for page sections */
.js-enabled main section.reveal-on-scroll{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.js-enabled main section.reveal-on-scroll.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .js-enabled main section.reveal-on-scroll{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===========================
   Mobile polish
   =========================== */
html,
body{
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 980px){
  .nav{
    height: 96px;
    gap: 10px;
  }

  .mobile-grid a{
    font-size: 12px;
    letter-spacing: .1em;
    padding: 13px 4px;
  }

  .hero{
    min-height: 62vh;
  }

  .hero-inner{
    padding: 72px 0 48px;
  }

  .about-photo{
    max-height: 460px;
  }
}

@media (max-width: 720px){
  .container{
    width: min(var(--container), calc(100% - 24px));
  }

  .section{
    padding: 52px 0;
  }

  .paper,
  .about-wrap{
    padding: 24px;
  }

  .hero-title{
    font-size: clamp(30px, 10vw, 40px);
    line-height: 1.04;
    letter-spacing: .01em;
  }

  .hero-subtitle{
    font-size: 12px;
    letter-spacing: .09em;
  }

  .section-title,
  .h2-line,
  .venue-h,
  .pricing-title,
  .section-h,
  .tn-title,
  .contacts-h,
  .contacts-sub{
    font-size: 27px;
    line-height: 1.08;
  }

  .card-title{
    font-size: 22px;
  }

  .btn{
    height: 42px;
    font-size: 11px;
    letter-spacing: .1em;
  }

  .slideshow-nav{
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
}

@media (max-width: 560px){
  .nav{
    height: 84px;
  }

  .nav-logo{
    min-width: 0;
  }

  .nav-logo img{
    height: 52px;
  }

  .hero{
    min-height: 56vh;
  }

  .hero-inner{
    padding: 62px 0 36px;
  }

  .page-title{
    font-size: 30px;
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .venue-address .addr,
  .tile-title,
  .portfolio-card__cap{
    font-size: 15px;
    letter-spacing: .06em;
    overflow-wrap: anywhere;
  }

  .venue-metric,
  .section-line,
  .tn-price-line,
  .contacts-line{
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .venue-about,
  .venue-tiles,
  .pricing-wrap,
  .section-page,
  .tn-section,
  .maps-wrap{
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .event-divider{
    margin: 24px 0 10px;
  }
}

@media (max-width: 380px){
  .container{
    width: min(var(--container), calc(100% - 18px));
  }

  .hero-title{
    font-size: clamp(27px, 11vw, 34px);
  }

  .paper,
  .about-wrap{
    padding: 18px;
  }

  .section-title,
  .h2-line,
  .venue-h,
  .pricing-title,
  .section-h,
  .tn-title,
  .contacts-h,
  .contacts-sub{
    font-size: 24px;
  }
}
  
