/* =========================
   RESET GENERAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #f8fafc;
    color: #1f2937;
    line-height: 1.6;
}

/* =========================
   CONTENEDOR
========================= */
.container {
    max-width: 1150px;
    margin: auto;
    padding: 0 20px;
}

/* =========================
   HEADER
========================= */
header,
.header {
    background: #ffffff;
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 52px;
    display: block;
}

/* =========================
   NAV
========================= */
.nav {
    display: flex;
    align-items: center;
}

.nav a {
    color: #1f2937;
    margin-left: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.25s ease;
}

.nav a:hover {
    color: #2563eb;
}

/* =========================
   HERO
========================= */
.hero {
    padding: 90px 0 120px 0;   /* ðŸ‘ˆ AJUSTADO */
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

/* Logo grande institucional */
.hero-logo {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.hero-logo img {
    max-width: 600px;
    width: 90%;
    height: auto;
    opacity: 0.98;
}

/* TÃ­tulo */
.hero h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: #2563eb;
    position: relative;
}

.hero h1 span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 8px;
    bottom: 5px;
    left: 0;
    background: rgba(37, 99, 235, 0.15);
    z-index: -1;
    border-radius: 4px;
}

.hero p {
    font-size: 18px;
    color: #475569;
    max-width: 720px;
    margin: auto;
}

.hero-buttons {
    margin-top: 35px;
}

/* =========================
   BOTONES
========================= */
.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    background: #e2e8f0;
    color: #1f2937;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 15px;
    transition: 0.25s ease;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

/* =========================
   SERVICIOS
========================= */
.services {
    padding: 90px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

/* =========================
   PLANES
========================= */
.section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 10px;
}

.section-sub {
    text-align: center;
    color: #64748b;
    margin-bottom: 60px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.plan-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.05);
    transition: 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.12);
}

.plan-card ul {
    list-style: none;
    margin: 20px 0 30px 0;
    flex-grow: 1;
}

.plan-card.destacado {
    border: 2px solid #2563eb;
    transform: scale(1.03);
}

.badge {
    position: absolute;
    top: -12px;
    left: 25px;
    background: #2563eb;
    color: white;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 20px;
}

/* =========================
   CTA
========================= */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
}

.cta p {
    margin: 15px 0 30px;
    color: #e0f2fe;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0;
    text-align: center;
    margin-top: 120px;
}

/* =========================
   WHATSAPP FLOTANTE
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 35px;   /* antes 25px */
    right: 25px;
    width: 54px;
    height: 54px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background: #1d4ed8;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* =========================
   INSTAGRAM HEADER
========================= */
.instagram-link {
    display: flex;
    align-items: center;
    margin-left: 20px;
    color: #1f2937;
    transition: 0.3s ease;
}

.instagram-link svg {
    width: 24px;
    height: 24px;
}

.instagram-link:hover {
    color: #2563eb;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .header-flex {
        flex-direction: column;
        gap: 10px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        margin: 8px;
    }

    .hero {
        padding: 40px 0 90px 0;  /* ðŸ‘ˆ menos espacio arriba */
    }

    .hero-logo img {
        max-width: 420px;  /* ðŸ‘ˆ logo mÃ¡s proporcionado en mobile */
        width: 85%;
    }

    .hero h1 {
        font-size: 28px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .plan-card.destacado {
        transform: none;
    }

    .logo img {
        height: 45px;
    }
}

/* Ajuste móvil footer */

.footer-instagram {
    font-size: 13px;
}

.footer-instagram svg {
    width: 18px;
    height: 18px;
}

/* Ajuste móvil whatsapp */

.whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 15px;
}

.whatsapp-float svg {
    width: 22px;
    height: 22px;
}

/* =========================
   FOOTER MEJORADO
========================= */

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-size: 14px;
    line-height: 1.6;
}

.footer-instagram {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-instagram svg {
    width: 20px;
    height: 20px;
}

.footer-instagram:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================
   FOOTER SOCIAL
========================= */

.footer-social {
    margin-top: 20px;
}

.footer-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.footer-instagram svg {
    width: 20px;
    height: 20px;
}

.footer-instagram:hover {
    color: #ffffff;
}


/* =========================
   WHATSAPP FLOTANTE
========================= */

.whatsapp-float {
    position: fixed;
    bottom: 35px;
    right: 25px;
    width: 54px;
    height: 54px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background: #1d4ed8;
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
}


/* =========================
   RESPONSIVE AJUSTES
========================= */

@media (max-width: 768px) {

    .footer-instagram {
        font-size: 13px;
    }

    .footer-instagram svg {
        width: 18px;
        height: 18px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}

.plan-card {
    transition:all .3s ease;
    border-radius:16px;
}

.plan-card:hover {
    transform:translateY(-6px);
    box-shadow:0 12px 28px rgba(0,0,0,.08);
}


.plan-features {
    list-style:none;
    padding:0;
    margin:20px 0;
}

.plan-features li {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
    font-size:15px;
}

/* =========================
   PLAN FEATURES PREMIUM
========================= */

.plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0 40px 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.5;
}

/* SVG uniforme */
.plan-features .check-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    flex-shrink: 0;
}

.plan-features .check-icon circle {
    fill: none;
    stroke: var(--plan-color, #2563eb);
    stroke-width: 2;
}

.plan-features .check-icon path {
    fill: none;
    stroke: var(--plan-color, #2563eb);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plan-features span {
    flex: 1;
}

/* =========================
   DETALLE PLAN
========================= */

.plan-features-detalle {
    list-style:none;
    padding:0;
    margin:40px 0;
}

.plan-features-detalle li {
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:16px;
    font-size:18px;
}

.check-icon-detalle {
    width:26px;
    height:26px;
    min-width:26px;
    min-height:26px;
    flex-shrink:0;
    color:#2563eb;
}