/* ==================================================================
   Ел Макс Инж — Версия 4 „Wix Blue Orange“ (по оригинала)
   Палитра и подредба по https://anistar2000.wixsite.com/el-max
   Тъмносиньо #12222E, дълбоко синьо #2B475C, стомана #4C6D87,
   светлосиньо #CFDDE9, светлосиво #F2F2F2, ръждиво-оранж #B45C3D,
   жълт акцент #EBD417.
   ================================================================== */

:root {
    /* Повърхности */
    --bg: #FFFFFF;
    --bg-grey: #F2F2F2;
    --bg-blue: #CFDDE9;
    --blue-tint: #E7EEF4;
    --cream: #FEF6ED;

    /* Тъмни тонове */
    --navy: #12222E;
    --deep: #2B475C;
    --steel: #4C6D87;
    --navy-2: #1B303D;

    /* Текст */
    --text: #12222E;
    --muted: #5D5D61;
    --muted-2: #8A969F;

    /* Акценти */
    --rust: #B45C3D;
    --rust-2: #C9704E;
    --rust-soft: #E6B09C;
    --rust-tint: #FDF1EC;
    --yellow: #EBD417;
    --yellow-2: #F5E23C;

    /* Служебни */
    --line: #DCE4EA;
    --line-2: #CFDDE9;
    --wa: #25D366;
    --viber: #7C5CFC;
    --ok: #2E7D57;
    --danger: #C0392B;

    --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
    --font-body: "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;

    --r-sm: 3px;
    --r: 5px;
    --r-lg: 8px;

    --shadow-sm: 0 1px 3px rgba(18, 34, 46, .08);
    --shadow: 0 18px 44px -28px rgba(18, 34, 46, .4);
    --shadow-lg: 0 34px 70px -34px rgba(18, 34, 46, .5);
    --container: 1180px;
    --header-h: 78px;
}

/* ------------------------------- reset --------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.15;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
    font-weight: 700;
    color: var(--navy);
    text-wrap: balance;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
iframe { border: 0; }

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

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

.skip-link {
    position: fixed; top: -100px; left: 16px; z-index: 200;
    background: var(--navy); color: #fff;
    padding: .7rem 1.1rem; border-radius: 0 0 var(--r) var(--r);
    font-weight: 700; transition: top .2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
    outline: 2px solid var(--rust);
    outline-offset: 3px;
}

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ------------------------------ buttons -------------------------- */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--navy);
    --btn-bd: var(--navy);
    display: inline-flex; align-items: center; justify-content: center;
    gap: .55rem;
    padding: .82rem 1.5rem;
    background: var(--btn-bg); color: var(--btn-fg);
    border: 1px solid var(--btn-bd);
    border-radius: var(--r);
    font-family: var(--font-head);
    font-weight: 700; font-size: .82rem;
    letter-spacing: .06em; text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    --btn-bg: var(--yellow);
    --btn-fg: var(--navy);
    --btn-bd: var(--yellow);
    box-shadow: 0 14px 30px -16px rgba(235, 212, 23, .75);
}
.btn-primary:hover { --btn-bg: var(--yellow-2); --btn-bd: var(--yellow-2); }

.btn-outline { --btn-bd: var(--line-2); --btn-fg: var(--navy); background: #fff; }
.btn-outline:hover { --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy); }

.btn-ghost { --btn-bd: transparent; }
.btn-ghost:hover { --btn-bd: var(--line-2); }

.btn-wa { --btn-bg: rgba(37, 211, 102, .12); --btn-fg: #12814A; --btn-bd: rgba(37, 211, 102, .4); }
.btn-wa:hover { --btn-bg: var(--wa); --btn-fg: #06240F; --btn-bd: var(--wa); }

.btn-viber { --btn-bg: rgba(124, 92, 252, .12); --btn-fg: #5A41C6; --btn-bd: rgba(124, 92, 252, .4); }
.btn-viber:hover { --btn-bg: var(--viber); --btn-fg: #fff; --btn-bd: var(--viber); }

.btn-lg { padding: 1rem 1.9rem; font-size: .9rem; }
.btn-sm { padding: .55rem 1rem; font-size: .72rem; }
.btn-block { width: 100%; }

/* ------------------------------ header --------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 16px 40px -34px rgba(18, 34, 46, .8); }

/* На началната страница хедърът е фиксиран и прозрачен върху тъмносиньото херо */
body:has(.hero) .site-header {
    position: fixed; left: 0; right: 0;
}
body:has(.hero) .site-header:not(.is-stuck) {
    background: transparent;
    border-bottom-color: transparent;
}
body:has(.hero) .site-header:not(.is-stuck) .brand-text strong,
body:has(.hero) .site-header:not(.is-stuck) .main-nav a,
body:has(.hero) .site-header:not(.is-stuck) .nav-more > summary,
body:has(.hero) .site-header:not(.is-stuck) .lang-btn {
    color: #fff;
}
body:has(.hero) .site-header:not(.is-stuck) .brand-text small { color: rgba(255, 255, 255, .7); }
body:has(.hero) .site-header:not(.is-stuck) .main-nav a:hover,
body:has(.hero) .site-header:not(.is-stuck) .nav-more > summary:hover { color: var(--yellow); }
body:has(.hero) .site-header:not(.is-stuck) .lang-switch {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .3);
}

.header-inner {
    display: flex; align-items: center; gap: .9rem;
    flex-wrap: nowrap;
    min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { border-radius: 3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
    font-family: var(--font-head); font-size: 1.02rem; font-weight: 800;
    letter-spacing: .01em; text-transform: uppercase;
}
.brand-text small { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.main-nav {
    display: flex; align-items: center; gap: .15rem;
    flex-wrap: nowrap;
    margin-left: auto;
}
.main-nav a {
    padding: .55rem .7rem;
    color: var(--deep);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    white-space: nowrap;
    transition: color .16s ease;
}
.main-nav a:hover { color: var(--rust); }
.main-nav a.is-active { color: var(--rust); }

.nav-more { position: relative; }
.nav-more > summary {
    list-style: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem .7rem;
    color: var(--deep); font-size: .82rem; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    white-space: nowrap;
    transition: color .16s ease;
}
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary::after {
    content: ""; width: 6px; height: 6px; margin-left: .1rem;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform .2s ease;
}
.nav-more[open] > summary { color: var(--rust); }
.nav-more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.nav-more-menu {
    position: absolute; top: calc(100% + .5rem); right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--rust);
    border-radius: var(--r);
    padding: .4rem;
    box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; gap: 2px;
    z-index: 70;
}
.nav-more-menu a {
    display: block; padding: .6rem .75rem;
    color: var(--deep); font-size: .8rem; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    transition: color .16s ease, background .16s ease;
}
.nav-more-menu a:hover { color: var(--rust); background: var(--bg-grey); }

.header-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: nowrap; }

.lang-switch {
    display: inline-flex; padding: 3px;
    background: var(--bg-grey);
    border: 1px solid var(--line);
    border-radius: 999px;
}
.lang-btn {
    padding: .32rem .62rem;
    border-radius: 999px;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .06em;
    color: var(--muted);
    transition: .16s ease;
}
.lang-btn:hover { color: var(--navy); }
.lang-btn.is-active { background: yellow; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    background: none; border: 1px solid var(--line);
    border-radius: var(--r);
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    cursor: pointer;
}
.nav-toggle span {
    display: block; width: 19px; height: 2px;
    background: currentColor; border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
body:has(.hero) .site-header:not(.is-stuck) .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, .35); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------- hero ---------------------------- */
.hero {
    position: relative;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 3.4rem) 0 4.6rem;
    background:

        url("../../pic/hero-elmax.jpg") center right / cover no-repeat,
        var(--navy);

    color: #EAF0F4;
    overflow: hidden;
    isolation: isolate;
}
.hero-decor {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(70% 80% at 88% 8%, rgba(180, 92, 61, .34), transparent 60%),
        radial-gradient(60% 70% at 8% 100%, rgba(43, 71, 92, .5), transparent 62%);
}
.hero-decor::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000, transparent 75%);
    mask-image: radial-gradient(80% 70% at 50% 0%, #000, transparent 75%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-head);
    font-size: .76rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 1.1rem;
}

/**.hero .eyebrow { color: var(--yellow); }**/
.hero .eyebrow { color: black); }
.eyebrow .ico { width: 1em; height: 1em; }

.hero h1 {
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.04;
    color: #000;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    letter-spacing: -.02em;
}
.hero h1 .accent {
    display: block;
    color: var(--yellow);
}
.lead {
    font-size: clamp(1.02rem, 1.4vw, 1.16rem);
    color: black;
    max-width: 56ch;
    margin-bottom: 1.9rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }
.hero .btn-outline { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .5); background: transparent; }
.hero .btn-outline:hover { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }

.hero-stats {
    display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.6rem);
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-stats li { display: flex; flex-direction: column; gap: .1rem; }
.hero-stats strong {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--yellow);
    line-height: 1;
    font-weight: 800;
}
.hero-stats span { color: yellow; font-size: .85rem; }

.hero-visual { position: relative; }
.hero-media {
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: var(--shadow-lg);
    background: var(--navy-2);
}
.hero-media img {
    width: 100%; height: clamp(300px, 40vw, 460px);
    object-fit: cover;
}

/* офертна карта (бяла, върху тъмния hero) */
.hero-card {
    position: relative;
    margin: -3.4rem 0 0 auto;
    width: min(100% - 1.5rem, 360px);
    background: #fff;
    color: var(--navy);
    border-top: 4px solid var(--rust);
    border-radius: var(--r-lg);
    padding: clamp(1.4rem, 2.6vw, 2rem);
    box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.25rem; margin-bottom: .4rem; }
.hero-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }
.hero-card-actions { display: grid; gap: .55rem; }

.chip {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .72rem .95rem;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--bg-grey);
    color: var(--navy);
    font-weight: 700; font-size: .92rem;
    transition: .18s ease;
}
.chip .ico { width: 1.35em; height: 1.35em; }
.chip:hover { transform: translateX(4px); border-color: var(--line-2); }
.chip-wa { color: #12814A; }
.chip-wa:hover { background: rgba(37, 211, 102, .12); border-color: rgba(37, 211, 102, .45); }
.chip-viber { color: #5A41C6; }
.chip-viber:hover { background: rgba(124, 92, 252, .12); border-color: rgba(124, 92, 252, .45); }
.chip-tel { color: var(--rust); }
.chip-tel:hover { background: var(--rust-tint); border-color: var(--rust-soft); }

.hero-card-mail {
    display: inline-flex; align-items: center; gap: .55rem;
    margin-top: 1.1rem; padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    width: 100%;
    color: var(--muted); font-size: .92rem;
    transition: color .16s ease;
}
.hero-card-mail:hover { color: var(--rust); }

.hero-scroll {
    position: absolute; left: 50%; bottom: 1.4rem;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .3rem;
    color: #7E93A6; font-size: .72rem;
    letter-spacing: .18em; text-transform: uppercase;
}
.hero-scroll svg { width: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ----------------------------- sections -------------------------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; scroll-margin-top: calc(var(--header-h) + 10px); }

/* редуващи се фонове по оригинала */
#about    { background: var(--bg-grey); }
#services { background: var(--bg); }
#process  { background: var(--bg-grey); }
#projects { background: var(--bg); }
#prices   { background: var(--bg-grey); }
#reviews  { background: var(--bg-blue); }
#contact  { background: var(--bg); }

.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

.eyebrow + h2, .section-head .eyebrow { color: var(--rust); }

/* ------------------------------ about ---------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.about-media { position: relative; }
.about-media img {
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.about-badge {
    position: absolute; right: -14px; bottom: -18px;
    background: var(--rust); color: #fff;
    border-radius: var(--r);
    padding: 1rem 1.2rem;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 40px -20px rgba(180, 92, 61, .6);
}
.about-badge strong { font-family: var(--font-head); font-size: 2rem; line-height: 1; font-weight: 800; }
.about-badge span { font-size: .78rem; font-weight: 700; max-width: 9rem; }

.about-body h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

/* съдържание на страници/публикации (от редактора) */
.prose { max-width: 74ch; color: var(--muted); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .5em; color: var(--navy); }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--rust); }
.prose strong { color: var(--navy); }
.prose a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--rust-2); }
.prose img { border-radius: var(--r-lg); margin: 1.3rem 0; }
.prose figure { margin: 1.3rem 0; }
.prose figcaption { color: var(--muted); font-size: .88rem; text-align: center; margin-top: .5rem; }
.prose blockquote {
    border-left: 3px solid var(--rust);
    padding: .35rem 0 .35rem 1.1rem;
    color: var(--muted); font-style: italic;
}
.prose code {
    background: var(--bg-grey);
    padding: .15em .4em; border-radius: var(--r-sm);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.3rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .85rem; text-align: left; }
.prose th { background: var(--bg-grey); color: var(--navy); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.partners {
    display: flex; flex-wrap: wrap; gap: .6rem;
    margin-top: 1.6rem;
}
.partners li {
    padding: .45rem 1rem;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    background: #fff;
    font-family: var(--font-head);
    font-size: .82rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--deep);
}

.why { margin-top: clamp(3rem, 6vw, 4.5rem); }
.why h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 1.6rem; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1rem;
    counter-reset: why;
}
.why-grid li {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--rust);
    border-radius: var(--r);
    padding: 1.4rem 1.3rem 1.2rem;
    transition: box-shadow .2s ease, transform .2s ease;
}
.why-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-num {
    display: block;
    font-family: var(--font-head);
    font-size: .82rem; font-weight: 800;
    letter-spacing: .18em;
    color: var(--rust);
    margin-bottom: .55rem;
}
.why-grid strong { display: block; font-family: var(--font-head); font-size: 1.02rem; margin-bottom: .35rem; color: var(--navy); }
.why-grid p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ----------------------------- services -------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.1rem;
}
.service-card {
    background: var(--bg-blue);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    padding: 1.8rem 1.7rem 1.6rem;
    display: flex; flex-direction: column;
    color: var(--navy);
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }

.service-icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: var(--r);
    background: var(--navy);
    color: var(--yellow);
    margin-bottom: 1.1rem;
}
.service-icon .ico { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; color: var(--navy); }
.service-card > p { color: var(--deep); font-size: .95rem; }
.service-card ul { display: grid; gap: .5rem; margin: .4rem 0 1.2rem; }
.service-card li {
    display: flex; gap: .55rem; align-items: flex-start;
    font-size: .9rem; color: var(--navy);
}
.service-card li .ico { color: var(--rust); margin-top: .28em; }

.service-link {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--font-head);
    color: var(--rust); font-weight: 700; font-size: .82rem;
    letter-spacing: .06em; text-transform: uppercase;
}
.service-link:hover { gap: .75rem; }

/* ------------------------------ process -------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.1rem;
    counter-reset: step;
}
.steps li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 1.7rem 1.4rem;
    position: relative;
}
.step-num {
    font-family: var(--font-head);
    font-size: 2.6rem; font-weight: 800;
    color: var(--bg-blue);
    display: block; margin-bottom: .6rem; line-height: 1;
}
.steps h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ------------------------------ gallery -------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 220px;
    gap: .9rem;
}
.gallery-item {
    margin: 0;
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--navy);
}
.gallery-item.gallery-tall { grid-row: span 2; }
.gallery-item a { display: block; width: 100%; height: 100%; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1), filter .3s ease;
    filter: saturate(.92);
}
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.gallery-zoom {
    position: absolute; inset: auto 0 0 auto;
    margin: .7rem;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .92);
    border-radius: var(--r);
    opacity: 0; transform: translateY(6px);
    transition: .25s ease;
}
.gallery-zoom svg { width: 18px; height: 18px; stroke: var(--rust); }
.gallery-item:hover .gallery-zoom { opacity: 1; transform: translateY(0); }
.gallery-item figcaption {
    position: absolute; inset: auto 0 0 0;
    padding: 2.2rem .9rem .8rem;
    background: linear-gradient(transparent, rgba(18, 34, 46, .92));
    font-size: .86rem; color: #E7EEF4;
}

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(18, 34, 46, .95);
    display: grid; place-items: center;
    padding: 4vh 4vw;
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 100%; max-height: 88vh;
    border-radius: var(--r);
    box-shadow: 0 30px 80px -30px #000;
}
.lightbox-caption { color: #C6D2DD; text-align: center; margin-top: .9rem; font-size: .92rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    width: 46px; height: 46px;
    border-radius: var(--r);
    display: grid; place-items: center;
    cursor: pointer;
    transition: .18s ease;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--rust); color: #fff; border-color: var(--rust);
}
.lightbox-close:hover { transform: none; }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%); }

/* ------------------------------ prices --------------------------- */
.prices-grid {
    display: block;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.prices-grid-single { grid-template-columns: minmax(280px, 460px); justify-content: center; }

.price-table-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
    padding: .95rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
}
.price-table thead th {
    background: var(--navy);
    font-family: var(--font-head);
    font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
    color: #fff;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--bg-grey); }
.price-value { color: var(--rust); font-weight: 800; white-space: nowrap; }
.price-table tbody tr.price-group:hover { background: transparent; }
.price-table tbody tr.price-group th {
    background: var(--blue-tint);
    color: var(--deep);
    font-family: var(--font-head);
    font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
    padding: .7rem 1.2rem; text-align: left;
    border-bottom: 1px solid var(--line); border-top: 1px solid var(--line);
}
.prices-valid {
    margin: .9rem 0 0; color: var(--muted); font-size: .9rem;
    display: inline-flex; align-items: center; gap: .5rem;
}
.prices-valid .ico { color: var(--ok); }

.price-list { margin: 0; }
.price-list img {
    width: 100%;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}
.price-list figcaption {
    text-align: center; color: var(--muted);
    font-size: .82rem; margin-top: .7rem;
    letter-spacing: .1em; text-transform: uppercase;
}

.prices-note {
    margin-top: clamp(1.8rem, 4vw, 2.6rem);
    background: var(--navy);
    color: #DCE6EE;
    border-radius: var(--r-lg);
    padding: clamp(1.4rem, 3vw, 2rem);
    display: flex; flex-wrap: wrap; gap: 1.2rem;
    align-items: center; justify-content: space-between;
}
.prices-note p { margin: 0; max-width: 62ch; color: #C6D2DD; }
.prices-note .ico { color: var(--yellow); vertical-align: -.15em; }
.prices-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.prices-note .btn-outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .5); background: transparent; }
.prices-note .btn-outline:hover { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }

/* ------------------------------ reviews -------------------------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.1rem;
}
.review-card {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.8rem 1.6rem;
    display: flex; flex-direction: column; gap: .9rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.review-card::before {
    content: "\201C";
    position: absolute; top: .2rem; right: 1.2rem;
    font-family: var(--font-head);
    font-size: 4.5rem; line-height: 1;
    color: var(--bg-blue);
}
.stars { display: flex; gap: .18rem; color: var(--rust); }
.stars svg { width: 17px; height: 17px; }
.review-card p { margin: 0; color: var(--deep); font-size: .97rem; }
.review-card footer { margin-top: auto; display: flex; flex-direction: column; }
.review-card strong { font-family: var(--font-head); font-size: 1rem; color: var(--navy); }
.review-card footer span { color: var(--muted); font-size: .85rem; }

/* ------------------------------- quick --------------------------- */
.quick {
    background: var(--navy);
    color: #E7EEF4;
    border-block: 1px solid var(--navy-2);
}
.quick .eyebrow { color: var(--yellow); }
.quick h2 { color: #fff; }
.quick .section-sub { color: #9FB0BE; display: block; margin-top: .3rem; }
.quick-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.quick-channels h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: .8rem;
    margin-top: 1.8rem;
}
.quick-btn {
    display: flex; align-items: center; gap: .9rem;
    padding: 1.05rem 1.15rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--r);
    color: #fff;
    transition: .2s ease;
}
.quick-btn .ico { width: 28px; height: 28px; }
.quick-btn span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.quick-btn strong { font-size: .96rem; }
.quick-btn small { color: #9FB0BE; font-size: .84rem; overflow: hidden; text-overflow: ellipsis; }
.quick-btn:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); }

.quick-btn-wa .ico { color: #4FE08A; }
.quick-btn-viber .ico { color: #A695FF; }
.quick-btn-tel .ico { color: var(--yellow); }
.quick-btn-mail .ico { color: var(--rust-soft); }

.quick-form-card {
    background: #fff;
    color: var(--navy);
    border-top: 4px solid var(--rust);
    border-radius: var(--r-lg);
    padding: clamp(1.6rem, 3vw, 2.2rem);
    box-shadow: var(--shadow-lg);
}
.quick-form-card h3 { font-size: 1.35rem; margin-bottom: .3rem; color: var(--navy); }
.form-note { color: var(--muted); font-size: .88rem; margin-bottom: 1.2rem; }

/* ------------------------------ forms ---------------------------- */
.form { display: grid; gap: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.field { display: flex; flex-direction: column; gap: .38rem; }
.field label { font-size: .8rem; font-weight: 700; color: var(--deep); letter-spacing: .03em; text-transform: uppercase; }
.req { color: var(--rust); }

.field input, .field textarea, .field select {
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    padding: .78rem .9rem;
    color: var(--navy);
    transition: border-color .16s ease, box-shadow .16s ease;
    width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--rust);
    box-shadow: 0 0 0 3px rgba(180, 92, 61, .15);
}

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert {
    padding: .85rem 1rem;
    border-radius: var(--r);
    font-size: .93rem;
    margin: 0 0 .3rem;
    display: grid; gap: .3rem;
}
.alert-success { background: rgba(46, 125, 87, .1); border: 1px solid rgba(46, 125, 87, .35); color: #1E5C3F; }
.alert-error { background: rgba(192, 57, 43, .08); border: 1px solid rgba(192, 57, 43, .35); color: #9A2C20; }
.alert span { font-size: .86rem; opacity: .9; }

/* ------------------------------ contact -------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.contact-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(1.6rem, 3vw, 2.2rem);
    box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { font-size: 1.35rem; margin-bottom: 1.1rem; }
.contact-info h3 { font-size: 1.35rem; margin-bottom: 1.1rem; }

.contact-list { display: grid; gap: .8rem; }
.contact-list li {
    display: flex; gap: .9rem; align-items: flex-start;
    background: var(--bg-grey);
    border-left: 3px solid var(--rust);
    border-radius: var(--r);
    padding: 1rem 1.1rem;
    transition: background .18s ease;
}
.contact-list li:hover { background: var(--bg-blue); }
.contact-list .ico { color: var(--rust); width: 20px; height: 20px; margin-top: .15rem; }
.contact-list div { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.contact-list strong { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list span { color: var(--navy); font-size: .97rem; word-break: break-word; }
.contact-list a:hover { color: var(--rust); }
.ci-icon { display: grid; place-items: center; }

.map {
    margin-top: 1.1rem;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--line);
    filter: grayscale(.2) contrast(1.03);
}
.map iframe { display: block; width: 100%; height: 270px; }

/* ------------------------------- cta ----------------------------- */
.cta-band {
    background: var(--deep);
    color: #fff;
    padding: clamp(2.6rem, 5vw, 4rem) 0;
}
.cta-inner {
    display: flex; flex-wrap: wrap; gap: 1.8rem;
    align-items: center; justify-content: space-between;
}
.cta-text h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: .4rem; color: #fff; }
.cta-text p { color: #C6D2DD; margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.cta-band .btn-outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .5); background: transparent; }
.cta-band .btn-outline:hover { --btn-bg: #fff; --btn-fg: var(--deep); --btn-bd: #fff; }

/* ------------------------------ footer --------------------------- */
.site-footer {
    background: var(--bg-grey);
    color: var(--navy);
    padding: clamp(2.6rem, 5vw, 4rem) 0 1.6rem;
    border-top: 1px solid var(--line);
}
.site-footer h3 { color: var(--muted); }
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(160px, .7fr) minmax(0, 1fr);
    gap: clamp(1.6rem, 4vw, 3rem);
    padding-bottom: 2.2rem;
    border-bottom: 1px solid var(--line-2);
}
.footer-col h3 {
    font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 1rem;
}
.footer-brand .brand-text strong { color: var(--navy); }
.footer-brand .brand-text small { color: var(--muted); }
.footer-brand p { color: var(--muted); font-size: .94rem; margin: 1rem 0 1.2rem; max-width: 42ch; }

.footer-nav { display: grid; gap: .5rem; }
.footer-nav a { color: var(--deep); font-size: .94rem; transition: color .16s ease; }
.footer-nav a:hover { color: var(--rust); }

.socials { display: flex; gap: .55rem; }
.socials a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    color: var(--deep);
    transition: .18s ease;
}
.socials a:hover { color: #fff; background: var(--rust); border-color: var(--rust); }

.footer-bottom {
    display: flex; flex-wrap: wrap; gap: 1rem;
    align-items: center; justify-content: space-between;
    padding-top: 1.4rem;
}
.footer-bottom p { margin: 0; color: var(--muted); font-size: .86rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-legal a { color: var(--muted); font-size: .86rem; }
.footer-legal a:hover { color: var(--rust); }

/* ---------------------------- float dock ------------------------- */
.float-dock {
    position: fixed; right: clamp(.7rem, 2vw, 1.4rem); bottom: clamp(.7rem, 2vw, 1.4rem);
    z-index: 90;
    display: flex; flex-direction: column; gap: .55rem;
}
.dock-btn {
    position: relative;
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: var(--r);
    background: #fff;
    border: 1px solid var(--line-2);
    color: var(--navy);
    box-shadow: 0 14px 30px -16px rgba(18, 34, 46, .5);
    transition: transform .18s ease, background .18s ease, color .18s ease;
}
.dock-btn .ico { width: 22px; height: 22px; }
.dock-btn::after {
    content: attr(data-label);
    position: absolute; right: calc(100% + .55rem); top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--navy);
    color: #fff;
    padding: .35rem .65rem;
    border-radius: var(--r);
    font-size: .76rem; font-weight: 700;
    white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: .18s ease;
}
.dock-btn:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.dock-btn:hover { transform: translateY(-3px); }

.dock-wa { background: var(--wa); color: #06240F; border-color: var(--wa); }
.dock-viber { background: var(--viber); color: #fff; border-color: var(--viber); }
.dock-tel { background: var(--rust); color: #fff; border-color: var(--rust); }
.dock-top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.dock-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------------------------- animations ------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .6s cubic-bezier(.2, .7, .3, 1);
    transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { --d: 1; }
[data-reveal-delay="2"] { --d: 2; }
[data-reveal-delay="3"] { --d: 3; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------- responsive -------------------------- */
@media (max-width: 1180px) {
    .header-viber { display: none !important; }
    .header-call span { display: none; }
    .header-call { padding: .55rem .7rem; }
}

@media (max-width: 1024px) {
    .brand-text small { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-media img { height: clamp(260px, 52vw, 400px); }
    .hero-card { margin-inline: auto; width: min(100%, 460px); }
    .about-grid, .prices-grid, .quick-grid, .contact-grid { grid-template-columns: 1fr; }
    .prices-grid-single { justify-content: stretch; }
    .about-badge { right: 12px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .main-nav {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: .8rem 1.25rem 1.4rem;
        gap: .15rem;
        transform: translateY(-12px);
        opacity: 0; visibility: hidden;
        transition: .22s ease;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }
    .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
    .main-nav a { padding: .8rem .6rem; border-bottom: 1px solid var(--line); color: var(--deep); }
    body:has(.hero) .site-header:not(.is-stuck) .main-nav a { color: var(--deep); }
    .nav-more { width: 100%; }
    .nav-more > summary {
        width: 100%; justify-content: space-between;
        padding: .8rem .6rem;
        color: var(--deep);
        border-bottom: 1px solid var(--line);
    }
    body:has(.hero) .site-header:not(.is-stuck) .nav-more > summary { color: var(--deep); }
    .nav-more-menu {
        position: static; box-shadow: none; border: 0; background: transparent;
        padding: 0 0 .3rem .9rem; min-width: 0; border-top: 0;
    }
    .nav-more-menu a { padding: .7rem .6rem; }
    .nav-toggle { display: flex; }
    .header-call { display: none; }
    .hero { padding-top: calc(var(--header-h) + 2rem); }
    .hero-scroll { display: none; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .brand-text small { display: none; }
    .btn-wa span, .header-actions .btn-wa span { display: none; }
    .header-actions .btn-wa { padding: .55rem .7rem; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { gap: 1.1rem; }
    .gallery { grid-auto-rows: 180px; }
    .quick-actions { grid-template-columns: 1fr; }
    .float-dock { right: .6rem; bottom: .6rem; }
    .dock-btn { width: 46px; height: 46px; }
}
