:root {
    /* Design Tokens */
    --color-bg: #FCFAF5;
    --color-green: #214c47; /* Matching SVG Logo Color */
    --color-gold: #B89E68;  /* Muted sophisticated gold */
    --color-text: #214c47;  /* Matching SVG Logo Color */
    
    --font-heading: 'EB Garamond', serif;
    --font-subtitle: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    min-height: 100dvh; /* Use dynamic viewport height for mobile */
    display: flex;
    flex-direction: column; /* Stack main and footer */
    /* justify-content: center; removed to let footer sit naturally at bottom */
    align-items: center;
    overflow-x: hidden;
}

.container {
    text-align: center;
    padding: var(--spacing-md);
    max-width: 800px;
    width: 100%;
    margin: auto; /* Takes available space to center itself */
}

/* Logo */
.logo-wrapper {
    margin-bottom: var(--spacing-xs);
}

.logo {
    width: 130px; /* Slightly larger per image */
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Typography & Layout */
.brand-name {
    font-family: var(--font-heading);
    font-size: 3.7rem;
    font-weight: 600; /* SemiBold */
    color: var(--color-green);
    line-height: 1.1; /* Relaxed line height to prevent overlap */
    margin-bottom: 0;
}

/* Brand Subtitle with Text Effect */
.brand-subtitle {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    letter-spacing: 5px;
    font-weight: 600; 
    color: var(--color-gold);
  
    margin-bottom: 0; /* Removing bottom margin to control spacing via divider */
    text-transform: uppercase;
    margin-top: -5px; 
    display: inline-block;
    position: relative;
}

.brand-subtitle span {
    display: inline-block;
    white-space: pre;
    transition: all 0.5s ease;
}

/* Divider Container & Glow Effect */
.divider-container {
    width: 85%;
    max-width: 400px;
    /* Balanced margins for symmetry: 20px top/bottom */
    margin: 10px auto 12px auto; 
    position: relative;
    height: 5px; /* Thicker line */
    border-radius: 5rem;
    background-color: rgba(184, 158, 104, 0.3);
    overflow: hidden;
}

/* EL BRILLO DE LA LÍNEA */
.line-glow {
    position: absolute;
    top: 0;
    left: -150px;
    width: 150px;
    height: 100%;
    /* Usamos RGBA exacto al fondo para evitar manchas oscuras */
    background: linear-gradient(to right, 
        rgba(252, 250, 245, 0) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(252, 250, 245, 0) 100%);
    /* mix-blend-mode asegura que solo sume luz, nunca oscuridad */
    mix-blend-mode: screen;
    opacity: 0;
}

/* --- ANIMACIONES --- */

@keyframes letter-shimmer {
    0% { color: var(--color-gold); transform: translateY(0); }
    30% { 
        color: #ffffff; 
        text-shadow: 0 0 25px rgba(255,255,255,0.9), 0 0 10px var(--color-gold); 
        transform: translateY(-1px); 
    }
    100% { color: var(--color-gold); transform: translateY(0); }
}

@keyframes line-sweep {
    0% { left: -40%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.char-active {
    animation: letter-shimmer 2.2s ease-in-out;
}

.glow-active {
    animation: line-sweep var(--glow-duration) ease-in-out forwards;
}

.coming-soon {
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    margin-top: 0; /* Ensure no extra top margin interferes */
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: var(--spacing-md);
}

.social-links a {
    color: var(--color-gold);
    font-size: 1.3rem; 
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
}

.social-links a:hover {
    color: #fff;
    background-color: var(--color-gold);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    width: 100%;
    text-align: center;
    padding: var(--spacing-sm);
    font-size: 0.8rem;
    color: var(--color-text);
    opacity: 0.7;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: auto; /* Pushes to bottom */
}

/* Utility for Screen Readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Animations (Generic) */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* New Fade In from snippet */
.fade-in { 
    opacity: 0; 
    transform: translateY(15px); 
    animation: fadeIn 0.8s forwards; 
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.delay-1, .d-1 { animation-delay: 0.1s; }
.delay-2, .d-2 { animation-delay: 0.3s; }
.delay-3, .d-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }
.delay-5 { animation-delay: 0.9s; }
.delay-6 { animation-delay: 1.1s; }

/* Responsive adjustments */
@media (max-width: 480px) {
    .brand-name {
        font-size: 2.2rem;
    }
    
    .brand-subtitle {
        font-size: 1.1rem;
        letter-spacing: 4px;
    }
    
    .logo {
        width: 100px;
    }
}
