:root{
  --bg:#eef2f7;
  --bg2:#f8fafc;
  --text:#141922;
  --muted:#5f6673;
  --card:rgba(255,255,255,.7);
  --line:rgba(255,255,255,.22);
  --line-dark:rgba(17,24,39,.08);
  --accent:#d97706;
  --accent2:#f59e0b;
  --accent3:#ffbe55;
  --dark:#0f1218;
  --shadow:0 20px 60px rgba(17,24,39,.12);
  --glass-shadow:0 12px 30px rgba(0,0,0,.16);
  --radius:24px;
  --container:1280px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:radial-gradient(circle at top left, #ffffff 0%, #f6f8fb 35%, #ebeff5 100%);
  line-height:1.6;
  padding-top:78px;
}

img{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{color:#b96e00}

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

/* HEADER */

.navbar{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
  background:rgba(14,16,22,.68);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.1);
  box-shadow:0 10px 28px rgba(0,0,0,.24);
}

.navbar::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(245,158,11,.45), transparent);
}

.navbar-inner{
  min-height:78px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  color:#fff;
  font-size:1.18rem;
  font-weight:800;
  letter-spacing:.06em;
  white-space:nowrap;
  text-shadow:0 2px 12px rgba(0,0,0,.35);
}

.brand-main,
.brand-sub{
  display:inline-block;
}

.nav-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  flex-wrap:wrap;
}

.nav-panel a{
  display:block;
  color:#f7f8fb;
  padding:10px 12px;
  border-radius:999px;
  font-weight:600;
  line-height:1.2;
  font-size:.92rem;
  background:rgba(255,255,255,.03);
  border:1px solid transparent;
  white-space:nowrap;
  transition:.25s ease;
}

.nav-panel a:hover,
.nav-panel a.active{
  color:#fff;
  background:linear-gradient(135deg, rgba(245,158,11,.18), rgba(255,255,255,.06));
  border-color:rgba(255,190,85,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:12px;
}

.top-phone{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  color:#fff;
  font-weight:700;
  letter-spacing:.03em;
  background:linear-gradient(135deg, rgba(245,158,11,.26), rgba(217,119,6,.18));
  border:1px solid rgba(255,190,85,.45);
  box-shadow:0 8px 22px rgba(217,119,6,.18);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  text-shadow:0 1px 8px rgba(0,0,0,.25);
  white-space:nowrap;
}

.top-phone:hover{
  color:#fff;
  background:linear-gradient(135deg, rgba(245,158,11,.38), rgba(217,119,6,.24));
  border-color:rgba(255,190,85,.7);
}

.nav-toggle{
  display:none;
  width:48px;
  height:48px;
  border-radius:16px;
  border:1px solid rgba(255,190,85,.32);
  background:linear-gradient(135deg, rgba(255,255,255,.08), rgba(245,158,11,.08));
  box-shadow:var(--glass-shadow);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  cursor:pointer;
  position:relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  height:2px;
  background:#fff;
  border-radius:999px;
  transition:.25s ease;
}

.nav-toggle span{top:23px}
.nav-toggle::before{top:16px}
.nav-toggle::after{top:30px}

.nav-toggle.active span{opacity:0}
.nav-toggle.active::before{transform:translateY(7px) rotate(45deg)}
.nav-toggle.active::after{transform:translateY(-7px) rotate(-45deg)}

/* HERO */

.hero{
  min-height:88vh;
  position:relative;
  display:flex;
  align-items:center;
}

.hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:140px;
  background:linear-gradient(to bottom, transparent, rgba(238,242,247,1));
}

.hero-content{
  position:relative;
  z-index:1;
  width:min(100% - 32px, 920px);
  margin:0 auto;
  text-align:center;
  color:#fff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.24);
  box-shadow:0 30px 70px rgba(0,0,0,.35);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:30px;
  padding:32px 24px;
}

.hero h1{
  margin:0 0 12px;
  font-size:clamp(2rem, 5vw, 4rem);
  line-height:1.05;
  letter-spacing:.04em;
}

.hero h2{
  margin:0 0 16px;
  font-size:clamp(1.15rem, 2vw, 1.7rem);
  font-weight:600;
}

.hero p{
  margin:0 auto 24px;
  max-width:760px;
  color:#eef2f8;
  font-size:1.05rem;
  text-shadow:0 2px 14px rgba(0,0,0,.28);
}

.hero-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:999px;
  font-weight:700;
  border:1px solid rgba(255,190,85,.55);
  color:#fff;
  background:linear-gradient(135deg, rgba(245,158,11,.26), rgba(255,255,255,.08));
  box-shadow:0 10px 24px rgba(0,0,0,.16);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:.25s ease;
}

.btn:hover{
  transform:translateY(-2px);
  background:linear-gradient(135deg, rgba(245,158,11,.42), rgba(255,255,255,.14));
  color:#fff;
}

/* SECTIONS */

.main{
  position:relative;
  z-index:1;
  margin-top:-60px;
  padding-bottom:40px;
}

.section{
  background:rgba(255,255,255,.68);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.7);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:32px 20px;
  margin:0 0 32px;
}

.section h2{
  margin:0 0 24px;
  font-size:clamp(1.6rem, 2vw, 2.2rem);
  line-height:1.2;
  text-align:center;
}

.section-lead{
  max-width:840px;
  margin:0 auto 28px;
  text-align:center;
  color:var(--muted);
}

/* SERVICES */

.section-services-highlight{
  overflow:hidden;
  position:relative;
}

.section-services-highlight::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 12% 18%, rgba(245,158,11,.10), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(217,119,6,.08), transparent 26%);
  pointer-events:none;
}

.services-intro{
  display:flex;
  justify-content:center;
  margin-bottom:28px;
  position:relative;
  z-index:1;
}

.services-intro-simple{
  width:100%;
  max-width:980px;
}

.services-intro-card{
  text-align:center;
  padding:28px 26px;
  border-radius:26px;
  background:linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,247,237,.68));
  border:1px solid rgba(255,255,255,.78);
  box-shadow:0 16px 36px rgba(17,24,39,.08);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.services-intro-card h2{
  margin:0 0 14px;
}

.services-intro-card .section-lead{
  margin:0 auto;
  max-width:760px;
  text-align:center;
  color:var(--muted);
}

.services-feature-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
}

.service-feature{
  position:relative;
  min-height:420px;
  border-radius:26px;
  overflow:hidden;
  background:#d8dee8;
  border:1px solid rgba(255,255,255,.58);
  box-shadow:0 18px 42px rgba(17,24,39,.10);
}

.service-feature-image{
  position:absolute;
  inset:0;
}

.service-feature-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease, filter .45s ease;
}

.service-feature::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  transition:opacity .35s ease;
}

.service-feature.panel-left::before{
  background:linear-gradient(90deg, rgba(12,16,24,.68) 0%, rgba(12,16,24,.42) 34%, rgba(12,16,24,.12) 62%, rgba(12,16,24,.03) 100%);
}

.service-feature.panel-right::before{
  background:linear-gradient(270deg, rgba(12,16,24,.68) 0%, rgba(12,16,24,.42) 34%, rgba(12,16,24,.12) 62%, rgba(12,16,24,.03) 100%);
}

.service-feature.panel-bottom::before{
  background:linear-gradient(to top, rgba(12,16,24,.76) 0%, rgba(12,16,24,.36) 34%, rgba(12,16,24,.10) 58%, rgba(12,16,24,.02) 100%);
}

.service-feature::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  z-index:2;
  pointer-events:none;
}

.service-feature-panel{
  position:absolute;
  z-index:3;
  padding:22px 20px 20px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.12));
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.24);
  box-shadow:0 10px 28px rgba(0,0,0,.20);
  color:#fff;
  overflow:hidden;
  transition:transform .35s ease, background .35s ease, box-shadow .35s ease, opacity .35s ease;
}

.panel-left .service-feature-panel{
  top:18px;
  bottom:18px;
  left:18px;
  width:min(40%, 320px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.panel-right .service-feature-panel{
  top:18px;
  bottom:18px;
  right:18px;
  width:min(40%, 320px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.panel-bottom .service-feature-panel{
  left:18px;
  right:18px;
  bottom:18px;
  min-height:142px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.service-feature-panel h3{
  margin:0 0 12px;
  font-size:1.28rem;
  line-height:1.2;
  color:#fff;
}

.panel-left .service-feature-panel h3,
.panel-right .service-feature-panel h3{
  max-width:14ch;
}

.service-feature-panel p{
  margin:0;
  color:rgba(255,255,255,.95);
  text-shadow:0 1px 10px rgba(0,0,0,.16);
  font-size:.98rem;
  line-height:1.55;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.panel-left .service-feature-panel p,
.panel-right .service-feature-panel p{
  max-width:28ch;
  -webkit-line-clamp:9;
}

.panel-bottom .service-feature-panel p{
  max-width:78ch;
  -webkit-line-clamp:4;
}

@media (hover:hover) and (pointer:fine){
  .service-feature:hover .service-feature-image img{
    transform:scale(1.04);
    filter:brightness(1.06);
  }

  .service-feature:hover .service-feature-panel{
    background:linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.18));
    box-shadow:0 18px 34px rgba(0,0,0,.26);
  }

  .panel-left:hover .service-feature-panel{transform:translateX(-10px)}
  .panel-right:hover .service-feature-panel{transform:translateX(10px)}
  .panel-bottom:hover .service-feature-panel{transform:translateY(8px)}
}

/* GALLERY */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:12px;
}

.gallery-item{
  display:block;
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:rgba(255,255,255,.5);
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 10px 24px rgba(17,24,39,.08);
  min-height:150px;
}

.gallery-item.wide{
  grid-column:span 2;
  grid-row:span 2;
}

.gallery-item img{
  width:100%;
  height:100%;
  min-height:150px;
  object-fit:cover;
  transition:transform .35s ease, filter .35s ease;
}

.gallery-item::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.22), rgba(0,0,0,0) 55%);
  z-index:1;
  opacity:.75;
  transition:.25s ease;
}

.gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15);
  z-index:2;
  pointer-events:none;
}

.gallery-item:hover img{
  transform:scale(1.05);
  filter:brightness(1.06);
}

.gallery-item:hover::before{
  opacity:.45;
}

/* CONTACT */

.contact-grid{
  display:grid;
  grid-template-columns:1.05fr 1.3fr;
  gap:24px;
  align-items:start;
}

.contact-card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.72);
  border-radius:22px;
  padding:24px;
  box-shadow:0 12px 30px rgba(17,24,39,.08);
}

.contact-card h3{
  margin:0 0 10px;
}

.contact-card p{
  color:var(--muted);
}

.contact-card strong{
  color:#111827;
}

.contact-card hr{
  border:none;
  border-top:1px solid var(--line-dark);
  margin:24px 0;
}

.contact-map{
  overflow:hidden;
  border-radius:22px;
  box-shadow:0 12px 30px rgba(17,24,39,.08);
  border:1px solid rgba(255,255,255,.72);
}

.contact-map img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* FOOTER */

.footer{
  background:rgba(10,12,18,.96);
  color:#fff;
  text-align:center;
  padding:22px 16px 30px;
}

.footer a{
  color:#fff;
  opacity:.75;
}

.progress-wrap{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height:4px;
  background:rgba(0,0,0,.08);
  z-index:1200;
}

.progress-bar{
  height:100%;
  width:0;
  background:linear-gradient(90deg, var(--accent2), #ff8d00);
}

/* LIGHTBOX */

.lightbox{
  position:fixed;
  inset:0;
  z-index:3000;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(8,10,14,.92);
  padding:24px;
}

.lightbox.open{
  display:flex;
}

.lightbox-inner{
  position:relative;
  width:min(92vw, 1400px);
  height:min(86vh, 900px);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.lightbox-image-wrap{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:translateX(0);
  transition:transform .28s ease, opacity .28s ease;
  will-change:transform, opacity;
}

.lightbox-image-wrap.dragging{
  transition:none;
}

.lightbox-image-wrap.to-left{transform:translateX(-14%);opacity:0}
.lightbox-image-wrap.to-right{transform:translateX(14%);opacity:0}
.lightbox-image-wrap.from-left{transform:translateX(-14%);opacity:0}
.lightbox-image-wrap.from-right{transform:translateX(14%);opacity:0}
.lightbox-image-wrap.enter-active{transform:translateX(0);opacity:1}

#lightboxImage{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.45);
  user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next{
  position:absolute;
  border:none;
  color:#fff;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  cursor:pointer;
  border-radius:999px;
  z-index:3100;
}

.lightbox-close{
  top:20px;
  right:20px;
  width:48px;
  height:48px;
  font-size:24px;
}

.lightbox-prev,
.lightbox-next{
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  font-size:26px;
}

.lightbox-prev{left:20px}
.lightbox-next{right:20px}

/* RESPONSIVE */

@media (max-width: 1240px){
  .navbar-inner{grid-template-columns:auto auto}
  .nav-panel{
    grid-column:1 / -1;
    justify-content:flex-start;
    padding-bottom:4px;
  }
}

@media (max-width: 1100px){
  .gallery-grid{grid-template-columns:repeat(4, 1fr)}
  .contact-grid{grid-template-columns:1fr}
}

@media (max-width: 960px){
  body{padding-top:78px}

  .navbar-inner{
    grid-template-columns:minmax(0, 1fr) auto;
    min-height:78px;
  }

  .brand{
    font-size:1rem;
    letter-spacing:.04em;
    gap:6px;
  }

  .nav-toggle{display:inline-block}

  .nav-panel{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding:12px;
    background:rgba(18,20,28,.82);
    border:1px solid rgba(255,255,255,.14);
    border-radius:22px;
    box-shadow:0 24px 50px rgba(0,0,0,.28);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }

  .nav-panel.open{display:flex}

  .nav-panel a{
    padding:13px 14px;
    border-radius:14px;
    font-size:1rem;
  }

  .top-phone{
    min-height:42px;
    padding:0 14px;
    font-size:.95rem;
  }

  .services-feature-grid{grid-template-columns:1fr}
  .service-feature{min-height:380px}

  .panel-left .service-feature-panel,
  .panel-right .service-feature-panel,
  .panel-bottom .service-feature-panel{
    left:12px;
    right:12px;
    bottom:12px;
    top:auto;
    width:auto;
    min-height:auto;
  }

  .panel-left .service-feature-panel h3,
  .panel-right .service-feature-panel h3{max-width:none}

  .panel-left .service-feature-panel p,
  .panel-right .service-feature-panel p,
  .panel-bottom .service-feature-panel p{
    max-width:none;
    -webkit-line-clamp:8;
  }

  .gallery-grid{
    grid-template-columns:repeat(3, 1fr);
    gap:8px;
  }

  .gallery-item{
    min-height:120px;
    border-radius:14px;
  }

  .gallery-item img{min-height:120px}
  .gallery-item.wide{
    grid-column:span 2;
    grid-row:span 1;
  }

  .hero{min-height:82vh}

  .hero-content{
    padding:28px 18px;
    border-radius:24px;
  }

  .lightbox-inner{
    width:100%;
    height:82vh;
  }
}

@media (max-width: 560px){
  .container{width:min(100% - 20px, var(--container))}

  .section{
    padding:24px 14px;
    border-radius:20px;
  }

  .navbar-inner{
    min-height:74px;
    gap:10px;
  }

  .brand{
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    white-space:normal;
    line-height:1.02;
    font-size:.9rem;
    letter-spacing:.03em;
  }

  .topbar-right{gap:8px}

  .top-phone{
    font-size:.82rem;
    padding:0 10px;
    min-height:40px;
  }

  .nav-toggle{
    width:42px;
    height:42px;
    border-radius:14px;
  }

  .nav-toggle span{top:20px}
  .nav-toggle::before{top:14px}
  .nav-toggle::after{top:26px}

  .nav-panel{
    top:calc(100% + 8px);
    border-radius:18px;
  }

  .services-intro-card{
    padding:20px 16px;
    border-radius:20px;
  }

  .service-feature{
    min-height:340px;
    border-radius:20px;
  }

  .service-feature::before{
    background:linear-gradient(to top, rgba(12,16,24,.78) 0%, rgba(12,16,24,.26) 45%, rgba(12,16,24,.08) 100%) !important;
  }

  .service-feature::after{border-radius:20px}

  .service-feature-panel{
    padding:14px 14px 13px;
    border-radius:16px;
  }

  .service-feature-panel h3{font-size:1.08rem}

  .service-feature-panel p{
    font-size:.92rem;
    -webkit-line-clamp:8;
  }

  .gallery-grid{
    grid-template-columns:repeat(3, 1fr);
    gap:6px;
  }

  .gallery-item{
    min-height:102px;
    border-radius:12px;
  }

  .gallery-item img{min-height:102px}
  .gallery-item.wide{
    grid-column:span 1;
    grid-row:span 1;
  }

  .hero p{font-size:.98rem}
  .btn{width:100%}

  .lightbox{padding:12px}
  .lightbox-inner{height:76vh}

  .lightbox-prev,
  .lightbox-next{
    width:44px;
    height:44px;
    font-size:20px;
  }
}

@media (max-width: 390px){
  .brand{font-size:.82rem}

  .top-phone{
    font-size:.74rem;
    padding:0 8px;
  }

  .gallery-grid{grid-template-columns:repeat(2, 1fr)}
}
