/* Variables de Marca */
:root {
    --orange-main: #FF6600;
    --dark-bg: #1a1a1a;
    --text-color: #333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html{
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Styles */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
}

.logo-h {
    background-color: var(--orange-main);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    margin-right: 8px;
    font-style: italic;
}

/* Navegación */
.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin: 0 15px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-menu ul li a:hover {
    color: var(--orange-main);
}

/* Botón de Acción */
.btn-client {
    background-color: var(--orange-main);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-client:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* Responsivo Simple */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Idealmente aquí pondríamos un menú hamburguesa */
    }
}

.hero-section {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #fff5ee 0%, #ffffff 50%);
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-tag {
    background-color: #fff0e6;
    color: var(--orange-main);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.1;
    color: var(--dark-bg);
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--orange-main);
}

.hero-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--orange-main);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-secondary {
    border: 2px solid var(--dark-bg);
    color: var(--dark-bg);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
}

.btn-secondary:hover {
    background-color: var(--dark-bg);
    color: white;
}

.hero-trust {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    max-width: 110%;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
}

/* Animación de flotado para el servidor */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content h1 { font-size: 40px; }
    .hero-btns { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-image img { max-width: 80%; }
}

/* =========================================
   ESTILOS EXCLUSIVOS: SECCIÓN HOSTING
   ========================================= */

.hosting-section-custom {
    padding: 80px 0;
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.container-hosting {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabecera con disposición horizontal */
.hosting-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.hosting-tag {
    color: #FF6600;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    display: block;
}

.hosting-main-title {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a1a;
}

.hosting-main-title span { color: #FF6600; }

.hosting-subtitle {
    color: #666;
    font-size: 16px;
}

/* Switch de Facturación */
.billing-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-label { font-weight: 600; font-size: 14px; color: #333; }

.billing-switch {
    position: relative;
    width: 50px;
    height: 28px;
}

.billing-switch input { opacity: 0; width: 0; height: 0; }

.billing-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #e0e0e0;
    transition: .4s;
    border-radius: 34px;
}

.billing-slider:before {
    position: absolute;
    content: "";
    height: 20px; width: 20px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .billing-slider { background-color: #FF6600; }
input:checked + .billing-slider:before { transform: translateX(22px); }

.discount-badge {
    background: #e6ffed;
    color: #28a745;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

/* Cuadrícula de Planes Horizontales */
.hosting-plans-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap; /* Mantiene la fila en escritorio */
}

.hosting-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 40px 30px;
    width: 350px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.hosting-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }

.featured-plan { border: 2px solid #FF6600; transform: scale(1.03); }

.popular-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF6600;
    color: white;
    padding: 4px 15px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 20px;
}

.plan-name { font-size: 24px; font-weight: 800; margin-bottom: 5px; }
.plan-description { font-size: 13px; color: #777; margin-bottom: 20px; }

/* Precio */
.price-container { margin: 15px 0; }
.price-symbol { font-size: 22px; font-weight: 700; color: #FF6600; vertical-align: top; }
.price-amount { font-size: 48px; font-weight: 800; color: #FF6600; }
.price-period { font-size: 14px; color: #999; }

.free-domain-label { color: #28a745; font-weight: 700; font-size: 13px; margin-bottom: 20px; display: none; }

/* Lista de Specs con Check Naranja */
.plan-features {
    list-style: none;
    text-decoration: none;
    text-align: left;
    margin: 25px 0 35px;
}

.plan-features li {
    padding: 8px 0;
    text-decoration: none;
    font-size: 14px;
    color: #444;
    position: relative;
    padding-left: 25px;
}

.plan-features li::before {
    text-decoration: none;
    color: #FF6600;
    position: absolute;
    left: 0;
    font-weight: 900;
}

/* Botón */
.btn-hire {
    display: block;
    background: #FF6600;
    color: white;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-hire:hover { background: #e65c00; }

/* Responsivo */
@media (max-width: 992px) {
    .hosting-header-flex { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hosting-plans-grid { flex-direction: column; align-items: center; }
}


/* fin hosting */

/* =========================================
   VPS SECTION: ORANGE & WHITE STYLE
   ========================================= */

.vps-orange-section {
    padding: 100px 0;
    background-color: #FF6600; /* Fondo naranja Hostbara  */
    color: #ffffff; /* Texto blanco general */
    text-align: center;
}

.container-vps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vps-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    text-align: left;
}

.vps-main-title {
    font-size: 42px;
    font-weight: 800;
}

.vps-main-title span {
    color: #ffffff;
    text-decoration: underline;
}

.vps-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

/* Toggle Blanco para Fondo Naranja */
.vps-toggle-wrapper-white {
    display: flex;
    align-items: center;
    gap: 15px;
}

.switch-white {
    position: relative;
    width: 60px;
    height: 32px;
}

.switch-white input { opacity: 0; width: 0; height: 0; }

.slider-white {
    position: absolute;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #ffffff;
    border-radius: 34px;
    top: 0; left: 0; right: 0; bottom: 0;
    transition: .4s;
}

.slider-white:before {
    position: absolute;
    content: "";
    height: 20px; width: 20px;
    left: 4px; bottom: 4px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .slider-white:before { transform: translateX(28px); }

.save-badge-dark {
    background: #ffffff;
    color: #FF6600;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
}

/* Grid Horizontal [cite: 445] */
.vps-grid-horizontal {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Tarjetas Blancas Premium */
.vps-card-white {
    background: #ffffff;
    color: #333;
    padding: 45px 35px;
    border-radius: 24px;
    width: 360px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.vps-card-white:hover {
    transform: translateY(-15px);
}

/* Alineación Vertical de Precios [cite: 164, 255] */
.vps-price-block .currency {
    display: block;
    font-size: 22px;
    color: #FF6600;
    font-weight: 700;
}

.vps-amount {
    font-size: 68px;
    font-weight: 800;
    color: #333;
    line-height: 1;
}

.setup-info {
    font-size: 14px;
    color: #888;
    margin: 15px 0 30px;
}

.setup-price { color: #FF6600; font-weight: 700; }

/* Lista con Puntos Naranjas [cite: 165, 256] */
.vps-specs-orange {
    list-style: none;
    padding: 0;
    text-decoration: none;
    margin-bottom: 35px;
}

.vps-specs-orange li {
    padding: 12px 0;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    position: relative;
    padding-left: 25px;
}

.vps-specs-orange li::before {
   text-decoration: none;
    color: #FF6600;
    position: absolute;
    left: 0;
    font-size: 24px;
}

/* Botón Naranja */
.btn-vps-orange {
    display: block;
    text-align: center;
    background: #FF6600;
    color: #ffffff;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-vps-orange:hover {
    background: #e65c00;
}

/* Responsivo [cite: 311, 336] */
@media (max-width: 992px) {
    .vps-header-flex { flex-direction: column; text-align: center; gap: 30px; }
}

/* fin vps */


/* Banner Naranja CTA */
.cta-banner {
    background-color: var(--orange-main);
    border-radius: 20px;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    text-align: left;
    margin-top: 60px;
}

.cta-banner h2 { font-size: 28px; margin-bottom: 5px; }

.btn-cta {
    background: white;
    color: var(--orange-main);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer Styling */
.main-footer {
    background-color: #fcfcfc;
    padding: 80px 0 40px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand p {
    margin-top: 20px;
    color: #888;
    font-size: 14px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--dark-bg);
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }

.footer-links ul li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover { color: var(--orange-main); }

.contact-info li {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

/* Responsivo para el Banner y Footer */
@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
