/* ==========================================================================
   PUENTE COMUNAL - ONE PAGE MARKETING DESIGN SYSTEM
   Plataforma Territorial Inteligente, App Ciudadana y Agenda de Licencias
   ========================================================================== */

:root {
    --lp-primary: #0284c7;
    --lp-primary-hover: #0369a1;
    --lp-primary-subtle: rgba(2, 132, 199, 0.12);
    --lp-secondary: #0ea5e9;
    --lp-accent: #10b981;
    --lp-accent-subtle: rgba(16, 185, 129, 0.12);
    --lp-dark-bg: #0b132b;
    --lp-dark-surface: #1c2541;
    --lp-dark-card: #202c4f;
    --lp-text-dark: #0f172a;
    --lp-text-muted: #64748b;
    --lp-text-light: #f8fafc;
    --lp-bg-light: #f8fafc;
    --lp-border-subtle: #e2e8f0;
    --lp-glass-bg: rgba(255, 255, 255, 0.85);
    --lp-glass-dark: rgba(15, 23, 42, 0.85);
    --lp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --lp-shadow-md: 0 10px 25px -5px rgba(2, 132, 199, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --lp-shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.18);
    --lp-radius-sm: 8px;
    --lp-radius-md: 14px;
    --lp-radius-lg: 20px;
    --lp-radius-full: 9999px;
    --lp-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
.onepage-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--lp-text-dark);
    background-color: var(--lp-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.onepage-wrapper * {
    box-sizing: border-box;
}

.onepage-wrapper h1,
.onepage-wrapper h2,
.onepage-wrapper h3,
.onepage-wrapper h4 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    margin: 0;
}

/* CONTAINER */
.lp-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.lp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--lp-glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--lp-transition);
}

.lp-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.lp-logo-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    transition: var(--lp-transition);
}

.lp-logo-link:hover .lp-logo-icon {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.18);
}

.lp-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(2, 132, 199, 0.16);
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
    padding: 3px;
    overflow: hidden;
    transition: var(--lp-transition);
}

.lp-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lp-logo-text {
    display: flex;
    flex-direction: column;
}

.lp-logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lp-text-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.lp-logo-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--lp-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-nav-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--lp-transition);
    position: relative;
}

.lp-nav-links a:hover {
    color: var(--lp-primary);
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.lp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lp-primary);
    background: var(--lp-primary-subtle);
    border: 1px solid rgba(2, 132, 199, 0.25);
    border-radius: var(--lp-radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: var(--lp-transition);
}

.lp-btn-outline:hover {
    background: var(--lp-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--lp-primary), #0284c7);
    border: none;
    border-radius: var(--lp-radius-full);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
    transition: var(--lp-transition);
}

.lp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.lp-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--lp-text-dark);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.lp-hero {
    position: relative;
    padding-top: 130px;
    padding-bottom: 90px;
    background: radial-gradient(circle at 50% 10%, #f0f9ff 0%, #ffffff 80%);
    overflow: hidden;
}

.lp-hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.lp-shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.lp-shape-2 {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.lp-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.lp-badge-compliance {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: var(--lp-radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lp-primary);
    margin-bottom: 1.25rem;
}

.lp-hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.12;
    color: #0b132b;
    margin-bottom: 1.25rem;
}

.lp-gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--lp-text-muted);
    margin-bottom: 2rem;
    max-width: 580px;
}

.lp-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.lp-btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--lp-radius-full);
    text-decoration: none;
    transition: var(--lp-transition);
}

.lp-btn-cta-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.lp-trust-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
}

.lp-trust-icon {
    font-size: 1rem;
}

/* ==========================================================================
   HERO INTERACTIVE MOCKUP SHOWCASE (DUAL DESKTOP & MOBILE)
   ========================================================================== */
.lp-hero-visual {
    position: relative;
}

.lp-mockup-stack {
    position: relative;
    width: 100%;
}

/* Desktop Mockup Frame */
.lp-mockup-laptop {
    background: #ffffff;
    border-radius: var(--lp-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    border: 1px solid #cbd5e1;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.lp-laptop-header {
    background: #f1f5f9;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.lp-laptop-dots {
    display: flex;
    gap: 0.35rem;
}

.lp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.lp-dot-red { background: #ef4444; }
.lp-dot-yellow { background: #f59e0b; }
.lp-dot-green { background: #10b981; }

.lp-laptop-address {
    flex: 1;
    background: #ffffff;
    border-radius: 6px;
    padding: 0.2rem 0.75rem;
    font-size: 0.72rem;
    font-family: monospace;
    color: #475569;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.lp-laptop-screen {
    padding: 1.25rem;
    background: #f8fafc;
    min-height: 280px;
}

.lp-mini-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.lp-mini-stat {
    background: #ffffff;
    padding: 0.75rem;
    border-radius: var(--lp-radius-md);
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.lp-mini-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.lp-mini-stat-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0.15rem;
}

.lp-mini-stat-change {
    font-size: 0.65rem;
    font-weight: 700;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.lp-mini-table-card {
    background: #ffffff;
    padding: 0.85rem;
    border-radius: var(--lp-radius-md);
    border: 1px solid #e2e8f0;
}

.lp-mini-table-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.lp-mini-badge {
    background: #dcfce7;
    color: #15803d;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 800;
}

.lp-mini-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.72rem;
}

.lp-mini-row:last-child {
    border-bottom: none;
}

/* Smartphone Floating Mockup Frame */
.lp-mockup-phone {
    position: absolute;
    bottom: -35px;
    right: -25px;
    width: 220px;
    background: #0f172a;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.45);
    border: 3px solid #334155;
    z-index: 3;
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.lp-phone-screen {
    background: #ffffff;
    border-radius: 28px;
    padding: 1rem 0.85rem 0.85rem;
    overflow: hidden;
    position: relative;
}

.lp-phone-notch {
    width: 70px;
    height: 12px;
    background: #0f172a;
    border-radius: 0 0 10px 10px;
    margin: -1rem auto 0.75rem;
}

.lp-phone-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.lp-phone-app-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
}

.lp-phone-sos-btn {
    background: #ef4444;
    color: #ffffff;
    border-radius: 12px;
    padding: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.lp-phone-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem;
    margin-bottom: 0.45rem;
    font-size: 0.68rem;
}

.lp-phone-card-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.lp-phone-card-desc {
    color: #64748b;
    font-size: 0.62rem;
}

/* ==========================================================================
   METRICS & PILLARS SECTION
   ========================================================================== */
.lp-section {
    padding: 85px 0;
}

.lp-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.lp-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: var(--lp-primary-subtle);
    color: var(--lp-primary);
    border-radius: var(--lp-radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
}

.lp-section-title {
    font-size: 2.35rem;
    font-weight: 900;
    color: #0b132b;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.lp-section-desc {
    font-size: 1.05rem;
    color: var(--lp-text-muted);
    line-height: 1.6;
}

/* 4 Core Pillars Grid */
.lp-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .lp-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lp-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.lp-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--lp-radius-lg);
    padding: 2.25rem 1.85rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--lp-transition);
    position: relative;
    overflow: hidden;
}

.lp-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--lp-primary), #10b981);
    opacity: 0;
    transition: var(--lp-transition);
}

.lp-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(2, 132, 199, 0.15);
    border-color: #cbd5e1;
}

.lp-pillar-card:hover::before {
    opacity: 1;
}

.lp-pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--lp-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.lp-pillar-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0b132b;
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.lp-pillar-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lp-pillar-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.lp-pillar-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.86rem;
    color: #334155;
    margin-bottom: 0.65rem;
}

.lp-check-icon {
    color: #10b981;
    font-weight: 900;
    font-size: 0.95rem;
}

/* ==========================================================================
   FEATURE DETAIL SECTIONS (ALTERNATING 2-COLUMNS)
   ========================================================================== */
.lp-feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
    margin-bottom: 5.5rem;
}

.lp-feature-block.reversed {
    grid-template-columns: 1fr 1fr;
}

.lp-feature-block.reversed .lp-feature-text {
    order: 2;
}

.lp-feature-block.reversed .lp-feature-media {
    order: 1;
}

.lp-feature-text h3 {
    font-size: 2.1rem;
    font-weight: 900;
    color: #0b132b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.lp-feature-text p {
    font-size: 1.02rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.lp-badges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.lp-badge-item {
    background: #f1f5f9;
    color: #334155;
    padding: 0.35rem 0.75rem;
    border-radius: var(--lp-radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lp-badge-highlight {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.lp-feature-media {
    background: #ffffff;
    border-radius: var(--lp-radius-lg);
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   LICENCIAS DE CONDUCIR SECTION (DARK ACCENT THEME)
   ========================================================================== */
.lp-licencias-section {
    background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
    color: #ffffff;
    padding: 95px 0;
    position: relative;
    overflow: hidden;
}

.lp-licencias-section .lp-section-title {
    color: #ffffff;
}

.lp-licencias-section .lp-section-desc {
    color: #94a3b8;
}

.lp-licencias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.lp-lic-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--lp-radius-md);
    padding: 1.75rem 1.35rem;
    backdrop-filter: blur(10px);
    transition: var(--lp-transition);
}

.lp-lic-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.5);
}

.lp-lic-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lp-lic-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.lp-lic-card p {
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   COMUNAS SELECTOR & MODAL
   ========================================================================== */
.lp-comunas-section {
    background: #f8fafc;
    padding: 85px 0;
    border-top: 1px solid #e2e8f0;
}

.lp-comunas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.lp-comuna-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--lp-radius-md);
    padding: 1.35rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--lp-transition);
    box-shadow: var(--lp-shadow-sm);
}

.lp-comuna-item:hover {
    border-color: var(--lp-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(2, 132, 199, 0.15);
}

.lp-comuna-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--lp-primary-subtle);
    color: var(--lp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.lp-comuna-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.lp-comuna-desc {
    font-size: 0.75rem;
    color: #64748b;
}

/* Modal Selector Comunal */
.lp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.lp-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lp-modal-box {
    background: #ffffff;
    border-radius: var(--lp-radius-lg);
    width: 100%;
    max-width: 520px;
    box-shadow: var(--lp-shadow-lg);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.lp-modal-overlay.active .lp-modal-box {
    transform: scale(1);
}

.lp-modal-header {
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lp-modal-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.lp-modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

.lp-modal-close:hover {
    color: #0f172a;
}

.lp-modal-body {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

/* ==========================================================================
   CONTACT & SALES CTA SECTION
   ========================================================================== */
.lp-contact-section {
    background: #ffffff;
    padding: 95px 0;
    border-top: 1px solid #e2e8f0;
}

.lp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4.5rem;
    align-items: flex-start;
}

.lp-contact-info h3 {
    font-size: 2.25rem;
    font-weight: 900;
    color: #0b132b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.lp-contact-info p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.lp-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.lp-contact-card {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--lp-radius-md);
    text-decoration: none;
    color: inherit;
    transition: var(--lp-transition);
}

.lp-contact-card:hover {
    border-color: var(--lp-primary);
    background: #f0f9ff;
    transform: translateX(4px);
}

.lp-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--lp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.lp-contact-icon-email {
    background: rgba(2, 132, 199, 0.12);
    color: var(--lp-primary);
}

.lp-contact-icon-phone {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.lp-contact-icon-location {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.lp-contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.lp-contact-value {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
}

/* Contact Form */
.lp-contact-form-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--lp-radius-lg);
    padding: 2.25rem;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
}

.lp-form-group {
    margin-bottom: 1.25rem;
}

.lp-form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.4rem;
}

.lp-form-input,
.lp-form-select,
.lp-form-textarea {
    width: 100%;
    padding: 0.7rem 0.95rem;
    font-size: 0.9rem;
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: var(--lp-radius-sm);
    background: #ffffff;
    color: #0f172a;
    transition: var(--lp-transition);
}

.lp-form-input:focus,
.lp-form-select:focus,
.lp-form-textarea:focus {
    outline: none;
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.lp-btn-submit {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--lp-primary), #0284c7);
    border: none;
    border-radius: var(--lp-radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    transition: var(--lp-transition);
}

.lp-btn-submit:hover {
    background: var(--lp-primary-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.lp-footer {
    background: #0b132b;
    color: #94a3b8;
    padding: 70px 0 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.lp-footer-brand h4 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.lp-footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 320px;
    color: #94a3b8;
}

.lp-footer-col h5 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-footer-links li {
    margin-bottom: 0.65rem;
}

.lp-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.86rem;
    transition: var(--lp-transition);
}

.lp-footer-links a:hover {
    color: #ffffff;
}

.lp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

/* ==========================================================================
   REAL SHOWCASE & HARDWARE FRAMES (HIGH FIDELITY)
   ========================================================================== */
.lp-laptop-screen-real {
    position: relative;
    background: #0f172a;
    overflow: hidden;
    border-radius: 0 0 var(--lp-radius-lg) var(--lp-radius-lg);
}

.lp-laptop-screen-real img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lp-mockup-laptop:hover .lp-laptop-screen-real img {
    transform: scale(1.015);
}

.lp-laptop-badge-live {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.lp-live-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.lp-phone-screen-real {
    background: #000000;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.lp-phone-screen-real .lp-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 12px;
    background: #0f172a;
    border-radius: 0 0 10px 10px;
    z-index: 10;
}

.lp-phone-screen-real img {
    width: 100%;
    height: auto;
    display: block;
}

/* Browser Showcase Card (Panorámico) */
.lp-showcase-browser {
    background: #ffffff;
    border-radius: var(--lp-radius-lg);
    border: 1px solid #cbd5e1;
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.16), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--lp-transition);
}

.lp-showcase-browser:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 55px -15px rgba(2, 132, 199, 0.22);
    border-color: #94a3b8;
}

.lp-browser-header {
    background: #f1f5f9;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

.lp-browser-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lp-browser-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.lp-showcase-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sección Proyectos Comunales */
.lp-proyectos-section {
    padding: 95px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.lp-proyectos-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.25rem;
}

@media (max-width: 900px) {
    .lp-proyectos-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .lp-proyectos-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.lp-proyectos-kpi-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--lp-radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: var(--lp-transition);
}

.lp-proyectos-kpi-card:hover {
    transform: translateY(-3px);
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 10px 22px -5px rgba(2, 132, 199, 0.15);
}

.lp-proyectos-kpi-val {
    font-size: 1.45rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
}

.lp-proyectos-kpi-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.35rem;
}

.lp-proyectos-kpi-desc {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

/* Device Frame para App Móvil en sección */
.lp-phone-showcase-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.lp-phone-device-frame {
    max-width: 300px;
    width: 100%;
    background: #0f172a;
    border-radius: 44px;
    padding: 12px;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.35);
    border: 3.5px solid #334155;
    transition: var(--lp-transition);
}

.lp-phone-device-frame:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(16, 185, 129, 0.25);
    border-color: #059669;
}

.lp-phone-device-screen {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: #000000;
}

.lp-phone-device-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* Licencias Dual Showcase */
.lp-licencias-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3.5rem;
}

@media (max-width: 900px) {
    .lp-licencias-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.lp-lic-showcase-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--lp-radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
    transition: var(--lp-transition);
}

.lp-lic-showcase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.18);
}

.lp-lic-showcase-header {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-weight: 700;
    color: #e2e8f0;
}

.lp-lic-showcase-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-funcionario {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-vecino {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.lp-lic-showcase-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .lp-hero-title {
        font-size: 2.85rem;
    }

    .lp-hero-subtitle {
        margin: 0 auto 2rem;
    }

    .lp-hero-ctas {
        justify-content: center;
    }

    .lp-trust-row {
        justify-content: center;
    }

    .lp-pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lp-feature-block,
    .lp-feature-block.reversed {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lp-feature-block.reversed .lp-feature-text {
        order: 1;
    }

    .lp-feature-block.reversed .lp-feature-media {
        order: 2;
    }

    .lp-licencias-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lp-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .lp-nav-links {
        display: none;
    }

    .lp-nav-actions .lp-btn-outline {
        display: none;
    }

    .lp-menu-toggle {
        display: block;
    }

    .lp-hero-title {
        font-size: 2.25rem;
    }

    .lp-section-title {
        font-size: 1.85rem;
    }

    .lp-licencias-grid {
        grid-template-columns: 1fr;
    }

    .lp-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lp-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .lp-mockup-phone {
        display: none; /* Hide floating phone on small mobile to preserve layout */
    }
}
