:root {
  --r: 18px;
  --r-sm: 10px;
  --gap: clamp(2.5rem, 6vw, 5rem);
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--ink);
  --bs-link-color: var(--link);
  --bs-link-hover-color: var(--link-hover);
  --bs-border-color: var(--line);
  --bs-primary: var(--primary);
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.65; overflow-x: hidden; }
img, video { max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; }
p { color: var(--ink2); }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
.text-link { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
.text-mute { color: var(--mute); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .85rem; border-radius: 999px; background: var(--bg2); color: var(--link); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.section { position: relative; padding: var(--gap) 0; }
.section-soft { background: var(--bg2); }
.section-surface { background: var(--surface); }
.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { font-size: 1.05rem; }
.bg-photo { background-size: cover; background-position: center; background-repeat: no-repeat; color: #fff; }
.bg-photo h1, .bg-photo h2, .bg-photo h3, .bg-photo h4, .bg-photo p, .bg-photo li, .bg-photo .eyebrow { color: #fff; }
.bg-photo .eyebrow { background: rgba(255, 255, 255, .16); }
.bg-photo a:not(.btn) { color: #fff; }
.bg-video { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.bg-video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bg-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--ov), var(--ov)); z-index: -1; }
.bg-video h1, .bg-video h2, .bg-video h3, .bg-video p, .bg-video li, .bg-video .eyebrow { color: #fff; }
.bg-video a:not(.btn) { color: #fff; }
.bg-video .eyebrow { background: rgba(255, 255, 255, .16); }
.bg-photo .check-list li, .bg-video .check-list li { color: #fff; }
.bg-photo .check-list li::before, .bg-video .check-list li::before { color: #fff; }

.btn { border-radius: 999px; font-weight: 600; padding: .7rem 1.5rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { --bs-btn-bg: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-color: var(--on-primary); --bs-btn-hover-bg: var(--primary-hover); --bs-btn-hover-border-color: var(--primary-hover); --bs-btn-hover-color: var(--on-primary); --bs-btn-active-bg: var(--primary-hover); --bs-btn-active-border-color: var(--primary-hover); --bs-btn-active-color: var(--on-primary); box-shadow: 0 10px 24px -12px var(--primary); }
.btn-accent { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-color: var(--on-accent); --bs-btn-hover-bg: var(--primary-hover); --bs-btn-hover-border-color: var(--primary-hover); --bs-btn-hover-color: var(--on-primary); }
.btn-outline-primary { --bs-btn-color: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-hover-bg: var(--primary); --bs-btn-hover-border-color: var(--primary); --bs-btn-hover-color: var(--on-primary); }
.btn-light-glass { background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); border: 1px solid var(--line); }
.btn-light-glass:hover { background: var(--surface); color: var(--link-hover); }

.card-soft { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px -26px var(--shadow); padding: 1.5rem; transition: transform .25s ease, box-shadow .25s ease; }
.card-soft:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px var(--shadow); }
.glass { background: color-mix(in srgb, var(--surface) 84%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid color-mix(in srgb, var(--surface) 60%, transparent); border-radius: var(--r); padding: 1.75rem; color: var(--ink); }
.glass h1, .glass h2, .glass h3, .glass h4 { color: var(--ink); }
.glass p, .glass li { color: var(--ink2); }
.icon-circle { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg2); color: var(--link); font-size: 1.25rem; flex: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: .85rem; box-shadow: 0 8px 20px -14px var(--shadow); }
.num { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--link); line-height: 1; }
.media-frame { border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -34px var(--shadow); background: var(--bg2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-card { aspect-ratio: 4 / 3; }
.divider { height: 1px; background: var(--line); border: 0; margin: 2rem 0; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; color: var(--ink2); }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 0; color: var(--link); }
.table-soft { --bs-table-bg: var(--surface); --bs-table-color: var(--ink); --bs-table-border-color: var(--line); border-radius: var(--r-sm); overflow: hidden; }
.table-soft thead th { background: var(--bg2); color: var(--ink); border-bottom: 2px solid var(--line); }
.scroll-row { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.scroll-row > * { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }

.accordion { --bs-accordion-bg: var(--surface); --bs-accordion-border-color: var(--line); --bs-accordion-btn-color: var(--ink); --bs-accordion-active-bg: var(--bg2); --bs-accordion-color: var(--ink); --bs-accordion-active-color: var(--link); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem var(--primary-light); border-radius: var(--r); overflow: hidden; }

.site-header { position: sticky; top: 0; z-index: 1030; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -20px var(--shadow); }
.site-header .topbar { background: var(--navy); color: #fff; padding: .4rem 0; }
.site-header .topbar span, .site-header .topbar a { color: #fff; text-decoration: none; }
.site-header .mobile-contacts a { color: var(--ink2); text-decoration: none; }
.site-header .navbar-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--ink); }
.site-header .navbar-brand img { height: 46px; width: auto; }
.site-header .nav-link { color: var(--ink); font-weight: 600; padding: .6rem .9rem; border-radius: 999px; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--link); background: var(--bg2); }
.site-header .mobile-contacts { display: none; }
.navbar-toggler { border: 1px solid var(--line); color: var(--ink); border-radius: var(--r-sm); padding: .45rem .7rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem var(--primary-light); }

.site-footer { background: var(--navy); color: #fff; padding: 4rem 0 1.5rem; border-top: 1px solid var(--line); }
.site-footer .navbar-brand img { height: 44px; width: auto; }
.form-control::placeholder { color: var(--mute); opacity: 1; }
.site-footer h4, .site-footer h5, .site-footer p, .site-footer li, .site-footer span { color: rgba(255, 255, 255, .86); }
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: #fff; text-decoration: none; opacity: .88; }
.site-footer a:hover { opacity: 1; color: var(--primary-light); }
.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin-bottom: .45rem; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .9rem; }
.site-footer .social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .12); margin-right: .5rem; }
.site-footer .social a:hover { background: var(--primary); }

.form-control, .form-select { border-radius: var(--r-sm); border: 1px solid var(--line); padding: .8rem 1rem; background: var(--surface); color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem var(--primary-light); }
.form-control.is-invalid { border-color: var(--accent); }
.field-error { color: var(--accent); font-size: .85rem; margin-top: .25rem; display: none; }
.is-invalid + .field-error, .is-invalid ~ .field-error { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }
.btn-loader { display: none; width: 1.1rem; height: 1.1rem; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; margin-left: .5rem; vertical-align: -3px; }
.is-loading .btn-loader { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.notice { position: fixed; right: 1rem; bottom: 1rem; z-index: 2000; max-width: min(92vw, 380px); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: var(--r-sm); padding: 1rem 1.25rem; box-shadow: 0 24px 50px -22px var(--shadow); transform: translateY(20px); opacity: 0; pointer-events: none; transition: all .3s ease; }
.notice.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.notice.is-error { border-left-color: var(--accent); }

#cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1999; display: none; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: 920px; margin: 0 auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.25rem; box-shadow: 0 30px 60px -28px var(--shadow); }
#cookie-banner p { margin: 0; flex: 1 1 280px; font-size: .92rem; }
#cookie-banner .cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.carousel .carousel-item { min-height: 0; }
.carousel.hero-carousel .carousel-item { position: relative; min-height: clamp(260px, 40vh, 440px); }
.carousel-item > img.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel-item .slide-overlay { position: absolute; inset: 0; background: linear-gradient(var(--ov), var(--ov)); }
.carousel-caption-box { position: relative; z-index: 2; }
.carousel-indicators [data-bs-target] { background-color: var(--primary-light); }

img { height: auto; }
.section img:not(.slide-bg):not(.logo):not(.icon-img) { max-height: 560px; }
.section .media-frame img, .section .thumb img, .section .card-img img, .section [class*="ar-"] > img { max-height: none; }
[class*="col"] > .card-soft, .grid-fit > .card-soft, .kit-cols-2 > .card-soft, .kit-cols-3 > .card-soft, .kit-cols-4 > .card-soft { height: 100%; }
.card-soft { height: auto; }

.media-frame, .thumb, .card-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg2); border-radius: var(--r); }
.media-frame > img, .thumb > img, .card-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-1x1 { aspect-ratio: 1 / 1; }
.ar-4x3 { aspect-ratio: 4 / 3; }
.ar-3x4 { aspect-ratio: 3 / 4; }
.ar-3x2 { aspect-ratio: 3 / 2; }
.ar-16x9 { aspect-ratio: 16 / 9; }
.ar-21x9 { aspect-ratio: 21 / 9; }
.card-soft .card-img { border-radius: var(--r-sm); margin-bottom: 1rem; }

.rev-carousel { position: relative; }
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.rev-head .section-head { margin: 0; text-align: left; }
.rev-controls { display: inline-flex; gap: .5rem; flex: none; }
.rev-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.rev-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.rev-carousel .carousel-inner { overflow: hidden; }
.rev-carousel .carousel-item { min-height: 0; height: auto; }
.rev-carousel .carousel-item.active, .rev-carousel .carousel-item-next, .rev-carousel .carousel-item-prev { display: block; }
.rev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px -26px var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); height: auto; }
.rev-card blockquote { margin: 0 0 1rem; font-size: 1.05rem; color: var(--ink); }
.rev-card .rev-author { display: flex; align-items: center; gap: .85rem; }
.rev-card .rev-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; background: var(--bg2); }
.rev-card .rev-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rev-stars { color: var(--accent); letter-spacing: .1em; margin-bottom: .5rem; }
.rev-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.rev-dots [data-bs-target] { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--line); opacity: 1; margin: 0; }
.rev-dots .active { background: var(--primary); width: 26px; border-radius: 999px; }
.rev-carousel .carousel-indicators { position: static; margin: 1rem 0 0; }
.rev-multi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; align-items: start; }

.rail-v { display: flex; flex-direction: column; gap: .85rem; max-height: 560px; overflow-y: auto; padding-right: .35rem; scrollbar-width: thin; }
.rail-v > * { flex: none; }
.rail-h { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: thin; }
.rail-h > * { flex: 0 0 min(78%, 300px); scroll-snap-align: start; }
.rail-item { display: flex; gap: .85rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .6rem; text-align: left; width: 100%; color: var(--ink); cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.rail-item:hover, .rail-item.active { border-color: var(--primary); transform: translateX(2px); }
.rail-item .thumb { width: 96px; flex: none; aspect-ratio: 4 / 3; border-radius: 8px; }
.rail-item .rail-text { min-width: 0; }
.rail-item .rail-text strong, .rail-item .rail-text span { display: block; overflow: hidden; text-overflow: ellipsis; }
.rail-item .rail-text span { font-size: .85rem; color: var(--mute); }
.thumb { flex: none; }
.rail-v .thumb, .rail-h .thumb { aspect-ratio: 4 / 3; }

.kit-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center; }
.kit-split-rev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center; }
.kit-split-rev > :first-child { order: 2; }
.kit-split-wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
.kit-split-narrow { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
.kit-cols-2, .kit-cols-3, .kit-cols-4 { display: grid; gap: 1.25rem; align-items: stretch; }
.kit-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kit-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kit-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kit-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.kit-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 1.25rem; }
.kit-bento > * { grid-column: span 2; }
.kit-bento > .bento-wide { grid-column: span 4; }
.kit-bento > .bento-full { grid-column: span 6; }
.kit-bento > .bento-tall { grid-row: span 2; }
.kit-masonry { column-count: 3; column-gap: 1.25rem; }
.kit-masonry > * { break-inside: avoid; margin-bottom: 1.25rem; display: block; }
.kit-zigzag > * + * { margin-top: clamp(1.5rem, 4vw, 3rem); }
.kit-zigzag > :nth-child(even) .kit-split, .kit-zigzag > :nth-child(even).kit-split { direction: rtl; }
.kit-zigzag > :nth-child(even) .kit-split > *, .kit-zigzag > :nth-child(even).kit-split > * { direction: ltr; }
.kit-overlap { position: relative; }
.kit-overlap > .overlap-card { position: relative; z-index: 2; margin-left: clamp(0rem, 8vw, 6rem); margin-top: -3.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 30px 60px -34px var(--shadow); max-width: 640px; }
.kit-sticky { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.kit-sticky > :first-child { position: sticky; top: 96px; }
.kit-center { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.kit-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .thumb { width: 150px; aspect-ratio: 3 / 2; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.skin-flat { background: var(--surface); border: 0; border-radius: var(--r); padding: 1.5rem; box-shadow: none; }
.skin-outline { background: transparent; border: 1.5px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.skin-glass { background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid color-mix(in srgb, var(--surface) 55%, transparent); border-radius: var(--r); padding: 1.5rem; color: var(--ink); }
.skin-elev { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: 0 24px 50px -28px var(--shadow); }
.skin-tint { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.skin-edge { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: var(--r-sm); padding: 1.25rem 1.5rem; }
.skin-pill { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.2rem; }
.skin-glass h1, .skin-glass h2, .skin-glass h3, .skin-glass h4, .skin-glass p, .skin-glass li { color: var(--ink); }

.media-circle { border-radius: 50%; aspect-ratio: 1 / 1; overflow: hidden; }
.media-arch { border-radius: 999px 999px var(--r) var(--r); aspect-ratio: 3 / 4; overflow: hidden; }
.media-tilt { transform: rotate(-2deg); transition: transform .3s ease; }
.media-tilt:hover { transform: rotate(0deg); }
.media-stack { position: relative; padding-bottom: 2.5rem; padding-right: 2.5rem; }
.media-stack > .stack-back { position: absolute; right: 0; bottom: 0; width: 55%; border: 6px solid var(--bg); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 20px 40px -24px var(--shadow); }
.media-stack > .stack-back > img { width: 100%; height: 100%; object-fit: cover; display: block; }

.deco-dots { position: relative; }
.deco-dots::before { content: ""; position: absolute; top: -14px; left: -14px; width: 96px; height: 96px; background-image: radial-gradient(var(--primary-light) 2px, transparent 2.5px); background-size: 14px 14px; z-index: -1; }
.deco-blob { position: relative; isolation: isolate; }
.deco-blob::before { content: ""; position: absolute; inset: 8% -4% -6% 10%; background: var(--primary-light); border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%; opacity: .45; z-index: -1; }
.deco-line { position: relative; padding-top: 1.1rem; }
.deco-line::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 4px; border-radius: 4px; background: var(--primary); }
.deco-corner { position: relative; }
.deco-corner::before, .deco-corner::after { content: ""; position: absolute; width: 38px; height: 38px; border: 3px solid var(--primary); pointer-events: none; }
.deco-corner::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.deco-corner::after { right: -8px; bottom: -8px; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.deco-ring { position: relative; }
.deco-ring::after { content: ""; position: absolute; right: -18px; top: -18px; width: 84px; height: 84px; border: 2px dashed var(--primary-light); border-radius: 50%; pointer-events: none; }

.bg-photo .skin-flat, .bg-photo .skin-outline, .bg-photo .skin-tint, .bg-photo .skin-elev, .bg-photo .skin-edge, .bg-photo .skin-pill, .bg-photo .card-soft, .bg-photo .rev-card { color: var(--ink); }
.bg-photo .skin-flat h1, .bg-photo .skin-flat h2, .bg-photo .skin-flat h3, .bg-photo .skin-flat h4, .bg-photo .skin-flat p, .bg-photo .skin-flat li,
.bg-photo .skin-tint h3, .bg-photo .skin-tint p, .bg-photo .skin-elev h3, .bg-photo .skin-elev p, .bg-photo .skin-edge h3, .bg-photo .skin-edge p,
.bg-photo .card-soft h3, .bg-photo .card-soft h4, .bg-photo .card-soft p, .bg-photo .card-soft li, .bg-photo .rev-card blockquote, .bg-photo .rev-card p, .bg-photo .rev-card strong, .bg-photo .rev-card span { color: var(--ink); }
.bg-photo .card-soft a:not(.btn), .bg-photo .rev-card a:not(.btn), .bg-photo .skin-flat a:not(.btn) { color: var(--link); }

@media (max-width: 991.98px) {
  .kit-split, .kit-split-rev, .kit-split-wide, .kit-split-narrow, .kit-sticky { grid-template-columns: minmax(0, 1fr); }
  .kit-split-rev > :first-child { order: 0; }
  .kit-sticky > :first-child { position: static; }
  .kit-cols-3, .kit-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-bento > *, .kit-bento > .bento-wide { grid-column: span 1; }
  .kit-bento > .bento-full { grid-column: span 2; }
  .kit-bento > .bento-tall { grid-row: auto; }
  .kit-masonry { column-count: 2; }
  .kit-overlap > .overlap-card { margin-left: 1rem; margin-right: 1rem; margin-top: -2rem; }
  .rail-v { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; padding: 0 0 .5rem; }
  .rail-v > * { flex: 0 0 min(78%, 300px); scroll-snap-align: start; }
  .rail-v .rail-item { flex-direction: column; align-items: stretch; }
  .rail-v .rail-item .thumb { width: 100%; }
  .site-header .navbar-collapse { padding: 1rem 0; }
  .site-header .mobile-contacts { display: block; border-top: 1px solid var(--line); margin-top: .75rem; padding-top: .75rem; font-size: .92rem; }
  .site-header .mobile-contacts div { margin-bottom: .35rem; color: var(--ink2); }
}
@media (max-width: 575.98px) {
  .btn { width: 100%; }
  .section-head { text-align: left; }
  .glass { padding: 1.25rem; }
  .kit-cols-2, .kit-cols-3, .kit-cols-4 { grid-template-columns: minmax(0, 1fr); }
  .kit-bento { grid-template-columns: minmax(0, 1fr); }
  .kit-bento > *, .kit-bento > .bento-wide, .kit-bento > .bento-full { grid-column: span 1; }
  .kit-masonry { column-count: 1; }
  .media-stack { padding: 0 0 2rem; }
  .rev-head { align-items: flex-start; }
  .rev-btn { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.map-iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--r); }

.breadcrumb { --bs-breadcrumb-divider-color: var(--mute); --bs-breadcrumb-item-active-color: var(--ink2); }
.breadcrumb a { color: var(--link); text-decoration: none; }
.breadcrumb a:hover { color: var(--link-hover); }

.hero-carousel .carousel-caption-box { max-width: 640px; padding: clamp(1.5rem, 5vh, 3.5rem) clamp(1rem, 4vw, 2rem); }

.v-timeline { position: relative; padding-left: 2.25rem; }
.v-timeline::before { content: ""; position: absolute; left: 9px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.v-tl-item { position: relative; }
.v-tl-item + .v-tl-item { margin-top: 1.75rem; }
.v-tl-item::before { content: ""; position: absolute; left: -2.25rem; top: .4rem; width: 12px; height: 12px; margin-left: 4px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--bg); }

.price-toggle { display: inline-flex; gap: .25rem; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: .3rem; }
.price-toggle button { border: 0; border-radius: 999px; padding: .45rem 1.15rem; background: transparent; color: var(--ink2); font-weight: 600; cursor: pointer; }
.price-toggle button.active { background: var(--primary); color: var(--on-primary); }
.price-tag { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; color: var(--link); line-height: 1; }
.price-featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 26px 50px -24px var(--shadow); }
.price-line { font-size: 1.25rem; font-weight: 800; color: var(--link); }
.author-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; background: var(--bg2); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.calc-out { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.5rem; }
.calc-total { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--link); line-height: 1; }
.calc-range { accent-color: var(--primary); }
.calc-val { min-width: 3ch; display: inline-block; text-align: right; font-weight: 700; color: var(--ink); }

a.post-card { display: block; text-decoration: none; color: inherit; }
a.post-card:hover { color: inherit; }
.post-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; font-size: .85rem; color: var(--mute); }

.filter-btn { cursor: pointer; }
.filter-btn.active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

.media-frame .g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .9rem; background: linear-gradient(transparent, var(--ov)); color: #fff; opacity: 0; transition: opacity .25s ease; font-size: .9rem; }
.media-frame:hover .g-cap, .media-frame:focus-within .g-cap { opacity: 1; }

.article-body h2 { margin: 2rem 0 .75rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.article-body p { margin-bottom: 1rem; }

@media (max-width: 575.98px) {
  .map-iframe { height: 320px; }
  .nav-pills.scroll-x { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; }
  .nav-pills.scroll-x .nav-item { flex: none; }
}
@media (max-width: 767.98px) {
  .deco-dots::before { top: -10px; left: -10px; }
  .deco-corner::before { top: -4px; left: -4px; }
  .deco-corner::after { right: -4px; bottom: -4px; }
  .deco-ring::after { right: -4px; top: -4px; }
  .deco-blob::before { inset: 8% 0 -6% 6%; }
}
