/* =============================================
   Danmar Beauty Zone – Hlavný stylesheet
   ============================================= */

/* === RESET & VARIABLES === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --dark:       #2c1a1d;
    --dark-soft:  #3d2b2e;
    --cream:      #f5ebe0;
    --cream-alt:  #f0e4d6;
    --cream-deep: #e8d8c8;
    --gold:       #c8a882;
    --gold-dark:  #a8886a;
    --white:      #ffffff;
    --text:       #2c1a1d;
    --text-light: #7a6567;
    --border:     rgba(200,168,130,0.35);

    --font-serif: 'Book Antiqua', 'Palatino Linotype', Palatino, Georgia, serif;
    --font-sans:  'Sora', system-ui, sans-serif;

    --container:  1620px;
    --radius:     12px;
    --transition: 0.3s ease;

    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html { scroll-behavior: smooth; font-size: 21px; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

.skip-link {
    position: absolute; left: -9999px; top: auto;
    width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
    position: fixed; top: 0; left: 0; width: auto; height: auto;
    padding: 8px 16px; background: var(--dark); color: var(--white);
    z-index: 9999; font-size: 14px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

/* === FLASH === */
.flash { padding: 14px 24px; font-size: 15px; text-align: center; }
.flash--success { background: #d4edda; color: #155724; }
.flash--error   { background: #f8d7da; color: #721c24; }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    background: #604041;
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    height: 160px;
}

/* Logo */
.logo, .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-family: var(--font-serif);
}
.site-logo-img { height: 44px; width: auto; display: block; }
.footer-logo-img { height: 55px; width: auto; display: block; }
.logo__name {
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
}
.logo__divider {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.5;
}
.logo__tagline {
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--white);
    opacity: 0.8;
}

/* Nav */
.main-nav {
    position: relative;
}
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}
/* Sliding pill indicator */
.nav-pill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 51px;
    border: 1.5px solid rgba(255,255,255,0.45);
    border-radius: 50px;
    pointer-events: none;
    transition: left 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
    z-index: 0;
    opacity: 0;
}
.nav-pill.visible { opacity: 1; }
.main-nav .nav-list a {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    transition: color var(--transition);
    padding: 8px 18px;
    border-radius: 50px;
}
.main-nav .nav-list a:hover,
.main-nav .nav-list a.active { color: var(--white); }

/* =============================================
   NAV DROPDOWN
   ============================================= */
.nav-item--has-dropdown {
    position: relative;
}
/* Invisible bridge fills the gap between trigger and dropdown panel */
.nav-item--has-dropdown::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    height: 18px;
}
.nav-dropdown-trigger {
    display: flex !important;
    align-items: center;
    gap: 5px;
}
.nav-dropdown-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    opacity: 0.75;
}
.nav-item--has-dropdown:hover .nav-dropdown-chevron,
.nav-item--has-dropdown.open .nav-dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Desktop dropdown panel */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #fff;
    border: 1px solid rgba(200,168,130,0.22);
    border-radius: 20px;
    box-shadow: 0 20px 64px rgba(44,26,29,0.16);
    min-width: 270px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 500;
}
/* Small arrow pointer */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid rgba(200,168,130,0.22);
    border-top: 1px solid rgba(200,168,130,0.22);
    border-radius: 3px 0 0 0;
    rotate: 45deg;
}
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown a.nav-dropdown__item {
    display: block;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    border-radius: 13px;
    transition: background 0.15s ease, color 0.15s ease;
    line-height: 1.35;
    white-space: nowrap;
}
.nav-dropdown a.nav-dropdown__item:hover {
    background: var(--cream);
    color: #5e3e3f;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    width: 36px;
    background: none;
    border: none;
}
/* Close button (mobile fullscreen menu) */
.nav-close {
    display: none;
    position: absolute;
    top: 28px;
    right: 28px;
    width: 42px;
    height: 42px;
    border: none;
    background: none;
    color: rgba(255,255,255,0.75);
    font-size: 2.1rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color var(--transition);
    z-index: 10;
    line-height: 1;
}
.nav-close:hover {
    color: var(--white);
}

.nav-toggle span {
    display: block;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
    width: 100%;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 34px;
    border-radius: 50px;
    font-size: 1.08rem;
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: 0.3px;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: none;
}
.btn--dark { background: #604041; color: var(--white); }
.btn--dark:hover { background: #4e3334; transform: translateY(-1px); }
.btn--outline-dark {
    background: transparent;
    color: #604041;
    border: 2px solid #604041;
}
.btn--outline-dark:hover { background: #604041; color: var(--white); }
.btn--outline-light {
    background: var(--cream);
    color: var(--dark);
    border: none;
    padding: 14px 34px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
    white-space: nowrap;
}
.btn--outline-light:hover { background: var(--white); color: var(--dark); transform: translateY(-1px); }
.btn--service {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--cream-alt);
    color: var(--dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}
.btn--service:hover { background: var(--dark); color: var(--white); }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-section {
    margin-top: 160px;
}
.hero-slider {
    position: relative;
    min-height: calc(100vh - 160px);
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
    min-height: calc(100vh - 160px);
}
.hero-slide--active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}
.hero-slide__bg {
    position: absolute;
    inset: 0;
    background-color: #efdcc4;
    background-image: url("../images/pattern.png");
    background-repeat: repeat;
    background-size: 800px;
    z-index: 0;
}
.hero-slide__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 160px);
    width: 100%;
}
.hero-slide__text {
    display: flex;
    flex-direction: column;
    padding: 60px 60px 60px max(40px, calc((100vw - var(--container)) / 2 + 40px));
}
.hero__center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.15;
    color: #604041;
    margin-bottom: 32px;
}
.hero__title-light { font-weight: 400; }
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero__location {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #604041;
    padding-top: 28px;
    border-top: 2px solid #604041;
    max-width: 480px;
}
.hero__location svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #604041;
    width: 42px;
    height: 48px;
}
.hero__location strong {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #604041;
}
.hero__location span {
    color: #604041;
    font-size: 1rem;
}

.hero-slide__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    overflow: hidden;
}
.hero-slide__image img {
    width: 100%;
    height: 80vh;
    max-height: 680px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px 0 0 12px;
}
.hero-slide__image-placeholder {
    width: 100%;
    height: 80vh;
    max-height: 680px;
    background: linear-gradient(160deg, var(--cream-deep) 0%, var(--cream-alt) 100%);
    border-radius: 12px 0 0 12px;
}
.hero-flower {
    position: absolute;
    bottom: 31px;
    left: 19px;
    width: 250px;
    height: 250px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
}
.hero-flower img { width: 100%; height: 100%; object-fit: contain; }
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(44,26,29,0.3);
    border: none; cursor: pointer;
    transition: background var(--transition);
    padding: 0;
}
.hero-dot--active { background: var(--dark); }

/* =============================================
   PROCEDÚRY
   ============================================= */
.procedures-section {
    background: #fff9f3;
    padding: 114px 0;
    isolation: isolate;
}
.section-label {
    font-family: var(--font-sans);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 28px;
}
.procedures-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.procedures-carousel {
    overflow: hidden;
    padding: 6px 0;
    flex: 1;
    cursor: grab;
    user-select: none;
    position: relative;
    touch-action: pan-y;
}
.procedures-carousel.dragging { cursor: grabbing; }
.proc-track {
    display: flex;
    gap: 12px;
    padding: 0 2px;
    position: relative;
    will-change: transform;
    z-index: 1;
}
.proc-btn {
    flex-shrink: 0;
    padding: 16px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    color: #5e3e3f;
    background: transparent;
    border: 3px solid #5e3e3f;
    /* farba a border sa menia rýchlo – delay nastavuje JS podľa vzdialenosti */
    transition: color 0.06s ease, border-color 0.06s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}
/* Len hovered (kde je pill) má biely text – active samotný nie */
.proc-btn--hovered {
    color: var(--white);
    border-color: transparent;
}

/* Sliding pill – inside carousel, behind buttons via z-index */
.proc-pill {
    position: absolute;
    left: 0; top: 0; width: 0; height: 0;
    pointer-events: none;
    background: #5e3e3f;
    border-radius: 50px;
    transition: left 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
    opacity: 0;
    z-index: 0;
}
.proc-pill.visible { opacity: 1; }
.carousel-arrow {
    display: none; /* skryté, zachované v HTML */
}

/* =============================================
   O MNE
   ============================================= */
.about-section {
    background: var(--white);
    padding: 217px 0;
    position: relative;
    overflow: hidden;
}
.about-grid {
    display: grid;
    grid-template-columns: 506px 1fr;
    gap: 106px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--cream-alt);
}
.about-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.about-image.no-image {
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.about-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 3.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -3px;
    color: var(--dark);
    margin-bottom: 28px;
}
.about-content p {
    font-size: 1.13rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 16px;
}
.about-content p strong { color: var(--dark); font-weight: 700; }
.about-divider {
    height: 2px;
    background: var(--border);
    margin: 36px 0 32px;
    border-radius: 2px;
}
.about-signatures {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.about-logo-img {
    height: 57px;
    width: auto;
    opacity: 0.6;
}
.about-signature-img img {
    height: 95px;
    width: auto;
}
/* Dekoratívne pozadie sekcie – prechádza centrom textovej časti */
.about-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 58%;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}
.about-bg img { height: 100%; width: auto; display: block; }
.about-watermark {
    display: none;
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-serif);
    font-size: 14vw;
    font-weight: 700;
    color: var(--cream-alt);
    pointer-events: none;
    user-select: none;
    letter-spacing: -4px;
    z-index: 0;
    opacity: 0.8;
}

/* =============================================
   SERVICES CAROUSEL
   ============================================= */
.services-section {
    background: var(--white);
    position: relative;
    padding: 0px 0px 96px 0px;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 35%;
    left: 0; right: 0; bottom: 0;
    background-color: #efdcc4;
    background-image: url("../images/pattern.png");
    background-size: 800px;
    background-repeat: repeat;
    z-index: 0;
}
.services-carousel-wrap {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.services-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.45s ease;
    will-change: transform;
}
.service-card {
    flex: 0 0 33.333%;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
}
.service-card__img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}
.service-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 100px 24px 28px;
    background: linear-gradient(to top, rgba(44,26,29,0.88) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.service-card__name {
    font-size: 1.49rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.25em * 2);
    word-break: normal;
    overflow-wrap: normal;
    hyphens: manual;
    -webkit-hyphens: manual;
}
.btn--service {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.75);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.btn--service:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}
.btn--service svg {
    flex-shrink: 0;
}
.services-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    font-size: 1.6rem;
    display: none; /* skryté – zapnúť zmenou na flex */
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: all var(--transition);
    line-height: 1;
    border: none;
    cursor: pointer;
}
.services-arrow:hover { background: var(--dark); color: var(--white); }
.services-arrow--prev { left: 16px; }
.services-arrow--next { right: 16px; }

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter-section {
    background: #fff9f3;
    padding: 122px 0;
}
.newsletter-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.newsletter-text { flex: 1; min-width: 260px; }
.newsletter-text h2 {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    font-weight: 700;
    color: #5e3e3f;
    margin-bottom: 2px;
}
.newsletter-text p { font-size: 1.1rem; color: #5e3e3f; margin: 0; }
.newsletter-form { flex: 1; min-width: 320px; }
.newsletter-input-wrap {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid #5e3e3f;
    background: #fff9f3;
}
.newsletter-input-wrap input {
    flex: 1;
    padding: 14px 24px;
    font-size: 0.9rem;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-sans);
    color: #5e3e3f;
    min-width: 0;
}
.newsletter-input-wrap input::placeholder { color: #5e3e3f; opacity: 0.55; }
.newsletter-input-wrap .btn--dark { border-radius: 0 50px 50px 0; padding: 14px 28px; background: #5e3e3f; }
.newsletter-feedback {
    font-size: 0.88rem;
    margin-bottom: 10px;
    padding: 8px 16px;
    border-radius: 8px;
}
.newsletter-feedback--ok  { background: #d4edda; color: #155724; }
.newsletter-feedback--err { background: #f8d7da; color: #721c24; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--white);
    padding-top: 130px;
    position: relative;
    overflow: hidden;
}
.footer-bg {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%; transform: translateX(-50%);
    height: 100%; width: auto;
    opacity: 0.35;
    pointer-events: none;
}
.footer-bg img {
    height: 100%; width: auto;
    display: block;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 0;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px 48px;
    position: relative;
    z-index: 1;
}
.footer-col--logo {
    display: flex;
    align-items: center;
    padding-right: 40px;
}
.footer-col:not(.footer-col--logo) {
    border-left: 2px solid #dfdfdf;
    padding-left: 40px;
    padding-right: 20px;
}
.footer-logo { color: var(--dark); }
.footer-logo .logo__name { font-size: 1.4rem; color: var(--dark); }
.footer-logo .logo__divider { color: var(--dark); opacity: 0.4; }
.footer-logo .logo__tagline { color: var(--dark); opacity: 0.7; }
.footer-col__title {
    font-size: 1.95rem;
    font-weight: 700;
    color: #5e3e3f;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}
.footer-address {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.8;
    font-style: normal;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.86rem; color: var(--text-light); transition: color var(--transition); }
.footer-links a:hover { color: var(--dark); }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a { color: var(--dark); opacity: 0.65; transition: opacity var(--transition); display: flex; }
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 35px; height: 35px; }
.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 63px 40px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 40px;
    font-size: 0.82rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}
.footer-bottom > p { margin: 0; }
.footer-bottom a { color: var(--text-light); }
.footer-bottom a:hover { color: var(--dark); }

/* WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #604041;
    color: var(--white);
    border-radius: 50px;
    padding: 12px 20px 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-sans);
    box-shadow: 0 4px 16px rgba(96,64,65,0.4);
    z-index: 500;
    transition: all var(--transition);
    text-decoration: none;
}
.whatsapp-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(96,64,65,0.55); }

.procedures-section--page-top { margin-top: 160px; }

/* =============================================
   SERVICE DETAIL PAGE
   ============================================= */
.svc-hero-section {
    background: var(--white);
    padding: 80px 0;
}
.svc-hero-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 80px;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}
.svc-hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--cream-alt);
}
.svc-hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.svc-hero-content .about-title { margin-bottom: 24px; }
.svc-hero-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 16px;
}
.svc-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 28px 0;
}
.svc-practitioner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: 1.5px solid #5e3e3f;
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--text-light);
}
.svc-practitioner strong { color: var(--dark); display: block; }
.svc-practitioner svg { flex-shrink: 0; color: #5e3e3f; }

.svc-content-section {
    background: var(--cream);
    padding: 80px 0;
}
.svc-content-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--dark);
    margin-bottom: 28px;
}
.svc-content-section p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 820px;
}

/* Gallery carousel */
.svc-gallery-section {
    background: var(--white);
    padding: 80px 0;
    overflow: hidden;
}
.svc-gallery-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--dark);
    margin-bottom: 40px;
    text-align: center;
}
.svc-gallery {
    overflow: hidden;
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    border-radius: var(--radius);
}
.svc-gallery__track {
    display: flex;
    gap: 16px;
    will-change: transform;
}
.svc-gallery__item {
    flex-shrink: 0;
    width: 360px;
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
}
.svc-gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* Content two-column grid */
.svc-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 56px;
}
.svc-content-grid:last-child { margin-bottom: 0; }
.svc-content-grid h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.svc-content-grid h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0 10px;
}
.svc-content-grid ul {
    list-style: none;
    padding: 0;
}
.svc-content-grid ul li {
    font-size: 0.97rem;
    color: var(--text-light);
    line-height: 1.6;
    padding: 4px 0 4px 18px;
    position: relative;
}
.svc-content-grid ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--gold-dark);
}
.svc-content-grid p {
    font-size: 0.97rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 14px;
}
.svc-content-grid p strong { color: var(--dark); }

/* Pricing */
.svc-pricing-section {
    background: #f7f7f7;
    padding: 80px 0;
}
.svc-pricing-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--dark);
    margin-bottom: 48px;
    text-align: center;
}
.svc-pricing__row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 36px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.svc-pricing__info { flex: 1; }
.svc-pricing__info strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.svc-pricing__info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}
.svc-pricing__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}
.svc-pricing__meta .svc-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    min-width: 60px;
    text-align: right;
}

/* =============================================
   LARGE SCREENS (2K / 4K)
   ============================================= */
@media (min-width: 2000px) {
    .hero-slider,
    .hero-slide {
        min-height: unset;
        height: 1100px;
        max-height: 1100px;
    }
    .hero-slide__content {
        min-height: unset;
        height: 1100px;
        max-width: 1800px;
        margin: 0 auto;
    }
    .hero-slide__text {
        padding: 60px 40px 60px 100px;
    }
    .hero-slide__image img,
    .hero-slide__image-placeholder {
        max-height: 1020px;
    }
    .services-carousel-wrap {
        max-width: var(--container);
        margin: 0 auto;
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-image { max-width: 500px; margin-left: auto; margin-right: auto; }
    .service-card { flex: 0 0 33.333%; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .header-inner { padding: 0 32px; }
}

@media (max-width: 1300px) {
    .hero-slide__content { grid-template-columns: 1fr; padding: 0 24px; }
    .hero-slide__image { display: none; }
    .hero-slide__text { padding: 60px 0; align-items: center; text-align: center; }
    .hero__location { margin: 0 auto; text-align: left; }
    .hero__location svg { width: 43px; height: 73px; }
    .hero__actions { justify-content: center; }
    .service-card { flex: 0 0 50%; }
    .main-nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 1000;
        background: #604041;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
    }
    .main-nav.open {
        opacity: 1;
        pointer-events: auto;
    }
    .main-nav .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .main-nav .nav-list a {
        font-size: 1.5rem;
        padding: 14px 40px;
    }
    .nav-pill { display: none; }
    .main-nav.open .nav-close { display: flex; }

    /* Dropdown – mobile (fullscreen nav) */
    .nav-item--has-dropdown { width: 100%; }
    .nav-dropdown-trigger { justify-content: center; }
    .nav-dropdown {
        position: static;
        transform: none !important;
        background: rgba(255,255,255,0.1);
        border: none;
        border-radius: 16px;
        box-shadow: none;
        min-width: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        padding: 0;
        transition: max-height 0.35s ease, padding 0.3s ease;
    }
    .nav-dropdown::before { display: none; }
    .nav-item--has-dropdown.open .nav-dropdown {
        max-height: 700px;
        padding: 6px;
        pointer-events: auto;
    }
    .nav-dropdown a.nav-dropdown__item {
        color: rgba(255,255,255,0.85);
        font-size: 0.68rem;
        padding: 6px 12px;
        text-align: center;
        white-space: normal;
        border-radius: 8px;
    }
    @media (hover: none) {
        .nav-dropdown a.nav-dropdown__item:hover {
            background: transparent;
            color: rgba(255,255,255,0.85);
        }
    }
    .proc-pill { display: none !important; }
    .section-label { text-align: center; }
    .proc-btn--hovered { color: #5e3e3f; border-color: #5e3e3f; }
    .nav-toggle { display: flex; }
    .header-inner { padding: 0 24px; }
    .header-right .btn--outline-light { display: none; }
    .site-logo-img { height: 40px; }
}

@media (max-width: 640px) {
    html { font-size: 19px; }
    body { font-size: 1rem; }
    .header-inner { height: 80px; padding: 0 20px; }
    .hero-section { margin-top: 80px; }
    .procedures-section--page-top { margin-top: 83px; }
    .procedures-section { padding: 49px 0; }
    .proc-btn { padding: 9px 17px; font-size: 0.57rem; border-width: 2px; }
    .section-label { font-size: 1.22rem; }
    .hero-slider { min-height: calc(100vh - 80px); }
    .hero-slide { min-height: calc(100vh - 80px); }
    .hero-slide__content { min-height: calc(100vh - 80px); }
    .site-logo-img { height: 32px; }
    .container { padding: 0 20px; }
    .about-section { padding: 111px 0; }
    .about-grid { grid-template-columns: 1fr; }
    .about-watermark { display: none; }
    .about-bg { display: none; }
    .about-image { aspect-ratio: 4/3; }
    .service-card { flex: 0 0 85%; }
    .services-section { overflow: hidden; padding-left: 16px; padding-right: 16px; }
    .services-carousel-wrap { overflow: visible; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-col--logo { justify-content: center; padding-right: 0; }
    .footer-logo-img { height: 52px; }
    .footer-col:not(.footer-col--logo) { border-left: none; padding-left: 0; }
    .footer-bg img { transform: scale(1.4); transform-origin: center center; }
    .footer-address { line-height: 1.3; }
    .footer-links { gap: 6px; }
    .about-signature-img { display: none; }
    .about-logo { width: 100%; display: flex; justify-content: center; }
    .about-logo-img { height: 95px; }
    .newsletter-inner { flex-direction: column; }
    .newsletter-text h2 { font-size: 2.2rem; line-height: 39px; }
    .newsletter-text p { font-size: 0.9rem; }
    .newsletter-form { width: 100%; }
    .footer-bottom { grid-template-columns: 1fr; gap: 8px; text-align: center; }
    .footer-bottom .footer-recaptcha { justify-self: center; text-align: center; }
    .whatsapp-btn {
        position: fixed;
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
    .about-signatures { flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 12px; }
    .about-logo-img { height: 48px; }
    .about-signature-img img { height: 44px; }
    .hero-flower { display: none; }
    .svc-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .svc-content-grid { grid-template-columns: 1fr; gap: 32px; }
    .svc-hero-image { aspect-ratio: 4/3; max-width: 100%; }
    .svc-pricing-section { padding: 48px 0; }
    .svc-pricing-section h2 { font-size: 1.6rem; margin-bottom: 24px; letter-spacing: -1px; }
    .svc-pricing__row { padding: 12px 14px; gap: 8px; margin-bottom: 8px; border-radius: 8px; }
    .svc-pricing__info { min-width: 0; flex: 1 1 100%; }
    .svc-pricing__info strong { font-size: 0.88rem; margin-bottom: 2px; }
    .svc-pricing__info p { font-size: 0.78rem; }
    .svc-pricing__meta { gap: 10px; font-size: 0.82rem; }
    .svc-pricing__meta .svc-price { font-size: 0.9rem; min-width: auto; font-weight: 700; }
    .svc-pricing__row .btn--dark { padding: 8px 16px; font-size: 0.78rem; border-radius: 30px; flex-shrink: 0; margin-left: auto; }
    .svc-gallery__item { width: 280px; }
}

/* =============================================
   TWO-LEVEL MOBILE NAV PANELS
   ============================================= */

/* Desktop: panels are layout-transparent, mobile extras hidden */
.nav-panel        { display: contents; }
.nav-panel--sub   { display: none; }
.nav-mob-sub-trigger { display: none; }
.nav-back-btn     { display: none; }
.nav-sub-heading  { display: none; }

@media (max-width: 1300px) {
    /* Clip sliding panels inside the fullscreen overlay */
    .main-nav { overflow: hidden; }

    /* Shared panel base */
    .nav-panel {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        inset: 0;
        padding: 72px 20px 40px;
        overflow-y: auto;
        transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-panel--main { transform: translateX(0); }
    .nav-panel--sub  { display: flex; transform: translateX(100%); }

    /* Slide animation */
    .main-nav.nav--sub-open .nav-panel--main { transform: translateX(-100%); }
    .main-nav.nav--sub-open .nav-panel--sub  { transform: translateX(0); }

    /* Mobile: hide desktop dropdown trigger + inline dropdown */
    .main-nav .nav-dropdown-trigger { display: none !important; }
    .main-nav .nav-dropdown         { display: none !important; }

    /* Mobile sub-trigger button (replaces dropdown trigger) */
    .nav-mob-sub-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        font-family: inherit;
        font-weight: 600;
        padding: 14px 40px;
        cursor: pointer;
        width: 100%;
        line-height: 1.2;
    }

    /* Sub-panel label */
    .nav-sub-heading {
        display: block;
        color: rgba(255,255,255,0.5);
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        font-weight: 700;
        margin-bottom: 6px;
        text-align: center;
    }

    /* Sub-panel service links – smaller than main links */
    .nav-panel--sub .nav-list a {
        font-size: 0.88rem;
        padding: 8px 32px;
    }

    /* Back button */
    .nav-back-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: none;
        border: none;
        border-top: 1px solid rgba(255,255,255,0.15);
        color: rgba(255,255,255,0.55);
        font-size: 0.88rem;
        font-family: inherit;
        padding: 18px 40px;
        cursor: pointer;
        margin-top: 14px;
        width: 100%;
        transition: color 0.2s;
    }
    .nav-back-btn:hover,
    .nav-back-btn:active { color: #fff; }
}

@media (max-width: 430px) {
    .nav-panel--sub .nav-list a {
        font-size: 0.75rem;
        padding: 7px 20px;
    }
}

/* =============================================
   PAGE LOADER
   ============================================= */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(239, 220, 196, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#page-loader.loader--out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-wordmark {
    text-align: center;
    user-select: none;
}
.loader-wordmark__text {
    position: relative;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 11vw, 7rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    display: block;
}
.loader-wordmark__base {
    color: #ddd0d0;
    display: block;
}
.loader-wordmark__fill {
    position: absolute;
    inset: 0;
    color: #604041;
    clip-path: inset(0 100% 0 0);
    animation: loaderFill 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
    white-space: nowrap;
    display: block;
}
@keyframes loaderFill {
    to { clip-path: inset(0 0% 0 0); }
}
.loader-wordmark__sub {
    font-family: 'Sora', sans-serif;
    font-size: clamp(0.42rem, 1.2vw, 0.58rem);
    font-weight: 600;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: #c4b0b0;
    margin-top: 10px;
    opacity: 0;
    animation: loaderSubIn 0.4s ease 0.75s forwards;
}
@keyframes loaderSubIn {
    to { opacity: 1; }
}

/* =============================================
   NEWSLETTER POPUP MODAL
   ============================================= */
.dm-modal[hidden] { display: none; }
.dm-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .25s ease;
}
.dm-modal.is-open { opacity: 1; }
.dm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(44, 26, 29, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.dm-modal__dialog {
    position: relative;
    background: #fdfaf6;
    border-radius: 22px;
    padding: 44px 40px 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(44, 26, 29, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Sora', sans-serif;
}
.dm-modal.is-open .dm-modal__dialog { transform: translateY(0) scale(1); }
.dm-modal__close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #7a6567;
    cursor: pointer;
    transition: color .2s;
}
.dm-modal__close:hover { color: #2c1a1d; }
.dm-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.dm-modal__icon--ok  { background: #2c1a1d; }
.dm-modal__icon--err { background: #c45a5a; }
.dm-modal__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c1a1d;
    margin: 0 0 10px;
    letter-spacing: 0.3px;
}
.dm-modal__msg {
    font-size: 0.96rem;
    color: #5a4042;
    line-height: 1.65;
    margin: 0 0 26px;
}
.dm-modal__btn {
    min-width: 160px;
    padding: 12px 32px;
}
@media (max-width: 520px) {
    .dm-modal__dialog { padding: 36px 24px 28px; }
    .dm-modal__title  { font-size: 1.55rem; }
}

/* ================================================================
   MOBILNÉ OPRAVY – žiadny horizontálny scroll, dlhé slová sa lámu
   ================================================================ */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe { max-width: 100%; height: auto; }
.about-title,
.hero__title,
.svc-hero-content h1,
h1, h2, h3 {
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
    -webkit-hyphens: manual;
}
@media (max-width: 600px) {
    .about-title { font-size: clamp(1.7rem, 7vw, 2.2rem); letter-spacing: -1px; }
    .container   { padding: 0 16px; }
}

/* ================================================================
   LEGAL / GDPR stránka – čistý právny layout
   ================================================================ */
.legal-page {
    background: #fbf7f2;
    padding: 220px 0 80px;
    min-height: 60vh;
}
.legal-page .container { max-width: 960px; }
.legal-page__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.legal-page__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1.5px;
    margin: 0 0 14px;
    line-height: 1.15;
    word-wrap: break-word;
}
.legal-page__breadcrumb {
    font-size: 0.88rem;
    color: var(--text-light, #7a6567);
    margin: 0;
}
.legal-page__breadcrumb a {
    color: var(--dark);
    text-decoration: none;
}
.legal-page__breadcrumb a:hover { text-decoration: underline; }
.legal-page__body {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 52px 56px;
    box-shadow: 0 4px 28px rgba(44, 26, 29, 0.06);
    line-height: 1.75;
    color: #3a2c2e;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.legal-page__body * { max-width: 100%; color: inherit; }
.legal-page__body p,
.legal-page__body li { color: #3a2c2e; }
.legal-page__body h2 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark);
    margin: 38px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0e4d8;
}
.legal-page__body h2:first-child { margin-top: 0; }
.legal-page__body h3 {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--dark);
    margin: 26px 0 10px;
}
.legal-page__body p  { margin: 0 0 14px; font-size: 1rem; }
.legal-page__body ul { margin: 10px 0 18px 0; padding-left: 22px; }
.legal-page__body li { margin-bottom: 8px; }
.legal-page__body a  { color: var(--primary, #604041); text-decoration: underline; }
.legal-page__body hr {
    border: none;
    border-top: 1px solid #ebe0d4;
    margin: 38px 0;
}
.legal-page__body strong { color: var(--dark); font-weight: 700; }
.legal-page__body em     { color: #7a6567; font-style: italic; }

@media (max-width: 700px) {
    .legal-page { padding: 120px 0 56px; }
    .legal-page .container { padding: 0 16px; }
    .legal-page__header { padding: 0 4px; margin-bottom: 28px; }
    .legal-page__body {
        padding: 28px 20px;
        border-radius: 12px;
        font-size: 0.98rem;
        line-height: 1.72;
    }
    .legal-page__body h2 { font-size: 1.32rem; margin-top: 26px; }
    .legal-page__body h3 { font-size: 1.05rem; }
    .legal-page__body p,
    .legal-page__body li { font-size: 0.96rem; }
    .legal-page__body ul { padding-left: 20px; }
    .legal-page__breadcrumb { font-size: 0.8rem; }
}

/* reCAPTCHA – skryjeme default badge, zobrazíme vlastný notice vo footri */
.grecaptcha-badge { visibility: hidden !important; }
.footer-recaptcha {
    justify-self: end;
    font-size: 0.7rem;
    color: var(--text-light);
    line-height: 1.4;
    text-align: right;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .footer-recaptcha { white-space: normal; }
}
.footer-recaptcha a {
    color: var(--text-light);
    text-decoration: underline;
}
.footer-recaptcha a:hover { color: var(--dark); }

/* =============================================
   ERROR PAGES (404 / 403 / 500 ...)
   ============================================= */
.error-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: var(--cream);
}
.error-page__inner {
    max-width: 640px;
    width: 100%;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 64px 48px;
    box-shadow: 0 10px 40px rgba(44, 26, 29, 0.08);
}
.error-page__face {
    font-family: var(--font-sans);
    font-size: 4rem;
    line-height: 1;
    color: var(--gold-dark);
    margin: 0 0 20px;
    user-select: none;
}
.error-page__code {
    font-family: var(--font-serif);
    font-size: 6rem;
    line-height: 1;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}
.error-page__title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 20px;
}
.error-page__text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 auto 36px;
    max-width: 460px;
}
.error-page__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.error-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    border: 2px solid var(--dark);
}
.error-page__btn--primary {
    background: var(--dark);
    color: var(--white);
}
.error-page__btn--primary:hover {
    background: var(--dark-soft);
    transform: translateY(-2px);
}
.error-page__btn--outline {
    background: transparent;
    color: var(--dark);
}
.error-page__btn--outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .error-page { padding: 40px 16px; }
    .error-page__inner { padding: 44px 24px; border-radius: 16px; }
    .error-page__face { font-size: 3rem; }
    .error-page__code { font-size: 4.4rem; }
    .error-page__title { font-size: 1.5rem; }
    .error-page__text { font-size: 0.94rem; }
    .error-page__btn { padding: 12px 22px; font-size: 0.9rem; }
}
