/* ===== Base ===== */
:root {
    --color-bg: #fdfaf6;
    --color-bg-alt: #f6efe6;
    --color-dark: #201c1a;
    --color-text: #3a342f;
    --color-muted: #7a716a;
    --color-accent: #b48a5a;
    --color-accent-dark: #8f6b3f;
    --color-border: #e4d9c9;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(32, 28, 26, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 40px);
    text-align: center;
    color: var(--color-dark);
    margin: 0 0 40px;
    letter-spacing: 0.02em;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 250, 246, 0.9);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-emblem {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.06em;
    color: var(--color-dark);
    text-transform: uppercase;
}

.brand-sub {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
}

.site-nav {
    display: flex;
    gap: 28px;
}

.site-nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--color-text);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--color-accent-dark);
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--color-accent-dark);
    transition: right 0.25s ease;
}

.site-nav a:hover::after {
    right: 0;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 96px 0 96px;
    background-image: linear-gradient(180deg, rgba(253, 250, 246, 0.72) 0%, rgba(253, 250, 246, 0.79) 55%, rgba(253, 250, 246, 0.89) 100%), url('img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    isolation: isolate;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-emblem {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(42px, 8vw, 68px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0;
}

.hero-tagline {
    font-size: 14px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin: 8px 0 24px;
}

.hero-desc {
    max-width: 520px;
    margin: 0 auto;
    color: var(--color-muted);
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--color-dark);
    color: #fff;
    box-shadow: 0 8px 20px rgba(32, 28, 26, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(32, 28, 26, 0.3);
}

.btn-icon {
    background: #fff;
    color: var(--color-dark);
    border-color: var(--color-border);
}

.btn-icon img {
    border-radius: 50%;
}

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--color-accent);
}

/* ===== Social ===== */
.social {
    padding: 72px 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--color-accent);
}

.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.social-icon--insta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    color: var(--color-accent-dark);
}

.social-name {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-dark);
}

.social-handle {
    display: block;
    font-size: 13px;
    color: var(--color-muted);
    margin-top: 2px;
}

/* ===== Contacts ===== */
.contacts {
    padding: 72px 0;
    background: var(--color-bg-alt);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: var(--radius);
    padding: 26px 22px;
    box-shadow: var(--shadow);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    color: var(--color-accent-dark);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-dark);
}

.contact-value small {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: var(--color-muted);
    margin-top: 2px;
}

/* ===== Map ===== */
.map-section {
    padding: 72px 0;
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.map-wrapper iframe {
    width: 100%;
    display: block;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--color-dark);
    color: #ece7e1;
    padding: 48px 0 28px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.footer-brand .brand-name {
    color: #fff;
    display: block;
    font-size: 24px;
}

.footer-brand .brand-sub {
    color: #cbb896;
    display: block;
    margin-top: 4px;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    font-size: 14px;
    color: #c9c3bd;
}

.footer-info a {
    color: #fff;
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.footer-social img {
    border-radius: 50%;
    width: 22px;
    height: 22px;
}

.footer-copy {
    font-size: 12px;
    color: #8f887f;
    margin: 6px 0 0;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .social-grid,
    .contacts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .site-nav {
        gap: 16px;
    }

    .site-nav a {
        font-size: 12px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-sub {
        font-size: 9px;
    }

    .hero {
        padding: 48px 0 56px;
    }

    .hero-emblem {
        width: 120px;
        height: 120px;
    }

    .hero-desc {
        font-size: 15px;
        padding: 0 8px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 12px;
    }

    .social-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .map-wrapper iframe {
        height: 360px;
    }

}

@media (max-width: 480px) {
    .header-inner {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-nav {
        width: 100%;
        justify-content: center;
        gap: 18px;
    }
}
