/* ═══════════════════════════════════════════════════════
   iLOVETELECOM — Landing Pages
   Estilo profesional · Conversion‑first · Mobile‑first
   ═══════════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────────── */
:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --amber-500: #f59e0b;
    --red-500: #ef4444;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ─── Utils ─────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ─── Header ────────────────────────────────────────── */
.lp-header {
    background: var(--gray-900);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.lp-header-inner { display: flex; align-items: center; justify-content: center; }
.lp-logo { display: flex; align-items: center; }
.lp-logo img { height: 34px; width: auto; }

/* ─── Hero ──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(160deg, #0a1628 0%, #111d35 40%, #0f1a30 100%);
}
.hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 800px 500px at 30% 60%, rgba(59,130,246,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 400px at 80% 20%, rgba(59,130,246,0.06) 0%, transparent 60%);
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='24' cy='24' r='1'/%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 60px 0;
    min-height: calc(100vh - 70px);
}

/* Hero text */
.hero-text { animation: fIn 0.7s ease; }
@keyframes fIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59,130,246,0.15);
    color: var(--blue-500);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(59,130,246,0.2);
}
.hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}
.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 480px;
}

/* Price */
.hero-price-block { margin-bottom: 24px; }
.hero-price-old { font-size: 1rem; color: rgba(255,255,255,0.35); margin-bottom: 2px; }
.hero-price-old s { text-decoration: line-through; }
.hero-price {
    display: flex; align-items: baseline; gap: 6px;
    font-size: 3rem; font-weight: 900; line-height: 1;
    color: var(--blue-500);
}
.hero-price-period { font-size: 1.1rem; font-weight: 400; color: rgba(255,255,255,0.4); }

/* Features */
.hero-feats { display: grid; gap: 10px; margin-bottom: 32px; max-width: 480px; }
.hero-feats li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    transition: background var(--transition);
}
.hero-feats li:hover { background: rgba(255,255,255,0.08); }
.hero-feats li i { color: var(--green-500); font-size: 0.9rem; flex-shrink: 0; }

/* Hero CTA buttons row */
.hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap;
    animation: fInUp 0.7s ease 0.3s both;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border: none; border-radius: var(--radius-sm);
    font-size: 0.95rem; font-weight: 600; font-family: inherit;
    cursor: pointer; transition: all var(--transition); text-align: center;
    white-space: nowrap; line-height: 1.2;
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary {
    background: var(--blue-600); color: #fff; font-weight: 700;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}
.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}
.btn-whatsapp {
    background: #25d366; color: #fff; font-weight: 600;
    box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.btn-outline-light {
    background: transparent; color: #fff; font-weight: 500;
    border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ─── Form Card ──────────────────────────────────────── */
.hero-form { animation: fIn 0.7s ease 0.15s both; }
.form-card {
    background: #fff; border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl); overflow: hidden;
    width: 100%; max-width: 440px; margin-left: auto;
}
.form-head {
    background: var(--gray-900);
    color: #fff; padding: 28px 32px 22px; text-align: center;
}
.form-head h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.form-head p { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.form-body { padding: 28px 32px 8px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: var(--gray-600); margin-bottom: 6px; letter-spacing: 0.01em;
}
.form-control {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
    font-size: 0.92rem; font-family: inherit;
    background: #fff; color: var(--gray-800);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.form-control.error { border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8.5L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px; cursor: pointer;
}
.field-error { font-size: 0.78rem; color: var(--red-500); margin-top: 4px; display: block; min-height: 0; }

.form-body .btn-primary {
    width: 100%; margin-top: 4px;
    padding: 14px 32px; font-size: 1rem; font-weight: 700;
}

.form-whatsapp {
    padding: 16px 32px 28px;
    text-align: center;
    border-top: 1px solid var(--gray-100);
}
.form-whatsapp small {
    display: block; font-size: 0.78rem; color: var(--gray-400);
    margin-bottom: 10px;
}
.form-whatsapp .btn-whatsapp {
    width: 100%; padding: 13px 24px; font-size: 0.92rem;
}

/* ─── Trust bar ──────────────────────────────────────── */
.hero-trust {
    display: flex; gap: 20px; flex-wrap: wrap; margin-top: 32px;
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
    animation: fInUp 0.7s ease 0.5s both;
}
.hero-trust span {
    font-size: 0.78rem; color: rgba(255,255,255,0.4);
    display: flex; align-items: center; gap: 6px;
}
.hero-trust span i { color: rgba(255,255,255,0.25); font-size: 0.8rem; }

/* ─── Benefits ──────────────────────────────────────── */
.benefits { padding: 80px 0; background: #fff; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card {
    text-align: center; padding: 32px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-card i {
    font-size: 1.8rem; color: var(--blue-600); margin-bottom: 14px;
}
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--gray-800); }
.benefit-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; }

/* ─── How it works ──────────────────────────────────── */
.how { padding: 80px 0; background: var(--gray-50); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.how-step { text-align: center; position: relative; }
.how-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: 0 auto 16px;
    background: var(--blue-600); color: #fff;
    border-radius: 50%; font-size: 1.1rem; font-weight: 800;
}
.how-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.how-step p { font-size: 0.88rem; color: var(--gray-500); }

/* ─── FAQ ────────────────────────────────────────────── */
.faqs { padding: 80px 0; background: #fff; }
.section-title {
    text-align: center; font-size: 1.8rem; font-weight: 800;
    margin-bottom: 40px; color: var(--gray-800);
}
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--gray-100); padding: 0;
}
.faq-q {
    width: 100%; padding: 20px 0;
    background: none; border: none;
    font-size: 0.95rem; font-weight: 600; font-family: inherit;
    color: var(--gray-700); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    text-align: left; gap: 16px;
    transition: color var(--transition);
}
.faq-q:hover { color: var(--blue-600); }
.faq-q i { transition: transform var(--transition); color: var(--gray-300); font-size: 0.8rem; }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--blue-500); }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 0 20px; color: var(--gray-500); font-size: 0.9rem; line-height: 1.7; }

/* ─── Footer ────────────────────────────────────────── */
.lp-footer {
    background: var(--gray-900); color: rgba(255,255,255,0.5);
    padding: 48px 0 20px;
}
.lp-footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px; margin-bottom: 24px;
}
.lp-footer-brand { display: flex; align-items: center; gap: 12px; }
.lp-footer-brand img { opacity: 0.6; height: 30px; }
.lp-footer-brand span { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.lp-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.lp-footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.lp-footer-links a:hover { color: var(--blue-500); }
.lp-footer-social { display: flex; gap: 8px; }
.lp-footer-social a {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.3); font-size: 0.85rem;
    transition: background var(--transition), color var(--transition);
}
.lp-footer-social a:hover { background: var(--blue-600); color: #fff; }
.lp-footer-legal { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 16px; text-align: center; }
.lp-footer-legal p { font-size: 0.75rem; color: rgba(255,255,255,0.15); }

/* ─── WhatsApp Float ────────────────────────────────── */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    display: flex; align-items: center; gap: 12px;
}
.whatsapp-float-tip {
    background: #fff; color: var(--gray-700);
    padding: 10px 18px; border-radius: var(--radius-md);
    font-size: 0.85rem; font-weight: 500;
    box-shadow: var(--shadow-lg); white-space: nowrap;
    position: relative;
}
.whatsapp-float-tip::after {
    content: ''; position: absolute; right: -6px; top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #fff;
    border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.whatsapp-float-btn {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #1ebe5a);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #fff;
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
    transition: transform var(--transition);
    flex-shrink: 0;
}
.whatsapp-float:hover .whatsapp-float-btn { transform: scale(1.08); }
@media (max-width: 767px) { .whatsapp-float-tip { display: none; } }

/* ─── Thanks ─────────────────────────────────────────── */
.thanks {
    min-height: 80vh; display: flex; align-items: center; justify-content: center;
    padding: 60px 0; background: var(--gray-50);
}
.thanks-card {
    max-width: 480px; margin: 0 auto; text-align: center;
    background: #fff; padding: 56px 40px;
    border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    animation: fIn 0.6s ease;
}
.thanks-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.6rem; color: #fff; font-weight: 700;
    box-shadow: 0 6px 20px rgba(34,197,94,0.25);
}
.thanks h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; color: var(--gray-800); }
.thanks p { font-size: 0.92rem; color: var(--gray-500); margin-bottom: 6px; }
.thanks .btn { margin-top: 20px; }

/* ─── Home ───────────────────────────────────────────── */
.home-hero {
    background: var(--gray-900); color: #fff; text-align: center;
    padding: 72px 0 56px; position: relative; overflow: hidden;
}
.home-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}
.home-hero .container { position: relative; z-index: 1; }
.home-hero h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 10px; }
.home-hero p { font-size: 1rem; color: rgba(255,255,255,0.55); }
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; padding: 48px 0; }
.home-card {
    background: #fff; border-radius: var(--radius-md);
    padding: 24px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    display: flex; flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}
.home-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.home-card-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue-500); font-weight: 700; margin-bottom: 4px; }
.home-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; color: var(--gray-800); }
.home-card .price { font-size: 1.5rem; font-weight: 900; color: var(--blue-600); margin: 6px 0; }
.home-card .price s { font-size: 0.9rem; color: var(--gray-400); font-weight: 400; margin-left: 6px; }
.home-card .feats { font-size: 0.82rem; color: var(--gray-500); flex: 1; margin-bottom: 14px; }
.home-card .feats li { padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.home-card .feats li i { color: var(--green-500); font-size: 0.7rem; }
.home-card .btn { margin-top: auto; border-radius: var(--radius-sm); }
.home-label { display: inline-block; background: linear-gradient(135deg, var(--amber-500), #d97706); color: #fff; font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 3px; margin-bottom: 8px; }
.home-cat-hdr {
    grid-column: 1 / -1; font-size: 1.3rem; font-weight: 800;
    margin: 20px 0 0; display: flex; align-items: center; gap: 10px;
    color: var(--gray-800);
}
.home-cat-hdr i { color: var(--blue-500); font-size: 1.1rem; }

/* ─── 404 ────────────────────────────────────────────── */
.page-404 { text-align: center; padding: 120px 0; }
.page-404 h1 { font-size: 4rem; font-weight: 900; color: var(--gray-200); line-height: 1; margin-bottom: 8px; }
.page-404 p { color: var(--gray-500); margin-bottom: 24px; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1023px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; min-height: auto; }
    .hero { min-height: auto; }
    .hero-form { margin: 0 auto; }
    .form-card { margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 767px) {
    .container { padding: 0 16px; }
    .lp-header { padding: 12px 0; }
    .lp-logo img { height: 28px; }
    .lp-header-phone span { display: none; }
    .hero-title { font-size: 1.7rem; }
    .hero-sub { font-size: 0.95rem; }
    .hero-price { font-size: 2.2rem; }
    .hero-feats li { padding: 8px 12px; font-size: 0.85rem; }
    .hero-trust { gap: 12px; }
    .form-head { padding: 22px 20px 18px; }
    .form-head h3 { font-size: 1.05rem; }
    .form-body { padding: 22px 20px 4px; }
    .form-whatsapp { padding: 12px 20px 22px; }
    .benefits { padding: 60px 0; }
    .benefits-grid { grid-template-columns: 1fr; gap: 12px; }
    .how { padding: 60px 0; }
    .section-title { font-size: 1.4rem; margin-bottom: 28px; }
    .faqs { padding: 60px 0; }
    .home-hero { padding: 48px 0 36px; }
    .home-hero h1 { font-size: 1.5rem; }
    .home-grid { grid-template-columns: 1fr; padding: 32px 0; gap: 14px; }
    .home-card { padding: 20px; }
    .home-cat-hdr { font-size: 1.1rem; }
    .thanks-card { padding: 40px 24px; }
    .whatsapp-float { bottom: 16px; right: 16px; }
    .whatsapp-float-btn { width: 48px; height: 48px; font-size: 1.3rem; }
    .lp-footer { padding: 36px 0 16px; }
    .lp-footer-inner { flex-direction: column; text-align: center; }
}
