:root {
    --bg: #f7f3ed;
    --bg-soft: #efe7dd;
    --panel: #fffdf9;
    --panel-2: #f4ece3;
    --ink: #3b312b;
    --muted: #7c6c61;
    --line: #c9b8a8;
    --line-soft: rgba(123, 103, 89, 0.18);
    --accent: #a58a74;
    --accent-dark: #866d5a;
    --radius: 22px;
    --shadow: 0 18px 45px rgba(102, 83, 67, 0.12);
    --shadow-soft: 0 10px 28px rgba(102, 83, 67, 0.08);
    --border: 1px solid rgba(123, 103, 89, 0.14);
    --wrap: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    overflow-y: auto;
    scroll-behavior: smooth;
}

html {
    height: -webkit-fill-available;
}

body {
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background:
        radial-gradient(circle at top left, rgba(201, 184, 168, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(165, 138, 116, 0.10), transparent 26%),
        linear-gradient(180deg, #fcfaf6 0%, #f7f3ed 42%, #f2ebe2 100%);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: clamp(15px, 1.3vw, 16px);
    line-height: 1.65;
    overflow-x: hidden;
}

@supports not (height:100svh) {
    body {
        min-height: 100vh;
    }
}

main {
    min-width: 0;
}

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

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

:focus-visible {
    outline: 2px dashed var(--accent-dark);
    outline-offset: 4px;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(18px, 3vw, 28px);
}

h1,
h2,
h3,
.brand-title {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.06em;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 0 0 14px;
    color: var(--ink);
}

p,
li {
    color: var(--ink);
}

.lead {
    color: var(--muted);
    max-width: 760px;
}

.hide {
    position: absolute;
    left: -9999px;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 250, 246, 0.88);
    backdrop-filter: blur(14px) saturate(1.05);
    border-bottom: 1px solid rgba(123, 103, 89, 0.10);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 12px;
}

.header-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.header-mark-right {
    justify-content: flex-end;
}

.mark-line {
    display: block;
    height: 1px;
    flex: 1;
    min-width: 60px;
    background: linear-gradient(90deg, transparent 0%, var(--line) 30%, var(--line) 100%);
}

.header-mark-right .mark-line {
    background: linear-gradient(90deg, var(--line) 0%, var(--line) 70%, transparent 100%);
}

.mark-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 0 0 4px rgba(255, 253, 249, 0.65);
}

.mark-dot.small {
    width: 6px;
    height: 6px;
    opacity: 0.85;
}

.brand-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.brand-circle {
    width: clamp(90px, 10vw, 120px);
    height: clamp(90px, 10vw, 120px);
    border-radius: 50%;
    padding: 9px;
    background: linear-gradient(180deg, #fffefb 0%, #f1e8de 100%);
    border: 1px solid rgba(123, 103, 89, 0.18);
    box-shadow:
        0 10px 30px rgba(102, 83, 67, 0.12),
        inset 0 0 0 6px rgba(255, 255, 255, 0.55);
}

.brand-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.brand-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1;
    color: var(--ink);
}

.brand-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-wrap {
    padding-top: 6px;
    padding-bottom: 20px;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-link,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 999px;
    transition: 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 600;
}

.nav-link {
    color: var(--ink);
    background: rgba(255, 253, 249, 0.75);
    border: 1px solid rgba(123, 103, 89, 0.12);
    box-shadow: var(--shadow-soft);
}

.nav-link:hover {
    transform: translateY(-1px);
    background: #fff;
    border-color: rgba(123, 103, 89, 0.22);
}

.btn {
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent-dark);
    box-shadow: none;
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(165, 138, 116, 0.08);
}

.btn.primary {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fffdf9;
    border-color: var(--accent-dark);
    box-shadow: 0 12px 24px rgba(134, 109, 90, 0.22);
}

.btn.primary:hover {
    background: linear-gradient(180deg, #ae947d 0%, #7f6654 100%);
}

/* ===== HERO ===== */
.hero {
    padding: clamp(38px, 6vw, 78px) 0 42px;
}

.hero-card {
    border-radius: calc(var(--radius) + 6px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(244, 236, 227, 0.95) 100%);
    box-shadow: var(--shadow);
    padding: clamp(22px, 4vw, 46px);
    display: grid;
    grid-template-columns: 1.2fr 0.95fr;
    gap: 34px;
    border: var(--border);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kicker {
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 700;
    font-size: 0.8rem;
}

.title {
    font-size: clamp(2.3rem, 4.8vw, 4.3rem);
    line-height: 1.02;
    margin: 12px 0 10px;
    color: var(--ink);
}

.cta {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.hero-art {
    border-radius: 24px;
    display: grid;
    place-items: center;
    border: var(--border);
    background:
        radial-gradient(circle at top, rgba(201, 184, 168, 0.24), transparent 42%),
        linear-gradient(180deg, #fdfaf5 0%, #efe7dd 100%);
    min-height: clamp(260px, 36vw, 430px);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== SECTIONS ===== */
section {
    padding: 62px 0;
    overflow: visible;
}

.cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin-top: 26px;
}

.card {
    grid-column: span 4;
    background: rgba(255, 253, 249, 0.78);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    border: var(--border);
    color: var(--muted);
}

.card strong {
    color: var(--ink);
    display: inline-block;
    margin-bottom: 6px;
}

.section-cta {
    margin-top: 20px;
}

/* ===== GALERIE ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.grid.carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding: 12px;
    -webkit-overflow-scrolling: touch;
    padding: 14px 6px 18px;
}

.grid.carousel .tile {
    flex: 0 0 clamp(260px, 42vw, 360px);
    scroll-snap-align: center;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 253, 249, 0.88);
    border: var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.grid.carousel .tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(123, 103, 89, 0.24);
}

.grid.carousel .ph {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background:
        radial-gradient(circle at top, rgba(201, 184, 168, 0.18), transparent 40%),
        linear-gradient(180deg, #fdfaf5 0%, #f2ebe2 100%);
}

.grid.carousel .ph img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.grid.carousel .tile figcaption {
    padding: 14px 16px 16px;
    color: var(--muted);
    font-size: 0.95rem;
    border-top: 1px solid rgba(123, 103, 89, 0.10);
}

.grid.carousel::-webkit-scrollbar {
    height: 8px;
}

.grid.carousel::-webkit-scrollbar-thumb {
    background: rgba(123, 103, 89, 0.30);
    border-radius: 999px;
}

.grid.carousel {
    scrollbar-color: rgba(123, 103, 89, 0.30) transparent;
    scrollbar-width: thin;
}

/* ===== INFOS / CONTACT ===== */
.info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.info .block {
    background: rgba(255, 253, 249, 0.8);
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: var(--border);
}

.info .block h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.info .block ul {
    padding-left: 18px;
}

.info .block li+li {
    margin-top: 8px;
}

.info .block p+p {
    margin-top: 10px;
}

form {
    display: grid;
    gap: 12px;
    max-width: 700px;
    width: 100%;
    margin-top: 22px;
}

input,
textarea,
select {
    background: rgba(255, 253, 249, 0.82);
    color: var(--ink);
    border: 1px solid rgba(123, 103, 89, 0.18);
    border-radius: 16px;
    padding: 14px 15px;
    font: inherit;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(90, 73, 59, 0.04);
}

input::placeholder,
textarea::placeholder {
    color: #99887c;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    font: inherit;
    cursor: pointer;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(180deg, #efe7dd 0%, #e8ddd0 100%);
    padding: 38px 0;
    border-top: 1px solid rgba(123, 103, 89, 0.12);
    text-align: center;
    position: relative;
    z-index: 1;
}

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

footer .brand-footer {
    font-size: 0.95rem;
    color: var(--muted);
}

footer .social {
    display: flex;
    gap: 20px;
}

footer .social a {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 253, 249, 0.75);
    border: 1px solid rgba(123, 103, 89, 0.12);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

footer .social a:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: rgba(123, 103, 89, 0.22);
}

footer .social a img {
    width: 22px;
    height: 22px;
    opacity: 0.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 990px) {
    .hero-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-art {
        order: -1;
        min-height: 320px;
    }

    .card {
        grid-column: span 6;
    }

    .info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: static;
    }

    .header-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-bottom: 8px;
    }

    .header-mark {
        display: none;
    }

    .brand-subtitle {
        letter-spacing: 0.14em;
        font-size: 0.72rem;
    }

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

    .main-nav .btn.primary {
        grid-column: 1 / -1;
    }

    .nav-link,
    .btn {
        width: 100%;
        padding: 11px 12px;
    }

    .cta {
        flex-direction: column;
    }

    .cta .btn {
        width: 100%;
    }

    .card {
        grid-column: span 12;
    }
}

@media (max-width: 600px) {
    section {
        padding: 52px 0;
    }

    .wrap {
        padding: 16px;
    }

    .grid.carousel .tile {
        flex: 0 0 86vw;
    }

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

    .title {
        font-size: clamp(2rem, 9vw, 3rem);
    }
}

@media (max-width: 430px) and (min-height: 780px) {
    section {
        padding-bottom: 64px;
    }

    footer {
        padding-top: 28px;
        padding-bottom: 28px;
    }
}

@media (max-width: 420px) and (min-height: 780px) {
    section {
        padding-bottom: 64px;
    }

    footer {
        padding-top: 28px;
        padding-bottom: 28px;
    }
}

@media (min-width: 700px) and (max-width: 1100px) and (orientation: portrait) {
    section {
        padding-bottom: 72px;
    }

    footer {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

@media (max-height: 650px) {
    section {
        padding-top: 40px;
        padding-bottom: 54px;
    }

    footer {
        padding-top: 22px;
        padding-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

section,
.wrap,
main {
    overflow: visible !important;
}