/* ==========================================================================
   BODAS EN EUROPA - VERSION 2
   Ceremonias Laicas - Estilos Modulares para Bodas Humanistas en Europa
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION (LCP Area)
   -------------------------------------------------------------------------- */
.hero-europa {
    position: relative;
    height: 280px;
    background-color: #1a2b4c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Corte poligonal chevron notch inferior en desktop */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(50% + 30px) calc(100% - 24px), 50% 100%, calc(50% - 30px) calc(100% - 24px), 0 calc(100% - 24px));
    padding-bottom: 24px;
}

.hero-europa-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-europa-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 60, 0.28);
    z-index: 2;
}

.hero-europa-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.hero-europa-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    padding: 0 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-europa-rama-wrapper {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.hero-europa-rama-white {
    width: 44px;
    height: 44px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.hero-europa-title {
    font-family: 'Muli-Bold', sans-serif;
    font-size: 2.15rem;
    font-weight: bold;
    line-height: 1.15;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   2. INTRODUCCIÓN EDITORIAL
   -------------------------------------------------------------------------- */
.seccion-intro-europa {
    padding: 55px 20px 30px;
    background-color: #ffffff;
}

.intro-europa-container {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.intro-europa-logo-mark {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.intro-europa-logo-mark img {
    width: 42px;
    height: 42px;
}

.intro-europa-desc {
    font-family: 'Muli', sans-serif;
    font-size: 1.22rem;
    line-height: 1.65;
    color: #2c2c2c;
    margin: 0 0 16px 0;
    font-weight: 400;
}

.intro-europa-subdesc {
    font-family: 'Cormorant-Italic', serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #555555;
    margin: 0 auto;
    max-width: 780px;
}

/* --------------------------------------------------------------------------
   3. GRID DE PAÍSES Y BANDERAS (15 PAÍSES)
   -------------------------------------------------------------------------- */
.seccion-paises-europa {
    padding: 30px 20px 60px;
    background-color: #ffffff;
}

.paises-europa-container {
    max-width: 1100px;
    margin: 0 auto;
}

.europa-grid-columnas {
    display: flex;
    justify-content: center;
    gap: 42px;
}

.europa-col-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.flags-and-buttons-top {
    display: flex;
    align-items: center;
    gap: 18px;
}

.flags-trio-wrap {
    width: 66px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-flags-trio {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
}

.flags-and-buttons-top:hover .img-flags-trio {
    transform: scale(1.04);
}

.buttons-trio-col {
    width: 235px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.buttons-duo-bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 82px; /* 66px flag + 16px gap */
}

.btn-pais-link {
    width: 235px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 10px;
    background-color: #ffffff;
    border: 1.5px solid #9F6D4A;
    color: #333333;
    font-family: 'Muli-SemiBold', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-pais-link:hover {
    background-color: #faece3;
    border-color: #9F6D4A;
    color: #9F6D4A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(159, 109, 74, 0.15);
}

/* --------------------------------------------------------------------------
   4. SECCIÓN DE CONTEXTO HISTÓRICO
   -------------------------------------------------------------------------- */
.seccion-contexto-europa {
    padding: 40px 20px 80px;
    background-color: #ffffff;
}

.contexto-europa-container {
    max-width: 820px;
    margin: 0 auto;
}

.contexto-rama-header {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.contexto-rama-icon {
    width: 44px;
    height: 44px;
}

.contexto-europa-subtitulo {
    font-family: 'Cormorant-Italic', serif;
    font-style: italic;
    font-size: 1.45rem;
    color: #9F6D4A;
    text-align: center;
    margin: 0 0 10px 0;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
}

.contexto-europa-titulo {
    font-family: 'Muli-Regular', sans-serif;
    font-size: 2.1rem;
    line-height: 1.25;
    color: #2c2c2c;
    text-align: center;
    margin: 0 0 40px 0;
    letter-spacing: 0.02em;
    font-weight: 400;
    text-transform: none;
}

.contexto-europa-cuerpo {
    font-family: 'Muli-Light', sans-serif;
    font-size: 1.02rem;
    line-height: 1.85;
    color: #4a4a4a;
    text-align: justify;
}

.contexto-europa-cuerpo p {
    margin-bottom: 24px;
}

.contexto-europa-cuerpo a {
    color: #9F6D4A;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.contexto-europa-cuerpo a:hover {
    color: #7c4b2a;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE MOBILE
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    .hero-europa {
        height: 330px;
        clip-path: none;
        padding-bottom: 0;
    }

    .hero-europa-title {
        font-size: 1.75rem;
        letter-spacing: 0.1em;
        white-space: normal;
        max-width: 300px;
        line-height: 1.22;
        margin: 0 auto;
    }

    .hero-europa-rama-white {
        width: 36px;
        height: 36px;
    }

    .seccion-intro-europa {
        padding: 40px 20px 20px;
    }

    .intro-europa-desc {
        font-size: 1.08rem;
        line-height: 1.6;
    }

    .intro-europa-subdesc {
        font-size: 1.05rem;
    }

    .europa-grid-columnas {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        margin: 0 auto;
    }

    .europa-col-group {
        gap: 12px;
    }

    .flags-and-buttons-top {
        gap: 12px;
    }

    .flags-trio-wrap {
        width: 48px;
    }

    .img-flags-trio {
        max-height: 155px;
    }

    .buttons-trio-col {
        width: 210px;
        gap: 12px;
    }

    .buttons-duo-bottom {
        gap: 12px;
        padding-left: 60px; /* 48px + 12px */
    }

    .btn-pais-link {
        width: 210px;
        min-height: 40px;
        font-size: 0.84rem;
        letter-spacing: 0.06em;
    }

    .contexto-europa-subtitulo {
        font-size: 1.25rem;
        text-transform: none;
    }

    .contexto-europa-titulo {
        font-size: 1.55rem;
        line-height: 1.3;
        margin-bottom: 28px;
        text-transform: none;
    }

    .contexto-europa-cuerpo {
        font-size: 0.96rem;
        line-height: 1.75;
        text-align: left;
    }
}
