/* Hosting Formato 16:9 - Estilo premium orientado a servicio */
:root {
    --color-primary: #0d6efd;
    --color-accent: #198754;
    --color-dark: #1a1d23;
    --color-text: #2c3e50;
    --color-muted: #6c757d;
    --font-display: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
}

body {
    font-family: var(--font-display);
    background: linear-gradient(180deg, #f8fafc 0%, #e8eef5 100%);
    color: var(--color-text);
    min-height: 100vh;
}

.navbar {
    background: white !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.navbar-brand img {
    max-height: 48px;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text) !important;
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

.hero-badge {
    display: inline-block;
    background: rgba(25, 135, 84, 0.12);
    color: var(--color-accent);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.professional {
    color: var(--color-dark);
    font-weight: 700;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-muted);
}

.package {
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.package:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.package.featured {
    border-color: var(--color-accent);
    border-width: 2px;
    position: relative;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.plan-tagline {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.plan-sla {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin: 1rem 0;
}

.package h3 {
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.package .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.package ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.package ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.package ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.available {
    color: var(--color-accent) !important;
}

.not-available {
    color: #dc3545 !important;
}

/* Bloques de valor para nicho servicio */
.value-block {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    height: 100%;
}

.value-block .icon,
.value-block-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

/* Secciones principales */
.section {
    padding: 4rem 0;
}

.section-alt {
    padding: 4rem 0;
    background: rgba(0,0,0,.03);
}

.section h2 {
    margin-bottom: 1.5rem;
}

.section-alt h2 {
    margin-bottom: 1.5rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 640px;
    margin: 0 auto 2rem;
}

.domain-form {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* Hero */
.section-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.section-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-hero h1 { font-size: 2.5rem; }
}

.hero-lead {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.hero-ctas .btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.hero-trust {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Pain cards */
.pain-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    height: 100%;
}

.pain-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

/* Benefits list */
.benefits-list {
    list-style: none;
    padding: 0;
    max-width: 720px;
}

.benefits-list li {
    padding: 1.25rem 0;
    border-bottom: 1px solid #eee;
}

.benefits-list li:last-child { border-bottom: none; }

.benefits-list h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefits-list p {
    color: var(--color-muted);
    margin: 0;
}

/* Case cards */
.case-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    height: 100%;
}

.case-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.case-metrics {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: var(--color-accent);
}

.case-metrics li::before {
    content: '✓ ';
}

/* Service cards */
.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    height: 100%;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Process steps */
.process-steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.process-steps li {
    padding: 1.5rem 0 1.5rem 4rem;
    position: relative;
    border-left: 3px solid var(--color-primary);
    margin-left: 1rem;
}

.process-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -1.25rem;
    top: 1.25rem;
    width: 2rem;
    height: 2rem;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.process-steps h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table thead th {
    background: var(--color-dark);
    color: white;
    font-weight: 600;
}

.comparison-table tbody th {
    background: #f8f9fa;
    font-weight: 600;
    width: 20%;
}

.comparison-table tbody tr:last-child td,
.comparison-table tbody tr:last-child th {
    border-bottom: none;
}

.comparison-table td:last-child {
    color: var(--color-accent);
    font-weight: 500;
}

/* Lead magnet */
.lead-magnet-box {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
}

.lead-magnet-box h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.lead-magnet-box .form-control {
    padding: 0.6rem 1rem;
}

/* Trust list */
.trust-list {
    list-style: none;
    padding: 0;
    max-width: 560px;
}

.trust-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.trust-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* CTA section */
.section-cta {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.section-cta .section-lead {
    color: rgba(255,255,255,0.95);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.section-cta .btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* CTA sticky móvil */
.cta-sticky-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: white;
    box-shadow: 0 -4px 12px rgba(0,0,0,.15);
    z-index: 998;
}

/* Footer SEO */
.footer-seo {
    margin-bottom: 2rem;
    text-align: left;
}

.footer-seo h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.footer-seo p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nav {
    margin-bottom: 1rem;
}

.footer-nav a {
    margin: 0 1rem 0 0;
}

.footer {
    background: var(--color-dark);
    color: #a0aec0;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer a {
    color: #cbd5e1;
}

.footer a:hover {
    color: white;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Testimonios */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: 0;
}

/* FAQ accordion */
#faq-accordion .btn-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

#faq-accordion .btn-link:hover {
    color: var(--color-primary);
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: white !important;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    font-weight: 600;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    font-size: 1.25rem;
}

/* CTAs del carrito - muy evidentes, pocas palabras */
.cart-cta-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cart-cta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.cart-cta-highlight {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white !important;
    border: none;
}

.cart-cta-domain {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%) !important;
}

.cart-cta-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.cart-cta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
}

.cart-cta-sub {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cart-cta-btn {
    background: white !important;
    color: var(--color-primary) !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    white-space: nowrap;
    text-decoration: none !important;
}

.cart-cta-domain .cart-cta-btn {
    color: var(--color-accent) !important;
}

.cart-cta-btn:hover {
    background: rgba(255,255,255,0.9) !important;
    color: var(--color-primary) !important;
}

.cart-cta-empty {
    background: white;
    border: 3px solid var(--color-primary);
    color: var(--color-primary) !important;
    flex-direction: column;
    text-align: center;
    min-height: 120px;
    justify-content: center;
}

.cart-cta-empty:hover {
    background: var(--color-primary);
    color: white !important;
}

.cart-cta-empty .cart-cta-icon {
    font-size: 2.5rem;
}

.cart-complete-card {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.cart-complete-btn {
    width: 100%;
    padding: 1rem 2rem !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    background: white !important;
    color: var(--color-accent) !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cart-complete-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}

/* Mejoras responsive */
.testimonial-card footer {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    body { padding-bottom: 80px; }
    .cta-sticky-mobile ~ * { margin-bottom: 0; }

    .whatsapp-float {
        padding: 14px 16px;
    }

    .whatsapp-icon {
        font-size: 1.5rem;
    }

    .cart-cta-card {
        flex-wrap: wrap;
    }

    .cart-cta-btn {
        width: 100%;
        text-align: center;
    }

    .cart-complete-btn {
        font-size: 1.2rem !important;
    }
}
