:root{
  --black:#050505;
  --black-2:#101010;
  --white:#ffffff;
  --red:#f04e37;
  --red-dark:#d84430;
  --text:#161616;
  --muted:#6b6b6b;
  --footer:#252525;
  --max:1240px;
  --narrow:1040px;
}

*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
}

body{
  font-family:'Inter', sans-serif;
  background:var(--black);
  color:var(--white);
}

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

a{
  text-decoration:none;
  color:inherit;
}

h1,h2,h3,h4,h5{
  font-family:'Montserrat', sans-serif;
  margin:0;
}

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

.narrow{
  width:min(var(--narrow), 100%);
}

/* =========================
   TOPBAR / NAV
========================= */
.topbar{
  background:var(--black);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.08);
  position:sticky;
  top:0;
  z-index:20;
}

.nav{
  min-height:64px;
  display:flex;
  align-items:center;
  gap:16px;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:140px;
}

.brand-logo{
  width:180px;
  height:auto;
}

.nav-links{
  display:flex;
  gap:22px;
  margin-left:20px;
  color:rgba(255,255,255,.92);
  font-size:14px;
}

.nav-links a{
  opacity:.85;
}

.nav-links a:hover{
  opacity:1;
  text-decoration:underline;
}

.nav-links a.active{
  opacity:1;
  font-weight:700;
}

.nav-toggle{
  display:none;
  margin-left:auto;
  width:44px;
  height:40px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.25);
  color:#fff;
  border-radius:8px;
  cursor:pointer;
}

.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:2px;
  font-size:11px;
  font-weight:800;
}

.btn-header{
  margin-left:auto;
  background:var(--red);
  color:#fff;
  transition:background .2s ease;
}

.btn-header:hover{
  background:var(--red-dark);
}

/* =========================
   PAGE
========================= */
.services-page{
  background:var(--black);
  position:relative;
  overflow:hidden;
}

.service-block{
  padding:54px 0 46px;
  position:relative;
}

.first-block{
  padding-top:38px;
}

.tours-block::after{
  content:"";
  position:absolute;
  right:-40px;
  top:50%;
  transform:translateY(-50%);
  width:260px;
  height:180px;
  background:linear-gradient(225deg, rgba(240,78,55,.95) 0%, rgba(240,78,55,.45) 45%, transparent 46%);
  pointer-events:none;
}

/* =========================
   SERVICE TITLES
========================= */
.service-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--red);
  font-size:20px;
  font-weight:800;
  text-align:center;
  margin-bottom:34px;
}

.title-icon{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 28px;
}

.title-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
}

/* =========================
   SINGLE MOSAIC IMAGE
========================= */
.service-mosaic{
  display:block;
  width:100%;
  overflow:hidden;
  background:#111;
}

.service-mosaic img{
  width:100%;
  height:auto;
  display:block;
  transition:transform .25s ease;
}

.service-mosaic:hover img{
  transform:scale(1.015);
}

/* =========================
   FOOTER
========================= */
.footer{
  background:var(--footer);
  color:#fff;
  border-top:1px solid rgba(255,255,255,.12);
}

.footer-top{
  display:grid;
  grid-template-columns:1.1fr .8fr .9fr 1fr;
  gap:26px;
  padding:24px 0 18px;
}

.footer-logo{
  width:145px;
  height:auto;
}

.brand-col p{
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.6;
  margin:12px 0 14px;
  max-width:38ch;
}

.footer-col h4{
  color:var(--red);
  font-size:13px;
  margin:8px 0 12px;
  font-family:'Montserrat', sans-serif;
}

.footer-col a,
.contact-item{
  display:block;
  color:rgba(255,255,255,.75);
  font-size:12px;
  line-height:1.7;
  margin-bottom:4px;
}

.social{
  display:flex;
  gap:14px;
}

.social-icon{
  width:30px;
  height:30px;
  border-radius:50%;
  background:#161616;
  display:grid;
  place-items:center;
  transition:0.25s ease;
}

.social-icon svg{
  width:18px;
  height:18px;
  fill:#fff;
  display:block;
}

.social-icon:hover{
  background: var(--red);
  transform:translateY(-2px);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.14);
  padding:14px 0 18px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:11px;
  color:rgba(255,255,255,.58);
}

.policies{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px){
  .footer-top{
    grid-template-columns:1fr 1fr;
  }
}

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

  .brand-logo{
    width:78px;
  }

  .nav-toggle{
    display:block;
  }

  .nav-links{
    display:none;
    position:absolute;
    top:56px;
    right:20px;
    background:rgba(0,0,0,.85);
    border:1px solid rgba(255,255,255,.18);
    padding:10px 12px;
    border-radius:10px;
    flex-direction:column;
    gap:10px;
    margin-left:0;
  }

  .nav-links.show{
    display:flex;
  }

  .btn-header{
    display:none;
  }

  .service-block{
    padding:40px 0 36px;
  }

  .first-block{
    padding-top:28px;
  }

  .service-title{
    font-size:17px;
    margin-bottom:24px;
    gap:10px;
  }

  .title-icon{
    width:24px;
    height:24px;
    flex:0 0 24px;
  }

  .footer-top{
    grid-template-columns:1fr;
  }

  .tours-block::after{
    width:160px;
    height:110px;
    right:-30px;
  }
}