@font-face{font-family:'Nunito Local';src:url('../assets/fonts/nunito-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Nunito Local';src:url('../assets/fonts/nunito-bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:'Nunito Local';src:url('../assets/fonts/nunito-extrabold.woff2') format('woff2');font-style:normal;font-weight:800;font-display:swap}
@font-face{font-family:'Nunito Local';src:url('../assets/fonts/nunito-black.woff2') format('woff2');font-style:normal;font-weight:900;font-display:swap}

:root{
  --blue:#4d5dfa;
  --blue-dark:#263afe;
  --green:#29a71a;
  --ink:#111;
  --muted:#555;
  --paper:#f7f7f7;
  --radius:30px;
  --brand-shadow:0 12px 35px rgba(0,0,0,.13);
}
html,body,button,input,textarea,select{font-family:'Nunito Local','Nunito',sans-serif}
body{color:var(--ink);background:#fff}
img{max-width:100%;height:auto}
.container{width:min(1200px,calc(100% - 40px))}
.section{padding:72px 0}
.section--paper{background:#f7f7f7}

/* Header: original white rounded bookmark */
.site-header{position:absolute;top:0;left:0;width:100%;z-index:80;background:transparent;border:0;box-shadow:none;padding:0}
.header-inner{height:80px;padding:0 18px;background:#fff;border-radius:0 0 30px 30px;box-shadow:0 5px 12px rgba(0,0,0,.22)}
.brand{flex:0 0 auto;gap:0}
.brand img{display:block;width:120px!important;height:55px!important;object-fit:contain}
.desktop-nav{gap:26px;margin-left:auto}
.desktop-nav a{font-size:14px;font-weight:800;color:#111;opacity:.72;padding:10px 0;border-radius:0;background:none!important}
.desktop-nav a:hover,.desktop-nav a[aria-current=page]{color:#111;opacity:1}
.desktop-nav a::after{content:'';display:block;width:0;height:2px;margin-top:5px;border-radius:20px;background:var(--blue);transition:width .2s ease}
.desktop-nav a:hover::after,.desktop-nav a[aria-current=page]::after{width:100%}
.header-socials{display:flex;align-items:center;gap:10px;margin-left:26px}
.header-social{display:flex;align-items:center;gap:9px;min-height:42px;padding:6px 14px;border-radius:12px;background:#fff;color:#111;font-size:12px;font-weight:800;box-shadow:0 8px 22px rgba(0,0,0,.09);white-space:nowrap}
.header-social img{width:27px;height:27px;object-fit:contain}
.menu-toggle{display:none;background:#fff;border-radius:50%;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.menu-toggle span,.menu-toggle::before,.menu-toggle::after{background:var(--green)}
.menu-toggle span{background:var(--blue)}

/* Hero copied from reference, only more compact */
.hero{min-height:720px;background:#171717 url('../assets/images/hero-bg.webp') center/cover no-repeat}
.hero::before{background:rgba(0,0,0,.57)}
.hero::after{left:-4%;right:-4%;bottom:-62px;height:122px;background:#f7f7f7;border-radius:50% 50% 0 0}
.hero-grid--reference{display:block;padding:235px 0 150px}
.hero-copy{max-width:660px}
.hero-copy h1{font-size:clamp(42px,4.4vw,62px);line-height:1.06;letter-spacing:-.02em;font-weight:900}
.hero-copy p{max-width:650px;font-size:18px;line-height:1.45;color:#fff}
.btn{border-radius:15px;background:var(--blue);box-shadow:none;font-weight:800}
.btn:hover{background:var(--blue-dark)}
.btn--ghost{border:4px solid var(--green);color:var(--green);background:rgba(0,0,0,.28)}
.btn--ghost:hover{color:#fff;background:var(--green)}
.btn--green{background:var(--green)}

/* Original section headings */
.section-heading,.page-heading{text-align:left}
.display-title{margin:0;color:#d3d3d3;font-size:clamp(48px,6vw,86px);font-weight:900;line-height:1}
.eyebrow{padding:8px 30px;border-radius:30px;background:var(--blue);font-size:16px;font-weight:800;text-transform:none;letter-spacing:0}
.eyebrow--green{background:var(--green)}
.section-heading .eyebrow{margin-top:-3px}
.section-heading>h2{font-weight:900}

/* Welcome area */
.section--wave{position:relative;background:#f7f7f7;overflow:hidden}
.section--wave::before,.section--wave::after,.contact-section::before,.contact-section::after{content:'';position:absolute;width:260px;height:260px;border-radius:50%;z-index:0;pointer-events:none}
.section--wave::before,.contact-section::before{left:-150px;top:26%;background:var(--green)}
.section--wave::after,.contact-section::after{right:-150px;top:60%;background:var(--blue)}
.section--wave>.container,.contact-section>.container{position:relative;z-index:1}
.reference-intro-photo{width:260px;height:260px;margin:30px auto -78px;position:relative;z-index:3;padding:9px;border:5px solid var(--blue);border-radius:50%;background:#fff;box-shadow:var(--brand-shadow)}
.reference-intro-photo img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.feature-grid{position:relative;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:0;padding:115px 26px 35px;border-radius:30px;background:#fff;box-shadow:var(--brand-shadow)}
.feature-card{min-height:120px;padding:15px 12px;border:0;border-radius:15px;background:#fff;box-shadow:0 9px 24px rgba(0,0,0,.12);display:flex;flex-direction:column;align-items:center;justify-content:center}
.feature-card:hover{transform:none}
.feature-icon{width:52px;height:52px;margin:0 auto 10px;border-radius:50%;background:transparent!important}
.feature-icon img{width:42px;height:42px;object-fit:contain}
.feature-card strong{font-size:15px}

.about-panel{padding:36px;border-radius:30px;box-shadow:var(--brand-shadow);background:#fff;grid-template-columns:.85fr 1.15fr}
.about-photo{min-height:420px;border-radius:22px;background:#fff}
.about-photo img{width:100%;height:auto!important;min-height:0!important;max-height:460px;object-fit:contain}
.about-copy h2{font-size:40px;font-weight:900}

.program-shell,.territory-map,.contact-office-card,.contact-camp-card,.contact-social-card,.shift-card,.info-card,.document-card,.archive-card,.map-card{border-radius:30px;box-shadow:var(--brand-shadow)}
.program-stage,.program-stage img{border-radius:24px}
.program-stage img{object-fit:cover}
.gallery-item{border-radius:15px}
.territory-grid{grid-template-columns:.9fr 1.1fr}
.territory-map img{width:100%;height:auto;object-fit:contain;border-radius:15px}
.territory-card{border-radius:15px}

/* Page titles match source concept */
.page-hero{padding:145px 0 42px;background:#fff}
.page-hero .page-heading{max-width:1200px;text-align:center}
.page-hero .display-title{color:#cfcfcf;font-size:70px}
.page-hero .eyebrow{margin-top:6px}
.page-hero .page-heading>h1,.page-hero .page-heading>p:not(.display-title){display:none}
.page-hero .notice{display:block;margin:24px auto 0;max-width:760px}

/* Preserve natural image proportions */
.brand img,.mobile-menu-head img,.footer-brand img,.document-card img,.archive-card img,.map-card img{object-fit:contain;height:auto!important}
.document-card img{width:100%;max-height:none}
.archive-card img{width:100%;aspect-ratio:auto}
.contact-map{display:block;width:100%;height:auto;aspect-ratio:944/550;border:1px solid #d8d8d8;border-radius:30px;background:#e8e8e8}

/* Contacts exactly in brand concept */
.contacts-page{position:relative;overflow:hidden}
.contact-section{position:relative;padding-top:30px;padding-bottom:100px;min-height:1000px}
.contact-section::before{top:8%}
.contact-section::after{top:44%}
.contact-office-card,.contact-camp-card{display:grid;gap:22px;padding:24px;background:#fff}
.contact-office-card{grid-template-columns:1.45fr .85fr}
.office-details,.contact-details{padding:25px;border-radius:30px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.1)}
.office-details h1,.contact-details h2{margin:0 0 14px;font-size:28px;font-weight:900}
.office-details h2{margin:22px 0 8px;font-size:21px}
.office-details p,.contact-details li{font-size:16px;line-height:1.45}
.schedule{display:grid;gap:7px;margin:0;padding-left:22px}
.schedule li{display:flex;justify-content:space-between;gap:18px}
.office-break{font-style:italic}
.contact-map-link{display:none}
.contact-camp-card{grid-template-columns:.85fr 1.15fr;margin-top:90px;align-items:center}
.contact-details ul{display:grid;gap:12px;padding-left:20px}
.contact-details a{color:#111}
.contact-details .btn{display:inline-flex;margin-top:20px;color:#fff}
.contact-social-card{display:flex;justify-content:center;gap:45px;width:max-content;max-width:100%;margin:34px auto 0;padding:18px 38px;background:#fff}
.contact-social-card img{display:block;width:72px;height:72px;object-fit:contain}

/* Footer from original source */
.site-footer{position:relative;margin-top:40px;padding-top:55px;background:#fff;border-radius:50px 50px 0 0;box-shadow:0 -8px 28px rgba(0,0,0,.1)}
.footer-main{grid-template-columns:1.1fr .8fr .8fr 1.2fr;gap:40px}
.footer-brand img{width:145px!important}
.footer-col h2{color:var(--blue);font-size:22px}
.footer-col:nth-of-type(3) h2{color:var(--green)}
.footer-col a,.footer-col p,.footer-brand p{font-size:13px;color:#111}
.social-link{background:none;width:34px;height:34px;padding:0}
.social-link img{width:30px;height:30px;object-fit:contain}
.footer-bottom{border-top:2px solid var(--green);text-align:center}
.floating-contact{width:72px;height:72px;padding:0;background:transparent;box-shadow:none}
.floating-contact img{width:72px;height:72px;object-fit:contain}

@media (max-width:1050px){
  .header-social--vk{display:none}
  .desktop-nav{gap:16px}
  .header-socials{margin-left:14px}
  .feature-grid{grid-template-columns:repeat(3,1fr)}
  .contact-office-card,.contact-camp-card{grid-template-columns:1fr}
  .contact-camp-card{margin-top:45px}
}

@media (max-width:780px){
  .container{width:min(100% - 40px,620px)}
  .section{padding:52px 0}
  .site-header{position:absolute;background:var(--blue);padding:10px 0}
  .header-inner{height:48px;padding:0 8px;background:transparent;border-radius:0;box-shadow:none}
  .brand{flex:1;height:48px;padding:5px 13px;background:#fff;border-radius:30px}
  .brand img{width:90px!important;height:38px!important;object-position:left center}
  .desktop-nav,.header-socials{display:none}
  .menu-toggle{display:block;flex:0 0 44px;width:44px;height:44px;margin-left:10px}
  .mobile-menu{right:0;left:auto;width:min(88vw,380px)}
  .hero{min-height:620px;background-position:center}
  .hero::after{height:80px;bottom:-42px}
  .hero-grid--reference{padding:150px 0 110px}
  .hero-copy{text-align:center;margin-inline:auto}
  .hero-copy h1{font-size:34px}
  .hero-copy p{font-size:15px}
  .btn-row{justify-content:center}
  .display-title{font-size:50px;text-align:center}
  .section-heading{text-align:center}
  .eyebrow{font-size:13px;padding:6px 22px}
  .reference-intro-photo{width:180px;height:180px;margin-top:24px;margin-bottom:-55px}
  .feature-grid{grid-template-columns:1fr 1fr;padding:80px 14px 18px;gap:12px}
  .feature-card{min-height:105px}
  .feature-card:last-child{grid-column:1/-1;max-width:220px;width:100%;justify-self:center}
  .about-panel{grid-template-columns:1fr;padding:22px}
  .about-photo{min-height:0}
  .about-copy{text-align:center}
  .about-copy h2{font-size:30px}
  .program-stage{min-height:340px}
  .program-stage img{height:340px}
  .program-caption{left:10px;right:10px;bottom:10px;padding:14px;display:block}
  .program-caption .btn{margin-top:12px}
  .gallery-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}
  .gallery-item,.gallery-item:first-child,.gallery-item:nth-child(4){grid-column:auto;grid-row:auto;aspect-ratio:4/3}
  .gallery-item:first-child{grid-column:1/-1}
  .territory-grid{grid-template-columns:1fr}
  .territory-list{grid-template-columns:1fr}
  .page-hero{padding:105px 0 22px}
  .page-hero .display-title{font-size:42px}
  .contact-section{padding-top:20px;min-height:auto}
  .contact-section::before,.contact-section::after,.section--wave::before,.section--wave::after{width:160px;height:160px}
  .contact-office-card,.contact-camp-card{padding:0;background:transparent;box-shadow:none}
  .contact-map-wrap{order:2;text-align:center}
  .contact-map-wrap .contact-map{display:none}
  .contact-map-link{display:inline-flex;margin-top:18px}
  .office-details,.contact-details{padding:28px;border-radius:30px;text-align:left}
  .office-details h1,.contact-details h2{font-size:22px}
  .schedule li{font-size:13px}
  .contact-camp-card{margin-top:24px}
  .camp-map-wrap{display:none}
  .contact-details .btn{display:flex;width:max-content;margin:24px auto 0}
  .contact-social-card{width:100%;gap:25px;padding:14px 20px}
  .contact-social-card img{width:58px;height:58px}
  .footer-main{grid-template-columns:1fr 1fr;gap:28px 20px}
  .footer-brand{grid-column:1/-1}
  .site-footer{border-radius:35px 35px 0 0}
  .floating-contact{display:none}
}

@media (max-width:430px){
  .container{width:calc(100% - 30px)}
  .hero{min-height:560px}
  .hero-grid--reference{padding-top:125px}
  .hero-copy h1{font-size:29px}
  .hero-copy p{font-size:14px}
  .btn{padding:12px 18px;font-size:13px}
  .feature-grid{grid-template-columns:1fr}
  .feature-card:last-child{grid-column:auto;max-width:none}
  .display-title{font-size:42px}
  .footer-main{grid-template-columns:1fr 1fr}
  .footer-col h2{font-size:20px}
}
