:root {
  color-scheme: light;
  --background: #f3f7fb;
  --surface: rgba(255, 255, 255, .78);
  --surface-strong: rgba(255, 255, 255, .94);
  --text: #192c43;
  --muted: #53677d;
  --accent: #2259b9;
  --accent-deep: #194793;
  --line: rgba(51, 80, 112, .14);
  --shadow: 0 12px 36px rgba(40, 68, 103, .07);
  --shadow-hover: 0 20px 44px rgba(40, 68, 103, .14);
  --radius: 28px;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { position: relative; isolation: isolate; margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
svg { width: 24px; height: 24px; flex: none; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { color: white; background: var(--accent); }

.page-background { position: absolute; z-index: -1; inset: 0 0 auto; height: 1020px; overflow: hidden; pointer-events: none; }
.page-background picture, .page-background img { display: block; width: 100%; height: 100%; }
.page-background img { object-fit: cover; object-position: 58% top; }
.snow-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.snow-canvas[hidden] { display: none; }
.page-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(243, 247, 251, .08) 0%, rgba(243, 247, 251, .08) 48%, var(--background) 96%),
    linear-gradient(90deg, rgba(243, 247, 251, .97) 0%, rgba(243, 247, 251, .82) 35%, rgba(243, 247, 251, .12) 72%, rgba(243, 247, 251, .05));
}
.site-shell { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 114px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; min-height: 44px; }
.brand img { display: block; width: 64px; height: auto; mix-blend-mode: multiply; }
.brand > span { font-size: 25px; font-weight: 700; letter-spacing: -.055em; }
.brand-domain { font-weight: 400; color: var(--muted); }
.header-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.header-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; }
.header-nav a:hover { color: var(--accent); }
.header-caption { display: inline-flex; align-items: center; gap: 8px; padding-left: 30px; border-left: 1px solid var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; }
.header-caption svg { width: 20px; height: 20px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: end; gap: 56px; padding-block: 70px 62px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow-line { width: 32px; height: 1px; background: currentColor; }
h1 { margin: 0; max-width: 800px; font-size: clamp(44px, 4.55vw, 68px); font-weight: 650; line-height: 1.09; letter-spacing: -.055em; text-wrap: balance; }
h1 span { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; color: #3d6896; }
.hero-description { max-width: 470px; margin: 27px 0 0; font-size: 16px; line-height: 1.8; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 15px 23px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; line-height: 1.5; font-weight: 600; background: var(--surface-strong); transition: background .2s, box-shadow .2s, transform .2s; }
.button svg { width: 20px; height: 20px; }
.button:hover { background: white; box-shadow: var(--shadow); transform: translateY(-2px); }
.button-primary { margin-top: 29px; background: var(--accent); color: white; border-color: transparent; box-shadow: 0 8px 22px rgba(34, 89, 185, .18); }
.button-primary:hover { background: var(--accent-deep); box-shadow: 0 12px 26px rgba(34, 89, 185, .22); }
.hero-greeting { margin: 19px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.hero-note { justify-self: end; max-width: 350px; margin-bottom: 54px; padding: 24px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; background: rgba(255, 255, 255, .58); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.hero-note p { margin: 0 0 12px; font: italic 20px/1.55 Georgia, 'Times New Roman', serif; color: #304c68; }
.hero-note-caption { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.galleries { padding-bottom: 64px; scroll-margin-top: 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-eyebrow { margin-bottom: 10px; font-size: 10px; letter-spacing: .15em; }
h2 { margin: 0; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -.045em; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.gallery-item { min-width: 0; }
.gallery-card { display: block; height: 100%; overflow: hidden; border: 1px solid rgba(255, 255, 255, .94); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(14px); transition: transform .25s, box-shadow .25s, background .25s; }
.gallery-cover { position: relative; display: grid; align-items: end; overflow: hidden; aspect-ratio: 4 / 3; min-height: 260px; padding-top: 140px; background: linear-gradient(140deg, #eaf2fa, #f8fbff 55%, #dfeaf6); border-radius: inherit; }
.cover-placeholder { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 14px; padding-bottom: 90px; background: radial-gradient(ellipse at 70% 90%, rgba(155, 184, 211, .23), transparent 60%); }
.cover-placeholder img { width: 82px; height: auto; opacity: .5; mix-blend-mode: multiply; }
.cover-placeholder span { font-size: 9px; letter-spacing: .23em; color: var(--muted); }
.gallery-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-image[hidden] { display: none; }
.gallery-caption { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; margin: 14px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 20px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); }
.gallery-title { min-width: 0; }
.gallery-title h3 { margin: 0; font-size: 23px; font-weight: 600; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; }
.gallery-title p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.card-arrow { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid rgba(255, 255, 255, .9); border-radius: 50%; background: white; color: #47617d; transition: background .2s, color .2s, border-color .2s; }
.card-arrow svg { width: 19px; height: 19px; }
.gallery-card:focus-visible { background: white; box-shadow: var(--shadow-hover); }
.gallery-card:focus-visible .card-arrow { background: var(--text); color: white; border-color: var(--text); }
@media (hover: hover) {
  .gallery-card:hover { transform: translateY(-5px); background: var(--surface-strong); box-shadow: var(--shadow-hover); }
  .gallery-card:hover .gallery-image { transform: scale(1.045); }
  .gallery-card:hover .card-arrow { background: var(--text); color: white; border-color: var(--text); }
}
.gallery-state { padding: 38px 28px 42px; text-align: center; background: var(--surface); border: 1px solid white; border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.state-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 16px; background: #eaf1f8; color: #587694; }
.state-icon svg { width: 27px; height: 27px; }
.state-title { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.state-description { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.gallery-state .button { margin-top: 24px; }

.reviews { padding-bottom: 64px; scroll-margin-top: 28px; }
.reviews-heading { align-items: center; flex-wrap: wrap; gap: 12px; }
.reviews-title-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.reviews-count { padding: 5px 11px; border-radius: 999px; background: #e9f0f8; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.reviews-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--muted); }
.reviews-all svg { width: 18px; height: 18px; }
.reviews-all:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.review-item { min-width: 0; }
.review-card { display: flex; flex-direction: column; gap: 16px; height: 100%; min-height: 248px; padding: 24px; border: 1px solid white; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, background .25s; }
.review-card-header { display: flex; align-items: center; gap: 12px; }
.review-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: #e9f0f8; color: #4c6789; font-size: 17px; font-weight: 600; }
.review-author { flex: 1; min-width: 0; }
.review-author h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; overflow-wrap: anywhere; }
.review-author time { display: block; margin-top: 4px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.review-card-rating { display: grid; gap: 6px; }
.review-rating { display: inline-flex; align-items: center; gap: 9px; }
.review-stars { display: inline-flex; gap: 3px; }
.review-star { position: relative; width: 16px; height: 16px; color: #a1b1c3; }
.review-star svg { display: block; width: 16px; height: 16px; max-width: none; }
.review-star-fill { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; color: #4c6789; }
.review-star-fill svg { fill: currentColor; }
.review-rating-value { font-size: 12px; font-weight: 600; color: #4c6789; }
.review-rating-note { font-size: 10px; line-height: 1.5; color: var(--muted); }
.review-message { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.review-card-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; font-size: 11px; font-weight: 500; color: var(--muted); }
.review-card-action svg { width: 16px; height: 16px; }
.review-card:focus-visible { background: white; box-shadow: var(--shadow-hover); }
.reviews-empty { display: block; padding: 28px; border: 1px solid white; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.reviews-empty p { margin: 0; font-size: 17px; line-height: 1.5; }
.reviews-empty span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.reviews-empty:hover { background: white; }
@media (hover: hover) {
  .review-card:hover { transform: translateY(-3px); background: white; box-shadow: var(--shadow-hover); }
}

.contacts { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; padding: 38px 42px; margin-bottom: 36px; border: 1px solid white; border-radius: 32px; background: linear-gradient(115deg, rgba(255, 255, 255, .94), rgba(235, 243, 251, .8)); box-shadow: var(--shadow); scroll-margin-top: 28px; }
.contacts-copy > p:last-child { margin: 16px 0 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.contact-links { display: grid; gap: 10px; min-width: 0; }
.contact-link { display: flex; align-items: center; gap: 15px; min-height: 76px; padding: 13px 17px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(88, 116, 147, .1); border-radius: 18px; transition: background .2s, box-shadow .2s; }
.contact-link:hover { background: white; box-shadow: 0 4px 18px rgba(40, 68, 103, .07); }
.contact-icon { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: 13px; color: #456488; background: #edf3fa; }
.contact-icon svg { width: 20px; height: 20px; }
.contact-details { display: grid; gap: 5px; flex: 1; min-width: 0; }
.contact-label { font-size: 10px; color: var(--muted); }
.contact-value { font-size: 16px; font-weight: 500; letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact-link > svg { width: 18px; height: 18px; color: #647c96; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px 34px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-details { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; column-gap: 28px; row-gap: 4px; }
.snow-toggle { min-height: 44px; padding: 8px 0; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; }
.snow-toggle[hidden] { display: none; }
.snow-toggle:hover { color: var(--text); }
.footer-brand { display: grid; gap: 6px; font-size: 15px; font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.footer-brand span { font-size: 10px; font-weight: 400; letter-spacing: .015em; color: var(--muted); }
.site-footer p { margin: 0; font-size: 11px; line-height: 1.8; }
.site-footer p a { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; color: var(--text); font-weight: 600; }
.site-footer p a svg { width: 14px; height: 14px; }
.site-footer p a:hover { text-decoration: underline; text-underline-offset: 4px; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 14px 20px; border-radius: 12px; transform: translateY(-200%); color: white; background: var(--accent); }
.skip-link:focus { transform: translateY(0); }

@media (min-width: 1600px) {
  .hero { padding-block: 88px 76px; }
  .page-background { height: 1100px; }
}
@media (max-width: 1100px) {
  .site-shell { width: calc(100% - 64px); }
  .header-caption { display: none; }
  .hero { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 32px; padding-block: 60px 54px; }
  .hero-note { padding: 20px; margin-bottom: 38px; }
  .hero-note p { font-size: 18px; }
  .hero-note-caption { font-size: 8px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .contacts { gap: 28px; padding: 32px; }
  .contacts h2 { font-size: 28px; }
}
@media (max-width: 760px) {
  .site-shell { width: calc(100% - 40px); }
  .site-header { min-height: 90px; gap: 16px; }
  .brand { gap: 9px; }
  .brand img { width: 48px; }
  .brand > span { font-size: 22px; }
  .header-nav { gap: 18px; }
  .header-nav a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-block: 48px 44px; }
  .hero-copy { max-width: 570px; }
  h1 { max-width: 550px; font-size: clamp(40px, 7.1vw, 56px); }
  .hero-note { display: none; }
  .hero-description { max-width: 420px; font-size: 15px; margin-top: 23px; }
  .page-background { height: 760px; }
  .page-background img { object-position: 65% top; }
  .page-background::after { background: linear-gradient(180deg, rgba(243, 247, 251, .66), rgba(243, 247, 251, .74) 56%, var(--background) 98%); }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .section-eyebrow { font-size: 9px; margin-bottom: 9px; }
  .section-heading { margin-bottom: 22px; }
  .galleries { padding-bottom: 38px; }
  .reviews { padding-bottom: 38px; }
  .review-grid { grid-template-columns: 1fr; gap: 19px; }
  .review-card { padding: 22px; border-radius: 23px; }
  .contacts { grid-template-columns: 1fr; gap: 24px; padding: 28px; margin-bottom: 24px; border-radius: 26px; }
  .contacts h2 { font-size: 29px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 24px; }
  .footer-details { justify-content: flex-start; column-gap: 22px; }
}
@media (max-width: 540px) {
  .header-nav a:first-child { display: none; }
  .hero { padding-top: 40px; }
  h1 { font-size: clamp(37px, 9.7vw, 48px); line-height: 1.12; }
  .hero-description { font-size: 14px; }
  .button-primary { margin-top: 25px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 19px; }
  .gallery-card { border-radius: 25px; }
  .gallery-cover { min-height: 250px; }
  .gallery-caption { margin: 12px; padding: 14px 16px; border-radius: 19px; }
  .gallery-title h3 { font-size: 22px; }
  .gallery-state { padding: 30px 22px; }
  .state-title { font-size: 20px; }
  .state-description { font-size: 14px; }
  .contacts { padding: 25px 20px; }
  .contacts h2 { font-size: 26px; }
  .contact-link { gap: 12px; padding: 12px; }
  .contact-value { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .gallery-card:hover, .review-card:hover, .button:hover { transform: none; }
}
