/* ============================================
   Solemic s.r.o. - Old Money Aesthetic
   Classic, timeless, sophisticated design
   ============================================ */

/* CSS Variables - Old Money Palette */
:root {
    /* Deep Navy & Earthy Tones */
    --color-navy: #1a2a3a;
    --color-navy-dark: #0f1a24;
    --color-forest: #2d4a3e;
    --color-burgundy: #722f37;

    /* Warm Neutrals */
    --color-beige: #f5f1e8;
    --color-beige-dark: #e8e0d0;
    --color-cream: #faf8f3;
    --color-stone: #c4b8a8;
    --color-stone-dark: #8b7660;

    /* Gold & Brass Accents */
    --color-gold: #b8860b;
    --color-gold-light: #d4a74a;
    --color-bronze: #8b6914;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "San Francisco", "Helvetica Neue", sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Borders & Shadows */
    --border-thin: 1px solid var(--color-stone);
    --border-fine: 1px solid rgba(139, 118, 96, 0.3);
    --shadow-soft: 0 4px 20px rgba(26, 42, 58, 0.08);
    --shadow-subtle: 0 2px 8px rgba(26, 42, 58, 0.04);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --container-max-width: 1200px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

/* The header is fixed, so a native hash jump (e.g. arriving from
   blog.html at index.html#sluzby) would hide the section heading
   underneath it. Offset anchor targets by the header height. */
:target,
#sluzby,
#o-nas,
#realizacie,
#kontakt {
    scroll-margin-top: 90px;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-navy);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-smooth);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-navy);
}

h1 { font-weight: 600; }
h2 { font-weight: 500; }
h3 { font-weight: 500; }

/* ============================================
   Container
   ============================================ */

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

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-cream);
    border-bottom: var(--border-fine);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(250, 248, 243, 0.98);
    box-shadow: var(--shadow-subtle);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-beige-dark);
    z-index: 999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    width: 0%;
    transition: width 0.05s linear;
}

@media (max-width: 900px) {
    .scroll-progress {
        top: 69px;
    }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy);
    letter-spacing: 0.05em;
}

.logo-img {
    width: auto;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-menu a {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-stone-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--color-navy);
}

/* Tighten the desktop nav just above the mobile breakpoint so the full
   menu (Domov / Služby / Realizácie / O nás / E-Shop / Blog / Kontakt)
   still fits next to the logo and language switcher. */
@media (min-width: 901px) and (max-width: 1150px) {
    .nav-menu {
        gap: var(--spacing-sm);
    }

    .nav-menu a {
        font-size: 0.75rem;
        letter-spacing: 0.06em;
        padding: var(--spacing-xs) 4px;
    }
}

.nav-extras {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

/* The cart link sits in the shared header, but its styles used to live only
   in shop.css - on blog pages the count then rendered as bare text that
   wrapped under the icon. */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--spacing-xs);
    color: var(--color-stone-dark);
    transition: var(--transition-smooth);
}

.cart-link:hover {
    color: var(--color-navy);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-gold);
    color: var(--color-navy);
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0 4px;
}

.cart-count.empty {
    display: none;
}

.lang-switcher {
    display: flex;
    gap: 2px;
    background-color: var(--color-beige-dark);
    padding: 4px;
    border-radius: 2px;
    border: var(--border-thin);
}

.lang-btn {
    width: 32px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-stone-dark);
    border-radius: 2px;
}

.lang-btn:hover {
    color: var(--color-navy);
}

.lang-btn.active {
    background-color: var(--color-navy);
    color: var(--color-gold);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-xs);
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-navy);
    transition: var(--transition-smooth);
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: flex;
    }

    /* The language switcher was visually louder than the brand mark.
       Shrink it and give the logo a little more presence. */
    .lang-btn {
        width: 26px;
        height: 24px;
        font-size: 0.625rem;
    }

    .lang-switcher {
        padding: 2px;
    }

    .logo-img {
        height: 34px;
    }

    .nav-extras {
        gap: var(--spacing-xs);
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--color-cream);
        padding: var(--spacing-md);
        border-top: var(--border-fine);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-beige) 100%);
    background-image: url('../../images/contents/Background.png');
    background-size: 65% auto;
    background-position: 75% center;
    background-repeat: no-repeat;
    padding: 120px 0 var(--spacing-xl);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 100px,
        rgba(26, 42, 58, 0.02) 100px,
        rgba(26, 42, 58, 0.02) 101px
    );
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--color-beige) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 600px;
    margin: 0;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-bronze);
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    /* Sized for the full value-proposition headline, not a short slogan */
    font-size: clamp(1.875rem, 3.6vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
    color: var(--color-navy);
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    color: var(--color-stone-dark);
    margin-bottom: var(--spacing-lg);
    max-width: 520px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
}

/* Buttons - Old Money Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 2px;
    transition: var(--transition-smooth);
    position: relative;
}

.btn-primary {
    background-color: var(--color-navy);
    color: var(--color-gold);
    border: 1px solid var(--color-navy);
}

.btn-primary:hover {
    background-color: var(--color-navy-dark);
    border-color: var(--color-navy-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-navy);
    border: 1px solid var(--color-navy);
}

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: var(--color-gold);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-block {
    width: 100%;
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--color-navy);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    text-align: center;
    color: var(--color-stone-dark);
    /* 500px forced a single trailing word onto its own line on the
       Realizácie and Kontakt subtitles */
    max-width: 680px;
    margin: 0 auto var(--spacing-lg);
    text-wrap: balance;
    font-weight: 400;
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   Promo / Akcia Section
   ============================================ */

.promo-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    color: var(--color-gold);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23b8860b" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

.promo-badge {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.promo-badge-text {
    background-color: var(--color-gold);
    color: var(--color-navy);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.5rem 1.5rem;
    border-radius: 2px;
}

.promo-section .section-title {
    color: var(--color-gold);
    position: relative;
    z-index: 1;
}

.promo-section .section-subtitle {
    color: var(--color-stone);
    position: relative;
    z-index: 1;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 400px));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.promo-card {
    background: linear-gradient(135deg, rgba(26, 42, 58, 0.9) 0%, rgba(15, 26, 36, 0.95) 100%);
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    padding: var(--spacing-lg);
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(184, 134, 11, 0.3);
    border-color: var(--color-gold-light);
}

.promo-card:hover::before {
    opacity: 1;
}

.promo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.promo-card-category {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-stone);
}

.promo-card-badge {
    background-color: var(--color-gold);
    color: var(--color-navy);
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 2px;
}

.promo-card-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-cream);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.promo-card-description {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-stone);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.promo-card-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.promo-card-price-current {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-gold);
    font-family: var(--font-sans);
}

.promo-card-price-currency {
    font-size: 1rem;
    color: var(--color-gold);
}

.promo-card-price-original {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    color: var(--color-stone);
    text-decoration: line-through;
}

.promo-card-price-save {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--color-forest);
    background-color: var(--color-gold);
    padding: 4px 10px;
    border-radius: 2px;
    margin-left: var(--spacing-xs);
}

.promo-card-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
    position: relative;
    z-index: 1;
}

.promo-card-features li {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--color-stone);
    padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-md);
    position: relative;
}

.promo-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

.promo-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-gold);
    color: var(--color-navy);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.promo-card-cta:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
}

.promo-card-validity {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--color-stone-dark);
    text-align: center;
    margin-top: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

/* Promo loading state */
.promo-loading,
.promo-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    font-family: var(--font-sans);
    color: var(--color-stone);
}

.promo-empty {
    display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .promo-section {
        padding: var(--spacing-lg) 0;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .promo-card {
        padding: var(--spacing-md);
    }

    .promo-card-title {
        font-size: 1.25rem;
    }

    .promo-card-price-current {
        font-size: 1.75rem;
    }
}

/* ============================================
   Services Section
   ============================================ */

.services {
    background-color: var(--color-beige);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-stone), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--color-cream);
    padding: var(--spacing-md);
    border: var(--border-thin);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gold);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--color-navy);
    letter-spacing: -0.01em;
}

.service-card p {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-stone-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.service-link:hover {
    color: var(--color-bronze);
    gap: var(--spacing-sm);
}

/* ============================================
   About Section
   ============================================ */

.about {
    background-color: var(--color-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text p {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-stone-dark);
    line-height: 1.8;
}

.about-text p:first-of-type::first-letter {
    float: left;
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    padding-right: var(--spacing-xs);
    color: var(--color-gold);
    font-weight: 400;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-navy);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--color-forest);
    color: var(--color-gold);
    border-radius: 50%;
    font-size: 0.625rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-stone) 100%);
    border: var(--border-thin);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-stone-dark);
}

.about-img-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Referral Section
   ============================================ */

.referral {
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-navy) 100%);
    color: var(--color-gold);
    text-align: center;
    padding: var(--spacing-xl) 0;
    position: relative;
    border-top: 1px solid var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
}

.referral::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(184, 134, 11, 0.03) 10px,
        rgba(184, 134, 11, 0.03) 20px
    );
    pointer-events: none;
}

.referral-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.referral h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gold);
    letter-spacing: 0.05em;
}

.referral p {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-beige);
    line-height: 1.8;
}

.referral .btn-secondary {
    background-color: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}

.referral .btn-secondary:hover {
    background-color: var(--color-gold-light);
    border-color: var(--color-gold-light);
}

/* ============================================
   Projects Section
   ============================================ */

.projects {
    background-color: var(--color-cream);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.project-card {
    background: var(--color-cream);
    border: var(--border-thin);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-gold);
}

.project-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-forest) 100%);
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-stone-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder::after {
    content: 'Realizácia';
    color: rgba(26, 42, 58, 0.2);
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.project-info {
    padding: var(--spacing-md);
    border-top: var(--border-thin);
}

.project-info h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--color-navy);
}

.project-info p {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--color-stone-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.project-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--color-beige);
    color: var(--color-stone-dark);
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   Stats Section
   ============================================ */

.stats {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    color: var(--color-gold);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(184, 134, 11, 0.3), transparent);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    color: var(--color-gold);
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-beige);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }
}

/* ============================================
   Blog Section
   ============================================ */

.blog {
    background-color: var(--color-beige);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.blog-card {
    background: var(--color-cream);
    border: var(--border-thin);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.blog-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-stone) 0%, var(--color-navy) 100%);
    overflow: hidden;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-beige-dark) 0%, var(--color-stone) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder::after {
    content: 'Article';
    color: rgba(26, 42, 58, 0.2);
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.blog-content {
    padding: var(--spacing-md);
}

.blog-tag {
    display: inline-block;
    padding: 4px var(--spacing-xs);
    background-color: var(--color-navy);
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-xs);
}

.blog-content h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--color-navy);
}

.blog-content p {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--color-stone-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.blog-link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.blog-link:hover {
    color: var(--color-bronze);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    background-color: var(--color-cream);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-xl);
}

.contact-form-wrapper {
    background: var(--color-beige);
    padding: var(--spacing-md);
    border: var(--border-thin);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: var(--border-thin);
    background-color: var(--color-cream);
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: var(--transition-smooth);
    color: var(--color-navy);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 1px var(--color-navy);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-info-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    border: 1px solid var(--color-navy);
    flex-shrink: 0;
    color: var(--color-gold);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
    color: var(--color-navy);
}

.contact-info p {
    font-family: var(--font-sans);
    color: var(--color-stone-dark);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.contact-info a {
    color: var(--color-gold);
}

.contact-info a:hover {
    color: var(--color-bronze);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--color-navy-dark);
    color: var(--color-beige);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 3px solid var(--color-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-logo {
    margin-bottom: var(--spacing-xs);
}

.footer-logo-img {
    width: auto;
    height: 150px;
    object-fit: contain;
}

.footer-brand p {
    font-family: var(--font-sans);
    color: var(--color-stone);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* <address> is italic by default - match the surrounding footer text */
.footer-address {
    font-family: var(--font-sans);
    font-style: normal;
    color: var(--color-stone);
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-stone);
    border-radius: 2px;
    transition: var(--transition-smooth);
    color: var(--color-gold);
}

.footer-social a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links-column h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-xs);
    color: var(--color-gold);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    font-family: var(--font-sans);
    color: var(--color-stone);
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-sans);
    color: var(--color-stone);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: var(--spacing-md);
    color: var(--color-stone);
    background: rgba(184, 134, 11, 0.1);
    border-radius: 50%;
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.footer-admin-link:hover {
    color: var(--color-gold);
    background: rgba(184, 134, 11, 0.2);
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

/* ============================================
   Responsive Utilities
   ============================================ */

/* Hero mobile responsiveness */
@media (max-width: 768px) {
    .hero {
        background-size: 70% auto;
        background-position: right center;
        padding: 100px 0 var(--spacing-lg);
    }

    .hero-content {
        max-width: 100%;
        text-align: left;
    }

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

    .hero-subtitle {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        background-size: 80% auto;
        background-position: bottom right;
        padding: 80px 0 var(--spacing-md);
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Match the centred hero text - left-aligned buttons under centred
       copy read as a misalignment */
    .hero-actions {
        justify-content: center;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .stat-item::after {
        display: none;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .header,
    .footer,
    .btn,
    .contact-form,
    .lang-switcher {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ============================================
   Animation Classes
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Portfolio Slider Styles
   ============================================ */

.portfolio-slider {
    position: relative;
    margin: var(--spacing-lg) 0;
}

.portfolio-viewport {
    overflow: hidden;
    border-radius: var(--border-radius, 8px);
}

.portfolio-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: var(--spacing-md);
}

.portfolio-slide {
    flex: 0 0 calc(33.333% - var(--spacing-md) * 2 / 3);
    min-width: 0;
}

.portfolio-slide .project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-slide .project-image {
    flex: 0 0 auto;
    height: 200px;
}

.portfolio-slide .project-info {
    flex: 1;
    padding: var(--spacing-md);
    /* Keep the tag pinned to the bottom so cards with differently sized
       titles still line their tags up across the row */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-slide .project-info .project-tag {
    margin-top: auto;
}

/* Slider Navigation */
.portfolio-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--color-cream);
    border: var(--border-thin);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    color: var(--color-navy);
}

.portfolio-nav:hover {
    background: var(--color-gold);
    color: white;
    border-color: var(--color-gold);
}

.portfolio-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.portfolio-prev {
    left: -24px;
}

.portfolio-next {
    right: -24px;
}

/* Slider Dots */
.portfolio-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.portfolio-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-stone);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-dot:hover {
    background: var(--color-stone-dark);
}

.portfolio-dot.active {
    background: var(--color-gold);
    width: 36px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-slide {
        flex: 0 0 calc(50% - var(--spacing-md) / 2);
    }

    .portfolio-prev {
        left: -12px;
    }

    .portfolio-next {
        right: -12px;
    }
}

@media (max-width: 640px) {
    .portfolio-slide {
        flex: 0 0 100%;
    }

    .portfolio-nav {
        width: 40px;
        height: 40px;
    }

    .portfolio-prev {
        left: 0;
    }

    .portfolio-next {
        right: 0;
    }

    .portfolio-viewport {
        margin: 0 50px;
    }
}

/* ============================================
   Booking Modal Styles - Apple Inspired Design
   ============================================ */

.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.booking-modal.active {
    display: block;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.booking-modal-content {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    max-height: 100vh;
    background: var(--color-cream);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button - Apple Style */
.booking-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-stone-dark);
    transition: all 0.2s ease;
    z-index: 10;
}

.booking-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--color-navy);
}

.booking-modal-close:active {
    transform: scale(0.95);
}

/* Progress Steps */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 32px 24px 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, transparent 100%);
}

.booking-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.booking-progress-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-stone-dark);
    transition: all 0.3s ease;
}

.booking-progress-step.active .booking-progress-circle {
    background: var(--color-navy);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 42, 58, 0.3);
}

.booking-progress-step.completed .booking-progress-circle {
    background: var(--color-gold);
    color: white;
}

.booking-progress-step span {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-stone-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.booking-progress-step.active span {
    color: var(--color-navy);
    font-weight: 600;
}

.booking-progress-line {
    flex: 1;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 -4px;
    min-width: 40px;
}

.booking-progress-step.completed ~ .booking-progress-line {
    background: var(--color-gold);
}

/* Steps Container */
.booking-step {
    display: none;
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px 32px;
    animation: fadeIn 0.3s ease;
}

.booking-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-step-header {
    text-align: center;
    margin-bottom: 32px;
}

.booking-step-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.booking-step-header p {
    font-size: 14px;
    color: var(--color-stone-dark);
    line-height: 1.5;
}

/* Form Styles */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.booking-form-group {
    position: relative;
}

.booking-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.booking-input-large {
    width: 100%;
    padding: 14px 44px 14px 16px;
    font-size: 15px;
    font-family: var(--font-sans);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    background: white;
    color: var(--color-navy);
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.booking-input-large:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

.booking-input-large:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 4px rgba(26, 42, 58, 0.1);
}

.booking-input-large::placeholder {
    color: var(--color-stone);
}

.booking-input-large[readonly] {
    background: rgba(0, 0, 0, 0.03);
    cursor: default;
}

.booking-input-icon {
    position: absolute;
    right: 14px;
    top: 38px;
    color: var(--color-stone-dark);
    pointer-events: none;
}

.booking-service-display {
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-forest) 100%);
    color: white;
    border-color: var(--color-navy);
}

.booking-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-sans);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    background: white;
    color: var(--color-navy);
    transition: all 0.2s ease;
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.booking-textarea:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

.booking-textarea:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 4px rgba(26, 42, 58, 0.1);
}

/* Info Box */
.booking-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(26, 42, 58, 0.05) 0%, rgba(26, 42, 58, 0.02) 100%);
    border-radius: 12px;
    margin-top: 8px;
}

.booking-info-box svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.booking-info-box span {
    font-size: 13px;
    color: var(--color-stone-dark);
    line-height: 1.4;
}

/* Summary */
.booking-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.booking-summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
}

.booking-summary-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    color: var(--color-gold);
    border-radius: 10px;
    flex-shrink: 0;
}

.booking-summary-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-summary-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-stone-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.booking-summary-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-navy);
}

/* Buttons - Apple Style */
.booking-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.booking-btn-primary,
.booking-btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.booking-btn-primary {
    background: var(--color-navy);
    color: white;
    box-shadow: 0 2px 8px rgba(26, 42, 58, 0.25);
}

.booking-btn-primary:hover {
    background: var(--color-navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 42, 58, 0.35);
}

.booking-btn-primary:active {
    transform: translateY(0);
}

.booking-btn-large {
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 600;
}

.booking-btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-navy);
}

.booking-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
}

.booking-btn-secondary:active {
    transform: scale(0.98);
}

/* Success State */
.booking-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 32px;
    min-height: 400px;
    animation: fadeIn 0.4s ease;
}

.booking-success-animation {
    margin-bottom: 24px;
}

.booking-success-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: successPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(52, 199, 89, 0.4);
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.booking-success h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.booking-success p {
    font-size: 15px;
    color: var(--color-stone-dark);
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 32px;
}

.booking-success .booking-btn-primary {
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
    max-width: 200px;
}

.booking-success .booking-btn-primary:hover {
    box-shadow: 0 6px 16px rgba(52, 199, 89, 0.4);
}

/* Service Selector */
.booking-service-selector select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

/* Custom Calendar */
.booking-calendar-container {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.booking-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.booking-calendar-nav {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    cursor: pointer;
    color: var(--color-navy);
    transition: all 0.2s ease;
}

.booking-calendar-nav:hover {
    background: rgba(0, 0, 0, 0.1);
}

.booking-calendar-nav:active {
    transform: scale(0.95);
}

.booking-calendar-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-navy);
    text-transform: capitalize;
}

.booking-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.booking-calendar-weekdays span {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-stone-dark);
    text-transform: uppercase;
    padding: 8px 0;
}

.booking-calendar-weekdays span.weekend {
    color: var(--color-gold);
}

.booking-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.booking-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-navy);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.booking-calendar-day:hover:not(.disabled) {
    background: rgba(26, 42, 58, 0.08);
}

.booking-calendar-day.selected {
    background: var(--color-navy);
    color: white;
    box-shadow: 0 2px 8px rgba(26, 42, 58, 0.3);
}

.booking-calendar-day.today {
    border-color: var(--color-gold);
}

.booking-calendar-day.other-month {
    color: var(--color-stone);
}

.booking-calendar-day.disabled {
    color: var(--color-stone);
    cursor: not-allowed;
    opacity: 0.4;
}

.booking-calendar-day.disabled:hover {
    background: transparent;
}

/* Time Slots */
.booking-time-container {
    margin-top: 20px;
}

.booking-time-container > label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.booking-time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.booking-time-slot {
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-navy);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.booking-time-slot:hover {
    border-color: var(--color-navy);
    background: rgba(26, 42, 58, 0.05);
}

.booking-time-slot.selected {
    background: var(--color-navy);
    color: white;
    border-color: var(--color-navy);
    box-shadow: 0 2px 8px rgba(26, 42, 58, 0.3);
}

.booking-selected-datetime {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(52, 199, 89, 0.05) 100%);
    border: 1px solid rgba(52, 199, 89, 0.3);
    border-radius: 10px;
    color: #34c759;
    font-size: 13px;
    font-weight: 500;
}

.booking-selected-datetime svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .booking-modal-content {
        border-radius: 20px 20px 0 0;
        margin-top: auto;
        max-height: 92vh;
    }

    .booking-step {
        padding: 20px 20px 24px;
    }

    .booking-progress {
        padding: 24px 16px 20px;
    }

    .booking-progress-circle {
        width: 36px;
        height: 36px;
    }

    .booking-progress-circle svg {
        width: 16px;
        height: 16px;
    }

    .booking-progress-step span {
        font-size: 10px;
    }

    .booking-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .booking-step-header h2 {
        font-size: 20px;
    }

    .booking-form-actions {
        flex-direction: column;
    }

    .booking-btn-primary,
    .booking-btn-secondary {
        width: 100%;
    }

    .booking-modal-close {
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
    }

    .booking-success {
        padding: 32px 20px;
        min-height: auto;
    }

    .booking-calendar-day {
        font-size: 13px;
    }

    .booking-time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .booking-time-slot {
        padding: 10px 6px;
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    .booking-modal-content {
        margin: 8vh auto;
        max-height: 84vh;
        border-radius: 20px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
}

/* Legacy booking button styling for service cards */
.booking-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.booking-btn:hover {
    color: var(--color-gold);
}
