﻿/* Estilos de index.php (landing) */

html {
    font-size: 16px !important;
}

body.landing-context {
    font-family: 'Poppins', 'Lato', sans-serif;
    color: #444;
    line-height: 1.6;
    font-size: 16px;
}

body.landing-context h1,
body.landing-context h2,
body.landing-context h3,
body.landing-context h4,
body.landing-context h5,
body.landing-context h6 {
    font-family: 'Poppins', sans-serif !important;
    color: #1e1936;
}

body.landing-context p {
    font-size: 16px;
    color: #666;
}

/* Banner hero: margin/padding/object-position en css/landing_portada_banner.css */

.hero-banner-title {
    font-family: 'Great Vibes', cursive !important;
    font-size: clamp(32px, 6.5vw, 64px) !important;
    line-height: 1.15;
    margin: 40px auto 1.75rem;
    max-width: 100%;
    -webkit-text-stroke: 5px #fff;
    paint-order: stroke fill;
    text-shadow:
        0 0 4px rgba(255, 255, 255, 0.98),
        0 0 10px rgba(255, 255, 255, 0.92),
        0 0 20px rgba(255, 255, 255, 0.78),
        0 0 34px rgba(255, 255, 255, 0.52),
        0 0 48px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.01em;
}

/* Marca Tu RSVP: dorado / azul oficial alternados en el hero */
.hero-banner-title .hero-title-word {
    -webkit-text-fill-color: currentColor;
}

.hero-banner-title .hero-title-word--gold {
    color: var(--brand-gold) !important;
}

.hero-banner-title .hero-title-word--blue {
    color: var(--brand-navy) !important;
}

/* Tras "tu": espacio en HTML + margen para que "tu" e "invitaciÃ³n" no lean como una sola palabra */
.hero-banner-title .hero-title-invite-word {
    margin-left: 0.20em;
    /* La "i" script y "nvitaciÃ³n" deben comportarse como una sola palabra al envolver (responsive) */
    white-space: nowrap;
}

/* Base comÃºn solo para letras script del hero */
body.landing-context h1.hero-banner-title .hero-title-script-letter {
    font-family: 'Great Vibes', cursive !important;
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    padding-right: 0;
    line-height: 1;
    paint-order: stroke fill;
    transform-origin: left bottom;
}

/* C: posiciÃ³n y tamaÃ±o actuales (referencia) */
body.landing-context h1.hero-banner-title .hero-title-script-letter--c {
    font-size: calc(1em + 12px) !important; /* hero-title-script-letter--c EXEMPT */
    margin-right: 0.38em !important;
    vertical-align: -0.05em;
    transform: scale(1.16);
}

/* i: ~2px mÃ¡s grande que la C; margin-right bajo para que "i" y "nvitaciÃ³n" formen una sola palabra */
body.landing-context h1.hero-banner-title .hero-title-script-letter--i {
    font-size: calc(1em + 30px) !important; /* hero-title-script-letter--i EXEMPT */
    margin-right: 0.2em !important;
    vertical-align: -0.05em;
    transform: scale(1.18);
}

@media (max-width: 575.98px) {
    body.landing-context h1.hero-banner-title .hero-title-script-letter--c {
        font-size: calc(1em + 12px) !important; /* hero-title-script-letter--c EXEMPT */
        margin-right: 0.34em !important;
        transform: scale(1.12);
    }

    body.landing-context h1.hero-banner-title .hero-title-script-letter--i {
        font-size: 28px !important; /* hero-title-script-letter--i EXEMPT */
        margin-right: 0.2em !important;
        transform: scale(1.14);
    }

    .hero-banner-title .hero-title-invite-word {
        margin-left: 0.3em;
    }
}

@media (min-width: 992px) {
    .hero-banner-title {
        margin-bottom: 2.25rem;
    }
}

.serach-iu {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    height: auto !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out;
}

.serach-iu::before,
.serach-iu::after {
    display: none !important;
}

.serach-iu .hero-card-title {
    font-family: 'Great Vibes', cursive !important;
    font-size: 40px !important;
    color: #6a006a !important;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0;
}

.landing-context .custom-select {
    height: 50px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    padding-left: 15px;
    margin-bottom: 15px;
    font-size: 16px !important;
    width: 100%;
}

.choose-partef-gidt .shop-part {
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 40px 30px !important;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choose-partef-gidt .shop-part::before {
    display: none !important;
}

.choose-partef-gidt .shop-part:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.shop-part.popular-plan {
    border: 2px solid #dcb560 !important;
    transform: scale(1.05);
    z-index: 2;
}

.shop-part.popular-plan:hover {
    transform: scale(1.05) translateY(-10px);
}

.text-middle01 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    text-align: center;
}

.text-middle01 h5 {
    font-size: 26px !important;
    margin-bottom: 10px;
    color: #1e1936;
}

.plan-actual-label {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #e8f7ee;
    color: #1f7a43;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.text-middle01 .price {
    font-size: 48px;
    font-weight: 700;
    color: #dcb560;
    font-family: 'Poppins', sans-serif;
    margin: 15px 0;
}

.text-middle01 .price span {
    font-size: 14px;
    color: #999;
    font-weight: 400;
    display: block;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    text-align: left;
    color: #555;
}

.pricing-features li i {
    margin-right: 10px;
    color: #dcb560;
    width: 20px;
    text-align: center;
}

.btn-plan {
    background: #1e1936;
    color: #fff;
    padding: 12px;
    border-radius: 50px;
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
}

.btn-plan:hover {
    background: #dcb560;
    color: #fff;
}

.btn-plan.secondary {
    background: #f8f9fa;
    color: #1e1936;
    border: 1px solid #ddd;
}

.btn-plan.secondary:hover {
    background: #1e1936;
    color: #fff;
}

.btn-plan-current {
    background: #ebedf2 !important;
    border: 1px solid #d9dee8;
    color: #5a6575 !important;
    cursor: not-allowed;
    pointer-events: none;
}

.text-middle01 h6,
.btn-sho {
    display: none !important;
}

.items-webiste {
    display: block !important;
    text-align: center;
    height: auto !important;
    padding: 30px 20px !important;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.items-webiste:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.items-webiste .icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.items-webiste .icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.items-webiste h5,
.items-webiste .como-funciona-title {
    font-size: 19px !important;
    font-weight: 700;
    margin-bottom: 10px;
}

.crmou-txet {
    border: none !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    overflow: hidden;
    padding: 0 0 20px 0 !important;
}

.crmou-txet .imgou-pcty {
    border-radius: 15px 15px 0 0;
    margin-bottom: 0 !important;
}

.crmou-txet h5 {
    padding: 0 20px;
    font-size: 21px !important;
    white-space: normal !important;
    width: 100% !important;
    text-align: center;
}

.crmou-txet p {
    padding: 0 20px;
    text-align: center;
    font-size: 14px;
}

.img-divu {
    margin: -40px auto 15px auto !important;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.img-divu i {
    font-size: 24px;
    color: #dcb560;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.accordion-item {
    border: none !important;
    border-radius: 10px !important;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 18px !important;
    padding: 20px !important;
    background: #fff !important;
}

.accordion-button:not(.collapsed) {
    color: #5c4200 !important;
    background: #f0ebe3 !important;
}

footer ul.list-unstyled.small a.text-white-75 {
  display: inline-block;
  padding: 8px 4px;
  min-height: 48px;
  line-height: 1.4;
  box-sizing: border-box;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.main-head {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
    font-size: 40px !important;
    margin-bottom: 1rem;
}

.img-divu img,
.img-filo img {
    filter: none !important;
}

/* Vivid Colors for Feature Icons */
.img-filo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: none !important;
    /* Remove white border from legacy css */
}

.items-normals:hover .img-filo {
    transform: scale(1.1) rotate(5deg);
}

/* Saturated Vibrant Colors */
.col:nth-child(1) .img-filo {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Mapas - Blue */
.col:nth-child(2) .img-filo {
    background: #10b981;
    color: #fff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* RSVP - Green */
.col:nth-child(3) .img-filo {
    background: #8b5cf6;
    color: #fff;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Regalos - Purple */
.col:nth-child(4) .img-filo {
    background: #f43f5e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.3);
}

/* GalerÃ­a - Rose */
.col:nth-child(5) .img-filo {
    background: #f59e0b;
    color: #fff;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* QR - Amber */
.col:nth-child(6) .img-filo {
    background: #14b8a6;
    color: #fff;
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

/* Privacidad - Teal */

.img-filo i {
    font-size: 32px !important;
}

.items-normals h5,
.items-normals .feature-title {
    color: #1a162e;
    font-weight: 800;
    margin-bottom: 12px;
}

.items-normals p {
    font-size: 15px;
    line-height: 1.6;
    color: #52525b;
}

/* FAQ (index): fondo sin style inline */
body.landing-context section#faq.faq-section {
    background-color: #fdfdfd;
}

/* CTA Footer Section */
.cta-section {
    min-height: 400px;
}

.cta-bg-img {
    filter: brightness(0.4);
}

.cta-title {
    color: #fff !important;
}

.offer-bar-text {
    font-size: 18px;
}

.celebration-select {
    height: 60px !important;
    border-radius: 30px !important;
    padding: 0 25px !important;
    border: 2px solid #f0f0f0 !important;
    font-size: 18px !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 16px 12px;
}

.celebration-select:focus {
    border-color: #dcb560 !important;
    box-shadow: 0 0 0 4px rgba(220, 181, 96, 0.1) !important;
    outline: none;
}

/* New Celebration Grid with Colorful Icons */
.celebration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.celebration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 5px;
    border: 1.5px solid #f0f0f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.celebration-item i {
    font-size: 29px;
    margin-bottom: 4px;
    transition: transform 0.2s;
}

.celebration-item span {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

/* Individual Icon Colors */
.icon-boda {
    color: #dcb560;
}

/* Gold */
.icon-xv {
    color: #ff4081;
}

/* Pink */
.icon-bautizo {
    color: #00d2ff;
}

/* Cyan */
.icon-graduacion {
    color: #2c3e50;
}

/* Dark Blue */
.icon-cumple {
    color: #ff9800;
}

/* Orange */
.icon-otros {
    color: #8e24aa;
}

/* Purple */

.celebration-item:hover,
.celebration-item.active {
    border-color: #dcb560;
    background: #fffdf5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.celebration-item.active {
    border-width: 2px;
}

@media (max-width: 480px) {
    .celebration-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .celebration-item span {
        font-size: 13px;
    }
}

/* --- MÃ³vil: tÃ­tulos en una lÃ­nea, CTA hero, grillas 2 columnas --- */
body.landing-context .hero-banner-title {
    text-wrap: balance;
    white-space: normal;
}

body.landing-context .serach-iu .hero-card-title {
    white-space: normal;
    max-width: 100%;
    font-size: clamp(24px, 4vw, 40px) !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

body.landing-context .btn-hero-cta {
    white-space: nowrap;
    font-size: clamp(12px, 2.6vw + 12px, 15px) !important;
    line-height: 1.25;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    padding-left: clamp(0.75rem, 3vw, 1.5rem) !important;
    padding-right: clamp(0.75rem, 3vw, 1.5rem) !important;
}

body.landing-context .btn-hero-cta i {
    margin-left: 0.35rem !important;
}

@media (max-width: 767.98px) {
    body.landing-context h2.main-head {
        white-space: nowrap;
        font-size: clamp(15px, 3.6vw + 12px, 32px) !important;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    body.landing-context .cta-title.main-head {
        font-size: clamp(12px, 2.85vw + 12px, 28px) !important;
        letter-spacing: -0.035em;
    }

    body.landing-context .crmou-txet h5 {
        white-space: nowrap !important;
        font-size: clamp(12px, 2.8vw, 18px) !important;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 12px;
        padding-right: 12px;
    }

    body.landing-context .popular-div-wed .items-normals h5,
    body.landing-context .popular-div-wed .items-normals .feature-title {
        white-space: nowrap;
        font-size: clamp(12px, 2.4vw + 12px, 15px) !important;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    body.landing-context .popular-div-wed .img-filo {
        width: 52px;
        height: 52px;
        margin-bottom: 12px;
    }

    body.landing-context .popular-div-wed .img-filo i {
        font-size: 22px !important;
    }

    body.landing-context .palninf-wedding .items-webiste {
        padding: 16px 8px !important;
    }

    body.landing-context .palninf-wedding .items-webiste .textru h5 {
        white-space: nowrap;
        font-size: clamp(12px, 2.5vw + 12px, 16px) !important;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 6px;
    }

    body.landing-context .palninf-wedding .items-webiste .textru p {
        font-size: 13px;
        line-height: 1.35;
        margin-top: 4px;
    }

    body.landing-context .palninf-wedding .items-webiste .icon img {
        width: 44px;
    }

    body.landing-context .palninf-wedding .items-webiste .step-number {
        font-size: 13px;
    }

    body.landing-context .choose-partef-gidt .text-middle01 h5,
    body.landing-context .choose-partef-gidt .text-middle01 .plan-card-title {
        white-space: nowrap;
        font-size: clamp(13px, 3vw, 22px) !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 379.98px) {
    body.landing-context .serach-iu .hero-card-title {
        font-size: clamp(22px, 5vw, 32px) !important;
    }

    .hero-banner-title {
        font-size: clamp(26px, 6.2vw, 42px) !important;
    }

    body.landing-context h2.main-head {
        font-size: clamp(13px, 3.4vw, 26px) !important;
    }

    body.landing-context .cta-title.main-head {
        font-size: clamp(12px, 2.65vw, 23px) !important;
    }
}

/* --- CelebraciÃ³n al cargar (pÃ©talos / arroz / confeti) --- */
.landing-celebration {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
    contain: strict;
}

.landing-celebration-piece {
    position: absolute;
    top: -6vh;
    display: block;
    will-change: transform, opacity;
    animation-name: landing-celebration-fall;
    animation-timing-function: cubic-bezier(0.33, 0.55, 0.25, 1);
    animation-fill-mode: forwards;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(var(--scale, 1));
}

@keyframes landing-celebration-fall {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(var(--scale, 1));
        opacity: 0;
    }
    6% {
        opacity: 1;
    }
    100% {
        transform: translate3d(var(--tx, 0px), 118vh, 0) rotate(540deg) scale(var(--scale, 1));
        opacity: 0.88;
    }
}

/* Arroz / grano */
.landing-celebration-piece--rice {
    width: 3px;
    height: 9px;
    border-radius: 40%;
    background: linear-gradient(180deg, #fffef9 0%, #ebe4d4 100%);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.9);
}

/* PÃ©talos */
.landing-celebration-piece--petal {
    width: 10px;
    height: 7px;
    border-radius: 60% 40% 60% 40%;
    background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 45%, #fda4af 100%);
    opacity: 0.95;
}

/* Confeti (marca dorado / navy) â€” variante por data en JS */
.landing-celebration-piece--confetti {
    width: 7px;
    height: 11px;
    border-radius: 1px;
    background: linear-gradient(180deg, #c8a45a, #9a7b3a);
}

.landing-celebration-piece--confetti.landing-celebration-piece--c2 {
    background: linear-gradient(180deg, #1a2b4a, #2d4a7c);
}

.landing-celebration-piece--confetti.landing-celebration-piece--c3 {
    background: linear-gradient(135deg, #fde68a, #c8a45a);
}

@media (prefers-reduced-motion: reduce) {
    .landing-celebration {
        display: none !important;
    }
}

/* === Accesibilidad: contraste AA y touch targets >= 48x48 (Lighthouse) === */
.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.footer-social-link:focus-visible,
.footer-social-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.right-socli a.btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .celebration-item {
        min-height: 76px;
    }
}
/* Reservar espacio para evitar CLS al montar galeria dinamica */
.landing-galeria-mount { min-height: 520px; }
@media (max-width: 768px) { .landing-galeria-mount { min-height: 360px; } }

/* <picture> no debe generar caja extra: el <img> es el unico elemento visual */
picture { display: contents; }

.main-head--sin-capitalize {
    text-transform: none;
    white-space: normal !important;
}

/* Sandy Eventos - Salones Recomendados Mazatlán */
.sandy-eventos-section {
    background: #f8f5f0;
}

.sandy-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.sandy-card-cover {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.sandy-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sandy-card-body {
    padding: 0 28px 32px;
    text-align: center;
}

.sandy-card-logo-wrap {
    position: relative;
    z-index: 2;
    margin-top: -48px;
    margin-bottom: 12px;
}

.sandy-card-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.sandy-card-name {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a1a2e;
}

.sandy-card-info {
    text-align: left;
    display: inline-block;
    font-size: 0.94rem;
    color: #444;
    margin-bottom: 22px;
}

.sandy-card-info li {
    margin-bottom: 8px;
}

.sandy-card-icon {
    color: #8b5e3c;
    width: 18px;
    text-align: center;
    margin-right: 6px;
}

.sandy-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0a558c;
    color: #fff;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 0.97rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.sandy-card-btn:hover,
.sandy-card-btn:focus {
    background: #084869;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .sandy-card-cover {
        height: 160px;
    }

    .sandy-card-body {
        padding: 0 16px 24px;
    }
}
