/* ============================================
   DORMIMOBEL — CSS
   Classic & Elegant · Charcoal + Coral
   ============================================ */

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

:root {
    --charcoal: #2C2C2C;
    --charcoal-deep: #1E1E1E;
    --charcoal-light: #3A3A3A;
    --coral: #D4624A;
    --coral-light: #E87461;
    --coral-muted: #C45740;
    --cream: #F7F4F0;
    --cream-dark: #EDE8E2;
    --warm-gray: #8A8580;
    --warm-gray-light: #B5B0AA;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.container-split-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 244, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(44, 44, 44, 0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 24px rgba(44, 44, 44, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--coral);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coral);
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--charcoal);
}

.main-nav ul {
    display: flex;
    gap: 36px;
}

.main-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    position: relative;
    padding: 4px 0;
    transition: var(--transition-fast);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--coral);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--coral);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    padding: 8px;
    transition: var(--transition-fast);
}

.nav-toggle:hover {
    color: var(--coral);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 98, 74, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    padding: 40px 0;
}

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 28px;
}

.hero-title em {
    font-style: italic;
    color: var(--coral);
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--warm-gray);
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--warm-gray-light);
    opacity: 0.5;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(44, 44, 44, 0.15);
}

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

.hero-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 160px;
    height: 160px;
    border: 2px solid var(--coral);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.4;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 3px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral);
    border-color: var(--coral);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--coral-muted);
    border-color: var(--coral-muted);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 98, 74, 0.3);
}

.btn-ghost {
    background: transparent;
    border-color: var(--charcoal);
    color: var(--charcoal);
}

.btn-ghost:hover {
    background: var(--charcoal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost-light {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-ghost-light:hover {
    background: var(--white);
    color: var(--charcoal);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 16px 36px;
    font-size: 0.85rem;
}

/* ---------- SECTIONS ---------- */
section {
    padding: 112px 0;
}

.section-header {
    max-width: 680px;
}

.section-header-center {
    margin: 0 auto 64px;
    text-align: center;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--coral);
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--warm-gray);
}

/* ---------- ABOUT ---------- */
.about {
    background: var(--white);
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(44, 44, 44, 0.1);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--coral);
    color: var(--white);
    padding: 20px 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    box-shadow: 0 8px 24px rgba(212, 98, 74, 0.3);
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--warm-gray);
    margin-bottom: 20px;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--charcoal-light);
}

.about-features svg {
    color: var(--coral);
    flex-shrink: 0;
}

/* ---------- COLLECTIONS ---------- */
.collections {
    background: var(--cream);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.collection-card {
    display: block;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.collection-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.collection-card:nth-child(2) { transition-delay: 0.1s; }
.collection-card:nth-child(3) { transition-delay: 0.2s; }
.collection-card:nth-child(4) { transition-delay: 0.3s; }

.collection-img {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 520 / 380;
}

.collection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 44, 44, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.collection-link {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    border: 1.5px solid var(--white);
    padding: 10px 24px;
    border-radius: 3px;
    transition: var(--transition-fast);
}

.collection-card:hover .collection-img img {
    transform: scale(1.06);
}

.collection-card:hover .collection-overlay {
    opacity: 1;
}

.collection-info h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.collection-info p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

/* ---------- SERVICES ---------- */
.services {
    background: var(--charcoal);
    color: var(--white);
}

.services .section-eyebrow {
    color: var(--coral-light);
}

.services .section-title {
    color: var(--white);
}

.services .section-title em {
    color: var(--coral-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.service-card {
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 98, 74, 0.4);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--coral);
    border-radius: 4px;
    margin-bottom: 24px;
    color: var(--coral-light);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--warm-gray-light);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    background: var(--coral);
    padding: 80px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-text {
    flex: 1;
}

.cta-eyebrow {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-title em {
    font-style: italic;
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 6px;
}

.cta-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ---------- CONTACT ---------- */
.contact {
    background: var(--white);
}

.contact-info {
    padding: 20px 0;
}

.contact-desc {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--warm-gray);
    margin-bottom: 44px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 4px;
    color: var(--coral);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--coral);
}

.contact-form-wrapper {
    background: var(--cream);
    border-radius: 4px;
    padding: 48px;
    border: 1px solid rgba(44, 44, 44, 0.06);
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.form-note {
    font-size: 0.88rem;
    color: var(--warm-gray);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 3px;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(212, 98, 74, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-light);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: #f0faf0;
    border: 1px solid #c3e6c3;
    border-radius: 4px;
    margin-top: 20px;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: #52a852;
    flex-shrink: 0;
}

.form-success p {
    font-size: 0.9rem;
    color: #2d6a2d;
    line-height: 1.5;
}

/* ---------- MAP ---------- */
.map-section {
    padding: 0;
}

.map-wrapper {
    position: relative;
}

.map-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--cream), transparent);
    pointer-events: none;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--charcoal-deep);
    color: var(--warm-gray-light);
    padding: 72px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--warm-gray);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--warm-gray);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--coral-light);
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--warm-gray);
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--coral-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--warm-gray);
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .container-split,
    .container-split-reverse {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .container-split-reverse .about-image {
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(247, 244, 240, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 24px;
        border-bottom: 1px solid rgba(44, 44, 44, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .main-nav a {
        display: block;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .hero-accent {
        display: none;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: auto;
    }

    section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .about-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
        display: inline-flex;
    }
}
