/**
 * Koinos Elementor Widgets — Shared Styles
 */

/* ==========================================================================
   TIMELINE / CRONOGRAMA
   ========================================================================== */

.k-timeline { padding: 40px 20px; }

.k-timeline__section-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 32px;
    font-weight: 600;
}

/* Vertical style */
.k-timeline__track {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.k-timeline__line {
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #7c3aed;
}

.k-timeline__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0 14px 56px;
    position: relative;
}

.k-timeline__dot {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #7c3aed;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #7c3aed;
    flex-shrink: 0;
}

.k-timeline__icon {
    color: #7c3aed;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.k-timeline__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.k-timeline__time {
    font-size: 1.1rem;
    font-weight: 700;
    color: #7c3aed;
    letter-spacing: 1px;
}

.k-timeline__name {
    font-size: 1rem;
    font-weight: 500;
}

/* Cards style */
.k-timeline__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.k-timeline__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    min-width: 120px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    text-align: center;
}

.k-timeline__card .k-timeline__time {
    font-size: 1rem;
}

.k-timeline__card .k-timeline__name {
    font-size: 0.85rem;
}

/* ==========================================================================
   GIFT / REGALOS
   ========================================================================== */

.k-gift { padding: 40px 20px; }

.k-gift__title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.k-gift__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.k-gift__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

.k-gift__item-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.k-gift__item-desc {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 4px;
}

.k-gift__item-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4b5563;
}

.k-gift__btn {
    display: inline-block;
    background-color: #7c3aed;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s;
}

.k-gift__btn:hover { opacity: .85; color: #fff; }

.k-gift__bank {
    max-width: 500px;
    margin: 0 auto;
    background: #f9fafb;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e5e7eb;
}

.k-gift__bank-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px;
}

.k-gift__cbu-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.k-gift__cbu-value {
    font-family: monospace;
    font-size: 0.95rem;
    background: #e9d5ff;
    padding: 4px 10px;
    border-radius: 6px;
}

.k-gift__copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #7c3aed;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .2s;
}

.k-gift__copy-btn:hover { background: #ede9fe; }

.k-gift__extra {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* ==========================================================================
   INTRO / APERTURA
   ========================================================================== */

.k-intro__fullscreen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background-color: #1e1b4b;
}

.k-intro__text {
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    padding: 0 24px;
    max-width: 400px;
}

.k-intro__btn {
    background-color: #7c3aed;
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .5px;
    transition: transform .15s, opacity .15s;
}

.k-intro__btn:hover { transform: scale(1.04); opacity: .9; }

/* Envelope animation */
.k-intro__envelope {
    perspective: 800px;
    margin-bottom: 8px;
}

.k-intro__envelope-body {
    position: relative;
    width: 160px;
    height: 110px;
}

.k-intro__envelope-front {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.k-intro__envelope-flap {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 60px;
    background: #ede9fe;
    clip-path: polygon(0 0, 50% 55%, 100% 0);
    transform-origin: top center;
    transition: transform .6s ease;
    z-index: 1;
}

.k-intro__envelope-seal {
    font-size: 2rem;
}

.k-intro--sobre .k-intro__envelope-flap {
    animation: envelope-open .8s .4s ease forwards;
}

@keyframes envelope-open {
    0%   { transform: rotateX(0deg); }
    100% { transform: rotateX(-180deg); }
}

/* Fade in */
.k-intro--fade {
    animation: k-fade-in .6s ease;
}

/* Slide up */
.k-intro--slide {
    animation: k-slide-up .5s ease;
}

@keyframes k-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes k-slide-up {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

/* Closing transition */
.k-intro__fullscreen.k-intro--closing {
    animation: k-fade-out .4s ease forwards;
}

@keyframes k-fade-out {
    from { opacity: 1; }
    to   { opacity: 0; pointer-events: none; }
}

/* ==========================================================================
   DRESS CODE VISUAL
   ========================================================================== */

.k-dresscode { padding: 32px 20px; text-align: center; }

.k-dresscode__title {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 8px;
}

.k-dresscode__label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.k-dresscode__swatches {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.k-dresscode__swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #6b7280;
}

.k-dresscode__swatch-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid rgba(0,0,0,.08);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.k-dresscode__restrictions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.k-dresscode__badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
}

.k-dresscode__instructions {
    margin-top: 14px;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}
