:root{
  --blue:#2b6ea8;
  --blue-dark:#1d4f79;
  --green:#3f7a3a;
  --green-dark:#2f5e2b;

  --text:#17324a;
  --muted:#4f6473;

  --card:#ffffff;
  --border:rgba(0,0,0,.12);
  --shadow: 0 10px 25px rgba(0,0,0,.12);
  --radius: 8px;
  --container: 1080px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family: Arial, Helvetica, sans-serif;
  color:var(--text);
  background:#eef3f7;
}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: linear-gradient(#eaf1f7, #dfeaf2);
  border-bottom: 1px solid var(--border);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
}
.brand{
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
  color:var(--green);
  font-weight:700;
}
.brand-icon{
  width:28px;height:28px;
  display:grid;place-items:center;
  border-radius:6px;
  background:#e9f4ea;
  border:1px solid rgba(63,122,58,.25);
}
.brand-text{font-size:15px}

.nav{position:relative}
.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius:8px;
  padding:8px 10px;
  cursor:pointer;
}
.nav-list{
  list-style:none;
  display:flex;
  gap:22px;
  margin:0;padding:0;
}
.nav-list a{
  text-decoration:none;
  color:#2c4a62;
  font-weight:700;
  padding:8px 10px;
  border-radius:8px;
}
.nav-list a:hover{ background:rgba(43,110,168,.12); }

.hero{
  position:relative;
  min-height: 380px;
  display:flex;
  align-items:center;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.05), rgba(0,0,0,.12)),
    linear-gradient(to top, rgba(63,122,58,.25), rgba(63,122,58,.08));
}
.hero-content{
  position:relative;
  padding:48px 0 56px;
  color:#fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.hero h1{ margin:0; font-size:44px; letter-spacing:.2px; }
.hero h2{ margin:6px 0 14px; font-size:26px; font-weight:800; }
.hero-subtitle{
  margin:0 0 18px;
  font-weight:700;
  opacity:.95;
  background: rgba(0,0,0,.18);
  display:inline-block;
  padding:8px 12px;
  border-radius: 6px;
  border:1px solid rgba(255,255,255,.22);
}

.strip{
  position:relative;
  padding:28px 0 34px;
  background-image: var(--strip-img);
  background-size: cover;
  background-position:center;
}
.strip-overlay{
  position:absolute; inset:0;
  background: rgba(245, 250, 255, .35);
}
.strip-inner{ position:relative; }

.welcome{
  max-width: 520px;
  margin-bottom: 18px;
}
.welcome h3{
  margin:0 0 10px;
  font-size:28px;
  color:#1f4564;
}
.welcome p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.5;
}

.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  padding:16px 16px 14px;
  position:relative;
  overflow:hidden;
  min-height: 150px;
}
.card-head{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:8px;
}
.card-ico{
  width:34px;height:34px;
  border-radius:8px;
  display:grid;place-items:center;
  background: #eaf2f9;
  border:1px solid rgba(43,110,168,.22);
}
.card h4{ margin:0; font-size:16px; color:#2a4d67; }
.card p{ margin:0 0 12px; color:var(--muted); line-height:1.45; }
.card-decor{
  position:absolute;
  right:-30px;
  bottom:-30px;
  width:140px;height:140px;
  border-radius:999px;
  background: radial-gradient(circle, rgba(63,122,58,.22), transparent 60%);
}

.section{
  position:relative;
  padding:26px 0 30px;
}
.soft-bg{
  background-image: var(--soft-img);
  background-size: cover;
  background-position:center;
}

.section-title{
  margin:0 0 10px;
  font-size:26px;
  color:#1f4564;
}
.section-title.green{color:var(--green)}
.section-title.blue{color:var(--blue)}
.muted{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.55;
}

.info-box{
  background: rgba(255,255,255,.88);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.gallery-head{ margin-bottom: 14px; }

.two-col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:center;
}
.map-box{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:10px;
}
.map-box img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 6px;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}
.panel{
  background: rgba(255,255,255,.9);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.news{
  list-style:none;
  margin: 10px 0 14px;
  padding:0;
  color:var(--muted);
}
.news li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:7px 0;
  border-bottom: 1px dashed rgba(0,0,0,.12);
}
.news li:last-child{border-bottom:none}
.bullet{color:#2b6ea8}

.contact-list{
  margin-top:12px;
  display:grid;
  gap:10px;
}
.contact-row{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
}
.contact-ico{
  width:30px;height:30px;
  border-radius:8px;
  display:grid;place-items:center;
  background:#eaf4ea;
  border:1px solid rgba(63,122,58,.22);
}
.contact-row a{color:var(--blue);text-decoration:none}
.contact-row a:hover{text-decoration:underline}

.btn{
  display:inline-block;
  text-decoration:none;
  border-radius: 6px;
  padding:10px 14px;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
  user-select:none;
}
.btn-secondary{
  background: linear-gradient(#4b8b45, #2f5e2b);
  color:#fff;
}
.btn-card{
  background: linear-gradient(#3b7a36, #2e5f2a);
  color:#fff;
  font-size:13px;
  padding:9px 12px;
}
.btn-dark{
  background: linear-gradient(#2b6ea8, #1d4f79);
  color:#fff;
}

.sub-buttons{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.btn-sub{
  background: linear-gradient(#2b6ea8, #1d4f79);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(43, 110, 168, 0.3);
}

.btn-sub:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(43, 110, 168, 0.4);
}

.gallery-wrapper{
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.gallery-wrapper-poster{
  position: relative;
  display: flex;
  align-items: center;
}
.gallery{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}
.gallery::-webkit-scrollbar{ display:none; }
.gallery{ -ms-overflow-style:none; scrollbar-width:none; }

.photo{
  flex: 0 0 300px;
  margin:0;
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:2px;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.photo img{
  width:100%;
  height: 200px;
  object-fit: cover;
  display:block;
  border-radius: 12px;
}

.gallery-arrow{
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.2s;
  z-index: 2;
}
.gallery-arrow:hover{
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.05);
}
.gallery-arrow.disabled{
  opacity: .35;
  cursor: not-allowed;
}
.gallery-arrow.left{ margin-right: 10px; }
.gallery-arrow.right{ margin-left: 10px; }

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 18px;
}
.lightbox.active{ display:flex; }

.lightbox-img{
  max-width: 92%;
  max-height: 92%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

.lightbox-close{
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  color: #fff;
  cursor: pointer;
  opacity: 0.9;
  display:grid;
  place-items:center;
}
.lightbox-close:hover{ opacity: 1; }

@keyframes zoomIn{
  from{ transform: scale(0.88); opacity: 0; }
  to{ transform: scale(1); opacity: 1; }
}

@media (max-width: 1100px){
  .cards{grid-template-columns: repeat(2, 1fr)}
}

@media (max-width: 920px){
  .two-col{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .hero h1{font-size:34px}
  .hero h2{font-size:20px}
  .sub-buttons{grid-template-columns: 1fr}
}

@media (max-width: 768px){
  .photo{ flex: 0 0 240px; }
}

@media (max-width: 650px){
  .cards{grid-template-columns: 1fr}
}

@media (max-width: 720px){
  .nav-toggle{display:inline-block}
  .nav-list{
    position:absolute;
    right:0;
    top:46px;
    background:#fff;
    border:1px solid var(--border);
    border-radius: 10px;
    padding:10px;
    width: 220px;
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    gap:8px;
    list-style:none;
  }
  .nav-list.open{display:flex}
}

.popup{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}

.popup.active{ display:flex; }

.popup-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.92);
}

.popup-card{
  position: relative;
  width: min(980px, calc(100% - 36px));
  height: calc(100vh - 36px);
  margin: 18px auto;
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  overflow: hidden;
  z-index: 1;
  display:flex;
  flex-direction: column;
}

.popup-header{
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,0,0,.10);
  background: linear-gradient(#ffffff, rgba(255,255,255,.92));
}

.popup-title{
  margin:0;
  font-size: 22px;
  color: var(--text);
}

.popup-body{
  padding: 16px 18px 22px;
  overflow: auto;
  color: var(--muted);
  line-height: 1.65;
}

.popup-body h4{
  margin: 16px 0 10px;
  color: var(--text);
}

.popup-body h5{
  margin: 14px 0 8px;
  color: var(--text);
  font-size: 16px;
}

.popup-body ul{
  margin: 0 0 10px 18px;
}

.popup-body p{
  margin: 0 0 12px;
}

.popup-close{
  position:absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.88);
  color: #1b3850;
  cursor: pointer;
  font-size: 20px;
  z-index: 2;
}

.popup-close:hover{
  background: rgba(255,255,255,1);
}

#harti, #galerie, #contact { scroll-margin-top: 400px; }
html { scroll-behavior: smooth; }

.map-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  z-index: 9999;
}

.map-modal.active {
  display: block;
}

#mapContainer {
  width: 100%;
  height: 100%;
}

.map-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

.poster-modal {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.95);
  display:none;
  flex-direction: column;
  overflow-y:auto;
  padding: 40px;
  box-sizing: border-box;
  z-index: 10000;
}

.poster-modal.active {
  display:flex;
}

.poster-close {
  color:#fff;
  font-size:28px;
  cursor:pointer;
  align-self:flex-end;
  margin-bottom:20px;
}

.poster-grid {
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.poster-grid figure {
  margin:0;
  cursor: pointer;
  color:#fff;
  text-align:center;
}

.poster-grid figcaption {
  margin-top: 8px;
  font-size: 16px;
}

.poster-modal{
  z-index:9000;
}

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.lightbox.active{
  display:flex;
}

.lightbox img{
  max-width:90%;
  max-height:90%;
  cursor:grab;
  user-select:none;
}