:root{
  --bg:#F3EEE7;
  --bg-soft:#FAF7F2;
  --surface:#FFFDF9;
  --surface-warm:#EFE4D8;
  --walnut:#38251D;
  --walnut-2:#50372C;
  --graphite:#201B18;
  --text:#2B231F;
  --muted:#78695F;
  --terracotta:#C96832;
  --terracotta-dark:#A94E22;
  --terracotta-soft:#F1D6C3;
  --white:#FFFFFF;
  --line:#E2D6CA;
  --line-dark:rgba(56,37,29,.18);
  --radius-sm:12px;
  --radius-md:18px;
  --radius-lg:28px;
  --radius-xl:36px;
  --shadow-sm:0 8px 24px rgba(56,37,29,.07);
  --shadow-md:0 18px 45px rgba(56,37,29,.12);
  --font-family:Inter,Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-family);background:var(--bg);color:var(--text);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,textarea{font:inherit}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
.wood-texture-bg{background-color:var(--bg);background-image:linear-gradient(rgba(255,255,255,.42),rgba(255,255,255,.42)),repeating-linear-gradient(90deg,transparent 0,transparent 198px,rgba(92,68,54,.065) 199px,rgba(92,68,54,.065) 200px),linear-gradient(180deg,rgba(255,255,255,.16),rgba(107,77,59,.025))}
h1,h2,h3,h4{font-weight:750;line-height:1.05;letter-spacing:-.025em;color:var(--walnut)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 24px;border:1px solid transparent;border-radius:14px;font-size:14px;font-weight:700;letter-spacing:.01em;cursor:pointer;transition:transform .2s ease,background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease;box-shadow:none}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--terracotta);color:var(--white);border-color:var(--terracotta)}
.btn-primary:hover{background:var(--terracotta-dark);border-color:var(--terracotta-dark);box-shadow:0 10px 22px rgba(169,78,34,.2)}
.btn-secondary{background:rgba(255,253,249,.8);color:var(--walnut);border-color:rgba(56,37,29,.2)}
.btn-secondary:hover{background:var(--walnut);color:var(--white);border-color:var(--walnut)}
.btn-sm{min-height:40px;padding:9px 17px;font-size:12px}
.btn-block{width:100%}
.site-header{position:relative;z-index:20;background:var(--walnut);color:var(--white);padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 8px 24px rgba(34,23,18,.12)}
.header-container{display:flex;align-items:center;justify-content:space-between;gap:28px}
.logo-link{display:flex;flex-direction:column;gap:2px;min-width:max-content}
.logo-title{font-size:17px;font-weight:800;letter-spacing:.04em}
.logo-subtitle{font-size:11px;color:#D6C8BE}
.main-nav ul{display:flex;align-items:center;gap:24px;list-style:none}
.main-nav a{position:relative;font-size:13px;font-weight:600;color:#F0E8E1;transition:color .2s ease}
.main-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:2px;border-radius:999px;background:var(--terracotta);transition:right .2s ease}
.main-nav a:hover{color:var(--white)}
.main-nav a:hover::after{right:0}
.header-right{display:flex;align-items:center;gap:16px}
.header-phone{font-size:14px;font-weight:750;white-space:nowrap}
.header-phone:hover{color:#FFD9C1}
.social-icons{display:flex;align-items:center;gap:7px}
.social-icon{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#E7DCD4;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);transition:.2s ease}
.social-icon:hover{background:var(--terracotta);color:var(--white);border-color:var(--terracotta);transform:translateY(-1px)}
.max-badge{font-size:8px;font-weight:900;letter-spacing:.04em}
.mobile-menu-btn{display:none;width:38px;height:38px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.06);padding:9px;flex-direction:column;justify-content:space-between;cursor:pointer}
.mobile-menu-btn span{width:100%;height:2px;background:var(--white);border-radius:999px}
.hero-section{padding:72px 0 84px;border-bottom:1px solid var(--line)}
.hero-container{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(420px,.97fr);gap:56px;align-items:center}
.hero-content{max-width:650px}
.hero-badge{display:inline-flex;align-items:center;min-height:34px;padding:7px 13px;border-radius:999px;background:var(--terracotta-soft);color:var(--terracotta-dark);font-size:11px;font-weight:800;letter-spacing:.06em;margin-bottom:22px}
.hero-title{font-size:clamp(44px,5vw,68px);max-width:680px;margin-bottom:22px;line-height:.98}
.hero-subtitle{max-width:610px;font-size:18px;color:#5E5048;line-height:1.6;margin-bottom:30px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:38px}
.hero-features{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding-top:22px;border-top:1px solid var(--line-dark)}
.hero-feature-item{padding-right:18px}
.feature-num{display:block;font-size:20px;font-weight:800;color:var(--terracotta);line-height:1.05;margin-bottom:5px}
.feature-text{display:block;font-size:12px;color:#6E6057;line-height:1.35}
.hero-feature-divider{display:none}
.hero-frame{position:relative;background:var(--surface);padding:12px;border-radius:var(--radius-xl);border:1px solid rgba(56,37,29,.1);box-shadow:var(--shadow-md);transform:rotate(1deg)}
.hero-card-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 10px 12px;font-size:11px;font-weight:800;letter-spacing:.05em;color:var(--walnut)}
.badge-tag{padding:5px 9px;border-radius:999px;background:var(--walnut);color:var(--white);font-size:10px;white-space:nowrap}
.hero-image-wrapper{overflow:hidden;border-radius:24px;background:#D9C8B8;aspect-ratio:4/4.6}
.hero-photo{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.92) contrast(.98)}
.hero-card-caption{padding:12px 10px 8px;font-size:12px;color:var(--muted);line-height:1.5}
.section-header{text-align:center;max-width:760px;margin:0 auto 44px}
.section-subtitle{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--terracotta);margin-bottom:10px}
.section-title{font-size:clamp(32px,3.7vw,48px);line-height:1}
.section-line{width:58px;height:4px;border-radius:999px;background:var(--terracotta);margin:16px auto 0}
.services-section{padding:84px 0 92px;border-bottom:1px solid var(--line)}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card{position:relative;display:flex;flex-direction:column;min-height:270px;padding:28px;background:rgba(255,253,249,.9);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.service-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(56,37,29,.11);border-color:#D5BDAA}
.service-num{position:absolute;top:20px;right:22px;font-size:16px;font-weight:800;color:#C7B3A5}
.service-icon{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:24px;background:#F4E5DB;color:var(--terracotta)}
.service-title{font-size:20px;margin-bottom:12px}
.service-desc{font-size:14px;line-height:1.55;color:#685A52;margin-bottom:22px;flex-grow:1}
.service-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:750;color:var(--terracotta-dark)}
.service-link:hover{color:var(--walnut)}
.before-after-section{padding:78px 0;background:var(--bg)}
.before-after-section>.container{padding-top:58px;padding-bottom:58px;background:var(--graphite);border-radius:var(--radius-xl);box-shadow:0 24px 60px rgba(43,35,31,.14)}
.section-header.theme-dark{margin-bottom:40px}
.section-header.theme-dark .section-title{color:var(--white)}
.section-header.theme-dark .section-subtitle{color:#E7A781}
.section-header.theme-dark .section-line{background:#E07D48}
.ba-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:30px}
.ba-card{padding:16px;background:#2A221E;border:1px solid rgba(255,255,255,.08);border-radius:22px;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.ba-images{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}
.ba-image-box{position:relative;height:260px;overflow:hidden;border-radius:16px;background:#171311}
.ba-photo{width:100%;height:100%;object-fit:cover;object-position:center}
.ba-tag{position:absolute;top:10px;left:10px;z-index:2;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:850;letter-spacing:.06em;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.ba-tag-before{background:rgba(33,27,24,.9);color:#F3EDE8;border:1px solid rgba(255,255,255,.12)}
.ba-tag-after{background:var(--terracotta);color:var(--white)}
.ba-info{padding:2px 4px 4px}
.ba-title{font-size:20px;color:var(--white);margin-bottom:8px}
.ba-desc{font-size:13px;line-height:1.55;color:#C8BBB3}
.ba-action{text-align:center}
.gallery-section{padding:84px 0 92px;border-bottom:1px solid var(--line)}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:230px;gap:16px}
.gallery-item{position:relative;overflow:hidden;border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm);cursor:pointer}
.gallery-item.item-large{grid-column:span 2;grid-row:span 2}
.gallery-svg{width:100%;height:100%;object-fit:cover;transition:transform .45s ease,filter .45s ease}
.gallery-item:hover .gallery-svg{transform:scale(1.035);filter:saturate(.96)}
.gallery-overlay{position:absolute;inset:auto 0 0 0;min-height:90px;padding:24px 20px 18px;display:flex;align-items:flex-end;gap:10px;color:var(--white);background:linear-gradient(180deg,transparent,rgba(36,25,20,.78));opacity:0;transition:opacity .25s ease}
.gallery-item:hover .gallery-overlay{opacity:1}
.overlay-icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--terracotta);font-size:22px;line-height:1;flex:0 0 auto}
.overlay-text{font-size:12px;font-weight:700;line-height:1.25}
.process-section{padding:84px 0 92px;border-bottom:1px solid var(--line)}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.process-step{position:relative;padding:28px 24px 26px;background:rgba(255,253,249,.9);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}
.step-number{width:54px;height:54px;border-radius:17px;display:flex;align-items:center;justify-content:center;background:var(--terracotta);color:var(--white);font-size:18px;font-weight:850;margin-bottom:28px;box-shadow:0 10px 20px rgba(201,104,50,.18)}
.step-title{font-size:18px;margin-bottom:10px}
.step-desc{font-size:13px;color:#6A5C54;line-height:1.55}
.contacts-section{padding:84px 0 92px}
.contacts-wrapper{display:grid;grid-template-columns:.92fr 1.08fr;gap:28px;align-items:stretch}
.contacts-info{padding:38px;background:rgba(255,253,249,.84);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.contacts-title{font-size:clamp(30px,3.2vw,42px);margin-bottom:28px}
.contacts-list{display:flex;flex-direction:column;gap:10px;margin-bottom:26px}
.contact-item{padding:15px 16px;background:rgba(245,239,232,.85);border:1px solid #E7DBD0;border-radius:14px}
.contact-label{font-size:10px;font-weight:800;letter-spacing:.07em;color:#8A786D;margin-bottom:4px;text-transform:uppercase}
.contact-value{font-size:15px;font-weight:650;color:var(--walnut);line-height:1.4}
.contact-value.highlight{color:var(--terracotta-dark);font-size:17px}
.messengers-block{margin-top:auto}
.messengers-title{display:block;font-size:12px;font-weight:700;color:var(--walnut);margin-bottom:10px}
.messengers-buttons{display:flex;flex-wrap:wrap;gap:8px}
.btn-messenger{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 13px;border-radius:12px;background:var(--white);border:1px solid var(--line);font-size:12px;font-weight:750;box-shadow:0 4px 12px rgba(56,37,29,.05);transition:.2s ease}
.btn-messenger:hover{transform:translateY(-1px);border-color:#D0B7A5;background:#F7EEE7}
.contacts-form-box{padding:38px;background:var(--walnut);color:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}
.form-title{font-size:26px;color:var(--white);margin-bottom:9px}
.form-subtitle{font-size:13px;color:#D9CCC4;line-height:1.55;margin-bottom:24px;max-width:560px}
.lead-form{display:flex;flex-direction:column;gap:14px}
.form-group{display:flex;flex-direction:column;gap:6px}
.form-group label{font-size:11px;font-weight:750;color:#E9DDD5}
.form-group input[type="text"],.form-group input[type="tel"],.form-group textarea{width:100%;padding:13px 14px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.08);color:var(--white);outline:none;transition:.2s ease}
.form-group input::placeholder,.form-group textarea::placeholder{color:#BCAEA5}
.form-group input:focus,.form-group textarea:focus{border-color:#E59A6D;background:rgba(255,255,255,.11);box-shadow:0 0 0 3px rgba(229,154,109,.1)}
.file-input{font-size:12px;color:#DCCFC7;padding:4px 0}
.form-note{font-size:10px;line-height:1.45;color:#BFAFA5}
.site-footer{background:var(--walnut);color:var(--white);padding-top:50px;border-radius:32px 32px 0 0}
.footer-container{display:flex;justify-content:space-between;align-items:flex-start;gap:36px;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-logo{font-size:18px;font-weight:800;letter-spacing:.03em;margin-bottom:8px}
.footer-copy{font-size:13px;line-height:1.55;color:#D4C7BF}
.footer-links{text-align:right}
.footer-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:14px 20px;margin-bottom:14px}
.footer-nav a{font-size:12px;font-weight:650;color:#F0E8E2}
.footer-nav a:hover{color:#F1A779}
.footer-legal a{font-size:11px;color:#C5B7AE;text-decoration:underline;text-underline-offset:3px}
.footer-bottom{padding:16px 0;font-size:11px;color:#AFA098;text-align:center}
.lightbox-modal{display:none;position:fixed;inset:0;z-index:2000;align-items:center;justify-content:center;padding:24px;background:rgba(20,15,12,.9);backdrop-filter:blur(8px)}
.lightbox-modal.active{display:flex}
.lightbox-content{position:relative;width:min(920px,100%);padding:14px;background:#2B211D;border:1px solid rgba(255,255,255,.08);border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.38)}
.lightbox-close{position:absolute;top:16px;right:16px;z-index:3;width:40px;height:40px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:var(--white);font-size:25px;cursor:pointer}
.lightbox-body{width:100%;overflow:hidden;border-radius:14px;background:#171311}
.lightbox-body img,.lightbox-body svg{display:block;width:100%;max-height:72vh;object-fit:contain}
.lightbox-caption{padding:12px 8px 4px;color:#E8DED8;font-size:13px;text-align:center}
.cookie-banner{display:none;position:fixed;left:20px;right:20px;bottom:20px;z-index:1500;padding:14px 0;background:rgba(56,37,29,.97);color:var(--white);border:1px solid rgba(255,255,255,.1);border-radius:18px;box-shadow:0 18px 45px rgba(0,0,0,.22);backdrop-filter:blur(8px)}
.cookie-banner.active{display:block}
.cookie-container{display:flex;align-items:center;justify-content:space-between;gap:18px}
.cookie-text{font-size:12px;color:#E1D6CF;line-height:1.45}
.cookie-text a{color:#F0A77C;text-decoration:underline}
@media(max-width:1060px){.header-container{gap:16px}.main-nav ul{gap:16px}.header-right{gap:10px}.hero-container{grid-template-columns:1fr 420px;gap:34px}.services-grid{grid-template-columns:repeat(2,1fr)}.process-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.main-nav{display:none;position:absolute;top:100%;left:16px;right:16px;padding:16px;background:var(--walnut);border:1px solid rgba(255,255,255,.12);border-radius:0 0 18px 18px;box-shadow:0 16px 30px rgba(0,0,0,.18)}.main-nav.active{display:block}.main-nav ul{flex-direction:column;align-items:flex-start;gap:14px}.mobile-menu-btn{display:flex}.header-phone{display:none}.hero-container{grid-template-columns:1fr}.hero-content{max-width:760px}.hero-visual{max-width:620px}.ba-grid{grid-template-columns:1fr}.contacts-wrapper{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:220px}.gallery-item.item-large{grid-column:span 2;grid-row:span 2}}
@media(max-width:640px){.container{padding:0 16px}.site-header{padding:11px 0}.logo-title{font-size:14px}.logo-subtitle{font-size:9px}.header-right{display:none}.hero-section{padding:52px 0 62px}.hero-title{font-size:42px}.hero-subtitle{font-size:16px}.hero-actions{flex-direction:column;align-items:stretch}.hero-features{grid-template-columns:1fr;gap:14px}.hero-feature-item{padding:0 0 14px;border-bottom:1px solid var(--line-dark)}.hero-feature-item:last-child{padding-bottom:0;border-bottom:0}.hero-frame{border-radius:24px;padding:10px;transform:none}.hero-image-wrapper{border-radius:18px;aspect-ratio:4/5}.services-section,.gallery-section,.process-section,.contacts-section{padding:64px 0}.section-header{margin-bottom:32px}.section-title{font-size:34px}.services-grid,.process-grid{grid-template-columns:1fr}.service-card{min-height:0;padding:24px}.before-after-section{padding:56px 0}.before-after-section>.container{border-radius:0;padding-top:48px;padding-bottom:48px}.ba-images{grid-template-columns:1fr}.ba-image-box{height:300px}.gallery-grid{grid-template-columns:1fr;grid-auto-rows:280px}.gallery-item.item-large{grid-column:span 1;grid-row:span 1}.gallery-overlay{opacity:1;min-height:70px;padding:18px 16px 14px}.contacts-info,.contacts-form-box{padding:26px;border-radius:22px}.site-footer{border-radius:24px 24px 0 0}.footer-container{flex-direction:column}.footer-links{text-align:left}.footer-nav{justify-content:flex-start;flex-direction:column;gap:10px}.cookie-banner{left:10px;right:10px;bottom:10px}.cookie-container{flex-direction:column;align-items:flex-start}.cookie-container .btn{width:100%}}
.contact-item:nth-child(2){background:var(--terracotta);border-color:var(--terracotta);box-shadow:0 10px 22px rgba(201,104,50,.18)}
.contact-item:nth-child(2) .contact-label,.contact-item:nth-child(2) .contact-value,.contact-item:nth-child(2) .contact-value a{color:var(--white)}
.btn-wa{background:#2FB66D;color:#fff;border-color:#2FB66D}
.btn-wa:hover{background:#26965A;color:#fff;border-color:#26965A}
.btn-tg{background:#2A9BD7;color:#fff;border-color:#2A9BD7}
.btn-tg:hover{background:#2182B7;color:#fff;border-color:#2182B7}
.btn-vk{background:#3D73B9;color:#fff;border-color:#3D73B9}
.btn-vk:hover{background:#315F99;color:#fff;border-color:#315F99}
.btn-max{background:#25211F;color:#fff;border-color:#25211F}
.btn-max:hover{background:#000;color:#fff;border-color:#000}

/*start_css_for_ixwha*/
#ixwha {
  position: relative;
  background-color: #f7f1eb;
  background-image: linear-gradient(90deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.9) 45%, rgba(255, 252, 248, 0.72) 75%, rgba(255, 252, 248, 0.6) 100%), url('/staticfiles/section-ai-ixwha-1-23c5cbde.png');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line, rgba(56, 37, 29, 0.12));
}

#ixwha .hero-frame {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 37, 29, 0.12);
  box-shadow: 0 18px 40px rgba(56, 37, 29, 0.12);
}

#ixwha .hero-badge {
  background: rgba(235, 218, 206, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(169, 78, 34, 0.18);
}

#ixwha .hero-features {
  border-top-color: rgba(56, 37, 29, 0.14);
}

@media (max-width: 991px) {
  #ixwha {
    background-image: linear-gradient(180deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.88) 60%, rgba(255, 252, 248, 0.92) 100%), url('/staticfiles/section-ai-ixwha-1-23c5cbde.png');
    background-position: center;
  }
}

@media (max-width: 767px) {
  #ixwha {
    background-image: linear-gradient(180deg, rgba(255, 252, 248, 0.95) 0%, rgba(255, 252, 248, 0.92) 100%), url('/staticfiles/section-ai-ixwha-1-23c5cbde.png');
  }

  #ixwha .hero-feature-item {
    border-bottom: 1px solid rgba(56, 37, 29, 0.12);
  }
}
/*end_css_for_ixwha*/

/*start_css_for_i5if6*/
#i5if6 .hero-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

#i5if6 .hero-image-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

#i5if6 .hero-image-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43, 35, 31, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  line-height: 1.2;
}

#i5if6 .hero-image-label-after {
  background: rgba(169, 78, 34, 0.9);
}

#i5if6 .hero-image-wrapper {
  overflow: hidden;
  border-radius: 18px;
  background: #d9c8b8;
  aspect-ratio: 3 / 4;
}

#i5if6 .hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1);
  transition: transform 0.35s ease;
}

#i5if6 .hero-image-card:hover .hero-photo {
  transform: scale(1.04);
}

@media (max-width: 540px) {
  #i5if6 .hero-images-grid {
    gap: 8px;
  }

  #i5if6 .hero-image-wrapper {
    border-radius: 14px;
  }

  #i5if6 .hero-image-label {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 10px;
  }
}
/*end_css_for_i5if6*/

/*start_css_for_i1nq2*/
#i1nq2 {
  display: flex;
  align-items: center;
  gap: 7px;
}

#i1nq2 .social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E7DCD4;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#i1nq2 .social-icon:hover {
  background: var(--terracotta, #c86a4b);
  border-color: var(--terracotta, #c86a4b);
  color: var(--white, #ffffff);
  transform: translateY(-1px);
}

#i1nq2 .social-icon-img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(93%) sepia(9%) saturate(341%) hue-rotate(338deg) brightness(98%) contrast(92%);
  transition: filter 0.2s ease;
}

#i1nq2 .social-icon:hover .social-icon-img {
  filter: brightness(0) invert(1);
}
/*end_css_for_i1nq2*/

/*start_css_for_irb4ll*/
#irb4ll {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#irb4ll .btn-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 12px;
  background: #F7EEE7;
  border: 1px solid #D0B7A5;
  box-shadow: 0 4px 12px rgba(56, 37, 29, 0.05);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

#irb4ll .btn-tg,
#irb4ll .btn-wa,
#irb4ll .btn-vk,
#irb4ll .btn-max {
  background: #F7EEE7;
  border-color: #D0B7A5;
  color: #38251D;
}

#irb4ll .btn-messenger:hover {
  transform: translateY(-2px);
  background: #EFE4DC;
  border-color: #BA9982;
  box-shadow: 0 6px 16px rgba(56, 37, 29, 0.1);
}

#irb4ll .btn-tg:hover,
#irb4ll .btn-wa:hover,
#irb4ll .btn-vk:hover,
#irb4ll .btn-max:hover {
  background: #EFE4DC;
  border-color: #BA9982;
  color: #38251D;
}

#irb4ll .btn-messenger:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(56, 37, 29, 0.08);
}

#irb4ll .messenger-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.2s ease;
}

#irb4ll .btn-messenger:hover .messenger-icon {
  transform: scale(1.08);
}

#irb4ll .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  #irb4ll {
    gap: 8px;
  }

  #irb4ll .btn-messenger {
    width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 10px;
  }

  #irb4ll .messenger-icon {
    width: 19px;
    height: 19px;
  }
}
/*end_css_for_irb4ll*/

/*start_css_for_contacts*/
#contacts .form-consent {
  margin: 2px 0 6px;
}

#contacts .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.45;
  color: #D9CCC4;
  user-select: none;
}

#contacts .consent-checkbox {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 1px;
  accent-color: var(--terracotta, #c96832);
  cursor: pointer;
  border-radius: 4px;
}

#contacts .consent-text {
  display: inline;
}

#contacts .consent-link {
  color: #F0A77C;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

#contacts .consent-link:hover {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  #contacts .consent-label {
    font-size: 11.5px;
    line-height: 1.4;
  }
}
/*end_css_for_contacts*/
.file-input {
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #DCCFC7;
  font-size: 12px;
  cursor: pointer;
  transition: .2s ease;
}

.file-input::file-selector-button {
  margin-right: 12px;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease,
              transform .2s ease;
}

.file-input::file-selector-button:hover {
  background: var(--terracotta-dark);
}

.file-input:hover {
  border-color: #E59A6D;
  background: rgba(255,255,255,.11);
}

.file-input:focus {
  outline: none;
  border-color: #E59A6D;
  box-shadow: 0 0 0 3px rgba(229,154,109,.1);
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
}

/*start_css_for_io0h83*/
#io0h83 {
  background: var(--walnut, #2b231f);
  color: var(--white, #ffffff);
  padding-top: 50px;
  border-radius: 32px 32px 0 0;
}

#io0h83 .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#io0h83 .footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

#io0h83 .footer-copy {
  font-size: 13px;
  line-height: 1.55;
  color: #D4C7BF;
}

#io0h83 .footer-links {
  text-align: right;
}

#io0h83 .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  margin-bottom: 14px;
}

#io0h83 .footer-nav a {
  font-size: 12px;
  font-weight: 650;
  color: #F0E8E2;
  transition: color 0.2s ease;
}

#io0h83 .footer-nav a:hover {
  color: #F1A779;
}

#io0h83 .footer-legal a {
  font-size: 11px;
  color: #C5B7AE;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

#io0h83 .footer-legal a:hover {
  color: #ffffff;
}

#io0h83 .footer-bottom {
  padding: 16px 0;
  font-size: 11px;
  color: #AFA098;
}

#io0h83 .footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

#io0h83 .footer-developer a {
  color: inherit;
  text-decoration: underline;
  transition: color 0.2s ease;
}

#io0h83 .footer-developer a:hover {
  color: #F1A779;
}

@media (max-width: 768px) {
  #io0h83 {
    border-radius: 24px 24px 0 0;
  }

  #io0h83 .footer-container {
    flex-direction: column;
    gap: 24px;
  }

  #io0h83 .footer-links {
    text-align: left;
  }

  #io0h83 .footer-nav {
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  #io0h83 .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
/*end_css_for_io0h83*/

/*start_css_for_back_to_top*/
.back-to-top,
#backToTop {
  position: fixed;
  bottom: 100px;
  right: 100px;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  background-color: var(--terracotta, #c96832);
  color: var(--white, #ffffff);
  border: 1px solid var(--terracotta, #c96832);
  box-shadow: 0 4px 16px rgba(56, 37, 29, 0.2), 0 4px 14px rgba(201, 104, 50, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  margin: 0;
  text-decoration: none;
  box-sizing: border-box;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, bottom 0.25s ease, right 0.25s ease, width 0.25s ease, height 0.25s ease;
}

.back-to-top.is-visible,
.back-to-top.visible,
#backToTop.is-visible,
#backToTop.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

@media (hover: hover) {
  .back-to-top:hover,
  #backToTop:hover {
    background-color: var(--terracotta-dark, #a94e22);
    border-color: var(--terracotta-dark, #a94e22);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(56, 37, 29, 0.25), 0 6px 20px rgba(169, 78, 34, 0.45);
  }
}

.back-to-top:active,
#backToTop:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(56, 37, 29, 0.2), 0 2px 6px rgba(169, 78, 34, 0.25);
}

.back-to-top:focus-visible,
#backToTop:focus-visible {
  outline: 2px solid var(--walnut, #38251d);
  outline-offset: 3px;
}

.back-to-top-icon {
  width: 24px;
  height: 24px;
  display: block;
  pointer-events: none;
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .back-to-top:hover .back-to-top-icon,
  #backToTop:hover .back-to-top-icon {
    transform: translateY(-2px);
  }
}

/* Mobile & tablet adaptation */
@media (max-width: 768px) {
  .back-to-top,
  #backToTop {
    bottom: 24px;
    right: 20px;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
  }

  .back-to-top-icon {
    width: 22px;
    height: 22px;
  }

  .cookie-banner.active ~ .back-to-top,
  .cookie-banner.active ~ #backToTop {
    bottom: 125px;
  }
}

@media (max-width: 480px) {
  .back-to-top,
  #backToTop {
    bottom: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    box-shadow: 0 4px 12px rgba(56, 37, 29, 0.2), 0 3px 10px rgba(201, 104, 50, 0.3);
  }

  .back-to-top-icon {
    width: 20px;
    height: 20px;
  }

  .cookie-banner.active ~ .back-to-top,
  .cookie-banner.active ~ #backToTop {
    bottom: 135px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  #backToTop,
  .back-to-top-icon {
    transition: none;
  }
}
/*end_css_for_back_to_top*/

