html,
body.ie-template-clasico{
    margin:0;
    padding:0;
    width:100%;
    overflow-x:hidden;
}

body.ie-template-clasico .ie-container{
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
    background:#f4f1e4;
    box-shadow:none;
}

.ie-hero{
    position:relative;
    width:100%;
    height:100vh;
    min-height:720px;
    overflow:hidden;
    z-index:5;
}

.ie-hero-bg{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    z-index:1;
    will-change:transform;
    backface-visibility:hidden;
    transform:translate3d(0,0,0);
}

.ie-hero-overlay{
    position:relative;
    z-index:10;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#fff;
}

.ie-separador-portada
 {
    background-size: cover !important;
    position: relative;
    z-index: 50;
    width: 100%;
    height: 329px;
    margin-top: -96px;
    margin-bottom: -130px;
    background: url(images/separacion.webp) center no-repeat;
    pointer-events: none;
}

.ie-separador-countdown
 {
    background-size: contain !important;
    position: relative;
    z-index: 50;
    width: 100%;
    height: 600px;
    margin-top: 0;
    margin-bottom: -280px;
    background: url(images/img_lineas01.svg) center no-repeat;
    pointer-events: none;
}

.ie-anillos-boda {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 170px;
    height: 170px;
    z-index: 51; /* justo encima del 50 del separador */
    background: #fff;
    border-radius: 99%;
    pointer-events: none;
    box-shadow:0px 0px 15px -1px rgba(0, 0, 0, 0.40);
}

.ie-anillos-boda svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ie-countdown-section{
    position:relative;
    z-index:3;
    width:100%;
    min-height:520px;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:visible;
}

.ie-hero-decor{
    position:absolute;
    inset:0;
    z-index:3;
    pointer-events:none;
}

.ie-card{
    position:relative;
    z-index:1;
    text-align:center;
    padding-top: 100px;
}

.ie-card-titulo{
    background: url(images/fondo-titulo.webp) center no-repeat;
    height: 95px;
    padding: 33px 5px;
    background-size: contain;
    position: relative;
    margin: 0 auto;
    line-height: 24px;
    width: 440px;
}

.ie-card-titulo h3{
    color: #fff;
}

.ie-flor-izq{
    position:absolute;
    left:0;
    top:0;
    width:16%;
    height:50%;
    background:url(images/flor-izq.webp) no-repeat;
    background-size:contain;
    will-change:transform;
}

.ie-flor-der{
    position:absolute;
    right:0;
    bottom:0;
    width:16%;
    height:50%;
    background:url(images/flor-der.webp) no-repeat;
    background-size:contain;
    will-change:transform;
}

.ie-hero-sin-foto{
    background:
    radial-gradient(circle at 10% 20%, rgba(196,143,70,.12), transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(196,143,70,.10), transparent 25%),
    #fffaf4;
}

.ie-hero-date{
    font-size:22px;
    letter-spacing:7px;
    text-transform:uppercase;
    margin-bottom:35px;
}

.ie-hero-novios{
    font-family:"Dancing Script", cursive;
    font-size:82px;
    line-height:1;
    font-weight:400;
}

.ie-hero-phrase{
    margin-top:35px;
    font-size:28px;
    font-style:italic;
}

.ie-evento-finalizado{
    text-align:center;
    padding:50px 30px;
}

.ie-evento-finalizado h2{
    font-family:"Dancing Script", cursive;
    font-size:28px;
    color:#7a4f27;
    margin-bottom:15px;
    font-weight:400;
}

.ie-evento-finalizado p{
    font-size:15px;
    color:#6d5848;
    line-height:1.7;
}

.ie-hero-subtitle{
    margin-top:18px;
    font-size:22px;
    font-style:italic;
}

.ie-card h3{
    font-size:18px;
    letter-spacing:7px;
    text-transform:uppercase;
    font-weight:400;
    margin-bottom:28px;
}

.ie-countdown-section::before{
    content:"";
    position:absolute;
    width:380px;
    height:380px;
    background:url("images/contador-clasico.webp") center/contain no-repeat;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index:1;
    animation: zoomPulse 6s ease-in-out infinite;
}

@keyframes zoomPulse {
    0%, 100% {
        transform: translate(-50%,-50%) scale(1);
    }
    50% {
        transform: translate(-50%,-50%) scale(1.06);
    }
}

.ie-countdown{
    position:relative;
    z-index:2;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:0;
}

.ie-countdown div{
    min-width:70px;
    padding:0 10px;
    border-right:1px solid rgba(184,134,11,.28);
}

.ie-countdown div:last-child{
    border-right:none;
}

.ie-countdown strong{
    display:block;
    font-size:35px;
    font-weight:700;
    color:#7a4f27;
    line-height:1;
}

.ie-countdown span{
    display:block;
    margin-top:10px;
    font-size:14px;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#4b3326;
}

.ie-invitado{
    font-size:22px;
    line-height:1.8;
}

.ie-invitado strong{
    font-size:32px;
    font-family:"Dancing Script", cursive;
    font-weight:400;
}

.ie-mesa{
    background:#f5eadc;
    border:1px solid #c19a55;
    color:#7a4f27;
}

.ie-btn,
.ie-submit-full,
.ie-btn-rsvp{
    border:1px solid #c19a55 !important;
    background:transparent !important;
    color:#7a4f27 !important;
    border-radius:40px !important;
    padding:14px 34px !important;
    letter-spacing:2px;
    text-transform:uppercase;
}

.ie-btn:hover,
.ie-btn-rsvp.activo,
.ie-submit-full{
    background:#b88a43 !important;
    color:#fff !important;
}

.ie-rsvp-buttons{
    display:flex;
    justify-content:center;
    gap:28px;
    flex-wrap:wrap;
    margin:30px 0;
}

.ie-section input,
.ie-card input{
    max-width:620px;
    border-radius:40px;
    border:1px solid rgba(184,134,11,.35);
    padding:15px 22px;
    background:#fff;
}

.ie-footer{
    text-align:center;
    padding:35px;
    background:#fffaf4;
    color:#7a5a3a;
    font-size:14px;
    letter-spacing:2px;
    text-transform:uppercase;
}

@media(max-width:768px){
    .ie-hero{
        background-attachment:scroll;
        min-height:80vh;
    }

    .ie-hero-overlay{
        min-height:80vh;
    }
    .ie-hero-novios{
        font-size:54px;
    }

    .ie-countdown{
        gap:12px;
    }

    .ie-countdown div{
        min-width: 55px;
        padding: 0 12px 0px 0px;
    }

    .ie-countdown strong{
        font-size:34px;
    }

    .ie-card{
        padding:40px 20px;
    }
    .ie-card-titulo {
    padding: 22px 5px;
    width: 100%;
}
}
/* ==========================================================
   GALERÍA
========================================================== */

.ie-gallery {
    padding: 90px 0 70px;
    overflow: hidden;
    text-align: center;
}

.ie-gallery-header {
    margin-bottom: 45px;
    padding: 0 20px;
}

.ie-gallery-title {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
    color: #5E726B;
    margin: 0 0 12px;
    font-weight: 400;
}

.ie-gallery-subtitle {
    max-width: 850px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: #889891;
}

.ie-gallery-icon {
    margin-top: 28px;
}

.ieGaleria {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 60px;
    box-sizing: border-box;
    overflow: hidden;
}

.ieGaleria .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.ieGaleria .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.ie-card-foto {
    background: #fff;
    padding: 16px;
    height: 325px;
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
    box-sizing: border-box;
    transition: .35s;
}

.ie-card-foto:hover {
    transform: translateY(-6px);
}

.ie-card-foto img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.ieGaleria .swiper-button-next,
.ieGaleria .swiper-button-prev {
    color: #5E726B;
}

.ieGaleria .swiper-button-next::after,
.ieGaleria .swiper-button-prev::after {
    font-size: 22px;
}

.ieGaleria .swiper-pagination {
    bottom: 0 !important;
}

.ieGaleria .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 1;
    background: #B8C0BB;
}

.ieGaleria .swiper-pagination-bullet-active {
    background: #5E726B;
}

/* ==========================================================
   NUESTRA CELEBRACIÓN
========================================================== */

.ie-celebracion{
    padding:90px 20px;
    text-align:center;
}

.ie-celebracion-header{
    max-width:900px;
    margin:0 auto 60px;
}

.ie-celebracion-header h2{
    font-family:'Great Vibes',cursive;
    font-size:48px;
    color:#5E726B;
    margin:0 0 18px;
    font-weight:400;
}

.ie-celebracion-header p{
    font-size:18px;
    line-height:1.8;
    color:#8C9792;
}

.ie-celebracion-wrap{
    max-width:1100px;
    margin:0 auto;
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
}

.ie-celebracion-card{
    width:330px;
    background:#ffffff;
    border-radius:18px;
    padding:45px 30px;
    box-sizing:border-box;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.ie-celebracion-card h3{
    margin:0;
    color:#C7A56E;
    font-size:28px;
    font-weight:700;
}

.ie-celebracion-icon{
    width:90px;
    height:90px;
    margin:35px auto;
    border-radius:50%;
    background:#F5F3EE;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:40px;
    color:#80958D;
}

.ie-celebracion-card p{
    color:#7E8B86;
    line-height:1.6;
    font-size:16px;
    margin-bottom:35px;
}

.ie-celebracion-card button{

    width:100%;
    height:46px;

    border:none;
    border-radius:999px;

    background:#80958D;
    color:#fff;

    font-weight:600;
    cursor:pointer;

    transition:.25s;
}

.ie-celebracion-card button:hover{

    background:#5E726B;

}

/*=============================
POPUP
=============================*/

.ie-popup-overlay{

    position:fixed;

    inset:0;

    background:rgba(64,82,74,.75);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

    padding:20px;

}

.ie-popup-overlay.active{

    display:flex;

}

.ie-popup-circle{

    width:520px;
    height:520px;

    max-width:95%;

    background:#F8F6F2;

    border-radius:50%;

    padding:60px 50px;

    position:relative;

    text-align:center;

    box-shadow:0 20px 50px rgba(0,0,0,.25);

}

.ie-popup-close{

position: absolute;
    top: 18px;
    right: 83px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #c9b178;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.ie-popup-top-icon{

    width: 90px;
    height: 90px;
    margin: 0 auto;
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    color: #80958D;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    top: -110px;
    position: relative;
}

.ie-popup-circle h3{

    margin:0 0 15px;

    color:#5E726B;

    font-size:30px;

}

.ie-popup-circle p{

    color:#6D6D6D;

    line-height:1.3;

    margin:15px;

}

.ie-popup-circle strong{

    color:#C7A56E;

    font-size:20px;

}

@media(max-width:768px){

    .ie-celebracion{

        padding:60px 20px;

    }

    .ie-celebracion-header h2{

        font-size:40px;

    }

    .ie-celebracion-card{

        width:100%;

    }

    .ie-popup-circle{

        padding:40px 25px;

    }

}

@media(max-width: 991px) {
    .ie-gallery-title {
        font-size: 40px;
    }

    .ie-gallery-subtitle {
        font-size: 16px;
        padding: 0 25px;
    }
}

@media(max-width: 768px) {
    .ie-gallery {
        padding: 60px 0;
    }

    .ie-gallery-title {
        font-size: 34px;
    }

    .ie-gallery-subtitle {
        font-size: 15px;
    }

    .ie-card-foto {
        height: 300px;
        padding: 12px;
    }

    .ie-card-foto img {
        height: 225px;
    }
}

/*.content-anim-fiesta {
    width: 170px;
    height: 95px;
    margin: 25px auto;
    overflow: visible;
}*/

.anim-vestuario {
    width: 66px;
    height: 37px;
    overflow: visible;
}

.anim-vestuario svg {
    width: 66px;
    height: 37px;
    display: block;
    overflow: visible;
}

.anim-vestuario svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: ieBowDrawErase 3.2s ease-in-out infinite;
}

@keyframes ieBowDrawErase {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    45% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    65% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -1000;
        opacity: 0;
    }
}