 :root{
      --green:#0f3a34;
      --green-2:#0b2f2b;
      --gold:#d6bf87;
      --gold-2:#c9b07a;
      --ink:#111;
      --paper:#ffffff;
      --line: rgba(255,255,255,.14);
      --line-dark: rgba(0,0,0,.12);
      --shadow: 0 14px 40px rgba(0,0,0,.12);

      --wrap: min(1180px, calc(100% - 200px)); /* big side paddings like design */
    }

    

    *{ box-sizing:border-box; }
    html,body{ height:100%; }
    body{
      margin:0;
      font-family:"Red Hat Display", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color:#0b0d0f;
      background:#fff;
    }
    img{ max-width:100%; display:block; }
    a{ color:inherit; text-decoration:none; }
    button{ font:inherit; }

    /* ===== Header / Hero ===== */
    header{
      position:relative;
      min-height: 720px;
      background:#000;
      overflow:hidden;
    }

    .nav-bar{
      position:relative;
      z-index:5;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 22px 100px;
      background: rgba(15,58,52,.92);
      border-bottom:1px solid rgba(255,255,255,.12);
      backdrop-filter: blur(6px);
    }
    .brand img{ height:68px; width:auto; }

    .nav-menu{
      display:flex;
      gap: 28px;
      align-items:center;
      font-family: Cormorant Garamond;
        font-weight: 600;
        font-style: SemiBold;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: middle;
        text-transform: uppercase;

      color: rgba(255,255,255,.92);
    }
    .nav-menu a{ opacity:.92; }
    .nav-menu a:hover{ opacity:1; }

    .burger, .mobile-panel{ display:none; }

    .header-content{
      position:relative;
      z-index:4;
      height: calc(720px - 86px);
      display:flex;
      align-items:center;
      justify-content:center;
      text-align:center;
      padding: 90px 20px 70px;
      color:#fff;
    }
    .header-content h1{
      font-family: "Kaisei Decol", serif;
      font-weight: 700;
      line-height: 1.05;          /* вместо фикс 83.2px */
      margin: 0 0 14px;
    }

    .header-content p{
      font-family: "Cormorant Garamond", serif;
      font-weight: 400;
      font-size: 36px;
      line-height: 1.25;          /* вместо 35.6px */
      margin: 0 auto 50px;        /* чтобы не липло к h1 и к кнопке */
      max-width: 895px;
    }

    .btn{
      display:inline-flex;
      border: none !important;
      align-items:center;
      justify-content:center;
      height: 42px;
      padding: 0 22px;
      border-radius: 0;
      background: var(--gold);
      color:#1a1a1a;
      text-transform:uppercase;
      box-shadow:none;
      cursor:pointer;

      font-family: Cormorant Garamond;
        font-weight: 700;
        font-style: Bold;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: middle;

    }
    .btn:hover{ background: var(--gold-2); }

    /* ===== Common section layout ===== */
    section{
      padding: 90px 0;
    }
    .wrap{
      width: var(--wrap);
      margin: 0 auto;
    }

    /* ===== “A New Era…” ===== */
    .intro{
      padding: 90px 0 70px;
      background:#fff;
    }
    .intro-grid{
      display:grid;
      grid-template-columns: 1.05fr 1fr;
      gap: 70px;
      align-items:center;
    }
    .intro h2{
      font-family: Kaisei Decol;
        font-weight: 700;
        font-style: Bold;
        font-size: 56px;
        leading-trim: NONE;
        line-height: 67px;
        letter-spacing: 0%;
        vertical-align: middle;

    }
    .intro p{
      font-family: Cormorant Garamond;
        font-weight: 400;
        font-style: Regular;
        font-size: 18px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        vertical-align: middle;

    }
    .intro .btn{ margin-top: 18px; }
    .intro-img{
      background:#fff;
      box-shadow: var(--shadow);
      border:1px solid rgba(0,0,0,.08);
    }
    .intro-img img{ display:block; }

    /* ===== Two cards: Specification / Development ===== */
    .section-tiles{
      background:#fff;
      padding: 60px 0 70px;
    }
    .tiles{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
    }
    .card{
      background:#fff;
      border:1px solid rgba(0,0,0,.08);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    .card .media{
      width:100%;
      height: 260px;
      object-fit:cover;
    }
    .card .body{
      text-align:center;
      padding: 24px 34px 30px;
    }
    .card h3{
      font-family: Cormorant Garamond;
        font-weight: 700;
        font-style: Bold;
        font-size: 24px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: middle;
        text-transform: uppercase;

    }
    .card p{
      font-family: Cormorant Garamond;
        font-weight: 400;
        font-style: Regular;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 25.6px;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: middle;

    }

    /* ===== Gallery ===== */
    .gallery-section{
      padding: 70px 0 70px;
      background:#fff;
    }
    .section-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      margin-bottom: 18px;
    }
    .section-head h2{
      font-family: Kaisei Decol;
        font-weight: 700;
        font-style: Bold;
        font-size: 42px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        vertical-align: middle;

    }
    .gallery-grid{
      display:grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-top: 18px;
    }
    .gallery-grid img{
      width:100%;
      height: 170px;
      object-fit:cover;
      border:1px solid rgba(0,0,0,.08);
      background:#f3f3f3;
    }

    /* ===== Local Area / Map ===== */
    .location-section{
      padding: 70px 0 70px;
      background:#fff;
    }
    .map-wrapper{
      border:1px solid rgba(0,0,0,.08);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    #map{ height: 500px; }

    /* ===== Stats strip (gold) ===== */
    .stats-strip{
  padding: 0;
  background: var(--gold);
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.28);
}

/* контейнер полосы (внутренние отступы как в макете) */
.stats-wrap{
  width: 100%;
  max-width: 1535px;
  margin:0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;

  /* вот это и создаёт отступ линий от краёв */
  padding: 0 178px;                 /* <-- регулируй (как на скрине) */
}

/* левая и правая "внутренние" линии */
.stats-wrap::before,
.stats-wrap::after{
  content:"";
  position:absolute;
  top: 28px;                        /* <-- высота линии сверху */
  bottom: 28px;                     /* <-- высота линии снизу */
  width: 1px;
  background: rgba(255,255,255,.35);
  pointer-events: none;
}

.stats-wrap::before{ left: 178px; }  /* совпадает с padding-left */
.stats-wrap::after { right: 178px; } /* совпадает с padding-right */

/* колонки */
.stat{
  padding: 40px 10px 44px;
  text-align: center;
  position: relative;
}

/* разделители между колонками (такие же, как боковые) */
.stat:not(:last-child)::after{
  content:"";
  position:absolute;
  top: 28px;
  bottom: 28px;
  right: 0;
  width: 1px;
  background: rgba(255,255,255,.35);
  pointer-events: none;
}
    .stat-num{
      font-family: Cormorant Infant;
        font-weight: 700;
        font-style: Bold;
        font-size: 210px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: middle;
        color:#fff
    }
    .stat-sub{
      font-family: Kaisei Decol;
        font-weight: 700;
        font-style: Bold;
        font-size: 18px;
        leading-trim: NONE;
        line-height: 28px;
        letter-spacing: 0%;
        text-align: center;
        text-transform: uppercase;

    }

    /* ===== Features (3 columns like design) ===== */
    .features-masonry{
      padding: 70px 0 90px;
      background:#fff;
    }
    .features-grid-masonry{
      width: var(--wrap);
      margin:0 auto;
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 36px;
      align-items:start;
    }
    .feature-card{
      text-align:center;
    }
    .feature-card img{
      width:100%;
      height: 380px;
      object-fit:cover;
      border:1px solid rgba(0,0,0,.08);
      box-shadow: var(--shadow);
      background:#f3f3f3;
    }
    .feature-card h3{
      font-family: Kaisei Decol;
        font-weight: 700;
        font-style: Bold;
        font-size: 32px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0.32px;
        text-align: center;
        vertical-align: middle;

    }
    .feature-card ul{
      list-style:none;
      padding:0;
      margin:0 auto;
      color: rgba(0,0,0,.68);
      font-family: Cormorant Garamond;
        font-weight: 500;
        font-style: Medium;
        font-size: 18px;
        leading-trim: NONE;
        line-height: 32px;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: middle;

      line-height:1.7;
    }
    .feature-card li{
      padding-left: 0;
      margin: 6px 0;
    }
    .feature-card li::before{
      content:"-";
      margin-right:8px;
      color: rgba(0,0,0,.55);
    }

    /* ===== Contact strip (dark green) ===== */
    .contact-strip{
      padding: 80px 0;
      background: var(--green);
      color: rgba(255,255,255,.9);
    }
    .contact-grid{
      width: var(--wrap);
      margin:0 auto;
      display:grid;
      grid-template-columns: 1fr 1.4fr 1fr;
      gap: 54px;
      align-items:start;
    }
    .contact-title{
      font-family: Kaisei Decol;
        font-weight: 700;
        font-style: Bold;
        font-size: 18.7px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        vertical-align: middle;

      position:relative;
      padding-bottom: 12px;
    }
    .contact-title::after{
      content:"";
      position:absolute;
      left:0; bottom:0;
      width: 120px;
      height:1px;
      background: #D6BB83;
    }
    .contact-text{
      font-family: Kaisei Decol;
        font-weight: 400;
        font-style: Regular;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        vertical-align: middle;

      color: rgba(255,255,255,.78);
    }
    .enquire-form{
      display:flex;
      flex-direction:column;
      gap: 10px;
      max-width: 520px;
    }
    .enquire-form .row.two{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    .enquire-form input,
    .enquire-form textarea{
      width:100%;
      background: transparent;
      border: 1px solid rgba(255,255,255,.18);
      color: rgba(255,255,255,.9);
      padding: 12px 12px;
      font-size: 12px;
      outline:none;
    }
    .enquire-form textarea{ resize: vertical; min-height: 120px; }
    .enquire-form input::placeholder,
    .enquire-form textarea::placeholder{
      color: rgba(255,255,255,.55);
    }
    .enquire-form .btn.submit{
      width: 170px;
      border: none;
      height: 38px;
      background: var(--gold);
      color:#111;
      margin-top: 10px;
    }

    .agent-logo{
      margin-top: 16px;
      background:#fff;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding: 16px 18px;
      border: 1px solid rgba(255,255,255,.12);
    }
    .agent-logo img{
      height: 34px;
      width:auto;
    }

    /* ===== Footer brand + bottom footer ===== */
    .footer-brand-block{
      background: #141414;
      color: rgba(214,191,135,.9);
      padding: 18px 0;
      display:flex;
      align-items:center;
      justify-content:center;
      gap: 12px;
      letter-spacing:.14em;
      text-transform:uppercase;
      font-size: 10px;
    }
    .footer-brand-block img{
      height: 22px;
      width:auto;
      filter: none;
    }
    footer{
      padding: 16px 0;
      font-family: Cormorant Garamond;
        font-weight: 400;
        font-style: Regular;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: middle;

      color: rgba(0,0,0,.45);
      background:#fff;
      border-top:1px solid rgba(0,0,0,.06);
    }

    /* ===== Lightbox (kept) ===== */
    .lightbox{
      position:fixed; inset:0;
      background: rgba(0,0,0,.78);
      display:none;
      align-items:center;
      justify-content:center;
      z-index: 50;
      padding: 30px;
    }
    .lightbox.is-open{ display:flex; }
    .lb-stage{
      position:relative;
      max-width: 980px;
      width: 100%;
      background:#111;
      border:1px solid rgba(255,255,255,.14);
      box-shadow: 0 30px 80px rgba(0,0,0,.45);
    }
    .lb-img{ width:100%; height:auto; display:block; }
    .lb-topbar{
      position:absolute; top:0; left:0; right:0;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 12px 12px;
      color:#fff;
      font-size: 12px;
      background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0));
    }
    .lb-btn{
      background: rgba(255,255,255,.12);
      color:#fff;
      width: 34px;
      height: 34px;
      cursor:pointer;
    }
    .lb-arrows{
      position:absolute;
      left:0; right:0;
      top:50%;
      transform: translateY(-50%);
      display:flex;
      justify-content:space-between;
      padding: 0 10px;
      pointer-events:none;
    }
    .lb-arrow{
      pointer-events:auto;
      width: 40px;
      height: 40px;
      font-size: 22px;
      line-height: 38px;
    }
    .lb-caption{
      position:absolute;
      left: 50%;
      transform: translateX(-50%);
      padding: 10px 12px;
      color: rgba(255,255,255,.8);
      font-size: 12px;
      background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0));
    }

    /* ===== Responsive ===== */
    @media (max-width: 1100px){
      :root{ --wrap: min(1180px, calc(100% - 80px)); }
      .nav-bar{ padding: 18px 40px; }
      .intro-grid{ grid-template-columns: 1fr; gap: 28px; }
      .tiles{ grid-template-columns: 1fr; }
      .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
      .features-grid-masonry{ grid-template-columns: 1fr; gap: 50px; }
      .contact-grid{ grid-template-columns: 1fr; gap: 34px; }
      .enquire-form{ max-width: 100%; }
    }
    @media (max-width: 620px){
      :root{ --wrap: calc(100% - 32px); }
      .nav-menu{ display:none; }
      .nav-bar{ padding: 16px 16px; }
      .header-content p{ font-size: 15px; }
      .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
      .stat-num{ font-size: 64px; }
      .stat{ padding: 28px 10px; }
    }

    .hero-alt{
        position: relative;
        height: 680px;
        overflow: hidden;
        border-bottom: 1px solid rgba(0,0,0,.08);
    }

    .hero-alt__bg{
        position:absolute;
        inset:0;
        background-position:center;
        background-size:cover;
        background-repeat:no-repeat;
        transform: scale(1.02);
    }

    /* мягкое “затемнение” как на скрине */
    .hero-alt::before{
        content:"";
        position:absolute;
        inset:0;
        background: linear-gradient(
            180deg,
            rgba(0,0,0,.35) 0%,
            rgba(0,0,0,.18) 45%,
            rgba(0,0,0,.40) 100%
        );
        z-index:1;
    }

    .hero-alt__content{
        position:relative;
        z-index:2;
        height:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        text-align:center;
        padding: 0 18px;
        color:#fff;
    }

    .hero-alt__content h2{
        margin: 0;                 /* ← важно */
        font-family: "Kaisei Decol", serif;
        font-weight: 700;
        font-size: 120px;
        line-height: 123.2px;
        text-align: center;
    }

    .hero-alt__content p{
        margin: 14px 0 70px;       /* ← контролируем отступы */
        font-family: "Cormorant Garamond", serif;
        font-weight: 400;
        font-size: 36px;
        line-height: 1.2;
        text-align: center;
    }
    .map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
    box-shadow: var(--shadow);
}

    /* Marker styles you had */
    .nataly-marker { position: relative; display:flex; flex-direction:column; align-items:center; }
    .nataly-marker-icon { width:42px; height:42px; display:block; }
    .marker-label { margin-top:6px; padding:4px 8px; border-radius:999px; color:#000; font-size:12px; line-height:1; font-weight:bold; white-space:nowrap; }

    /* ===== Map section (styled like design) ===== */
.map-wrap{
  padding: 70px 0 90px;
  background:#fff;
}

/* head same as Gallery */
.map-head{
  margin-bottom: 18px;
}

/* frame like cards/gallery */
.map-frame{
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  background:#fff;
}

/* override inline styles / default leaflet container */
.map-frame #map{
  height: 520px;      /* desktop */
  width: 100%;
}

/* Leaflet polish to match clean aesthetic */
.leaflet-container{
  font-family: "Red Hat Display", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.leaflet-control-container .leaflet-control{
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(0,0,0,.12);
}

.leaflet-bar a{
  background: #fff;
  color: #111;
}

.leaflet-bar a:hover{
  background: #f4f4f4;
}

/* hide big "Leaflet" outline artifacts on focus (optional) */
.leaflet-bar a:focus{
  outline: none;
}

/* ===== Responsive map ===== */
@media (max-width: 1100px){
  .map-frame #map{
    height: 460px;
  }
}

@media (max-width: 620px){
  .map-wrap{
    padding: 55px 0 70px;
  }
  .map-frame #map{
    height: 360px;
  }
  .map-head{
    gap: 12px;
  }
  .map-head .btn{
    height: 38px;
    padding: 0 16px;
    font-size: 14px;
  }
}

/* =========================
   RESPONSIVE OVERRIDES
   paste at the very end
========================= */

/* 1) Fluid typography baseline */
:root{
  --fs-h1: clamp(44px, 6.2vw, 120px);
  --fs-hero-sub: clamp(16px, 2.2vw, 36px);

  --fs-h2: clamp(28px, 3.4vw, 56px);
  --fs-section-title: clamp(26px, 3vw, 42px);

  --fs-body: clamp(15px, 1.1vw, 18px);
  --fs-card-title: clamp(18px, 1.8vw, 24px);
  --fs-card-text: clamp(14px, 1.1vw, 16px);

  --fs-stat: clamp(72px, 10vw, 210px);
  --fs-stat-sub: clamp(12px, 1.2vw, 18px);

  --fs-feature-title: clamp(22px, 2.4vw, 32px);
  --fs-feature-text: clamp(15px, 1.2vw, 18px);

  --section-py: clamp(52px, 7vw, 90px);
}

/* 2) Global section padding becomes fluid */
section{
  padding: var(--section-py) 0;
}

/* 3) Wrap: keep your desktop look, but scale paddings down smoothly */
:root{
  --wrap: min(1180px, calc(100% - clamp(32px, 10vw, 200px)));
}

/* 4) HERO */
header{
  min-height: clamp(560px, 75vh, 720px);
}
.header-content{
  height: auto;                 /* stop calc(720px - 86px) issues */
  min-height: clamp(520px, 68vh, 640px);
  padding: clamp(60px, 8vw, 90px) 20px clamp(48px, 6vw, 70px);
}
.header-content h1{
  font-size: var(--fs-h1);
}
.header-content p{
  font-size: var(--fs-hero-sub);
  line-height: 1.25;
  max-width: 895px;
  margin: 0 auto 50px;
}

/* Nav paddings scale down */
.nav-bar{
  padding: 22px clamp(16px, 6vw, 100px);
}
.nav-menu{
  gap: clamp(14px, 2.2vw, 28px);
  font-size: clamp(13px, 1.2vw, 16px);
}

/* 5) Buttons scale a bit on small screens */
.btn{
  height: 42px;
  padding: 0 22px;
  font-size: clamp(14px, 1.1vw, 16px);
}
@media (max-width: 620px){
  .btn{
    height: 40px;
    padding: 0 16px;
  }
}

/* 6) Intro */
.intro h2{
  font-size: var(--fs-h2);
  line-height: 1.15;
  margin: 0 0 14px;
}
.intro p{
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0;
}
.intro-grid{
  gap: clamp(22px, 5vw, 70px);
}

/* 7) Cards */
.card h3{
  font-size: var(--fs-card-title);
  margin: 0 0 10px;
}
.card p{
  font-size: var(--fs-card-text);
  line-height: 1.6;
  margin: 0 0 18px;
}
.card .media{
  height: clamp(200px, 24vw, 260px);
}
.card .body{
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3.2vw, 34px) clamp(22px, 3.5vw, 30px);
}

/* 8) HERO ALT */
.hero-alt{
  height: clamp(520px, 70vh, 680px);
}
.hero-alt__content h2{
  font-size: clamp(46px, 6vw, 120px);
  line-height: 1.03;
}
.hero-alt__content p{
  font-size: clamp(16px, 2.2vw, 36px);
  line-height: 1.2;
  margin: 14px 0 clamp(22px, 6vw, 70px);
}

/* 9) Gallery */
.section-head h2,
.map-head h2{
  font-size: var(--fs-section-title);
  line-height: 1.1;
  margin: 0;
}
.gallery-grid img{
  height: clamp(140px, 16vw, 170px);
}

/* 10) Stats strip */
.stat-num{
  font-size: var(--fs-stat);
}
.stat-sub{
  font-size: var(--fs-stat-sub);
  line-height: 1.45;
}
.stats-wrap{
  padding: 0 clamp(16px, 9vw, 178px);
}
.stats-wrap::before{ left: clamp(16px, 9vw, 178px); }
.stats-wrap::after { right: clamp(16px, 9vw, 178px); }

/* On small screens: stack stats, keep separators clean */
@media (max-width: 900px){
  .stats-wrap{
    grid-template-columns: 1fr;
  }
  .stats-wrap::before,
  .stats-wrap::after{
    display:none;
  }
  .stat{
    padding: 26px 10px 28px;
  }
  .stat:not(:last-child)::after{
    top: auto;
    bottom: 0;
    left: clamp(16px, 9vw, 178px);
    right: clamp(16px, 9vw, 178px);
    width: auto;
    height: 1px;
  }
}

/* 11) Map already responsive, just ensure spacing is consistent */
.map-wrap{
  padding: clamp(52px, 7vw, 70px) 0 clamp(64px, 8vw, 90px);
}
.map-frame #map{
  height: clamp(320px, 50vw, 520px);
}

/* 12) Features */
.feature-card h3{
  font-size: var(--fs-feature-title);
  margin: 18px 0 10px;
}
.feature-card ul{
  font-size: var(--fs-feature-text);
  line-height: 1.7;
}
.feature-card img{
  height: clamp(240px, 46vw, 380px);
}

/* 13) Contact */
.contact-strip{
  padding: clamp(60px, 8vw, 80px) 0;
}
.contact-title{
  font-size: clamp(14px, 1.2vw, 16px);
}
.contact-text{
  font-size: clamp(12px, 1vw, 13px);
  line-height: 1.75;
}
.enquire-form input,
.enquire-form textarea{
  font-size: 12px;
  padding: 12px 12px;
}

/* 14) Tablet refinements */
@media (max-width: 1100px){
  .tiles{ gap: 28px; }
  .gallery-grid{ gap: 10px; }
  .features-grid-masonry{ width: var(--wrap); }
}

/* 15) Mobile refinements */
@media (max-width: 620px){
  .brand img{ height: 54px; }
  .section-head{ gap: 12px; flex-wrap: wrap; }
  .gallery-grid{ gap: 8px; }
  .footer-delivered__top::before,
      .footer-delivered__top::after{ width: 40px; }
}

/* ===== Delivered by (REPLACEMENT for footer-brand-block) ===== */
    .footer-delivered{
      background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
      padding: 18px 0;
      border-top: 1px solid rgba(255,255,255,.06);
      display:flex;
      align-items:center;
      justify-content:center;
      text-align:center;
    }
    .footer-delivered__inner{
      display:flex;
      align-items:center;
      gap: 6px;
      padding: 4px 20px;
    }
    .footer-delivered__top{
      display:flex;
      align-items:center;
      gap: 10px;
      color: rgba(214,191,135,.85);
      text-transform: uppercase;
      letter-spacing: .22em;
      font-family: Alegreya Sans SC;
        font-weight: 500;
        font-style: Medium;
        font-size: 14px;
        leading-trim: NONE;
        line-height: 38px;
        letter-spacing: 0%;
        vertical-align: middle;

      line-height: 1;
      white-space: nowrap;
      margin-top: 25px;
    }
    .footer-delivered__logo{
      height: 52px; /* как на скрине */
      width:auto;
      opacity: .95;
    }
    .footer-delivered__sub{
      font-size: 8px;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: rgba(214,191,135,.60);
      line-height: 1;
    }

    /* ===== Mobile menu enable ===== */
@media (max-width: 620px){
  .nav-menu{ display:none; }

  .burger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.28);
    background: transparent;
    cursor: pointer;
  }

  /* burger icon */
  .burger span,
  .burger span::before,
  .burger span::after{
    content:"";
    display:block;
    width: 20px;
    height: 2px;
    background: rgba(255,255,255,.92);
    position: relative;
  }
  .burger span::before{ position:absolute; top:-6px; left:0; }
  .burger span::after { position:absolute; top: 6px; left:0; }

  .mobile-panel{
    display:none; /* по умолчанию закрыто */
    position:absolute;
    left:0;
    right:0;
    top: 100%;
    background: rgba(15,58,52,.98);
    border-bottom:1px solid rgba(255,255,255,.12);
    padding: 14px 16px 18px;
    z-index: 20;
  }

  .mobile-panel a{
    display:block;
    padding: 12px 4px;
    color: rgba(255,255,255,.92);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 16px;
  }

  .mobile-panel a + a{
    border-top: 1px solid rgba(255,255,255,.10);
  }

  /* когда открыто */
  .nav-bar.is-open .mobile-panel{
    display:block;
  }
}

/* Header must be relative */
header{
  position: relative;
  overflow: hidden;
}

/* Video layer */
.hero-video{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video__media{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

/* Overlay (readability) */
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8,12,15,.55) 0%,
    rgba(8,12,15,.25) 55%,
    rgba(8,12,15,.55) 100%
  );
}

/* Keep nav + content above video */
.nav-bar{ position: relative; z-index: 50; }
.header-content{ position: relative; z-index: 2; }

:root{
  --rev-dur: 1.0s;
  --rev-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--rev-dur) var(--rev-ease),
    transform var(--rev-dur) var(--rev-ease);
  transition-delay: var(--rev-delay, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-visible{
  opacity: 1;
  transform: none;
}

[data-reveal="fade-in"]{ transform: none; }
[data-reveal="fade-up"]{ transform: translateY(16px); }
[data-reveal="fade-down"]{ transform: translateY(-16px); }
[data-reveal="fade-left"]{ transform: translateX(18px); }
[data-reveal="fade-right"]{ transform: translateX(-18px); }

[data-reveal-parent] > *[data-reveal]{
  --rev-delay: calc(var(--rev-step, 0.08s) * var(--i, 0));
}

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; transition:none !important; }
}
