:root {
  --ink: #20202c;
  --muted: #666576;
  --mint: #dff5ef;
  --mint-deep: #82b9a9;
  --violet: #7d28ef;
  --orange: #ff9f35;
  --green: #7dac38;
  --blue: #45b9df;
  --paper: #fffefa;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --script: "Marck Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }

.site-header {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 98px;
  display: grid; grid-template-columns: 250px 1fr auto; align-items: center; gap: 30px; padding: 0 4vw;
}
.logo { align-self: start; width: 250px; height: 98px; display: grid; place-items: center; background: var(--mint); border-radius: 0 0 18px 18px; }
.logo img { width: 180px; mix-blend-mode: multiply; }
.main-nav { display: flex; justify-content: center; gap: clamp(14px, 2vw, 34px); font-size: 11px; font-weight: 600; }
.main-nav a { position: relative; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--violet); transition: right .3s; }
.main-nav a:hover::after { right: 0; }
.header-cta { padding: 11px 18px; border: 1px solid #d9d9df; border-radius: 999px; font-size: 11px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 800px; padding: 170px 7vw 80px; overflow: hidden; background: radial-gradient(circle at 70% 15%, #fff 0 32%, #fbfffd 65%, #fff 100%); }
.hero-copy { position: relative; z-index: 3; width: 45%; }
.hand-note { margin: 0 0 18px; color: #6cae99; font: 25px var(--script); }
.hero h1 { margin: 0; font: 500 clamp(78px, 8vw, 132px)/.82 var(--serif); letter-spacing: -5px; }
.hero h1 em { display: inline-block; color: var(--violet); font: 400 clamp(80px, 8vw, 135px)/.8 var(--script); transform: rotate(-4deg); letter-spacing: -2px; }
.hero-lead { max-width: 490px; margin: 38px 0 30px; color: #474653; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 35px; min-height: 58px; padding: 0 30px; border-radius: 999px; font-size: 12px; font-weight: 600; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-3px); }
.button-dark { color: white; background: #1f1f25; }
.play-link { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.play-link span { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid #aaa; border-radius: 50%; font-size: 11px; }
.hero-visual { position: absolute; z-index: 1; width: 66%; right: -5%; top: 98px; transform-origin: center; transition: transform .1s linear; }
.hero-bouquet { width: 100%; filter: saturate(1.08); }
.brand-stamp { position: absolute; right: 5%; top: 3%; width: 175px; height: 175px; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 12px 22px rgba(31, 31, 50, .13)); animation: float 5s ease-in-out infinite; }
.scroll-cue { position: absolute; z-index: 4; bottom: 22px; left: 50%; display: grid; gap: 8px; place-items: center; font-size: 8px; letter-spacing: 2px; text-transform: uppercase; }
.scroll-cue span { font-size: 18px; }

.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; padding: 48px 4vw; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.service { position: relative; min-height: 260px; padding: 15px 26px 15px; }
.service + .service { border-left: 1px solid #eee; }
.service-icon { display: block; width: 112px; height: 92px; margin: -12px auto 12px; background-image: url("assets/service-icons.png"); background-repeat: no-repeat; background-size: 500% auto; }
.service-icon-link { display: block; width: max-content; margin: 0 auto; border-radius: 50%; }
.service-icon-link:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
.service-icon.icon-1 { background-position: 0 50%; }
.service-icon.icon-2, .service-icon.icon-6 { background-position: 25% 50%; }
.service-icon.icon-3 { background-position: 50% 50%; }
.service-icon.icon-4 { background-position: 75% 50%; }
.service-icon.icon-5 { background-position: 100% 50%; }
.service-icon.icon-6 { filter: hue-rotate(315deg) saturate(1.2); }
.service h2 { min-height: 62px; margin: 0 0 10px; font: 500 25px/1 var(--serif); }
.service p { margin: 0 0 16px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.service a { color: var(--violet); font-size: 10px; font-weight: 600; }

.gallery-section { padding: 70px 7vw 100px; background: linear-gradient(120deg, #f0fbf6, #fff 50%, #f0f7ff); overflow: hidden; }
.section-heading { display: flex; justify-content: space-between; align-items: end; padding: 0 7vw 30px; }
.eyebrow { margin: 0 0 14px; color: #737387; font-size: 9px; letter-spacing: 3px; text-transform: uppercase; }
.section-heading h2, .about h2 { margin: 0; font: 500 clamp(40px, 4vw, 65px)/.9 var(--serif); }
.gallery-section .section-heading { padding-left: 0; padding-right: 0; }
.gallery-intro { max-width: 290px; margin: 0; color: #66857c; font-size: 11px; line-height: 1.7; text-align: right; }
.category-sections { display: grid; gap: 20px; margin-top: 30px; }
.content-error { padding: 28px; border: 1px solid #efd0d7; border-radius: 14px; color: #9b2944; background: #fff7f9; }
.category-section { display: grid; grid-template-columns: .75fr 1.55fr; gap: clamp(30px, 6vw, 100px); align-items: center; min-height: 560px; margin: 0 -7vw; padding: 65px 7vw; scroll-margin-top: 20px; background: rgba(255,255,255,.64); }
.category-section:nth-child(even) { background: rgba(224,246,239,.7); }
.category-section:nth-child(3n) { background: rgba(244,238,255,.64); }
.category-section.category-reverse { grid-template-columns: 1.55fr .75fr; }
.category-reverse .category-copy { grid-column: 2; grid-row: 1; }
.category-reverse .category-gallery { grid-column: 1; grid-row: 1; }
.category-copy > span { color: var(--violet); font: 500 12px var(--sans); letter-spacing: 3px; }
.category-copy h3 { margin: 14px 0 20px; font: 500 clamp(46px, 5vw, 78px)/.9 var(--serif); }
.category-copy p { max-width: 330px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.category-open { margin-top: 20px; padding: 0 0 7px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; }
.category-open span { display:inline-grid; place-items:center; min-width:22px; height:22px; margin-left:8px; padding:0 6px; border-radius:999px; color:white; background:var(--violet); font-size:9px; }
.category-gallery { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 220px 220px; gap: 12px; }
.category-photo { position: relative; min-width: 0; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #e7f1ed; cursor: zoom-in; }
.category-photo:first-child { grid-row: 1 / 3; }
.category-photo:only-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.category-photo:nth-child(2):last-child { grid-row: 1 / 3; }
.category-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-photo:hover img { transform: scale(1.035); }
.category-photo span { position: absolute; left: 14px; right: 14px; bottom: 12px; color: white; font-size: 10px; text-align: left; text-shadow: 0 1px 8px rgba(0,0,0,.7); opacity: 0; transition: opacity .3s; }
.category-photo:hover span { opacity: 1; }
.crop { position: relative; overflow: hidden; }
.crop img { position: absolute; width: 300%; max-width: none; height: auto; object-fit: initial; }
.crop-1 img { left: 0; top: 0; }.crop-2 img { left: -100%; top: 0; }.crop-3 img { left: -200%; top: 0; }
.crop-4 img { left: 0; top: -100%; }.crop-5 img { left: -100%; top: -100%; }.crop-6 img { left: -200%; top: -100%; }
.gallery-modal { width:min(1000px, calc(100vw - 150px)); max-width:none; height:min(880px, calc(100dvh - 80px)); max-height:none; margin:auto; padding:0; border:0; overflow:visible; background:transparent; }
.gallery-modal::backdrop { background: rgba(18,18,26,.86); backdrop-filter: blur(6px); }
.gallery-modal[open] { display:grid; grid-template-rows:minmax(0, 1fr) auto; align-items:stretch; }
.modal-image { position:relative; display:grid; place-items:center; width:100%; min-width:0; min-height:0; overflow:hidden; background:transparent; }
.modal-image > img { display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; }
.modal-image.crop img { position: absolute; width: 300%; max-width: none; height: auto; object-fit: initial; }
.gallery-modal p { min-width:0; margin:0; color:white; text-align:center; font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
.modal-close { position:absolute; z-index:3; top:-42px; right:0; display:grid; place-items:center; width:34px; height:34px; padding:0; border:1px solid rgba(255,255,255,.7); border-radius:50%; color:white; background:rgba(20,20,28,.35); cursor:pointer; backdrop-filter:blur(5px); }
.modal-nav { position:absolute; z-index:2; top:50%; display:grid; place-items:center; width:46px; height:46px; padding:0; border:1px solid rgba(255,255,255,.65); border-radius:50%; color:white; background:rgba(20,20,28,.35); cursor:pointer; transform:translateY(-50%); backdrop-filter:blur(5px); }
.modal-prev { left:-65px; }.modal-next { right:-65px; }
.modal-nav:disabled { display:none; }
.modal-details { display:flex; justify-content:center; align-items:center; gap:14px; min-height:40px; padding-top:10px; color:white; }
.modal-counter { flex:0 0 auto; color:rgba(255,255,255,.7); font-size:11px; white-space:nowrap; }

.about { display: grid; grid-template-columns: 1fr 1.2fr .9fr; min-height: 540px; }
.about-photo > .crop { height: 100%; min-height: 540px; }
.about-photo .crop img { filter: saturate(.82); }
.about-copy { padding: 80px 7%; align-self: center; background: #fff; }
.about h2 em { color: #78aa99; font: 400 35px/1 var(--script); }
.about-copy > p:not(.eyebrow) { max-width: 530px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.stats { display: flex; gap: 45px; margin-top: 35px; }
.stats div { display: grid; gap: 3px; }.stats strong { color: var(--green); font: 500 34px var(--serif); }.stats div:nth-child(3) strong { color: var(--violet); }.stats span { font-size: 8px; }
.idea-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 10%; color: white; background: radial-gradient(circle at 30% 20%, #9856f5, #5e21c5 62%, #351275); }
.idea-card::before, .idea-card::after { content: ""; position: absolute; width: 330px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.13); filter: blur(35px); transform: rotate(-25deg); }
.idea-card::before { top: -40px; left: -80px; }.idea-card::after { right: -120px; bottom: -60px; }
.idea-card p { position: relative; z-index: 1; margin: 0 0 8px; font: 34px var(--serif); }
.idea-card h2 { position: relative; z-index: 1; margin-bottom: 30px; font: 500 18px/1.5 var(--sans); }
.button-light { position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.7); }

.blog-section { padding: 80px 7vw; background: #f7f1ff; }
.blog-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 35px; }
.blog-heading h2 { margin: 0; font: 500 clamp(40px, 4vw, 65px)/.92 var(--serif); }
.blog-heading > p { max-width: 330px; color: #6a6572; font-size: 11px; line-height: 1.8; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.blog-card { overflow: hidden; border-radius: 18px; background: white; }
.blog-card img { width: 100%; height: 290px; object-fit: cover; }
.blog-card div { padding: 22px; }
.blog-card time { color: #8d64ad; font-size: 9px; letter-spacing: 1px; }
.blog-card h3 { margin: 9px 0; font: 500 31px/1 var(--serif); }
.blog-card p { margin: 0; color: #62606a; font-size: 11px; line-height: 1.8; }

.reviews-section { padding: 80px 7vw; background: #fff; }
.reviews-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 35px; }
.reviews-heading h2 { margin: 0; font: 500 clamp(40px, 4vw, 65px)/.92 var(--serif); }
.reviews-heading > a { padding-bottom: 7px; border-bottom: 1px solid #839b94; color: #55776d; font-size: 11px; }
.review-aspects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-aspect { display: grid; grid-template-columns: 1fr auto; gap: 5px 16px; padding: 24px 26px; border-radius: 18px; background: #f3f3f3; transition: transform .25s, background .25s; }
.review-aspect:hover { transform: translateY(-4px); background: #edf7f3; }
.review-aspect span { font-size: 14px; font-weight: 600; }
.review-aspect strong { color: #23b918; font-size: 14px; }
.review-aspect strong b { font-size: 8px; }
.review-aspect small { grid-column: 1 / 3; color: #777; font-size: 11px; }
.review-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.review-quote { display: grid; align-content: space-between; gap: 20px; min-height: 245px; padding: 28px; border: 1px solid #e4ebe8; border-radius: 18px; background: #fff; }
.review-quote > div { display: flex; justify-content: space-between; gap: 15px; }
.review-quote strong { font: 500 22px var(--serif); }
.review-quote span { color: #f5b400; font-size: 12px; letter-spacing: 1px; }
.review-quote p { margin: 0; color: #555461; font-size: 11px; line-height: 1.9; }
.review-quote small { color: #779087; font-size: 9px; text-transform: uppercase; letter-spacing: 1.2px; }

footer { display: grid; grid-template-columns: .75fr 1.25fr; gap: 6vw; padding: 70px 7vw; background: #e9f7f2; }
footer > div { display: grid; align-content: start; gap: 12px; font-size: 11px; }
footer .hand-note { margin: 0 0 4px; font-size: 24px; }
.contact-copy h2 { margin: 0 0 16px; font: 500 clamp(38px, 4vw, 60px)/.95 var(--serif); }
.contact-copy a { width: fit-content; line-height: 1.6; }
.contact-phone { color: var(--ink); font-size: 20px; font-weight: 600; }
.contact-email { margin-bottom: 10px; color: var(--violet); font-size: 16px; font-weight: 600; }
.contact-telegram { margin-bottom: 8px; color: #238bc1; font-size: 13px; font-weight: 600; }
.working-hours { display: grid; gap: 7px; margin: 8px 0 14px; padding: 16px 0; border-top: 1px solid #bed5ce; border-bottom: 1px solid #bed5ce; }
.working-hours strong { font: 500 22px var(--serif); }
.working-hours span { color: #576c65; font-size: 10px; }
.reviews-link { margin-top: 12px; padding: 13px 20px; border: 1px solid #8baaa1; border-radius: 999px; }
.map-wrap { position: relative; height: 500px; overflow: hidden; border-radius: 14px; box-shadow: 0 18px 55px rgba(43,82,71,.12); }
#yandexMap, #yandexMap iframe { display: block; width: 100%; height: 100%; min-height: 0; border: 0; }
.af-map-label { display: none; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes float { 50% { transform: translateY(-14px) rotate(2deg); } }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 190px 1fr auto; padding: 0 20px; }
  .logo { width: 190px; }.main-nav { display: none; }
  .menu-toggle { display: grid; justify-self: end; gap: 6px; width: 38px; border: 0; background: transparent; }
  .menu-toggle span { height: 1px; background: var(--ink); }
  .main-nav.open { position: absolute; top: 90px; right: 20px; display: grid; gap: 18px; padding: 25px; border-radius: 14px; background: white; box-shadow: 0 18px 50px rgba(0,0,0,.12); }
  .header-cta { display: none; }
  .hero { min-height: 720px; }.hero-copy { width: 55%; }.hero-visual { width: 68%; right: -15%; }
  .services { grid-template-columns: repeat(3, 1fr); }.service + .service { border-left: 0; }
  .about { grid-template-columns: 1fr 1fr; }.idea-card { min-height: 420px; grid-column: span 2; }
  .gallery-modal { width:calc(100vw - 32px); height:calc(100dvh - 72px); }
  .modal-close { top:8px; right:8px; }
  .modal-nav { width:42px; height:42px; }
  .modal-prev { left:10px; }.modal-next { right:10px; }
}

@media (max-width: 720px) {
  .site-header { height: 76px; grid-template-columns: 150px 1fr; }.logo { width: 150px; height: 76px; }.logo img { width: 130px; }
  .hero { min-height: 820px; padding: 125px 22px 30px; }
  .hero-copy { width: 100%; }.hero h1 { font-size: 68px; letter-spacing: -3px; }.hero h1 em { font-size: 73px; }
  .hero-lead { max-width: 330px; margin-top: 22px; font-size: 12px; }.hero-actions { flex-wrap: wrap; }
  .hero-visual { width: 115%; right: -38%; top: auto; bottom: -2%; opacity: .92; }.brand-stamp { width: 105px; height: 105px; right: 35%; top: 1%; bottom: auto; }
  .scroll-cue { display: none; }
  .services { grid-template-columns: 1fr 1fr; padding: 30px 10px; }.service { min-height: 250px; padding: 15px; }
  .section-heading { align-items: start; padding: 0 22px 25px; }
  .gallery-section { padding-left: 22px; padding-right: 22px; }
  .gallery-intro { display: none; }
  .category-section, .category-section.category-reverse { grid-template-columns: 1fr; gap: 28px; min-height: 0; margin: 0 -22px; padding: 45px 22px; }
  .category-reverse .category-copy, .category-reverse .category-gallery { grid-column: 1; grid-row: auto; }
  .category-copy h3 { font-size: 50px; }
  .category-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 8px; }
  .category-photo, .category-photo:first-child, .category-photo:only-child, .category-photo:nth-child(2):last-child { grid-column: auto; grid-row: auto; aspect-ratio: 1 / 1; }
  .category-photo:first-child, .category-photo:only-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .category-photo img, .blog-card img { display: block; }
  .blog-card img { height: auto; aspect-ratio: 4 / 3; }
  .gallery-modal { width:100vw; height:100dvh; padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); overflow:hidden; }
  .modal-image { padding:44px 0 0; }
  .modal-close { top:max(10px, env(safe-area-inset-top)); right:max(10px, env(safe-area-inset-right)); width:38px; height:38px; }
  .modal-nav { top:auto; bottom:max(6px, env(safe-area-inset-bottom)); width:42px; height:42px; transform:none; }
  .modal-prev { left:max(10px, env(safe-area-inset-left)); }.modal-next { right:max(10px, env(safe-area-inset-right)); }
  .modal-details { min-height:52px; padding:8px 54px 0; }
  .gallery-modal p { display:-webkit-box; max-height:2.9em; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-size:11px; }
  .modal-counter { font-size:10px; }
  .about { grid-template-columns: 1fr; }.about-photo > .crop { min-height: 400px; }.about-copy { padding: 60px 22px; }.idea-card { grid-column: auto; min-height: 390px; }
  .stats { gap: 22px; }.stats strong { font-size: 27px; }
  .reviews-section { padding: 55px 22px; }
  .reviews-heading { display: grid; gap: 20px; }
  .review-aspects { grid-template-columns: 1fr; }
  .review-quotes { grid-template-columns: 1fr; }
  .review-quote { min-height: 0; }
  .blog-section { padding: 55px 22px; }
  .blog-heading { display: grid; gap: 18px; }
  .blog-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; padding: 45px 22px; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .gallery-modal { width:100vw; height:100dvh; padding:6px max(58px, env(safe-area-inset-right)) 6px max(58px, env(safe-area-inset-left)); }
  .modal-image { padding:0; }
  .modal-details { position:absolute; z-index:2; left:50%; bottom:6px; min-height:30px; max-width:55%; padding:5px 10px; border-radius:999px; background:rgba(20,20,28,.45); transform:translateX(-50%); backdrop-filter:blur(5px); }
  .gallery-modal p { display:none; }
  .modal-close { top:8px; right:max(8px, env(safe-area-inset-right)); }
  .modal-nav { top:50%; bottom:auto; transform:translateY(-50%); }
  .modal-prev { left:max(8px, env(safe-area-inset-left)); }.modal-next { right:max(8px, env(safe-area-inset-right)); }
}

@media (max-width: 720px) {
  .map-wrap { height:min(460px, 72dvh); min-height:340px; border-radius:10px; }
  #yandexMap, #yandexMap iframe { min-height:340px; }
}
