@font-face {
    font-family: 'Alex Brush';
    src: url('../fonts/alex-brush.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

        :root {
            --pink-pastel: #fff0f3;
            --pink-accent: #ffb4c2;
            --gold-accent: #d4af37;
            --text-dark: #5c4d50;
        }

        body {
            font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
            color: var(--text-dark);
            background: linear-gradient(135deg, #fff5f6 0%, #fff0f3 50%, #fbe8eb 100%);
            overflow-x: hidden;
            position: relative;
        }

        /* Mariposas flotantes de fondo */
        .butterfly-bg {
            position: fixed;
            pointer-events: none;
            z-index: 0;
            opacity: 0.25;
            animation: floatButterfly 12s infinite ease-in-out;
        }

        @keyframes floatButterfly {
            0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
            50% { transform: translateY(-40px) rotate(15deg) scale(1.1); }
        }

        .cursive-font {
            font-family: 'Alex Brush', cursive;
        }

        /* Hero Principal */
        .hero-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
            padding: 40px 15px;
        }

        .hero-card {
            background: rgba(255, 255, 255, 0.85);
            border: 2px solid rgba(212, 175, 55, 0.3);
            border-radius: 30px;
            padding: 50px 30px;
            box-shadow: 0 20px 40px rgba(255, 180, 194, 0.2);
            max-width: 550px;
            width: 100%;
        }

        .divider-gold {
            width: 80px;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
            margin: 20px auto;
        }

        /* Contadores */
        .countdown-container {
            position: relative;
            z-index: 1;
        }

        .countdown-box {
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 180, 194, 0.4);
            border-radius: 20px;
            padding: 15px;
            min-width: 0;
            width: clamp(70px, 22vw, 100px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.02);
        }

        /* Tarjetas de Eventos */
        .card-event {
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 180, 194, 0.4);
            border-radius: 24px;
            padding: 35px 25px;
            transition: all 0.4s ease;
            box-shadow: 0 10px 25px rgba(255, 180, 194, 0.1);
        }

        .card-event:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(255, 180, 194, 0.25);
            border-color: var(--pink-accent);
        }

        .btn-custom-pink {
            background: linear-gradient(135deg, #ffccd5 0%, var(--pink-accent) 100%);
            color: #5c4d50;
            border: none;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-custom-pink:hover {
            background: linear-gradient(135deg, var(--pink-accent) 0%, #ffccd5 100%);
            transform: scale(1.03);
            color: #5c4d50;
        }

        .btn-outline-gold {
            border: 1px solid var(--gold-accent);
            color: var(--text-dark);
            background: transparent;
            transition: all 0.3s;
        }

        .btn-outline-gold:hover {
            background: rgba(212, 175, 55, 0.1);
            color: var(--text-dark);
            border-color: var(--gold-accent);
        }

        /* Secciones del Formulario */
        .rsvp-box {
            background: white;
            border-radius: 30px;
            border: 1px solid rgba(255, 180, 194, 0.3);
            box-shadow: 0 20px 40px rgba(255, 180, 194, 0.15);
        }

        .form-control, .form-select {
            border-radius: 12px;
            border: 1px solid #e0d0d2;
            padding: 10px 15px;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--pink-accent);
            box-shadow: 0 0 0 0.25rem rgba(255, 180, 194, 0.25);
        }
    
.bi { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; }
.py-2_5 { padding-top: .625rem; padding-bottom: .625rem; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.accent-color { color: #b77b51; }
section, footer { position: relative; z-index: 1; }

.text-reserved-pink { color: #bf5f82; }

/* Tarjetas de ceremonia y recepción con las mismas filas y medidas. */
#detalles .event-card {
    display: grid;
    grid-template-rows: 48px minmax(8.4rem, auto) 2px 3em 4.5em auto auto;
    padding: 32px 24px;
    gap: 16px;
    align-content: start;
}
#detalles .event-icon { color: var(--gold-accent); line-height: 1; }
#detalles .event-icon .bi { width: 48px; height: 48px; vertical-align: top; }
#detalles .event-title {
    color: #c97a87;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
#detalles .event-divider { margin: 0 auto; }
#detalles .event-venue { margin: 0; font-weight: 600; align-self: center; }
#detalles .event-address { margin: 0; align-self: start; line-height: 1.5; }
#detalles .event-time { color: #c97a87; font-size: 1.25rem; font-weight: 700; margin: 0; }
#detalles .event-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    width: 100%;
}
#detalles .event-map .bi { color: var(--gold-accent); width: 18px; height: 18px; }

/* Todos los textos en letra cursiva usan el mismo rosa. */
.cursive-font, .cursive-font.accent-color { color: #c97a87; }

/* Un solo tono de dorado para todos los iconos SVG. */
svg, svg.bi { color: var(--gold-accent); }

/* Las mariposas decorativas del fondo conservan el rosa. */
.butterfly-bg svg.bi { color: #ffb4c2; }

.section-camera { display: inline-block; width: 48px; height: 48px; vertical-align: middle; }
