@charset "UTF-8";
/* ==========================================================================
   lafabricadepegatinas v.2027 — CONTACTO
   Archivo: css/contacto.css
   Autor:   pacocaetano | lafabricadepegatinas.com
   Versión: 2027.1
   ========================================================================== */


/* ==========================================================================
   01. HERO
   ========================================================================== */

.ct-hero {
    padding: calc(52px + var(--lfdp-space-xxl)) 0 var(--lfdp-space-lg);
    text-align: center;
    background: var(--lfdp-bg);
    position: relative;
    overflow: hidden;
}

.ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lfdp-hero-glow);
    pointer-events: none;
}

.ct-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lfdp-accent);
    margin-bottom: var(--lfdp-space-sm);
}

.ct-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--lfdp-txt);
    line-height: 1.1;
    margin-bottom: var(--lfdp-space-sm);
}

.ct-hero__title span {
    background: var(--lfdp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ct-hero__sub {
    font-size: 1.05rem;
    color: var(--lfdp-txt3);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}


/* ==========================================================================
   02. FORMULARIO — LAYOUT
   ========================================================================== */

.ct-section {
    max-width: 680px;
    margin: 0 auto;
    padding: var(--lfdp-space-lg) var(--lfdp-space-md) var(--lfdp-space-xl);
}

.ct-card {
    background: var(--lfdp-bg2);
    border: 1.5px solid var(--lfdp-border);
    border-radius: var(--lfdp-radius-lg);
    padding: 36px 32px;
    box-shadow: var(--lfdp-card-shadow);
}

.ct-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ct-field-full { grid-column: 1 / -1; }


/* ==========================================================================
   03. CAMPOS
   ========================================================================== */

.ct-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lfdp-txt);
    margin-bottom: 6px;
}

.ct-field label .ct-required {
    color: var(--lfdp-accent);
    margin-left: 2px;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--lfdp-border2);
    border-radius: var(--lfdp-radius-sm);
    background: var(--lfdp-bg);
    font-family: var(--lfdp-font);
    font-size: 0.9rem;
    color: var(--lfdp-txt);
    outline: none;
    transition: border-color var(--lfdp-transition), box-shadow var(--lfdp-transition);
    box-sizing: border-box;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: var(--lfdp-txt4);
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-color: var(--lfdp-accent);
    box-shadow: 0 0 0 3px rgba(153,51,153,0.12);
}

.ct-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.ct-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* Honeypot */
.ct-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}


/* ==========================================================================
   04. WHATSAPP TOGGLE
   ========================================================================== */

.ct-whatsapp-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.ct-wa-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--lfdp-radius-sm);
    border: 1.5px solid var(--lfdp-border2);
    background: var(--lfdp-bg);
    cursor: pointer;
    transition: all var(--lfdp-transition);
    user-select: none;
}

.ct-wa-toggle:hover {
    border-color: #25D366;
    background: rgba(37,211,102,0.04);
}

.ct-wa-toggle.is-active {
    border-color: #25D366;
    background: rgba(37,211,102,0.08);
}

.ct-wa-toggle__icon {
    font-size: 1.1rem;
    color: #25D366;
    flex-shrink: 0;
}

.ct-wa-toggle__label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--lfdp-txt3);
    line-height: 1.3;
}

.ct-wa-toggle.is-active .ct-wa-toggle__label {
    color: var(--lfdp-txt);
}

/* Switch visual */
.ct-wa-switch {
    width: 38px;
    height: 22px;
    border-radius: 11px;
    background: var(--lfdp-border2);
    position: relative;
    flex-shrink: 0;
    transition: background var(--lfdp-transition);
    margin-left: auto;
}

.ct-wa-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform var(--lfdp-transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.ct-wa-toggle.is-active .ct-wa-switch {
    background: #25D366;
}

.ct-wa-toggle.is-active .ct-wa-switch::after {
    transform: translateX(16px);
}


/* ==========================================================================
   05. CHECKBOX LEGAL
   ========================================================================== */

.ct-legal {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--lfdp-txt3);
    line-height: 1.5;
}

.ct-legal input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--lfdp-accent);
    cursor: pointer;
}

.ct-legal a {
    color: var(--lfdp-accent);
    text-underline-offset: 2px;
}


/* ==========================================================================
   06. BOTONES
   ========================================================================== */

.ct-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--lfdp-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--lfdp-font);
    cursor: pointer;
    border: none;
    transition: all var(--lfdp-transition);
    text-decoration: none;
    flex: 1;
    min-width: 200px;
}

.ct-btn--primary {
    background: var(--lfdp-gradient);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(153,51,153,0.28);
}

.ct-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(153,51,153,0.38);
}

.ct-btn--whatsapp {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37,211,102,0.28);
}

.ct-btn--whatsapp:hover {
    background: #1fbd5a;
    transform: translateY(-2px);
}

.ct-note {
    font-size: 0.82rem;
    color: var(--lfdp-txt4);
    text-align: center;
    margin-top: 14px;
    line-height: 1.6;
}

.ct-note a {
    color: var(--lfdp-accent);
    text-underline-offset: 2px;
}


/* ==========================================================================
   07. MENSAJES DE ESTADO
   ========================================================================== */

.ct-status {
    padding: 16px 20px;
    border-radius: var(--lfdp-radius-md);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--lfdp-space-md);
}

.ct-status--ok {
    background: rgba(37,211,102,0.08);
    border: 1.5px solid rgba(37,211,102,0.3);
    color: #1a7a3a;
}

.ct-status--error {
    background: rgba(220,53,69,0.08);
    border: 1.5px solid rgba(220,53,69,0.3);
    color: #b91c1c;
}


/* ==========================================================================
   08. MODAL WHATSAPP
   ========================================================================== */

.ct-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: var(--lfdp-space-md);
}

.ct-modal.is-open { display: flex; }

.ct-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: ct-fade-in 0.22s ease;
}

.ct-modal__box {
    position: relative;
    z-index: 1;
    background: var(--lfdp-bg2);
    border-radius: var(--lfdp-radius-lg);
    box-shadow: 0 24px 80px rgba(0,0,0,0.28);
    max-width: 480px;
    width: 100%;
    padding: 36px 32px 28px;
    animation: ct-slide-up 0.28s cubic-bezier(0.34,1.56,0.64,1);
    max-height: 85vh;
    overflow-y: auto;
}

.ct-modal__box--wide {
    max-width: 720px;
    padding: 28px 24px 16px;
    display: flex;
    flex-direction: column;
}

.ct-modal__iframe {
    width: 100%;
    flex: 1;
    min-height: 60vh;
    border: none;
    border-radius: var(--lfdp-radius-sm);
    margin-top: 12px;
}

.ct-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--lfdp-bg3);
    color: var(--lfdp-txt3);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--lfdp-transition);
    font-family: var(--lfdp-font);
}

.ct-modal__close:hover {
    background: var(--lfdp-bg4);
    color: var(--lfdp-txt);
}

.ct-modal__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
    background: rgba(37,211,102,0.1);
    color: #25D366;
}

.ct-modal__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lfdp-txt);
    margin-bottom: 14px;
    line-height: 1.2;
}

.ct-modal__body {
    font-size: 0.88rem;
    color: var(--lfdp-txt2);
    line-height: 1.75;
}

.ct-modal__body strong { color: var(--lfdp-txt); }

.ct-modal__body ul {
    margin: 10px 0 10px 16px;
    padding: 0;
}

.ct-modal__body ul li {
    margin-bottom: 6px;
}

.ct-modal__body .ct-modal__note {
    font-size: 0.82rem;
    color: var(--lfdp-txt3);
    font-style: italic;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--lfdp-border);
}

.ct-modal__divider {
    width: 100%;
    height: 1px;
    background: var(--lfdp-border);
    margin: 20px 0 18px;
}

.ct-modal__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ct-modal__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: var(--lfdp-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--lfdp-font);
    cursor: pointer;
    border: none;
    transition: all var(--lfdp-transition);
    text-decoration: none;
}

.ct-modal__btn--cancel {
    background: var(--lfdp-bg3);
    color: var(--lfdp-txt3);
}

.ct-modal__btn--cancel:hover {
    background: var(--lfdp-bg4);
    color: var(--lfdp-txt);
}

.ct-modal__btn--accept {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37,211,102,0.28);
}

.ct-modal__btn--accept:hover {
    background: #1fbd5a;
    transform: translateY(-2px);
}

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

@keyframes ct-slide-up {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}


/* ==========================================================================
   09. RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .ct-hero {
        padding: calc(52px + var(--lfdp-space-lg)) var(--lfdp-space-sm) var(--lfdp-space-md);
    }

    .ct-form {
        grid-template-columns: 1fr;
    }

    .ct-card {
        padding: 24px 18px;
    }

    .ct-actions {
        flex-direction: column;
    }

    .ct-btn {
        width: 100%;
        min-width: unset;
    }

    .ct-modal__box {
        padding: 28px 20px 22px;
    }

    .ct-modal__actions {
        flex-direction: column;
    }

    .ct-modal__btn {
        width: 100%;
        justify-content: center;
    }
}
