@font-face {
    font-family: "Bodoni Moda";
    src: url("/assets/fonts/bodoni-moda-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Bodoni Moda";
    src: url("/assets/fonts/bodoni-moda-600.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Bodoni Moda";
    src: url("/assets/fonts/bodoni-moda-italic-600.ttf") format("truetype");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Material Symbols Outlined";
    src: url("/assets/fonts/material-symbols-outlined-300.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.theme-coming-soon {
    --surface: #fcf8f8;
    --surface-dim: #dcd9d9;
    --surface-container-lowest: #ffffff;
    --surface-container-low: #f6f3f2;
    --surface-container: #f0edec;
    --surface-container-high: #ebe7e7;
    --surface-container-highest: #e5e2e1;
    --on-surface: #1c1b1b;
    --on-surface-variant: #4d4635;
    --inverse-surface: #313030;
    --inverse-on-surface: #f3f0ef;
    --outline: #7f7663;
    --outline-variant: #d0c5af;
    --primary: #735c00;
    --primary-container: #d4af37;
    --primary-fixed: #ffe088;
    --on-primary-container: #554300;
    --shadow-soft: 0 10px 30px rgba(49, 48, 48, 0.04);
    --brand-logo-desktop-height: 150px;
    --brand-logo-mobile-height: 116px;
    --brand-logo-hang-offset: 28px;
    --brand-logo-glow-blur: 44px;
    --brand-logo-glow-color: rgba(240, 201, 113, 0.42);
    background: var(--surface);
    color: var(--on-surface);
}

.theme-coming-soon .material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: 300;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.theme-container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.theme-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(252, 248, 248, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(208, 197, 175, 0.2);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    overflow: visible;
}

.theme-header-inner {
    min-height: calc(84px + var(--brand-logo-hang-offset));
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.theme-brand,
.theme-footer-brand {
    font-family: "Bodoni Moda", serif;
    font-style: italic;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.theme-brand-logo-link {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateY(var(--brand-logo-hang-offset));
}

.theme-brand-logo-glow {
    position: absolute;
    left: 50%;
    top: 54%;
    width: calc(var(--brand-logo-desktop-height) * 1.2);
    height: calc(var(--brand-logo-desktop-height) * 0.88);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--brand-logo-glow-color) 0%, rgba(255, 255, 255, 0) 72%);
    filter: blur(var(--brand-logo-glow-blur));
    pointer-events: none;
    z-index: 0;
}

.theme-brand-logo {
    position: relative;
    z-index: 1;
    display: block;
    max-height: var(--brand-logo-desktop-height);
    width: auto;
    filter: drop-shadow(0 14px 22px rgba(28, 27, 27, 0.1));
}

.theme-brand {
    font-size: 32px;
    font-weight: 500;
}

.theme-header .site-lang-switch {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(115, 92, 0, 0.18);
    background: rgba(115, 92, 0, 0.06);
    color: var(--primary);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.theme-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(49, 48, 48, 0.8);
}

.theme-hero-inner {
    position: relative;
    z-index: 10;
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    text-align: center;
}

.theme-hero-inner h1 {
    margin: 0 0 16px;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--surface-container-lowest);
    text-wrap: balance;
}

.theme-hero-inner p {
    margin: 0 auto 80px;
    max-width: 42rem;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: rgba(246, 243, 242, 0.9);
    text-wrap: balance;
}

.theme-countdown {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 80px;
    width: 100%;
}

.theme-time-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.theme-time {
    font-family: "Bodoni Moda", serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary-container);
}

.theme-label {
    margin-top: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--surface-container-high);
}

.theme-separator {
    margin-top: 4px;
    font-family: "Bodoni Moda", serif;
    font-size: 48px;
    color: rgba(212, 175, 55, 0.5);
}

.theme-subscribe-form {
    width: min(100%, 520px);
    margin: 0 auto;
    display: flex;
    gap: 16px;
}

.theme-email-field {
    position: relative;
    flex: 1 1 auto;
}

.theme-email-field .material-symbols-outlined {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(246, 243, 242, 0.6);
    pointer-events: none;
}

.theme-email-field input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(208, 197, 175, 0.3);
    color: var(--surface-container-lowest);
    border-radius: 8px;
    padding: 12px 16px 12px 48px;
    backdrop-filter: blur(10px);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.theme-email-field input::placeholder {
    color: rgba(246, 243, 242, 0.5);
}

.theme-notify-button {
    background: linear-gradient(to bottom, var(--primary-fixed), var(--primary-container));
    color: var(--on-primary-container);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    border: 0;
    border-radius: 8px;
    padding: 12px 32px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.39);
    cursor: pointer;
}

.theme-services {
    padding: 80px 20px;
    background: var(--surface);
    position: relative;
    z-index: 20;
}

.theme-services-heading {
    text-align: center;
    margin-bottom: 32px;
}

.theme-services-heading h2 {
    margin: 0 0 8px;
    font-family: "Bodoni Moda", serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--primary);
}

.theme-services-heading p {
    margin: 0 auto;
    max-width: 38rem;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--on-surface-variant);
}

.theme-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.theme-card {
    position: relative;
    background: var(--surface-container-lowest);
    border: 1px solid rgba(208, 197, 175, 0.1);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-4px);
}

.theme-card-featured::before,
.theme-card:hover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-container), transparent);
    opacity: 0.5;
}

.theme-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--surface-container);
    margin-bottom: 24px;
    transition: background 0.3s ease;
}

.theme-card:hover .theme-card-icon {
    background: rgba(212, 175, 55, 0.2);
}

.theme-card-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--primary);
}

.theme-card h3 {
    margin: 0 0 12px;
    font-family: "Bodoni Moda", serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--on-surface);
}

.theme-card p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--on-surface-variant);
}

.theme-footer {
    width: 100%;
    padding: 80px 20px;
    background: var(--inverse-surface);
    border-top: 1px solid rgba(127, 118, 99, 0.1);
    color: var(--primary-fixed);
}

.theme-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.theme-footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 22rem;
}

.theme-footer-brand {
    margin-bottom: 8px;
    font-size: 48px;
}

.theme-footer-logo {
    display: block;
    max-height: 110px;
    width: auto;
    margin-bottom: 8px;
}

.theme-footer-brand-column p,
.theme-footer-copy {
    margin: 16px 0 24px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(246, 243, 242, 0.8);
}

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

.theme-footer-icons a {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 224, 136, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-fixed);
    transition: background 0.3s ease;
}

.theme-footer-icons a:hover {
    background: rgba(255, 224, 136, 0.1);
}

.theme-footer-links-column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.theme-footer-links {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0 0 48px;
    padding: 0;
}

.theme-footer-links a,
.theme-footer-copy {
    color: rgba(229, 226, 225, 1);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
}

.theme-footer-copy {
    margin: 0;
    color: rgba(246, 243, 242, 0.6);
}

html[dir="rtl"] .theme-coming-soon {
    direction: rtl;
}

html[dir="rtl"] .theme-services-heading,
html[dir="rtl"] .theme-card,
html[dir="rtl"] .theme-hero-inner {
    text-align: center;
}

html[dir="rtl"] .theme-email-field .material-symbols-outlined {
    left: auto;
    right: 16px;
}

html[dir="rtl"] .theme-email-field input {
    padding: 12px 48px 12px 16px;
    text-align: right;
}

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

    .theme-footer-inner {
        flex-direction: column;
    }

    .theme-footer-links-column {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .theme-header-inner {
        min-height: calc(76px + var(--brand-logo-hang-offset));
        padding: 0 12px;
    }

    .theme-brand {
        font-size: 28px;
    }

    .theme-brand-logo-link {
        transform: translateY(calc(var(--brand-logo-hang-offset) * 0.82));
    }

    .theme-brand-logo-glow {
        width: calc(var(--brand-logo-mobile-height) * 1.18);
        height: calc(var(--brand-logo-mobile-height) * 0.86);
    }

    .theme-brand-logo {
        max-height: var(--brand-logo-mobile-height);
    }

    .theme-header .site-lang-switch {
        min-width: 70px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .theme-hero {
        padding-top: 72px;
    }

    .theme-hero-inner h1 {
        font-size: 40px;
        line-height: 1.2;
    }

    .theme-hero-inner p {
        margin-bottom: 40px;
        font-size: 16px;
    }

    .theme-countdown {
        gap: 16px;
        margin-bottom: 40px;
    }

    .theme-time {
        font-size: 36px;
    }

    .theme-separator {
        font-size: 36px;
    }

    .theme-subscribe-form {
        flex-direction: column;
    }

    .theme-cards-grid {
        grid-template-columns: 1fr;
    }

    .theme-footer-links {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .theme-desktop-only {
        display: none;
    }
}
