/* ─── SECCIÓN COTIZAR PROYECTO ─── */

.cotizar-section {
    position: relative;
    width: 100%;
    height: 300vh;
    background-color: #000000;
}

.cotizar-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 2;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── STARS ─── */
#cotizar-stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ─── LAYOUT PRINCIPAL ─── */
.cotizar-layout {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 0 5rem 0 6rem;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cotizar-layout.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── COLUMNA IZQUIERDA — INFO ─── */
.cotizar-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

/* Tag etapa */
.cotizar-info-col .content-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #8655F6;
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.cotizar-layout.visible .cotizar-info-col .content-tag {
    opacity: 1;
    transform: translateX(0);
}

/* ─── TÍTULO EDITORIAL ─── */
.cotizar-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #F8F9FA;
    margin: 0;
    opacity: 0;
    transform: translateX(-20px);
    clip-path: inset(0 100% 0 0);
    transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s,
                clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s;
}

.cotizar-layout.visible .cotizar-title {
    opacity: 1;
    transform: translateX(0);
    clip-path: inset(0 0% 0 0);
}

.cotizar-title em {
    font-style: italic;
    background: linear-gradient(90deg, #8655F6 0%, #C084FC 40%, #E0AAFF 50%, #C084FC 60%, #8655F6 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 2s ease 0.8s forwards;
}

/* ─── DESCRIPCIÓN ─── */
.cotizar-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.975rem;
    font-weight: 300;
    line-height: 1.8;
    color: #71717A;
    margin: 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.cotizar-layout.visible .cotizar-description {
    opacity: 1;
    transform: translateX(0);
}

/* ─── INFORMACIÓN DE CONTACTO ─── */
.cotizar-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s;
}

.cotizar-layout.visible .cotizar-contact-info {
    opacity: 1;
    transform: translateX(0);
}

.cotizar-contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.cotizar-contact-icon {
    color: #8655F6;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cotizar-contact-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    color: #A1A1AA;
}

/* ─── COLUMNA DERECHA — FORMULARIO ─── */
.cotizar-form-col {
    display: flex;
    flex-direction: column;
}

/* ─── GLASS PANEL ─── */
.cotizar-glass-panel {
    background: rgba(18, 16, 26, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(248, 249, 250, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow:
        0 0 40px rgba(134, 85, 246, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateX(20px) scale(0.96);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.cotizar-layout.visible .cotizar-glass-panel {
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: glassGlow 3s ease 1.2s 1;
}

@keyframes titleShimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@keyframes glassGlow {
    0%   { border-color: rgba(248, 249, 250, 0.1); }
    50%  { border-color: rgba(134, 85, 246, 0.35); box-shadow: 0 0 40px rgba(134, 85, 246, 0.15); }
    100% { border-color: rgba(248, 249, 250, 0.1); }
}

/* ─── FORMULARIO ─── */
.cotizar-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ─── CAMPO BASE ─── */
.cotizar-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.cotizar-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease;
}

.cotizar-field:focus-within .cotizar-label {
    color: rgba(134, 85, 246, 0.9);
}

.cotizar-input,
.cotizar-textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #F8F9FA;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    padding: 0.6rem 0;
    outline: none;
    width: 100%;
    transition: border-color 0.3s ease;
    position: relative;
}

.cotizar-input::placeholder,
.cotizar-textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* ─── AUTOFILL — quitar fondo blanco del browser ─── */
.cotizar-input:-webkit-autofill,
.cotizar-input:-webkit-autofill:hover,
.cotizar-input:-webkit-autofill:focus,
.cotizar-textarea:-webkit-autofill,
.cotizar-phone-input:-webkit-autofill,
.cotizar-phone-input:-webkit-autofill:hover,
.cotizar-phone-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgb(10, 8, 18) inset !important;
    -webkit-text-fill-color: #F8F9FA !important;
    caret-color: #F8F9FA;
    transition: background-color 9999s ease-in-out 0s;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.cotizar-textarea {
    resize: none;
    min-height: 80px;
    line-height: 1.6;
}

/* Línea animada al focus */
.cotizar-field::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #8655F6;
    transition: width 0.5s ease;
}

.cotizar-field:focus-within::after {
    width: 100%;
}

/* ─── ESTADOS DE VALIDACIÓN ─── */
.cotizar-field.field-error .cotizar-input,
.cotizar-field.field-error .cotizar-textarea {
    border-bottom-color: rgba(210, 85, 105, 0.55);
}

.cotizar-field.field-error::after {
    width: 100%;
    background: rgba(210, 85, 105, 0.5);
}

.cotizar-field.field-valid .cotizar-input,
.cotizar-field.field-valid .cotizar-textarea {
    border-bottom-color: rgba(74, 222, 128, 0.4);
}

.cotizar-field.field-valid::after {
    width: 100%;
    background: rgba(74, 222, 128, 0.35);
}

/* ─── MENSAJE DE ERROR ─── */
.cotizar-error-msg {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.68rem;
    color: rgba(210, 90, 110, 0.75);
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.cotizar-field.field-error .cotizar-error-msg {
    opacity: 1;
    transform: translateY(0);
}

/* ─── CONTADOR DE CARACTERES ─── */
.cotizar-char-counter {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: right;
    position: absolute;
    right: 0;
    bottom: -1.2rem;
}

/* ─── ANIMACIÓN SHAKE ─── */
@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-2px); }
    40%       { transform: translateX(2px); }
    60%       { transform: translateX(-2px); }
    80%       { transform: translateX(2px); }
}

.cotizar-field.field-shake {
    animation: fieldShake 0.4s ease;
}

/* ─── FILA 2 COLUMNAS — NOMBRE + EMAIL ─── */
.cotizar-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ─── TELÉFONO CON SELECTOR DE PAÍS ─── */
.cotizar-phone-wrap {
    display: flex;
    gap: 0;
    align-items: flex-end;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0;
    position: relative;
}

.cotizar-phone-wrap::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: #8655F6;
    transition: width 0.5s ease;
}

.cotizar-phone-wrap:focus-within::after {
    width: 100%;
}

/* Quitar la línea del campo de teléfono interno (lo maneja el wrap) */
.cotizar-field--phone::after {
    display: none;
}

.cotizar-country-selector {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem 0.6rem 0;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    margin-right: 0.75rem;
    white-space: nowrap;
    color: #F8F9FA;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    user-select: none;
    flex-shrink: 0;
}

.cotizar-country-selector:hover {
    color: #C084FC;
}

.cotizar-flag-emoji {
    font-size: 1.1rem;
    line-height: 1;
    display: inline-block;
    flex-shrink: 0;
}

.cotizar-country-code {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    color: #A1A1AA;
}

.cotizar-country-arrow {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.cotizar-country-selector.open .cotizar-country-arrow {
    transform: rotate(180deg);
}

.cotizar-phone-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #F8F9FA;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    padding: 0.6rem 0;
}

.cotizar-phone-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* ─── DROPDOWN DE PAÍSES ─── */
.cotizar-countries-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 260px;
    background: rgba(12, 10, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(134, 85, 246, 0.2);
    border-radius: 0.875rem;
    overflow: hidden;
    z-index: 500;
    max-height: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.cotizar-countries-dropdown.open {
    max-height: 300px;
    opacity: 1;
    pointer-events: all;
}

.cotizar-country-search {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #F8F9FA;
    font-size: 0.8rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
}

.cotizar-country-search::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.cotizar-countries-list {
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(134, 85, 246, 0.3) transparent;
}

.cotizar-countries-list::-webkit-scrollbar {
    width: 4px;
}

.cotizar-countries-list::-webkit-scrollbar-track {
    background: transparent;
}

.cotizar-countries-list::-webkit-scrollbar-thumb {
    background: rgba(134, 85, 246, 0.3);
    border-radius: 2px;
}

.cotizar-country-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #A1A1AA;
    font-size: 0.82rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.cotizar-country-item:hover {
    background: rgba(134, 85, 246, 0.1);
    color: #F8F9FA;
}

.cotizar-country-item.selected {
    background: rgba(134, 85, 246, 0.08);
    color: #C084FC;
}

.cotizar-country-item .cotizar-flag-emoji {
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.cotizar-country-item-name {
    flex: 1;
}

.cotizar-country-item-code {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* ─── CHECKBOX T&C ─── */
.cotizar-tc-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.cotizar-tc-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(134, 85, 246, 0.4);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.cotizar-tc-checkbox:checked {
    background: #8655F6;
    border-color: #8655F6;
    box-shadow: 0 0 12px rgba(134, 85, 246, 0.4);
}

.cotizar-tc-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: checkPulse 0.3s ease;
}

@keyframes checkPulse {
    0%   { opacity: 0; transform: rotate(45deg) scale(0.5); }
    100% { opacity: 1; transform: rotate(45deg) scale(1); }
}

.cotizar-tc-checkbox.tc-error {
    border-color: #FF4D6A;
    box-shadow: 0 0 8px rgba(255, 77, 106, 0.4);
    animation: fieldShake 0.4s ease;
}

.cotizar-tc-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    color: #71717A;
    line-height: 1.6;
}

.cotizar-tc-link {
    color: #8655F6;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cotizar-tc-link:hover {
    color: #C084FC;
}

/* ─── BOTÓN SUBMIT ─── */
.cotizar-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8655F6 0%, #6d28d9 100%);
    border: none;
    border-radius: 3rem;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    margin-top: 0.5rem;
}

.cotizar-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(134, 85, 246, 0.5);
}

.cotizar-submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Shimmer sweep igual que fundador-cta */
.cotizar-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: ctaShimmer 3.5s ease-in-out infinite;
}

@keyframes ctaShimmer {
    0%        { transform: translateX(-100%); }
    50%, 100% { transform: translateX(100%); }
}

/* ─── ESTADO DE ÉXITO ─── */
.cotizar-success-panel {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
}

.cotizar-success-panel.visible {
    display: flex;
}

.cotizar-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.1);
    border: 2px solid #4ADE80;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cotizar-success-icon svg {
    stroke: #4ADE80;
}

.cotizar-success-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #F8F9FA;
    font-weight: 600;
}

.cotizar-success-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    color: #71717A;
    line-height: 1.6;
}

.cotizar-success-reset {
    background: transparent;
    border: 1px solid rgba(134, 85, 246, 0.4);
    border-radius: 3rem;
    color: #C084FC;
    padding: 0.625rem 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.cotizar-success-reset:hover {
    border-color: #8655F6;
    color: #F8F9FA;
}

@keyframes successCheckDraw {
    to { stroke-dashoffset: 0; }
}

/* ─── MODAL T&C ─── */
.tc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.tc-modal-overlay.open {
    display: flex;
}

.tc-modal-panel {
    background: rgba(12, 10, 20, 0.97);
    border: 1px solid rgba(134, 85, 246, 0.2);
    border-radius: 1.5rem;
    width: 100%;
    max-width: 620px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalEnter 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalEnter {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.tc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.tc-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #F8F9FA;
    font-weight: 600;
}

.tc-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0.25rem;
}

.tc-modal-close:hover {
    color: #F8F9FA;
}

.tc-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(134, 85, 246, 0.3) transparent;
}

.tc-modal-body::-webkit-scrollbar {
    width: 4px;
}

.tc-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.tc-modal-body::-webkit-scrollbar-thumb {
    background: rgba(134, 85, 246, 0.3);
    border-radius: 2px;
}

.tc-modal-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #C084FC;
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

.tc-modal-body h2:first-child {
    margin-top: 0;
}

.tc-modal-body p,
.tc-modal-body li {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    color: #A1A1AA;
    line-height: 1.8;
}

.tc-modal-body ul {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
}

.tc-modal-body strong {
    color: #E4E4E7;
    font-weight: 500;
}

.tc-modal-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.tc-modal-accept {
    width: 100%;
    padding: 0.875rem;
    background: #8655F6;
    border: none;
    border-radius: 3rem;
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.tc-modal-accept:hover {
    background: #9b6ff8;
    box-shadow: 0 4px 20px rgba(134, 85, 246, 0.4);
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
#main-footer {
    background: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
    padding: 4rem 5rem 2rem;
    z-index: 10;
}

#main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8655F6 50%, transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: #F8F9FA;
    margin-bottom: 0.5rem;
}

.footer-brand-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #8655F6;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.footer-brand-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    color: #52525B;
    line-height: 1.6;
    max-width: 220px;
}

.footer-info {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-info .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

.footer-info-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #52525B;
}

.footer-info-link {
    color: #71717A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info-link:hover {
    color: #8655F6;
}

.footer-info-sep {
    color: #3F3F46;
    margin: 0 0.1rem;
}

.footer-col-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a,
.footer-links li button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    color: #71717A;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
    text-align: left;
}

.footer-links li a:hover,
.footer-links li button:hover {
    color: #C084FC;
}

.footer-contact-item {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    color: #71717A;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 2.5rem auto 1.5rem;
    max-width: 1200px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copy {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.65rem;
    color: #3F3F46;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a,
.footer-legal-links button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.65rem;
    color: #3F3F46;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover {
    color: #71717A;
}

/* ─── ELEMENTOS SOLO MOBILE — ocultos en desktop ─── */
.footer-mobile-nav,
.footer-mobile-social {
    display: none;
}

/* ─── REDES SOCIALES ─── */
.footer-social-links {
    gap: 0.9rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #71717A;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: #C084FC;
}

.footer-social-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

/* ══════════════════════════════════════════════════
   NAVEGACIÓN — IDÉNTICA A FUNDADOR-NAV
══════════════════════════════════════════════════ */
.cotizar-nav {
    position: absolute;
    left: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    width: fit-content;
}

.cotizar-nav.visible {
    opacity: 1;
    pointer-events: all;
}

.cotizar-nav .nav-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: flex-start;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cotizar-nav .nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: rgba(180, 180, 180, 0.35);
    position: relative;
    z-index: 1;
}

.cotizar-nav .nav-item.active .nav-dot {
    background: #8655F6;
    box-shadow: 0 0 10px rgba(134, 85, 246, 0.7);
    transform: scale(1.25);
}

.cotizar-nav .nav-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    color: rgba(255, 255, 255, 1);
    user-select: none;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-width 0.5s ease;
    pointer-events: none;
    text-shadow:
        0 0 8px rgba(134, 85, 246, 1),
        0 0 20px rgba(134, 85, 246, 0.8),
        0 0 40px rgba(134, 85, 246, 0.4),
        0 2px 4px rgba(0, 0, 0, 1);
}

.cotizar-nav .nav-item.active .nav-label {
    color: #E0AAFF;
}

.cotizar-nav:hover .nav-label {
    opacity: 1;
    max-width: 200px;
}

.cotizar-nav:hover .nav-item:hover .nav-label {
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(192, 132, 252, 1),
        0 0 20px rgba(192, 132, 252, 0.9),
        0 0 40px rgba(192, 132, 252, 0.5),
        0 2px 4px rgba(0, 0, 0, 1);
}

.cotizar-nav:hover .nav-item:hover .nav-dot {
    background: #8655F6;
    box-shadow: 0 0 16px rgba(134, 85, 246, 1);
    transform: scale(1.3);
}

.cotizar-nav .nav-item.clickable {
    cursor: pointer;
}

/* ─── SCROLL INDICATOR — centrado en pantalla ─── */
.cotizar-section .scroll-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 30;
    opacity: 1;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.cotizar-section .scroll-indicator.hide-mouse .scroll-mouse-icon {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Mouse icon al centro */
.cotizar-section .scroll-indicator .scroll-mouse-icon {
    position: static;
    width: 26px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    transition: opacity 0.6s ease, height 0.6s ease, padding 0.6s ease;
}

.cotizar-section .scroll-mouse-wheel {
    width: 3px;
    height: 7px;
    background: #C084FC;
    border-radius: 2px;
    animation: scrollWheelCotizar 1.8s ease-in-out infinite;
}

@keyframes scrollWheelCotizar {
    0%   { transform: translateY(0);   opacity: 1; }
    60%  { transform: translateY(8px); opacity: 0.3; }
    100% { transform: translateY(0);   opacity: 1; }
}

.cotizar-section .scroll-text {
    display: none;
}

.cotizar-section .scroll-line {
    display: none;
}

/* ══════════════════════════════════════════════════
   TABLET — ≤ 1024px
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cotizar-layout {
        grid-template-columns: 1fr;
        padding: 2rem 3rem;
        gap: 2rem;
        align-items: flex-start;
        max-height: 90vh;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .cotizar-layout::-webkit-scrollbar {
        display: none;
    }

    .cotizar-title {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }

    .cotizar-nav {
        left: 1.5rem;
        gap: 1.1rem;
    }

    .cotizar-glass-panel {
        padding: 2rem;
    }
}

/* ══════════════════════════════════════════════════
   TABLET NAV — ≤ 1024px
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cotizar-nav {
        left: 50%;
        top: 1.5rem;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 1.25rem;
    }

    .cotizar-nav .nav-item {
        flex-direction: column;
        gap: 0.4rem;
    }

    .cotizar-nav .nav-label {
        font-size: 0.5rem;
        opacity: 0;
    }

    .cotizar-nav.visible .nav-label {
        opacity: 1;
        max-width: 100px;
    }

    .cotizar-nav .nav-dot {
        width: 7px;
        height: 7px;
    }
}

/* ══════════════════════════════════════════════════
   MOBILE — ≤ 768px
══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Sticky pattern off — scroll natural con la página */
    .cotizar-section {
        height: auto;
        min-height: 100vh;
    }

    .cotizar-sticky-wrapper {
        position: relative;
        height: auto;
        overflow: visible;
        display: block;
        padding: 5rem 0 3rem;
    }

    .cotizar-layout {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 1.75rem;
        align-items: flex-start;
        max-height: none;
        overflow-y: visible;
    }

    .cotizar-glass-panel {
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        padding: 1.5rem;
    }

    /* Mejor legibilidad en móvil */
    .cotizar-label {
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.5);
    }

    .cotizar-input,
    .cotizar-textarea,
    .cotizar-phone-input {
        font-size: 1rem;
        color: #F8F9FA;
    }

    .cotizar-input::placeholder,
    .cotizar-textarea::placeholder,
    .cotizar-phone-input::placeholder {
        color: rgba(255, 255, 255, 0.3);
    }

    .cotizar-row-2 {
        grid-template-columns: 1fr;
    }

    /* Ocultar info de contacto en móvil */
    .cotizar-contact-info {
        display: none;
    }

    .cotizar-nav {
        display: none !important;
    }

    /* Scroll indicator en móvil */
    .cotizar-section .scroll-indicator {
        bottom: 1.2rem;
        right: 1.5rem;
        left: auto;
        top: auto;
        width: auto;
        transform: none;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }

    .cotizar-section .scroll-indicator .scroll-mouse-icon {
        position: static;
    }

    .cotizar-section .scroll-line {
        display: none;
    }

    .cotizar-section .scroll-text {
        display: block;
        font-size: 0.5rem;
        letter-spacing: 0.1em;
        text-shadow: none;
        color: rgba(255, 255, 255, 0.35);
        font-weight: 500;
    }

    /* Footer responsive */
    #main-footer {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Ocultar columnas de servicios y redes en mobile — van en versión compacta abajo */
    .footer-grid > .footer-col:not(:first-child) {
        display: none;
    }

    /* Brand centrado */
    .footer-col:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 1.75rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .footer-brand-name {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }

    .footer-brand-tagline {
        font-size: 0.75rem;
        max-width: 200px;
        margin: 0 auto;
        color: #3F3F46;
    }

    .footer-info {
        align-items: center;
        margin-top: 1rem;
        gap: 0.4rem;
    }

    /* Links de navegación mobile — fila compacta debajo del brand */
    .footer-mobile-nav {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        padding: 1.25rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        flex-wrap: wrap;
    }

    .footer-mobile-nav a {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 0.68rem;
        color: #52525B;
        text-decoration: none;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

    .footer-mobile-nav a:hover { color: #C084FC; }

    /* Social icons row */
    .footer-mobile-social {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        padding: 1.25rem 0 0.5rem;
    }

    .footer-mobile-social a {
        color: #3F3F46;
        transition: color 0.3s ease;
    }

    .footer-mobile-social a:hover { color: #8655F6; }

    .footer-mobile-social svg {
        width: 18px;
        height: 18px;
        display: block;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.04);
        margin-top: 0.5rem;
    }

    .footer-copy {
        font-size: 0.6rem;
        color: #27272A;
        text-align: center;
    }

    .footer-legal-links {
        gap: 1rem;
        justify-content: center;
    }

    .footer-legal-links a,
    .footer-legal-links button {
        font-size: 0.6rem;
        color: #27272A;
    }

    .footer-divider {
        display: none;
    }
}

/* ══════════════════════════════════════════════════
   MOBILE PEQUEÑO — ≤ 430px
══════════════════════════════════════════════════ */
@media (max-width: 430px) {
    .cotizar-layout {
        padding: 0 1.25rem;
        gap: 1.5rem;
    }

    .cotizar-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .cotizar-info-col {
        gap: 1.1rem;
    }

    .cotizar-glass-panel {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .cotizar-form {
        gap: 1.25rem;
    }
}

/* ══════════════════════════════════════════════════
   LANDSCAPE — altura < 500px
══════════════════════════════════════════════════ */
@media (max-height: 500px) and (max-width: 900px) {
    .cotizar-layout {
        grid-template-columns: 1fr 1.4fr;
        padding: 1rem 1.5rem;
        gap: 1.5rem;
        align-items: flex-start;
        max-height: 90vh;
        overflow-y: auto;
    }

    .cotizar-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }

    .cotizar-description {
        display: none;
    }

    .cotizar-info-col {
        gap: 0.875rem;
    }

    .cotizar-glass-panel {
        padding: 1.25rem;
    }

    .cotizar-form {
        gap: 1rem;
    }

    .cotizar-textarea {
        min-height: 52px;
        rows: 2;
    }

    .cotizar-row-2 {
        gap: 1rem;
    }
}

/* ══════════════════════════════════════════════════
   FOOTER — ≤ 480px (ya manejado en ≤ 768px)
══════════════════════════════════════════════════ */
