@font-face {
    font-family: 'Recharge';
    src: url('../fonts/recharge.woff2') format('woff2');
}

:root {
    --surface: #fffdf8;
    --surface-strong: #f0e4d1;
    --text: #2f2418;
    --muted: #6c5b48;
    --line: rgba(47, 36, 24, 0.14);
    --accent: #a25c2f;
    --accent-dark: #7d4521;
    --shadow: 0 20px 45px rgba(47, 36, 24, 0.12);
    --radius: 22px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(162, 92, 47, 0.16), transparent 30%),
        linear-gradient(180deg, #fbf7ef 0%, #f4ecdf 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: rgba(251, 247, 239, 0.92);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    width: 100%;
    max-width: none;
    padding: 14px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.brand-logo {
    width: 76px;
    height: auto;
    flex-shrink: 0;
}

.brand-text {
    font-family: 'Recharge', Arial, Helvetica, sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.1;
}

.site-nav {
    margin-left: auto;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 1rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: var(--surface-strong);
    border-color: var(--line);
    outline: none;
}

.site-header.nav-collapsible .menu-toggle {
    display: inline-flex;
    margin-left: auto;
}

.site-header.nav-collapsible .header-inner {
    flex-wrap: nowrap;
}

.site-header.nav-collapsible .brand {
    flex: 1 1 auto;
    min-width: 0;
}

.site-header.nav-collapsible .site-nav {
    position: absolute;
    top: calc(100% + 4px);
    right: 24px;
    width: max-content;
    max-width: min(92vw, 440px);
    margin-left: 0;
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-header.nav-collapsible.nav-open .site-nav {
    max-height: 340px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-header.nav-collapsible .site-nav ul {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding-top: 0;
    margin-left: 0;
}

.site-header.nav-collapsible .site-nav li {
    width: 100%;
}

.site-header.nav-collapsible .site-nav a {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    justify-content: flex-end;
    border-color: var(--line);
    background: var(--surface);
}

main {
    padding: 24px 0 0;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 32px;
}

.hero > * {
    min-width: 0;
}

.hero-visual {
    width: 100%;
    min-height: 380px;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    background:
        linear-gradient(180deg, rgba(37, 29, 21, 0.12), rgba(37, 29, 21, 0.65)),
        linear-gradient(135deg, #9f7a52 0%, #5c4735 100%);
}

.hero-visual::before,
.hero-visual::after {
    content: "";
    position: absolute;
    inset: auto;
    border-radius: 999px;
    opacity: 0.38;
    background: rgba(255, 255, 255, 0.12);
}

.hero-visual::before {
    width: 240px;
    height: 240px;
    right: -50px;
    top: 40px;
}

.hero-visual::after {
    width: 320px;
    height: 320px;
    left: -100px;
    bottom: -100px;
}

.hero-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 20px 22px;
    border-radius: 20px;
    color: #fffdf8;
    background: rgba(36, 28, 20, 0.52);
    border: 1px solid rgba(255, 253, 248, 0.18);
}

.hero-caption p {
    margin: 0 0 8px;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 253, 248, 0.78);
}

.hero-caption strong {
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    line-height: 1.15;
    display: block;
}

.hero-copy {
    align-self: center;
    padding: 10px 0;
}

.eyebrow {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(162, 92, 47, 0.12);
    color: var(--accent-dark);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

h1,
h2 {
    margin: 0 0 16px;
    line-height: 1.08;
    font-weight: 600;
}

h1 {
    font-size: clamp(1.2em, 2.5vw, 2em);
}

h2 {
    font-size: clamp(1.1em, 2vw, 1.5em);
}

.lead,
.section p,
.contact-list a,
.contact-list span {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 1rem;
}

.button-primary {
    background: var(--accent);
    color: #fffdf8;
    box-shadow: var(--shadow);
}

.button-secondary {
    border-color: var(--line);
    background: var(--surface);
}

.section {
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-list {
    display: grid;
    gap: 16px;
}

.contact-item {
    padding: 18px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.contact-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.specialties {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.specialty {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    padding: 20px 22px 22px;
}

.specialty h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.specialty ul {
    margin: 0;
    padding: 0 0 0 18px;
    color: var(--muted);
    line-height: 1.8;
}

.specialty-link {
    margin-top: 14px;
}

.section-link {
    margin-top: 18px;
}

.details-hero h1 {
    margin-bottom: 14px;
}

.details-hero {
    margin-bottom: 24px;
}

.specialty-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.specialty-detail {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    padding: 18px;
}

.specialty-detail h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.specialty-detail p {
    margin: 0;
}

.specialty-group {
    margin-bottom: 24px;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.review-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.review-item {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.review-image {
    width: 100%;
    max-width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 999px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.review-header strong {
    font-size: 1rem;
}

.review-rating {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.star {
    color: var(--accent);
    font-size: 0.9rem;
}

.picture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.picture-thumb {
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-strong);
    aspect-ratio: 4 / 3;
    transition: transform 0.15s, box-shadow 0.15s;
}

.picture-thumb:hover,
.picture-thumb:focus-visible {
    transform: scale(1.03);
    box-shadow: var(--shadow);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.picture-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(20, 14, 8, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-img {
    max-width: calc(100vw - 120px);
    max-height: calc(100vh - 80px);
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: none;
    background: rgba(255, 253, 248, 0.14);
    color: #fffdf8;
    cursor: pointer;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 253, 248, 0.28);
}

.lightbox-close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 2.4rem;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 600px) {
    .lightbox-img {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 120px);
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 16px;
        transform: none;
        width: 46px;
        height: 46px;
        font-size: 2rem;
    }

    .lightbox-prev { left: 50%; transform: translateX(calc(-100% - 8px)); }
    .lightbox-next { left: 50%; transform: translateX(8px); }
}

.video-section {
    display: block;
}

.video-container {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
}

.site-footer {
    padding: 0 0 36px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    align-items: start;
    background: rgba(47, 36, 24, 0.96);
    color: #f8f2e8;
    border-radius: var(--radius);
    padding: 22px 24px;
}

.footer-block {
    min-width: 0;
}

.footer-title {
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
}

.footer-contact {
    display: grid;
    gap: 8px;
}

.footer-contact a,
.footer-contact span {
    color: rgba(248, 242, 232, 0.88);
    line-height: 1.5;
}

.footer-logo {
    width: 52px;
}

.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

.partner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgb(253, 249, 244);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.partner-box:hover {
    background: rgba(255, 255, 255, 0.7);
}

.partner-img {
    max-height: 100px;
    object-fit: contain;
}

.partner-name {
    color: rgb(55, 45, 32);
}

@media (max-width: 980px) {
    .hero,
    .section-grid,
    .specialties,
    .specialty-details-grid,
    .footer-inner,
    .reviews-list {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-visual {
        min-height: 420px;
    }
}

@media (max-width: 720px) {
    main {
        padding: 16px 0 0;
    }

    .container {
        width: min(calc(100% - 20px), var(--max-width));
    }

    .header-inner {
        padding: 10px 0;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 52px;
    }

    .brand-text {
        font-size: 0.85rem;
        letter-spacing: 0.03em;
    }

    h1 {
        font-size: clamp(1.8rem, 9.6vw, 3.1rem);
        line-height: 1.04;
    }

    h2 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .lead,
    .section p,
    .contact-list a,
    .contact-list span {
        font-size: 1rem;
        line-height: 1.65;
    }

    .eyebrow {
        margin-bottom: 14px;
        font-size: 0.75rem;
        padding: 7px 12px;
    }

    .section {
        padding: 22px 18px;
    }

    .hero {
        gap: 18px;
        margin-bottom: 24px;
    }

    .hero-actions {
        margin-top: 18px;
    }

    .hero-visual {
        min-height: 340px;
    }

    .hero-caption {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px;
    }
}

@media (max-width: 460px) {
    .menu-toggle {
        min-height: 36px;
        padding: 0 10px;
        font-size: 0.9rem;
    }

    .site-nav a {
        min-height: 34px;
        padding: 0 10px;
        font-size: 0.9rem;
    }

    .hero-actions {
        gap: 10px;
    }

    .button {
        min-height: 44px;
        padding: 0 16px;
        font-size: 0.9rem;
    }

    .hero-visual {
        min-height: 300px;
    }

    .review-item {
        padding: 14px;
    }
}

@media (max-width: 360px) {
    .container {
        width: min(calc(100% - 16px), var(--max-width));
    }

    .brand-text {
        font-size: 0.8rem;
        letter-spacing: 0.02em;
    }

    .site-nav ul {
        gap: 2px;
    }

    .site-nav a {
        min-height: 32px;
        padding: 0 8px;
        font-size: 0.9rem;
    }

    h1 {
        font-size: clamp(1.75rem, 10.4vw, 2rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
        min-height: 42px;
    }

    .hero-visual {
        min-height: 260px;
    }

    .hero-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px;
    }

    .hero-caption strong {
        font-size: clamp(1rem, 7vw, 1.35rem);
        line-height: 1.2;
    }

}

@media (max-width: 320px) {
    .header-inner {
        gap: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo {
        width: 44px;
    }

    .brand-text {
        font-size: 0.75rem;
    }

    h1 {
        font-size: 1.4rem;
    }

    .lead,
    .section p,
    .contact-list a,
    .contact-list span {
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-visual {
        min-height: 240px;
    }
}
