.elementor-kit-8{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-8 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ============================================
   LOTEO TRES ISLAS - SISTEMA COMPLETO
   Paleta Atardecer Costero
   ============================================ */

/* Resetear estilos de Elementor */
.page-template-elementor_canvas .elementor-section,
.page-template-elementor_canvas .elementor-container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Ancho completo para todas las secciones principales */
.ti-header,
.ti-hero,
.ti-benefits,
.ti-parcelas-section,
.ti-location,
.ti-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
}

:root {
    /* 🌅 PALETA ATARDECER COSTERO */
    --ti-primary: #2C5F8F;
    --ti-primary-dark: #1A3F5F;
    --ti-secondary: #4A9FD8;
    --ti-accent: #FFA161;
    --ti-success: #52B788;
    --ti-warning: #FFB84D;
    --ti-danger: #E76F51;
    --ti-whatsapp: #25D366;
    
    --ti-dark: #1F2937;
    --ti-gray: #6B7280;
    --ti-light-gray: #F3F4F6;
    --ti-white: #FFFFFF;
    
    --shadow-sm: 0 2px 8px rgba(44, 95, 143, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 95, 143, 0.12);
    --shadow-lg: 0 8px 32px rgba(44, 95, 143, 0.16);
    --shadow-hover: 0 12px 40px rgba(44, 95, 143, 0.2);
}

/* ============================================
   HEADER PERSONALIZADO
   ============================================ */

.ti-header {
    background: white;
    box-shadow: 0 2px 12px rgba(44, 95, 143, 0.08);
    position: sticky;
    top: 0;
    z-index: 99999;
    transition: all 0.3s ease;
}

.ti-header.scrolled {
    box-shadow: 0 4px 20px rgba(44, 95, 143, 0.15);
}

.ti-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.ti-header-logo {
    flex-shrink: 0;
    z-index: 10;
}

.ti-header-logo a {
    display: block;
    line-height: 0;
}

.ti-header-logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.ti-header-logo img:hover {
    transform: scale(1.05);
}

/* Navegación Desktop */
.ti-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.ti-nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ti-nav-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ti-nav-menu li::before {
    content: none;
}

.ti-nav-menu a {
    color: var(--ti-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.ti-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--ti-accent);
    transition: transform 0.3s ease;
}

.ti-nav-menu a:hover {
    color: var(--ti-primary);
    background: var(--ti-light-gray);
}

.ti-nav-menu a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.ti-nav-menu .current-menu-item a,
.ti-nav-menu a.active {
    color: var(--ti-primary);
    background: var(--ti-light-gray);
}

.ti-nav-menu .current-menu-item a::after,
.ti-nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Botón WhatsApp en el menú */
.ti-nav-cta {
    margin-left: 1rem;
}

.ti-nav-cta a {
    background: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    white-space: nowrap;
    animation: whatsappPulse 2s infinite;
}

.ti-nav-cta a:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    animation: none;
}

.ti-nav-cta a::after {
    display: none;
}

.ti-whatsapp-icon {
    font-size: 1.2rem;
    line-height: 1;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
    100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3); }
}

/* Botón Menú Móvil */
.ti-menu-toggle {
    display: none;
    background: var(--ti-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    align-items: center;
    gap: 0.5rem;
}

.ti-menu-toggle:hover {
    background: var(--ti-primary-dark);
    transform: translateY(-2px);
}

.ti-hamburger {
    display: inline-block;
    width: 20px;
    height: 14px;
    position: relative;
}

.ti-hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.ti-hamburger span:nth-child(1) { top: 0px; }
.ti-hamburger span:nth-child(2) { top: 6px; }
.ti-hamburger span:nth-child(3) { top: 12px; }

.ti-menu-toggle.active .ti-hamburger span:nth-child(1) {
    top: 6px;
    transform: rotate(135deg);
}

.ti-menu-toggle.active .ti-hamburger span:nth-child(2) {
    opacity: 0;
    left: -20px;
}

.ti-menu-toggle.active .ti-hamburger span:nth-child(3) {
    top: 6px;
    transform: rotate(-135deg);
}

/* ============================================
   HERO SECTION CON IMAGEN DE FONDO
   ============================================ */

.ti-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://loteotresislas.cl/wp-content/uploads/2026/01/20171111_200427.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Efecto parallax en desktop */
@media (min-width: 769px) {
    .ti-hero {
        background-attachment: fixed;
    }
}

/* Overlay MÁS TRANSPARENTE para ver la foto */
.ti-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 63, 95, 0.35) 0%, rgba(44, 95, 143, 0.25) 100%);
    z-index: 1;
}

.ti-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 3rem;
}

/* Logo del loteo en el hero */
.ti-hero-logo {
    max-width: 280px;
    height: auto;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.ti-title-hero {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    text-shadow: 3px 5px 15px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.ti-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.98);
    margin: 1.5rem 0 3rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-shadow: 2px 3px 10px rgba(0, 0, 0, 0.6);
}
/* ============================================
   BOTONES GLOBALES
   ============================================ */

.ti-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ti-btn-primary {
    background: linear-gradient(135deg, #FFA161 0%, #FFB378 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 161, 97, 0.35);
}

.ti-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 161, 97, 0.45);
    background: linear-gradient(135deg, #FFB378 0%, #FFA161 100%);
}

.ti-btn-secondary {
    background: white;
    color: var(--ti-primary);
    box-shadow: var(--shadow-sm);
}

.ti-btn-secondary:hover {
    background: var(--ti-light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   BENEFICIOS
   ============================================ */

.ti-benefits {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, white 0%, #F3F4F6 100%);
}

.ti-benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ti-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.ti-benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.ti-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.ti-benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #4A9FD8, #2C5F8F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.ti-benefit-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ti-primary);
    margin-bottom: 1rem;
}

.ti-benefit-text {
    color: var(--ti-gray);
    line-height: 1.6;
    font-size: 1rem;
}

.ti-title-section {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--ti-primary);
    text-align: center;
    margin-bottom: 1rem;
}

/* ============================================
   UBICACIÓN
   ============================================ */

.ti-location {
    padding: 4rem 2rem;
    background: var(--ti-light-gray);
}

.ti-location-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ti-location-title {
    text-align: center;
    margin-bottom: 2rem;
}

.ti-location-subtitle {
    font-size: 1.8rem;
    color: var(--ti-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ti-location-region {
    color: var(--ti-gray);
    font-size: 1.1rem;
}

.ti-location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ti-location-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.ti-location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.ti-location-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.ti-location-card h4 {
    font-size: 1.2rem;
    color: var(--ti-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.ti-location-card p {
    line-height: 1.8;
    color: var(--ti-gray);
    margin: 0;
}

.ti-location-card p strong {
    color: var(--ti-dark);
}

.ti-map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    height: 450px;
}

.ti-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.ti-map-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   PARCELAS
   ============================================ */

.ti-parcelas-section {
    padding: 4rem 2rem;
    background: white;
}

.ti-parcelas-container {
    max-width: 1400px;
    margin: 0 auto;
}

.ti-parcelas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.ti-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.ti-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--ti-accent);
}

.ti-card-header {
    background: linear-gradient(135deg, #2C5F8F 0%, #4A9FD8 100%);
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.ti-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 6s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.ti-card-rol {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.ti-card-fase {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ti-card-body {
    padding: 1.5rem;
}

.ti-card-info {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ti-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--ti-light-gray);
}

.ti-info-label {
    font-size: 0.875rem;
    color: var(--ti-gray);
    font-weight: 500;
}

.ti-info-value {
    font-weight: 700;
    color: var(--ti-dark);
    font-size: 1rem;
}

.ti-card-precio {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ti-primary);
    text-align: center;
    margin: 1rem 0;
}

.ti-card-precio small {
    font-size: 0.875rem;
    color: var(--ti-gray);
    font-weight: 400;
}

/* Estados (Badges) */
.ti-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ti-badge-disponible {
    background: linear-gradient(135deg, #52B788 0%, #40916C 100%);
    color: white;
}

.ti-badge-reservado {
    background: linear-gradient(135deg, #FFB84D 0%, #FFA94D 100%);
    color: white;
}

.ti-badge-vendido {
    background: linear-gradient(135deg, #E76F51 0%, #D65A46 100%);
    color: white;
}

.ti-btn-card {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    background: var(--ti-primary);
    color: white;
}

.ti-btn-card:hover {
    background: var(--ti-primary-dark);
}

/* ============================================
   MODAL COTIZADOR
   ============================================ */

.ti-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 999999;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.ti-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ti-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ti-modal-header {
    background: linear-gradient(135deg, #2C5F8F 0%, #4A9FD8 100%);
    color: white;
    padding: 2rem;
    position: relative;
}

.ti-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.ti-modal-header p {
    margin: 0.5rem 0 0;
    opacity: 0.9;
    font-size: 1rem;
}

.ti-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ti-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.ti-modal-body {
    padding: 2rem;
}

.ti-parcela-info {
    background: var(--ti-light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.ti-parcela-info h3 {
    margin: 0 0 1rem;
    color: var(--ti-primary);
    font-size: 1.2rem;
}

.ti-parcela-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ti-parcela-info-grid div {
    font-size: 0.95rem;
}

.ti-parcela-info-grid strong {
    display: block;
    color: var(--ti-dark);
    margin-bottom: 0.25rem;
}

.ti-form-group {
    margin-bottom: 1rem;
}

.ti-form-label {
    display: block;
    font-weight: 600;
    color: var(--ti-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.ti-form-input,
.ti-form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--ti-light-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.ti-form-input:focus,
.ti-form-select:focus {
    outline: none;
    border-color: var(--ti-secondary);
    box-shadow: 0 0 0 4px rgba(74, 159, 216, 0.1);
}

.ti-form-input::placeholder {
    color: var(--ti-gray);
    opacity: 0.6;
}

.ti-form-hint {
    font-size: 0.85rem;
    color: var(--ti-gray);
    margin-top: 0.25rem;
    display: block;
}

.ti-cotizador-result {
    background: linear-gradient(135deg, var(--ti-light-gray) 0%, white 100%);
    padding: 1.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--ti-accent);
}

.ti-cotizador-result p {
    text-align: center;
    margin: 0 0 0.5rem;
    color: var(--ti-gray);
    font-size: 0.95rem;
}

.ti-cuota-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ti-primary);
    text-align: center;
    margin: 0.5rem 0;
}

.ti-cuota-info {
    text-align: center;
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: var(--ti-gray);
}

.ti-divider {
    margin: 2rem 0;
    border: none;
    border-top: 2px solid var(--ti-light-gray);
}

/* ============================================
   FOOTER - ACTUALIZADO CON LOGO CENTRADO
   ============================================ */

.ti-footer {
    background: linear-gradient(135deg, #1A3F5F 0%, #2C5F8F 100%);
    color: white;
    padding: 4rem 2rem 2rem;
}

.ti-footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.ti-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ti-footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--ti-accent);
    font-weight: 700;
}

.ti-footer-column p,
.ti-footer-column ul {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.ti-footer-column ul {
    list-style: none;
    padding: 0;
}

.ti-footer-column ul li {
    margin-bottom: 0.75rem;
}

.ti-footer-column a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ti-footer-column a:hover {
    color: var(--ti-accent);
    transform: translateX(5px);
}

.ti-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ti-contact-icon {
    font-size: 1.2rem;
    color: var(--ti-accent);
    margin-top: 0.1rem;
}

/* Footer Bottom - Logo Centrado */
.ti-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    gap: 2rem;
}

/* Logo MagiaTek - Centrado y Grande */
.ti-footer-credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 140px;
}

.ti-footer-credits-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 300;
}

.ti-magiatek-link {
    display: inline-block;
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.ti-magiatek-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ti-accent);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 161, 97, 0.3);
}

.ti-footer-logo {
    height: 80px;
    width: auto;
    display: block;
    filter: brightness(1.1);
    transition: all 0.5s ease;
}

.ti-magiatek-link:hover .ti-footer-logo {
    filter: brightness(1.3) drop-shadow(0 0 20px rgba(255, 161, 97, 0.6));
    transform: scale(1.1);
}

/* Efecto de partículas alrededor del logo */
.ti-magiatek-link::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, 
        rgba(255, 161, 97, 0.2) 0%, 
        transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ti-magiatek-link:hover::before {
    opacity: 1;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}



.ti-magiatek-link:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.ti-footer-copy {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* ============================================
   RESPONSIVE GLOBAL
   ============================================ */

@media (max-width: 992px) {
    .ti-header-container {
        padding: 1rem;
    }
    
    .ti-header-logo img {
        height: 50px;
    }
    
    .ti-menu-toggle {
        display: flex;
    }
    
    .ti-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 8px 24px rgba(44, 95, 143, 0.15);
        padding: 1rem 0;
        animation: slideDown 0.3s ease;
    }
    
    .ti-nav.active {
        display: block;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .ti-nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
    }
    
    .ti-nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--ti-light-gray);
    }
    
    .ti-nav-menu li:last-child {
        border-bottom: none;
    }
    
    .ti-nav-menu a {
        width: 100%;
        padding: 1rem;
        border-radius: 0;
    }
    
    .ti-nav-menu a::after {
        display: none;
    }
    
    .ti-nav-cta {
        margin: 1rem 1rem 0.5rem;
    }
    
    .ti-nav-cta a {
        display: flex;
        justify-content: center;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .ti-hero {
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .ti-title-hero {
        font-size: 2rem;
    }
    
    .ti-hero-content {
        padding: 2rem 1rem;
    }
    
    .ti-benefits,
    .ti-location,
    .ti-parcelas-section {
        padding: 3rem 1rem;
    }
    
    .ti-benefits-grid,
    .ti-location-cards,
    .ti-parcelas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ti-modal-content {
        margin: 1rem;
    }
    
    .ti-modal-body {
        padding: 1.5rem;
    }
    
    .ti-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .ti-location-subtitle {
        font-size: 1.4rem;
    }
    
    .ti-map-container {
        height: 300px;
    }
    
    .ti-parcela-info-grid {
        grid-template-columns: 1fr;
    }
    
    .ti-footer {
        padding: 3rem 1rem 1.5rem;
    }
    
    .ti-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ti-footer-bottom {
        gap: 1.5rem;
    }
    
    .ti-footer-logo {
        height: 70px;
    }
}

@media (max-width: 480px) {
    .ti-header-logo img {
        height: 45px;
    }
    
    .ti-title-hero {
        font-size: 1.75rem;
    }
    
    .ti-hero-subtitle {
        font-size: 1rem;
    }
    
    .ti-card-rol {
        font-size: 1.5rem;
    }
    
    .ti-card-precio {
        font-size: 1.5rem;
    }
    
    .ti-benefit-icon,
    .ti-location-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .ti-cuota-display {
        font-size: 2rem;
    }
    
    .ti-footer-logo {
        height: 60px;
    }
    
    .ti-magiatek-link {
        padding: 1rem;
    }
}

/* ============================================
   UTILIDADES
   ============================================ */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, html {
    overflow-x: hidden;
    max-width: 100vw;
}

.ti-btn:focus,
.ti-form-input:focus,
.ti-form-select:focus,
.ti-modal-close:focus {
    outline: 2px solid var(--ti-secondary);
    outline-offset: 2px;
}

.ti-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ti-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ti-card:nth-child(1) { animation-delay: 0.1s; }
.ti-card:nth-child(2) { animation-delay: 0.2s; }
.ti-card:nth-child(3) { animation-delay: 0.3s; }
.ti-card:nth-child(4) { animation-delay: 0.4s; }
.ti-card:nth-child(5) { animation-delay: 0.5s; }
.ti-card:nth-child(6) { animation-delay: 0.6s; }
.ti-card:nth-child(7) { animation-delay: 0.7s; }
.ti-card:nth-child(8) { animation-delay: 0.8s; }
.ti-card:nth-child(9) { animation-delay: 0.9s; }
.ti-card:nth-child(10) { animation-delay: 1s; }

.ti-modal-content::-webkit-scrollbar {
    width: 8px;
}

.ti-modal-content::-webkit-scrollbar-track {
    background: var(--ti-light-gray);
}

.ti-modal-content::-webkit-scrollbar-thumb {
    background: var(--ti-secondary);
    border-radius: 4px;
}

.ti-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--ti-primary);
}

/* ============================================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================================ */

.ti-whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999998;
    animation: floatPulse 3s ease-in-out infinite;
}

.ti-whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.ti-whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.ti-whatsapp-button:active {
    transform: scale(1.05);
}

.ti-whatsapp-button svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.ti-whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--ti-dark);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.ti-whatsapp-float:hover .ti-whatsapp-tooltip {
    opacity: 1;
    right: 80px;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.ti-whatsapp-button::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.3) 0%, transparent 70%);
    animation: ripple 2s infinite;
    opacity: 0;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .ti-whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .ti-whatsapp-button {
        width: 60px;
        height: 60px;
    }
    
    .ti-whatsapp-button svg {
        width: 32px;
        height: 32px;
    }
    
    .ti-whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .ti-whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .ti-whatsapp-button {
        width: 55px;
        height: 55px;
    }
    
    .ti-whatsapp-button svg {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
    ADICIÓN EXCLUSIVA PARA EL COTIZADOR
    (Ancho completo, Responsive y Grid Llamativo)
   ============================================ */

/* 1. SECCIÓN PRINCIPAL: Fuerza el ancho de borde a borde */
.ti-cotizador-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    padding: 60px 20px;
    background-color: #f9fbfe; /* Fondo suave para resaltar el cotizador */
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

/* 2. CONTENEDOR DEL COTIZADOR: Centrado y con ancho máximo mayor */
.ti-cot-container {
    width: 100%;
    max-width: 1200px; /* Aumentado para que el grid se vea mejor en PC */
    background: var(--ti-white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--ti-light-gray);
    font-family: 'Montserrat', sans-serif;
}

/* Encabezado */
.ti-cot-header-box {
    background: linear-gradient(135deg, var(--ti-primary-dark) 0%, var(--ti-primary) 100%);
    padding: 40px 20px;
    text-align: center;
}

.ti-cot-header-box h2 {
    color: white !important;
    margin: 0 !important;
    font-size: clamp(1.5rem, 4vw, 2.2rem) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.ti-cot-header-box p {
    color: white !important;
    margin: 10px 0 0 !important;
    opacity: 0.9;
    font-size: 1rem;
    letter-spacing: 1px;
}

.ti-cot-body {
    padding: 40px;
}

/* 3. GRID DE PARCELAS: Adaptable y llamativo */
.ti-parcelas-selection-grid {
    display: grid;
    /* Ajuste responsivo automático: mínimo 150px por tarjeta */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); 
    gap: 20px;
    margin-top: 20px;
}

.ti-parcela-card-select {
    background: #fff;
    border: 2px solid var(--ti-light-gray);
    border-radius: 18px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ti-parcela-card-select:hover {
    border-color: var(--ti-secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.ti-parcela-card-select.selected {
    border-color: var(--ti-accent);
    background: #FFF9F5;
    box-shadow: 0 0 20px rgba(255, 161, 97, 0.25);
}

.ti-card-icon { font-size: 2rem; margin-bottom: 10px; }
.ti-parcela-card-select h4 { margin: 5px 0; font-size: 1.1rem; color: var(--ti-primary-dark); font-weight: 700; }
.ti-parcela-card-select p { font-size: 0.85rem; color: var(--ti-gray); margin-bottom: 12px; }
.ti-card-price { font-weight: 800; color: var(--ti-primary); font-size: 1rem; }

/* 4. PANEL DE CONTROL UF */
.ti-uf-control-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: var(--ti-light-gray);
    padding: 15px 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    gap: 15px;
}

.ti-uf-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ti-uf-readonly {
    background: #e2e8f0 !important;
    color: #4a5568 !important;
    width: 130px !important;
    text-align: center;
    font-weight: 700 !important;
    border: 1px solid #cbd5e0 !important;
}

.ti-btn-icon-edit {
    background: var(--ti-primary);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.ti-btn-icon-edit:hover { background: var(--ti-primary-dark); }

/* COTIZADOR ANCHO COMPLETO SIN DESPLAZAMIENTOS */
.ti-cotizador-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #f9fbfe;
    padding: 60px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.ti-cot-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.ti-cot-header {
    background: linear-gradient(135deg, #1A3F5F 0%, #2C5F8F 100%);
    padding: 40px; text-align: center; color: #fff;
}

.ti-cot-header h2 { color: #fff !important; margin: 0; font-size: 2rem; }
.ti-cot-main { padding: 40px; }

/* GRID RESPONSIVE */
.ti-parcela-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px; margin-top: 20px;
}

.ti-parcela-item {
    border: 2px solid #F3F4F6; border-radius: 16px; padding: 20px;
    text-align: center; cursor: pointer; transition: 0.3s;
}

.ti-parcela-item:hover { border-color: #4A9FD8; transform: translateY(-5px); }
.ti-parcela-item.active { border-color: #FFA161; background: #FFF9F5; }

/* BARRA UF */
.ti-uf-bar {
    display: flex; justify-content: space-between; align-items: center;
    background: #F3F4F6; padding: 15px 25px; border-radius: 12px; margin-bottom: 30px;
}

.ti-uf-locked { background: #e5e7eb !important; color: #6b7280 !important; cursor: not-allowed; }

.ti-display-result {
    background: #1A3F5F; color: #fff; padding: 35px; border-radius: 20px;
    text-align: center; margin: 30px 0;
}

.res-big { font-size: 3rem; font-weight: 800; color: #FFA161; }
.res-sub { font-size: 1.5rem; font-weight: 700; color: #FFA161; margin-bottom: 10px; }

/* MOBILE */
@media (max-width: 768px) {
    .ti-cot-main { padding: 20px; }
    .ti-parcela-grid-view { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ti-inputs-grid { grid-template-columns: 1fr; }
    .ti-uf-bar { flex-direction: column; gap: 10px; text-align: center; }
}
}
.ti-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

#ti-conyuge-section {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ti-btn-primary {
    background: var(--ti-primary);
    box-shadow: 0 4px 15px rgba(44, 95, 143, 0.3);
}

.ti-btn-primary:hover {
    background: var(--ti-primary-dark);
    transform: translateY(-2px);
}

.ti-final-msg {
    padding: 60px 20px;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}/* End custom CSS */