/*
 * Mira – hair studio template · Abedev (abedev.com)
 *
 * Colours, fonts and spacing are variables: change them here and the whole site follows.
 * Sections: 1 fonts · 2 tokens · 3 base · 4 layout · 5 header · 6 hero · 7 sections · 8 components · 9 pages · 10 footer
 */

/* 1 ─ Fonts (bundled, SIL Open Font License – see assets/fonts/OFL.txt) */
@font-face { font-family: "Mira Display"; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mira Display"; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mira Display"; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Mira Display"; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Mira Display"; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Mira Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Mira Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-cyrillic-500-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Mira Display"; font-weight: 500; font-display: swap; src: url("../fonts/noto-serif-georgian-georgian-500-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Mira Display"; font-weight: 600; font-display: swap; src: url("../fonts/noto-serif-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Mira Text"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mira Text"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mira Text"; font-weight: 400; font-display: swap; src: url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Mira Text"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mira Text"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mira Text"; font-weight: 600; font-display: swap; src: url("../fonts/inter-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Mira Text"; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Mira Text"; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

/* 2 ─ Design tokens */
:root {
    --ivory: #f8f2eb;
    --sand: #efe4d8;
    --blush: #e9cfc3;
    --rose: #b97a64;          /* accent: buttons, links, details */
    --rose-dark: #9a5f4b;
    --plum: #2e1f27;          /* dark sections and text */
    --plum-soft: #4a3540;
    --ink: #2e1f27;
    --muted: #7c6a70;
    --line: rgba(46, 31, 39, .12);
    --white: #fffdfb;

    --font-display: "Mira Display", "Cormorant Garamond", Georgia, serif;
    --font-text: "Mira Text", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 18px 50px -24px rgba(46, 31, 39, .35);
    --wrap: 1180px;
    --gutter: clamp(18px, 4vw, 40px);
    --section: clamp(72px, 10vw, 128px);
}

/* 3 ─ Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.7 var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
/* own photos instead of the artwork fill their frame */
.art img, .portrait img, .gallery img, .map-card > img, .lightbox-inner img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 7.4vw, 96px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--rose); }
:lang(ka) h1, :lang(ka) h2 { letter-spacing: 0; line-height: 1.2; }
:lang(ka) h1 { font-size: clamp(36px, 6vw, 76px); }
:lang(ka) em { font-style: normal; }
/* Georgian has no letter case: no uppercase transform, little letter-spacing */
:lang(ka) .eyebrow, :lang(ka) .footer h4, :lang(ka) .team-card .role, :lang(ka) .price-row .tag, :lang(ka) .logo small { text-transform: none; letter-spacing: .02em; }
:lang(ka) .eyebrow { font-size: 13px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: var(--white); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 4 ─ Layout */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--plum); color: var(--ivory); }
.section--dark .eyebrow { color: var(--blush); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }
.section--dark .section-head p { color: rgba(248, 242, 235, .72); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-4 .team-card h3 { font-size: 20px; } .grid-4 .team-card .role { font-size: 11px; letter-spacing: .08em; } .grid-4 .team-card .initials { font-size: 36px; bottom: 14px; } }

/* 5 ─ Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(248, 242, 235, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -28px rgba(46, 31, 39, .6); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: .02em; }
.logo svg { width: 34px; height: 34px; color: var(--rose); }
.logo .logo-img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
.logo small { display: block; font: 600 9px/1 var(--font-text); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; }
.nav a { position: relative; padding-block: 6px; color: var(--plum-soft); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--rose); transition: right .3s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.lang a { padding: 6px 8px; border-radius: 8px; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--plum); color: var(--ivory); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink); }
.menu-toggle span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1020px) {
    .menu-toggle { display: block; }
    .header-actions .btn { display: none; }
    .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 0; padding: 12px var(--gutter) 28px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s; }
    .nav a { padding: 16px 0; font-size: 20px; font-family: var(--font-display); border-bottom: 1px solid var(--line); }
    .nav a::after { display: none; }
    .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
    .header-actions { margin-left: auto; }
    .nav { margin-left: 0; }
}
@media (max-width: 420px) { .lang a { padding: 6px 5px; } .logo { font-size: 26px; } .logo small { display: none; } }

/* 6 ─ Hero */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta strong { display: block; font: 500 34px/1 var(--font-display); }
.hero-meta span { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; aspect-ratio: 4 / 5; }
.hero-visual .art { position: absolute; inset: 0; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-visual .art svg { width: 100%; height: 100%; }
.hero-badge { position: absolute; left: -28px; bottom: 44px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); font-size: 14px; animation: float 6s ease-in-out infinite; }
.hero-badge b { display: block; font-size: 15px; }
.hero-badge .stars { color: #d39b3a; letter-spacing: 2px; }
.hero-stamp { position: absolute; right: -18px; top: 36px; width: 128px; height: 128px; color: var(--plum); animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 460px; width: 100%; margin-inline: auto; }
    .hero-badge { left: 8px; }
    .hero-stamp { right: 0; width: 104px; height: 104px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* 7 ─ Sections */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); text-align: center; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 620px; margin-inline: auto; }

.service-card { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s, box-shadow .35s, border-color .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--rose); margin-bottom: 26px; }
.service-card .icon svg { width: 26px; height: 26px; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .price { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; margin-top: 8px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.service-card .price b { font: 500 26px/1 var(--font-display); color: var(--ink); }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-visual { position: relative; }
.about-visual .art { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; }
.about-visual .art--small { position: absolute; width: 46%; aspect-ratio: 1; right: -24px; bottom: -32px; border: 8px solid var(--ivory); border-radius: 50%; }
.section--sand .about-visual .art--small { border-color: var(--sand); }
.checklist { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-visual { max-width: 480px; } .about-visual .art--small { right: 0; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats strong { display: block; font: 500 clamp(42px, 5vw, 64px)/1 var(--font-display); color: var(--blush); margin-bottom: 8px; }
.stats span { font-size: 14px; color: rgba(248, 242, 235, .72); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }

.team-card { text-align: center; }
.team-card .portrait { position: relative; aspect-ratio: 3 / 4; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; margin-bottom: 20px; }
.team-card .portrait svg { width: 100%; height: 100%; }
.team-card .initials { position: absolute; inset: auto 0 22px; font: 500 52px/1 var(--font-display); color: rgba(255, 253, 251, .92); }
.team-card h3 { margin-bottom: 4px; }
.team-card .role { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.team-card p { color: var(--muted); font-size: 15px; margin-top: 12px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery figure:nth-child(6n + 1) { grid-row: span 2; }
.gallery figure:nth-child(6n + 4) { grid-column: span 2; }
.gallery svg { width: 100%; height: 100%; transition: transform .6s; }
.gallery figure:hover svg { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 253, 251, .9); font-size: 13px; font-weight: 600; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .gallery figure:nth-child(6n + 4) { grid-column: auto; } }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filters button { padding: 10px 20px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font: 600 14px var(--font-text); color: var(--plum-soft); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--ivory); }

.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: min(460px, 86%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; }
.quote { scroll-snap-align: start; padding: 36px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 24px; font: 500 italic 24px/1.4 var(--font-display); }
:lang(ka) .quote blockquote { font-style: normal; font-size: 20px; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.quote footer b { color: var(--ink); display: block; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--plum); font-weight: 600; }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.section--dark .hours li { border-color: rgba(248, 242, 235, .14); }
.hours li.is-today { color: var(--rose-dark); font-weight: 600; }
.section--dark .hours li.is-today { color: var(--blush); }
.open-state { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.open-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa0a6; }
.open-state.is-open::before { background: #4caf7a; box-shadow: 0 0 0 4px rgba(76, 175, 122, .2); }

.cta { position: relative; padding: clamp(40px, 6vw, 80px); border-radius: var(--radius-lg); background: var(--rose); color: var(--white); overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta h2 { margin: 0 0 10px; }
.cta p { margin: 0; opacity: .86; font-size: 18px; }
.cta .art { position: absolute; right: -60px; top: -60px; width: 320px; opacity: .22; pointer-events: none; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* 8 ─ Components */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 99px; border: 1px solid transparent; font: 600 15px var(--font-text); letter-spacing: .02em; cursor: pointer; transition: background .25s, color .25s, transform .25s, border-color .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--plum); color: var(--ivory); }
.btn-primary:hover { background: var(--rose-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--plum); }
.btn-light:hover { background: var(--plum); color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--rose); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(28, 18, 23, .92); opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-inner { width: min(860px, 100%); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.lightbox-inner svg { width: 100%; height: 100%; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox p { position: absolute; bottom: 24px; color: var(--ivory); font-family: var(--font-display); font-size: 24px; margin: 0; }

/* 9 ─ Pages: price list, contact form, legal */
.price-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 48px; position: sticky; top: 90px; z-index: 5; }
.price-tabs a { padding: 10px 20px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.price-group { max-width: 860px; margin: 0 auto 64px; scroll-margin-top: 170px; }
.price-group h2 { display: flex; align-items: baseline; gap: 18px; font-size: clamp(30px, 3.6vw, 44px); }
.price-group h2 small { font: 400 15px var(--font-text); color: var(--muted); }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-row h3 { font-size: 23px; margin: 0; display: flex; align-items: center; gap: 12px; }
.price-row .tag { font: 600 11px var(--font-text); letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--blush); color: var(--plum); }
.price-row .amount { font: 500 26px/1 var(--font-display); white-space: nowrap; align-self: center; }
.price-row p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 15px; }
.price-note { max-width: 860px; margin: 0 auto; color: var(--muted); font-size: 14px; text-align: center; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.card { padding: clamp(26px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory); font: 400 16px var(--font-text); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(185, 122, 100, .16); }
.consent { display: flex; gap: 12px; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--rose); }
.form-status { grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; font-size: 15px; display: none; }
.form-status.is-shown { display: block; }
.form-status.ok { background: #e6f3ea; color: #24573a; }
.form-status.info { background: var(--sand); color: var(--plum); }
.form-status.error { background: #f8e3e0; color: #8a2d22; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list .icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--rose); }
.info-list .icon svg { width: 20px; height: 20px; }
.info-list small { display: block; color: var(--muted); font-size: 13px; }
.map-card { margin-top: 24px; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
.map-card > svg { width: 100%; height: 100%; }
.map-card .btn { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); }

.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { font-size: 30px; margin-top: 1.6em; }
.legal .note { padding: 16px 20px; border-radius: 12px; background: var(--sand); font-size: 15px; }

/* 10 ─ Footer */
.footer { background: var(--plum); color: rgba(248, 242, 235, .76); padding-top: clamp(56px, 7vw, 88px); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.footer .logo { color: var(--ivory); margin-bottom: 16px; }
.footer h4 { font: 600 12px var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--blush); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(248, 242, 235, .2); border-radius: 50%; transition: background .25s; }
.socials a:hover { background: var(--rose); border-color: var(--rose); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(248, 242, 235, .12); font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--plum); color: var(--ivory); cursor: pointer; opacity: 0; transform: translateY(12px); transition: .3s; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; margin: auto; }
