@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&display=swap');

:root {
    --primary-color: #5c765a;
    --primary-hover: #485e46;
    --bg-light: #fdfbf7;
    --bg-accent: #f4efe9;
    --text-color: #333333;
}

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

body {
    font-family: 'Cormorant Garamond', sans-serif;
    /*background-color: var(--bg-light);*/
    background-image: url('assets/ramafondo.png'), url('assets/TEXTURA-03.png');
    color: var(--text-color);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* 1. HERO CON VIDEO */
.hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* --- BLOQUE DE COLORES Y ELEMENTOS NO PERMITIDOS --- 
.restricted-elements-container {
    text-align: center;
    padding: 40px 20px;
    background-image: url('assets/fondo1.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
}
/* --- BLOQUE DE COLORES NO PERMITIDOS (TEXTURA Y LAYOUT) --- */
.restricted-elements-container {
    position: relative;
    text-align: center;
    padding: 50px 30px;
    background-image: url('assets/TEXTURA-03.png'); /* Textura de fondo pergamino */
    /*background-image: url('assets/ramafondo.png'), url('assets/TEXTURA-03.png');*/
    background-size: cover;
    background-position: center;
    width: 100%;
    box-sizing: border-box;
}

/* Título Verde 
.restricted-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    color: #485e42;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}
/* Título Verde */
.restricted-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.2rem;
    color: #485e42;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}
/* Encabezados superiores (MUJERES Y HOMBRES / HOMBRES) */
.restrictions-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto 15px auto;
    text-align: left;
}
.header-both h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: 1px;
}
.header-men {
    max-width: 290px;
}
/* --- SECCIÓN RECOMENDACIONES CON TEXTURA --- */
.extra-info-section {
    position: relative;
    background-image: url('assets/TEXTURA-03.png'); /* Textura pergamino de fondo */
    /*background-image: url('assets/ramafondo.png'), url('assets/TEXTURA-03.png');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*padding: 60px 20px;*/
    width: 100%;
    box-sizing: border-box;
}
.info-container {
    max-width: 1100px;
    margin: 0 auto;
}
.header-men h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.header-men p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.25;
}
/* CONTENEDOR EN FILA (4 COLUMNAS EN ESCRITORIO) 
.colors-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 35px auto;
}


.color-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
    flex: 1 1 0;
    min-width: 0;
}
/* Fila Horizontal de Colores (4 Columnas) */
.colors-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 35px auto;
}
.color-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    flex: 1;
}
/* CÍRCULOS DE COLOR */
.color-circle {
    display: block;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.circle-white {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.circle-yellow {
    background-color: #d9c45a;
}

.circle-green {
    background-color: #485e42;
}

.circle-blue {
    background-color: #cbebff;
}

/* TEXTOS DE CADA COLOR */
.color-info {
    display: flex;
    flex-direction: column;
}

.color-info h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    color: #1a1a1a;
    /*font-weight: 600;*/
    font-weight: 400;
    margin: 0;
    line-height: 1.1;
}

.color-info .main-note {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.95rem;
    color: #2b2b2b;
    margin: 3px 0 0 0;
    line-height: 1.1;
}

.color-info .sub-note {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.85rem;
    color: #555555;
    margin: 2px 0 0 0;
    line-height: 1.1;
}
/* Nota Inferior Cursiva */
.restricted-footer-note {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.25rem;
    color: #2b2b2b;
    max-width: 1050px;
    margin: 0 auto;
    line-height: 1.35;
    text-align: center;
}


/* Adaptación para Celulares / Tablets */
@media (max-width: 900px) {
    .restrictions-header-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .colors-row {
        flex-wrap: wrap;
        gap: 25px 15px;
    }

    .color-card {
        flex: 1 1 45%;
    }
}

@media (max-width: 600px) {
    .colors-row {
        flex-direction: column;
    }

    .color-card {
        width: 100%;
    }

    .restricted-title {
        font-size: 2.2rem;
    }

    .header-both h3, .header-men h3 {
        font-size: 1.7rem;
    }
}
/* RESTRICCIÓN CORBATÍN HOMBRES */
.men-restriction-bar {
    margin-top: 25px;
}

.men-restriction-bar p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin: 0;
}

.men-restriction-bar .bold-prefix {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-right: 6px;
}

/* FRANJA SUPERIOR Y LOGO */
.top-logo-bar {
    background-color: #eee9e0;
    width: 100%;    
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* ÁREA HERO CON VIDEO */
.hero-media-wrapper {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
    max-width: 900px;
    width: 100%;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.couple-names-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    /*font-size: 3.8rem;*/
    font-size: 4.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* Divisor de Fecha */
.date-divider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    /*gap: 8px;*/
    gap: 12px;
    margin: 0 auto 20px auto;
    width: 90%;/*85%;*/
    max-width:700px; /*650px;*/
}

.line-left, .line-right {
    flex: 1;
    height: 2px;/*1px;*/
    background-color: rgba(255, 255, 255, 0.85);
}

/* Hojas decorativas */
.leaf-img {
    width: 45px; /* Controlamos el tamaño desde CSS para que sea uniforme */
    height: auto;
    object-fit: contain;
}

/* Invertir horizontalmente la hoja derecha para mantener simetría */
.leaf-right {
    transform: scaleX(-1);
}

.hero-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.0rem;
    color: #ffffff;
    white-space: nowrap;
    padding: 0 6px;
    line-height: 1;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.countdown-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 35px;
    border-radius: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 3px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- SECCIÓN HISTORIA (M & S) EXACTO AL DISEÑO --- 
    padding: 50px 20px;/*60px 20px;*/
    /*max-width: 1200px !important;/*1100px !important; /* Ampliamos para dar espacio al círculo y textos */
   /* margin: 0 auto;
}*/
/* --- SECCIÓN HISTORIA CON FONDO DE TEXTURA Y RAMA --- */
.story-section {
    position: relative !important;
    /*background-image: url('assets/TEXTURA-03.png'); /* Textura de fondo pergamino */
    /* Apilamos la rama decorativa a la izquierda y la textura de fondo por debajo */
    background-image: url('assets/ramafondo.png'), url('assets/TEXTURA-03.png');
    /*background-size: cover;*/
    /*background-position: center;*/
    background-repeat: no-repeat;
    background-position: left 20px center, center center; /* Rama a la izquierda, textura centrada */
    background-size: 280px auto, cover; /* Controlamos el tamaño exacto de la rama */
    padding: 80px 20px !important;
    width: 100% !important;
    overflow: hidden; /* Evita desbordamientos de la rama decorativa */
    box-sizing: border-box;
}
/* Contenedor interno centrado */
.story-container {
    max-width: 1150px;/*1200px;*/
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Mantiene el texto sobre la rama */
}

.story-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* RAMA DECORATIVA FLOTANTE EN EL FONDO (IZQUIERDA) 
.bg-branch-left {
    position: absolute;
    left: -50px;
    bottom: -20px;
    width: 320px;
    height: auto;
    z-index: 1;
    opacity: 0.35; /* Suaviza el tono para que combine con la textura 
    filter: sepia(1) saturate(3) hue-rotate(5deg); /* Tono dorado/cálido 
    pointer-events: none;
    transform: rotate(-15deg);
}*/
/* RAMA DECORATIVA IZQUIERDA (POSICIONADA CORRECTAMENTE) */
.bg-branch-left {
    position: absolute !important;
    top: 10% !important;         /* Posición vertical centrada/alta */
    left: -20px !important;       /* Pegada al borde izquierdo */
    width: 300px !important;      /* Tamaño visible */
    height: auto !important;
    z-index: 1 !important;        /* Por encima del fondo, debajo del texto */
    opacity: 0.35 !important;     /* Tono suave e integrado */
    /* Convierte las líneas oscuras a un tono dorado/amarillo suave */
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(5deg) !important;
    pointer-events: none;
    transform: rotate(-10deg);
}

/* Columna de Texto */
.story-card {
    flex: 1;
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #4a4a4a;
}

.story-card p {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 12px;
    text-align: justify;  /* Justifica el texto a ambos lados 
    hyphens: auto;       /* Opcional: añade guiones automáticos si una palabra es muy larga */
}

/* Frases destacadas en Verde */
.highlight-green {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #485e42 !important; /* Verde oliva idéntico */
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
}

.story-card .bold-text {
    font-weight: 700;
    font-size: 1.4rem;
}

/* COLUMNA CENTRAL (FOTO + LETRAS GIGANTES) */
/*.story-photo-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 380px; /* Ancho fijo para la columna central 
    height: 380px;
}*/
.story-photo-col {
    flex: 0 0 450px; /* Le damos el ancho grande necesario */
    display: flex;
    justify-content: center;
    align-items: center;
}
.central-illustration-img {
    width: 100%;
    height: auto;
    max-width: 450px; /* Tamaño real para que se distingan las flores y letras */
    object-fit: contain;
    display: block;
}
/* RESPONSIVE PARA CELULARES Y TABLETS */
/* ADAPTACIÓN PARA PANTALLAS PEQUEÑAS */
@media (max-width: 992px) {
    .story-grid {
        flex-direction: column;
        text-align: center;
    }

    .story-card p {
        text-align: center;
    }

    .story-photo-col {
        flex: none;
        width: 100%;
        max-width: 350px;
        margin: 20px 0;
    }

    .bg-branch-left {
        width: 200px;
        left: -30px;
    }
}

/* Círculo de la foto corregido a tamaño real */
.circular-photo-wrapper {
    position: relative;
    z-index: 2; /* Por encima de las letras */
    width: 360px;
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.circular-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* LETRAS M Y S GIGANTES */
.big-letter {
    position: absolute;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16rem; /* Tamaño gigante para que sobresalgan */
    line-height: 0.8;
    z-index: 1; /* Detrás de la imagen pero visibles en los bordes */
    pointer-events: none;
    user-select: none;
}

/* Letra M (Verde Abajo Izquierda) */
.letter-m {
    color: #485e42;
    bottom: -40px;
    left: -30px;
}

/* Letra S (Dorada Arriba Derecha) */
.letter-s {
    color: #d9c45a;
    top: -40px;
    right: -30px;
}

/* RESPONSIVE PARA MÓVILES */
@media (max-width: 992px) {
    .story-grid {
        flex-direction: column;
        text-align: center;
    }

    .story-photo-col {
        flex: 0 0 280px;
        height: 280px;
        margin: 30px 0;
    }

    .circular-photo-wrapper {
        width: 270px;
        height: 270px;
    }

    .big-letter {
        font-size: 11rem;
    }

    .letter-m {
        bottom: -20px;
        left: -10px;
    }

    .letter-s {
        top: -20px;
        right: -10px;
    }
}




/* NOVIOS */
.couple-wrapper {
    position: relative;
    max-width: 750px;
    margin: 20px auto;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.couple-text { position: absolute; width: 220px; z-index: 4; }
.couple-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: #2e4331; margin-bottom: 8px; }
.couple-text p { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: #555; }
.couple-text.top-left { top: 20px; left: 0; text-align: right; }
.couple-text.bottom-right { bottom: 20px; right: 0; text-align: left; }

.circular-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
/*
.section-divider {
    text-align: center;
    background-image: url('assets/TEXTURA-03.png'); /* Textura de fondo pergamino */
    /*padding: 20px 0;
    margin: 20px 0; mr_k la kite yo*/
  /*  width: 100%;
}

.divider-img {
   width: 35%; /* mr_k por el tamaño*/
    /*max-width: 320px;*/
    /*
    max-width: 70%;
    min-width: 180px;
    height: auto;
    display: inline-block;
}*/
/* --- CORRECCIÓN PARA EL DIVISOR DE SECCIÓN --- */
.section-divider {
    position: relative;
    text-align: center;
    padding: 20px 0;
    margin: 0; /* Eliminamos los márgenes extra que generan espacios en blanco */
    width: 100%;
    background-image: url('assets/TEXTURA-03.png'); /* Hereda la textura pergamino */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.divider-img {
    width: 25%;
    max-width: 320px;
    min-width: 180px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

/* SECCIÓN DETALLES 
.event-details-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
}*/
/* --- SECCIÓN DE DETALLES (LUGAR, HORA, VESTIMENTA) --- */
.event-details-section {
    position: relative;
    background-image: url('assets/TEXTURA-03.png'); /* Textura de fondo pergamino */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 60px 30px;
    width: 100%;
    box-sizing: border-box;
}
/*
.detail-block {
    display: flex;
    align-items: center;
    gap: 25px;
}
*/
/* Filas individuales de cada detalle */
.detail-block {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}
/*.detail-icon-col {
    flex: 0 0 140px; /*0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Columna del Icono (Izquierda) - Aumentamos el tamaño */
.detail-icon-col {
    flex: 0 0 140px; /* Ancho ampliado para que los iconos respiren */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5px;
}
/*
.detail-icon-img {
    width: 80px;
    height: auto;
    object-fit: contain;
}*/
/* Iconos más grandes y proporcionales al diseño de la hija */
.detail-icon-img {
    width: 120px !important; /* Tamaño grande idéntico a la referencia */
    height: auto !important;
    object-fit: contain;
}

.detail-content-col {
    flex: 1;
    border-left: 3px solid #d4af37;
    padding-left: 20px;/*18px;*/
}

.detail-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem;/*1.8rem;*/
    color: #2e4331;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.2;
}

.detail-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;/*1.1rem;*/
    color: #4a4a4a;
    line-height: 1.55;
    margin-bottom: 18px;/*15px;*/
    text-align: justify; /* Texto justificado como el resto */
}

.buttons-group {
    display: flex;
    gap: 15px;/*12px;*/
    flex-wrap: wrap;
}

.btn-green {
    background-color: #485e46;
    color: #ffffff;
    border: none;
    padding: 12px 26px;/*10px 22px;*/
    border-radius: 25px; /* Bordes bien redondeados como la referencia */ /*20px;*/
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.btn-green:hover {
    background-color: #2e4331;
    color: #ffffff;
}

/* RECOMENDACIONES 
.section-titles h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: #2e4331;
    text-align: center;
}*/
.section-titles h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3rem;
    color: #485e42;
    text-align: center;
    font-weight: 400;
    margin-bottom: 8px;
}
/*
.section-titles p {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}*/
.section-titles p {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    color: #555555;
    margin-bottom: 40px;
}
/*
.info-items-grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}*/
/* Grilla de 2 columnas en pantallas grandes */
.info-items-grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px 30px;
}
.info-card-custom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent; /* Sin tarjetas ni fondos blancos */
    border: none;
    padding: 0;
}
/* Imagen del encabezado prediseñada
.card-header-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
} */
/* Imagen del encabezado prediseñada alineada uniformemente */
.card-header-img {
    width: 100%;
   /* max-width: 420px; /* Ancho máximo controlado para las tarjetas */
   /* height: 75px;      /* Altura fija idéntica para los 6 números */
    object-fit: contain; /* Mantiene la proporción sin deformar la imagen */
    object-position: left center; /* Alinea todas las imágenes hacia la izquierda */
    margin-bottom: 15px;
    display: block;
}
/* Texto descriptivo debajo de la imagen */
.info-card-custom p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    color: #333333;
    line-height: 1.5;
    margin: 0;
    margin-top: -30px; /* <--- ¡Este es el truco! Sube el texto para cerrar el espacio */
    text-align: justify;
    padding-left: 45px; /* Alineado para que coincida con el margen interno de la imagen */
}

/* RESPONSIVE PARA PANTALLAS PEQUEÑAS / CELULARES */
@media (max-width: 768px) {
    .info-items-grid-6 {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section-titles h2 {
        font-size: 2.2rem;
    }

    .info-card-custom p {
        padding-left: 20px; /* Reducimos indentación en móviles */
        font-size: 1.1rem;
    }
}
.info-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #efeae1;
}

.card-number {
    background-color: #3d523b;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-body h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #2e4331;
    margin-bottom: 4px;
    text-transform: capitalize;
}

.card-body p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.4;
}

/* LLUVIA DE SOBRES 
.rsvp-gift-section {
    /*position: relative;*/
   /* background: url('assets/FOOTER.jpg') center/cover no-repeat;
    /*text-align: center;
    color: white;
    padding: 80px 20px;
    margin-top: 40px;
}*/
/* --- SECCIÓN LLUVIA DE SOBRES Y RSVP (FOOTER) --- */
.rsvp-gift-section {
    position: relative;
    /*background-image: url('assets/FOOTER.jpg'); /* O la imagen optimizada que creamos */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
    width: 100%;
    background-color: #455942; /* Fondo de respaldo */
    overflow: hidden;
    box-sizing: border-box;
}
/*
.rsvp-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.5);
}*/
.rsvp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:#455942 /*rgba(0, 0, 0, 0.45); /* Oscurece un poco para que resalte el texto blanco */
    z-index: 1;
}
/*
.rsvp-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}*/
.rsvp-content {
    position: relative;
    z-index: 2;
   /* max-width: 1100px !important;
    margin: 0 auto;*/
}
/* Grilla de dos columnas (Izquierda y Derecha) */
.rsvp-grid-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.gift-box, .rsvp-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Tamaño controlado para los iconos (sobre y confirmar) */
.rsvp-icon-img {
    width: auto !important;
    height: 90px !important;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Títulos de las cajas */
.gift-box h2, .rsvp-box h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Textos descriptivos */
.gift-box p, .rsvp-box p, .rsvp-instruction-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    color: #f0f0f0;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Botón de Confirmación elegante */
.btn-rsvp {
    background-color: #485e46;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
}

.btn-rsvp:hover {
    background-color: #2e4331;
}

/* RESPONSIVE PARA MÓVILES */
@media (max-width: 768px) {
    .rsvp-grid-footer {
        flex-direction: column;
        gap: 40px;
    }

    .gift-box h2, .rsvp-box h2 {
        font-size: 2rem;
    }
}
/*
.gift-icon { font-size: 2.5rem; margin-bottom: 15px; }
.gift-box h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; margin-bottom: 10px; }
.gift-box p { font-size: 0.95rem; line-height: 1.5; }
*/
/* MODALES */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover { color: #333; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .colors-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px 15px;
    }
    .color-card {
        flex: 1 1 42%;
        max-width: 48%;
    }
}

@media (max-width: 600px) {
    .colors-row {
        flex-direction: column;
        align-items: center;
    }
    .color-card {
        flex: 1 1 100%;
        max-width: 280px;
        width: 100%;
    }
    .restricted-title {
        font-size: 2rem;
    }
    .men-restriction-bar p {
        font-size: 1.4rem;
    }
    .men-restriction-bar .bold-prefix {
        font-size: 1.6rem;
    }
    .detail-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .detail-icon-col {
        flex: none;
        width: 100%;
        justify-content: flex-start;
    }
    .detail-icon-img {
        width: 90px !important;
    }
    .couple-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .couple-text {
        position: relative;
        width: 100%;
        text-align: center !important;
        margin: 15px 0;
    }
}

/* --- MODAL DE VIDEO CORREGIDO Y PROPORCIONADO --- */
#videoModal .modal-content {
    max-width: 750px !important; /* Ancho máximo ideal para que no llene toda la pantalla */
    width: 90% !important;
    padding: 20px !important;
    background-color: #1a1a1a !important; /* Fondo oscuro elegante para el reproductor */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Relación de aspecto perfecta 16:9 */
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   object-fit: contain; /* Mantiene la proporción del video sin recortarlo */
}

/* Botón de cierre (la X) más visible sobre el fondo oscuro */
#videoModal .close-modal {
    color: #ffffff !important;
    top: 10px;
    right: 15px;
    font-size: 32px;
    z-index: 10;
}

#videoModal .close-modal:hover {
    color: #d4af37 !important;
}


/* --- ESTILOS COMPLETOS DEL MODAL DE RSVP --- */
.modal-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.3rem;
    color: #2e4331;
    margin-bottom: 20px;
    font-weight: 600;
}

.modal-content p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    color: #4a4a4a;
    margin-bottom: 15px;
}

/* Grupo de input para el código */
.code-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.code-input-group input[type="text"] {
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    width: 60%;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.code-input-group input[type="text"]:focus {
    border-color: #485e46;
}

/* Botón general dentro del modal (Buscar / Guardar) */
.modal-content .btn-primary,
.modal-content .btn-submit {
    background-color: #485e46;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-content .btn-primary:hover,
.modal-content .btn-submit:hover {
    background-color: #2e4331;
}

/* Sección de parqueadero y formularios internos */
.parking-section {
    margin: 20px 0;
    text-align: left;
    background: #f9f7f2;
    padding: 15px;
    border-radius: 8px;
}

.checkbox-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-group {
    text-align: left;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #555555;
    display: block;
    margin-bottom: 5px;
}

.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
}

/* Mensajes de error o éxito en el modal */
.modal-message {
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.modal-message.error {
    color: #d9534f;
}

.modal-message.success {
    color: #485e46;
}

/* --- ESTILOS PARA EL MODAL DE GUÍAS DE VESTIMENTA --- */
.guide-modal-content {
    max-width: 650px !important; /* Ancho cómodo para visualizar la guía vertical */
    padding: 25px 20px !important;
    background-color: #fdfbf7 !important; /* Tono pergamino acorde al diseño */
    text-align: center;
}

.guide-image-container {
    width: 100%;
    max-height: 80vh; /* Evita que sobrepase la pantalla */
    overflow-y: auto;  /* Permite hacer scroll vertical si la pantalla es pequeña */
    border-radius: 8px;
}

.guide-full-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 6px;
}

.btn-confirmar {
    display: inline-block;
    background-color: #f3ecd3; /* El color crema de fondo */
    color: #ffffff; /* Texto blanco */
    font-family: serif; /* O la tipografía que estés usando */
    font-size: 24px;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15); /* La sombra difuminada */
    text-align: center;
}

.btn-confirmar:hover {
    opacity: 0.9;
}
