/* https://fonts.googleapis.com/css2?family=Roboto:wght@400;600;700;800;900&family=Montserrat:wght@800&display=swap */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/montserrat-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/montserrat-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/roboto-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/roboto-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/roboto-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/roboto-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/roboto-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/roboto-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/roboto-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/roboto-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/roboto-900-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/roboto-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --bg:#0b0f14;
  --bg2:#0f1620;
  --card:#111a25;
  --text:#e9eef7;
  --muted:#a8b3c7;
  --line:rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --accent:#ff7a18;
  --accent2:#ff9a4d;
  --radius:18px;
  --container: 1270px; /*1120px*/
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(255,122,24,.12), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(77,163,255,.10), transparent 60%),
              var(--bg);
	background: var(--bg);
  color:var(--text);
  line-height:1.55;
}
:focus-visible {outline: solid 1px var(--accent);}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ width:min(var(--container), calc(100% - 40px)); margin:0 auto; }
.muted{ color:var(--muted); }
.small{ font-size:.92rem; }
.strong{ font-weight:700; }
h1,h2,h3{ margin:0 0 .6rem 0; line-height:1.12; }
h2{ font-size: clamp(1.5rem, 2.2vw, 2rem); }
p{ margin:.6rem 0 0 0; }

.skip{
  position:absolute; left:-999px; top:0; padding:10px 14px;
  background:var(--accent); color:#140c06; border-radius:10px; z-index:9999;
}
.skip:focus{ left:12px; top:12px; }

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-bottom: 1px solid var(--line);
}

.header::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
	transition: opacity .25s ease;
  background: url("/assets/img/granite.avif") center/cover no-repeat;
  opacity: 1;
  transition: opacity .25s ease;
  pointer-events: none;
}

.header::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(11,15,20,.78);
  pointer-events: none;
}

.header.is-scrolled{
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.header.is-scrolled::before{
  opacity: .65;
}

.header__inner{
  position: relative;
  z-index: 2;
}

.logo-img {
	width: 150px;height:68px;
}
.footer-logo {margin-bottom: 10px;margin-left: 40px;}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand__logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: 2px;
	font-size: 18px;
}
.brand__mark{
  width:155px; height:38px; display:grid; place-items:center;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(255,122,24,.24), rgba(255,122,24,.06));
  border:1px solid rgba(255,122,24,.30);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  font-weight:800;
}
.brand__name{ font-weight:800; letter-spacing:.2px; }

.nav{ display:flex; align-items:center; gap:18px; }
.nav a{ color:var(--muted); font-weight:600; font-size:.98rem; }
.nav a:hover{ color:var(--text);transition:all .8s ease; }
.nav__cta{
  color:#140c06 !important;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding:10px 14px;
  border-radius: 12px;
}

.nav a{
  position: relative;
  display: inline-block;
}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:linear-gradient(90deg,var(--accent),transparent);
  transition:width .25s ease;
}

.nav a:hover::after{
  width:100%;
}
.nav__cta::after{
  display:none;
}

.nav__cta:hover{box-shadow:0 12px 35px rgba(255,140,0,0.55)}
.lang{
  display:flex; align-items:center; gap:8px;
  padding-left: 8px;
  border-left:1px solid var(--line);
  margin-left: 4px;
}
.lang a{ font-weight:800; color:var(--muted); }
.lang a.is-active{ color:var(--text); }
.lang__sep{ color:rgba(255,255,255,.25); }

.navbtn{
  display:none;
  width:46px; height:42px;
  background:transparent;
  border:1px solid var(--line);
  border-radius: 12px;
  padding:8px;
  cursor:pointer;
}
.navbtn span{
  display:block; height:2px; background:var(--text);
  margin:5px 0; border-radius:2px;
}

/* Projects dropdown */
.nav__item--has-submenu{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__link--projects{
  display: inline-block;
}

.nav__subtoggle{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  margin: 0;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 14px;
}

.nav__subtoggle:hover{
  color: var(--text);
}

.nav__caret{
  display: block;
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease;
}

.nav__submenu{
  display: none;
}

.nav__submenu a::after{
  display: none;
}

/* Desktop */
@media (min-width: 981px){
  .nav__item--has-submenu{
    position: relative;
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 6px;
    width: auto;
    justify-content: start;
  }

  .nav__item--has-submenu::after{
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
  }

  .nav__link--projects{
    display: inline-block;
  }

  .nav__subtoggle{
    width: 14px;
    height: 14px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .nav__submenu{
    position: absolute;
    top: calc(100% + 14px);
    left: -22px;
    transform: none;
    min-width: 220px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(17,26,37,.96);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 4px;
    z-index: 120;
    display: none;
  }

  .nav__submenu a{
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
  }

  .nav__submenu a:hover{
    background: rgba(255,255,255,.04);
    color: var(--text);
  }

  .nav__item--has-submenu:hover .nav__submenu{
    display: flex;
  }

  .nav__item--has-submenu:hover .nav__caret{
    transform: rotate(180deg);
  }
}

/* Mobile */
@media (max-width: 980px){
  .nav__item--has-submenu{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .nav__link--projects{
    text-align: center;
  }

  .nav__subtoggle{
    width: 14px;
    height: 14px;
    padding: 0;
    margin: 0;
  }

  .nav__submenu{
    position: static;
    transform: none;
    width: 100%;
    margin-top: 8px;
    padding: 6px;
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    flex-direction: column;
    gap: 4px;
  }

  .nav__item--open .nav__submenu{
    display: flex;
  }

  .nav__item--open .nav__caret{
    transform: rotate(180deg);
  }

  .nav__submenu a{
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    font-size: .95rem;
  }

  .nav__submenu a:hover{
    background: rgba(255,255,255,.04);
    color: var(--text);
  }
}
/* Projects dropdown END*/

[id] {scroll-margin-top: 90px;}

/* Hero */
.hero{ position:relative; min-height: 78vh; display:flex; align-items:stretch; }
.hero__bg{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.hero__bg picture,
.hero__bg img{
  display:block;
  width:100%;
  height:100%;
}

.hero__bg img{
  object-fit:cover;
  object-position:center;
  /*filter:saturate(1.05) contrast(1.02);*/
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(800px 500px at 20% 20%, rgba(255,122,24,.18), transparent 60%),
    linear-gradient(180deg, rgba(11,15,20,.35), rgba(11,15,20,.92) 62%, rgba(11,15,20,1));
		z-index: 1;
}
.hero__inner{ position:relative; padding: 92px 0 56px 0; display:flex; align-items:flex-end !important;position: relative;z-index: 2; }
.hero__copy{ max-width: 680px; }
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  color: rgba(255,255,255,.92);
  background: rgba(17,26,37,.62);
  border:1px solid rgba(255,255,255,.14);
  padding:8px 12px;
  border-radius: 999px;
  font-weight:700;
  letter-spacing:.2px;
	margin-right: 10px;
}
.hero__title{
  margin-top: 14px;
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  text-shadow: 0 14px 40px rgba(0,0,0,.55);
}
.hero__lead{
  margin-top: 10px;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  color: var(--text);
  max-width: 58ch;
  text-shadow: 2px 2px #000;
  font-weight: 600;
  letter-spacing: .5px;
}
.hero__cta{ display:flex; gap:12px; margin-top: 18px; flex-wrap:wrap; }

.badge{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(17,26,37,.56);
  padding:8px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.9);
  font-weight:600;
  font-size:.95rem;
}
.hero__badges{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 18px; }

.logo {
	background: rgba(17,26,37,.70);
	border-radius: 17%;
	margin-bottom: 35px;
	width: auto;
}

.hero h1{
 animation:fadeUp 1s ease forwards;
}

@keyframes fadeUp{
 from{
   opacity:0;
   transform:translateY(30px);
 }
 to{
   opacity:1;
   transform:translateY(0);
 }
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight:800;
  border: 1px solid var(--line);
  background: rgba(17,26,37,.6);
  color: var(--text);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
	font-family: "Roboto", sans-serif;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.22);box-shadow: 0 12px 35px rgba(255,140,0,0.55); }
.btn--accent{
  color:#140c06;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: rgba(255,122,24,.35);
	box-shadow: 0 8px 25px rgba(255,140,0,0.35);
  cursor: pointer;
}
.btn--ghost{
  background: rgba(17,26,37,.30);
	color: var(--accent2);
	border: 1px solid var(--accent2);
}

/* Sections */
.section{
  padding: 70px 0;
  background:
    linear-gradient(rgba(11,15,20,.78), rgba(11,15,20,.78)),
    url("/assets/img/granite.avif") center center / cover no-repeat;
}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  background:radial-gradient(800px 500px at 20% 0%, rgba(255,122,24,.16), transparent 60%), radial-gradient(900px 600px at 90% 20%, rgba(255,255,255,.06), transparent 60%), var(--bg2);
	border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section__head{ margin-bottom: 22px; max-width: 68ch; }

.section__head h2,
.cta__inner h2,
#contact h2{
  position:relative;
  /*display:inline-block;*/
  padding-bottom:4px;
}

.section__head h2::after,
.cta__inner h2::after,
#contact h2::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:72px; height:2px;
  background:linear-gradient(90deg,var(--accent),transparent);
}

.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:all .9s ease;
}

.reveal.visible{
    opacity:1;
    transform:translateY(0);
}

/* Layout */
.grid-2{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items:start;
}
@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; }
}
.grid2{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 22px;
  align-items:start;
}
@media (max-width: 980px){
  .grid2{ grid-template-columns: 1fr; }
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 980px){ .cards{ grid-template-columns: 1fr; } }

.card{
  background: rgba(17,26,37,.70);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}
.card--media{ padding: 0; overflow:hidden; }
.card--media img{ width:100%; height:auto; border-radius: var(--radius); }

.card--service{transition: all .35s ease}
.card--service:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.45);
	border-color: rgba(255,140,0,0.35);
}
.card--service__top{
  display:flex; align-items:center; gap:12px; margin-bottom: 8px;
}
.card--service__top > h3 {
	margin: 0 0 .3rem 0;
}
.icon{
  width:44px; height:44px; display:grid; place-items:center;
  border-radius: 14px;
  background: var(--accent);
  border:1px solid rgba(255,122,24,.22);
  font-size: 1.25rem;
}
.icon img{
  width: 22px;
  height: 22px;
  display:block;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.list{ margin: 10px 0 0 0; color: var(--muted);padding-left: 25px; }
.list li{ margin: 5px 0; }

.ticks{ margin-top: 14px; display:grid; gap: 10px; }
.tick{ display:flex; gap: 10px; align-items:flex-start; }
.tick__icon{
  width:24px; height:24px; border-radius: 8px;
  display:grid; place-items:center;
  background: var(--accent);
  border:1px solid rgba(255,122,24,.22);
  color: rgba(255,255,255,.95);
  font-weight:900;
  margin-top: 2px;
  flex: 0 0 auto;
}

/* Pricing */
.pricing{
	background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.cards--pricing{
  grid-template-columns: repeat(3, 1fr);
}

.card--pricing{
  background: rgba(17,26,37,.70);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.card--pricing:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  border-color: rgba(255,140,0,0.35);
}

.card--pricing__top{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.card--pricing__top h3{
  margin: 0;
}

.card--pricing__price{
  display: inline-block;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 12px;
	background: linear-gradient(135deg,var(--accent),transparent);
  border: 1px solid rgba(255,122,24,.28);
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .2px;
}

.pricing__note{
  margin-top: 14px;
  font-size: .95rem;
  line-height: 1.45;
}

@media (max-width: 980px){
  .cards--pricing{
    grid-template-columns: 1fr;
  }
}

/* Steps */
.steps{ display:grid; gap: 12px; }
.step{
  display:flex; gap: 14px; align-items:flex-start;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(17,26,37,.45);
  border-radius: var(--radius);
	transition: all .35s ease;
}
.step:hover {
	border-color: rgba(255,140,0,0.35);
}
.step__n{
  width:42px; height:42px;
  border-radius: 14px;
  display:grid; place-items:center;
  font-weight:900;
  background: var(--accent);
  border:1px solid rgba(255,122,24,.24);
  flex: 0 0 auto;
}

/* Process */
.pr-img{
	aspect-ratio: 10/14;
  scroll-snap-align: start;
}
@media (max-width: 980px){
  .pr-img{
	aspect-ratio: 16/10;
  object-fit: cover;
	}
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px){ .gallery{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .gallery{ grid-template-columns: 1fr; } }

.gallery__item{
  text-align:left;
  padding: 0;
  border:0;
  cursor:pointer;
  background: transparent;
  border-radius: var(--radius);
  overflow:hidden;
  /*border: 1px solid rgba(255,255,255,.10);*/
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
  position: relative;
	cursor: zoom-in;
}
.gallery__item::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(
    180deg,
    rgba(255,122,24,0) 0%,
    rgba(255,122,24,0) 45%,
    rgba(255,122,24,.10) 100%
  );
  opacity:0;
  transition:opacity .35s ease;
}

.gallery__item img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  filter:saturate(1.05);
  transition:transform .45s ease;
  transform-origin:center center;
}

.gallery__item:hover img{
  transform:scale(1.02);
}

.gallery__item:hover::after{
  opacity:1;
}

.gallery__cap{
  position:absolute; left:-1px; bottom:-1px;
  padding: 10px 12px;
  background: rgba(11,15,20,.34);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.94);
  font-weight:800;
  font-size: .95rem;
  backdrop-filter: blur(1px);
	border-top-right-radius: var(--radius);
}

.note{ margin-top: 14px; }

/* Before-After */
.before-after{
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  aspect-ratio: 3 / 4.2;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  background: rgba(17,26,37,.55);
}

.before-after__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.before-after,
.before-after *{
  user-select: none;
  -webkit-user-select: none;
}

.before-after__img{
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.before-after__img--before{
  z-index: 1;
}

.before-after__img--after{
  z-index: 2;
  clip-path: inset(0 0 0 50%);
  -webkit-clip-path: inset(0 0 0 50%);
}

.before-after__divider{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;
  pointer-events: none;
}

.before-after__divider::before{
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 18px rgba(255,122,24,.22);
}

.before-after__handle{
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: 2px solid rgba(255,255,255,.88);
  box-shadow: 0 10px 25px rgba(0,0,0,.28);
  pointer-events: auto;
  cursor: ew-resize;
  touch-action: none;
	transition: transform .15s ease;
}

.before-after:hover .before-after__handle{
  transform: translate(-50%, -50%) scale(1.05);
}

.before-after__handle::before,
.before-after__handle::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #140c06;
  border-right: 2px solid #140c06;
}

.before-after__handle::before{
  left: 11px;
  transform: translateY(-50%) rotate(225deg);
}

.before-after__handle::after{
  right: 11px;
  transform: translateY(-50%) rotate(45deg);
}

.before-after__range{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none; /* svarīgi */
}

.before-after__badge{
  position: absolute;
  top: 14px;
  z-index: 5;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(11,15,20,.58);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
}

.before-after__badge:hover{
  background: rgba(11,15,20,.74);
}

.before-after__badge:focus-visible{
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.before-after__badge--left{ left: 14px; }
.before-after__badge--right{ right: 14px; }

@media (max-width: 640px){
  .before-after{
    width: 100%;
    aspect-ratio: 3 / 4.4;
    border-radius: 18px;
  }

  .before-after__handle{
    width: 40px;
    height: 40px;
  }
}

/* CTA band */
.cta{
  padding: 52px 0;
  background: radial-gradient(800px 500px at 20% 0%, rgba(255,122,24,.16), transparent 60%),
              radial-gradient(900px 600px at 90% 20%, rgba(255,255,255,.06), transparent 60%),
              var(--bg2);
  /*border-top: 1px solid rgba(255,255,255,.08);*/
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cta__inner{
  display:flex; align-items:center; justify-content:space-between; gap: 18px;
}
@media (max-width: 760px){ .cta__inner{ flex-direction: column; align-items:flex-start; } }

/* Contact */
.contact-cards{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (max-width: 560px){ .contact-cards{ grid-template-columns: 1fr; } }
.card--contact{ padding: 16px; }

.form{ display:grid; gap: 12px; }
.row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px){ .row{ grid-template-columns: 1fr; } }

label span{ display:block; font-weight:700; margin-bottom: 6px; }
input, select, textarea{
  width:100%;
  background: rgba(11,15,20,.65);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
  font-size: 1rem;
}
textarea{ min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus{
  border-color: rgba(255,122,24,.45);
  box-shadow: 0 0 0 4px rgba(255,122,24,.12);
	outline: none;
}
.check{ display:flex; gap: 10px; align-items:flex-start; }
.check input{ width: 18px; height: 18px; margin-top: 4px; }
.form__actions{ display:flex; align-items:center; justify-content:space-between; gap: 12px; flex-wrap:wrap; }
.form__status{ font-weight:700; color: rgba(255,255,255,.92); }

.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* title OUTSIDE the card */
.contact-contacts{ grid-column: 1 / -1; }
.contact-contacts__title{
  margin: 14px 0 10px;
  font-weight: 700;
  color: var(--text);
	font-size: 1.25rem;
}

/* inside card layout */
.contact-contacts__grid{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items:center;
}

.contact-contacts__divider{
  width: 1px;
  height: 44px;
  background: var(--line);
}

@media (max-width: 560px){
  .contact-contacts__grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-contacts__divider{
    width: 100%;
    height: 1px;
  }
}

.contact-contacts__val{
  display:inline-block;
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

/* Footer */
.footer{
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(11,15,20,.55);
}
.footer__inner{ display:flex; justify-content:space-between; align-items:center; gap: 14px; }
@media (max-width: 760px){ .footer__inner{ flex-direction:column; align-items:flex-start; } }
.footer__brand{ font-weight:900; }

/* Lightbox */
.lightbox{
  position:fixed; inset:0;
  display:none;
  z-index: 120;
}
.lightbox.is-open{ display:block; }
.lightbox__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}
.lightbox__panel{
  position:relative;
  width:min(1035px, calc(100% - 18px));
  margin: 84px auto;
  background: rgba(17,26,37,.92);
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  box-shadow: 0 20px 70px rgba(0,0,0,.55);
  overflow:hidden;
}
.lightbox__figure{ margin:0; }
.lightbox__figure img{
  width:100%;
  max-height: 82vh;
  object-fit: contain;
  background: rgba(0,0,0,.25);
}
.lightbox__figure figcaption{
  padding: 14px 16px;
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.10);
  font-weight: 800;
	position: absolute;
  bottom: 0;
  background: rgba(11,15,20,.64);
  border-top-right-radius: var(--radius);
}
.lightbox__close{
  position:absolute; top:10px; right:10px;
  width: 40px; height: 40px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(11,15,20,.45);
  color: var(--text);
  cursor:pointer;
  font-size: 1.1rem;
}
.lightbox__nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(11,15,20,.45);
  color: var(--text);
  cursor:pointer;
  font-size: 2rem;
  display:grid; place-items:center;
}
.lightbox__nav--prev{ left: 10px; }
.lightbox__nav--next{ right: 10px; }

/* Mobile Lightbox */
@media (max-width: 980px){
  .lightbox__figure figcaption{ padding: 6px 10px; }
	.lightbox__panel{ margin: 22px auto; }
}

/* Custom */
.dev{color:var(--text)}
a.strong.contact-contacts__val:hover,
div.footer__right a:hover {
	color: var(--accent);
}
input[type=checkbox] {
  accent-color: var(--accent);
}

/* Mobile nav */
@media (max-width: 980px){
  .navbtn{ display:block; }
  .nav{
    position:fixed;
    top: 96px;
    right: 14px;
    left: 14px;
    display:none;
    flex-direction:column;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(17,26,37,.92);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
  }
  .nav.is-open{ display:flex; }
  .lang{ border-left:0; margin-left:0; padding-left:0; padding-top: 10px; border-top:1px solid rgba(255,255,255,.08); width:100%; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn{ transition:none; }
  .gallery__item img{ transition:none; }
}
