/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 140, 0, 0.9) 100%) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 140, 0, 0.2) !important;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-brand {
    height: 48px;
    width: auto;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('recursos/home image/home image.svg');
    background-size: contain; /* show the whole image without cropping */
    background-position: center; /* center the artwork */
    background-repeat: no-repeat;
    background-color: #000000; /* fallback fill */
    overflow: hidden;
}

.hero-background { display: none; }

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px 0px; /* extra bottom space so content clears artwork */
    display: grid;
    grid-template-columns: 1fr; /* full-width content; image removed */
    gap: 2.5rem;
    align-items: center;
}


.hero-subtitle {
    font-size: 1.4rem;
    color: #FF8C00;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #FF8C00;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.btn-primary {
    background: #0066CC;
    color: white;
    border-color: #0066CC;
}

.btn-primary:hover {
    background: transparent;
    color: #0066CC;
    border-color: #0066CC;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.hero-image { display: none; }

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Hero vertical spacing */
.hero { 
    padding-top: clamp(31%, 14vh, 220px);
    padding-bottom: clamp(40px, 8vh, 120px);
}

@media (max-width: 768px) {
    .hero {
        padding-top: clamp(70px, 18vh, 200px);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    /* Fondo: imagen zabbix con overlay para contraste */
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('recursos/servicios image/zabbix1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services .section-title { color: #ffffff; }
.services .section-subtitle { color: rgba(255,255,255,0.9); }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    margin-bottom: 3rem;
}

.about-text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.about-column {
    display: flex;
    flex-direction: column;
}

.about-section {
    margin-bottom: 2rem;
}

.about-subtitle {
    color: #007bff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.about-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.feature i {
    color: #007bff;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-services {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.service-tag {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.about-features li.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.about-features li.feature i {
    color: #007bff;
    margin-top: 0.25rem;
    font-size: 1rem;
}

.about-signature {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.signature-img {
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 3px solid #007bff;
}

.signature-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border-color: #0056b3;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Responsive adjustments for grid */
@media (max-width: 768px) {
    .about-text-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .signature-img {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    /* Mobile styles for about section */
    .signature-img {
        max-width: 150px;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./recursos/servicios image/unifi.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    color: white;
}

.contact-bg .section-title,
.contact-bg .section-subtitle {
    color: white;
}

.contact-bg .contact-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.contact-bg .contact-item h4,
.contact-bg .contact-item p {
    color: white;
}

.contact-bg .contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-bg .contact-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
}

.contact-bg .form-group input,
.contact-bg .form-group textarea {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-bg .form-group input:focus,
.contact-bg .form-group textarea:focus {
    background: white;
    border-color: #007bff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
}

.contact-details h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #666;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #007bff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #007bff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Enhanced MSP Calculator */
.calculator {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Calculator Controls */
.calc-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calc-select {
    padding: 8px 12px;
    border: 2px solid #e6eaf0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    min-width: 140px;
}

.calc-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    gap: 8px;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #007bff;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #007bff;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: -1px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Calculator Sections */
.calc-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.section-title-small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 1rem;
}

.section-title-small h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-size: 1.25rem;
    margin: 0;
}

.section-title-small h3 i {
    color: #007bff;
}

.badge {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.help-text {
    color: #6c757d;
    font-size: 14px;
}

/* Branches Container */
.branches-container {
    display: grid;
    gap: 1.5rem;
}

.branch-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.branch-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
}

.branch-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.branch-header h4 {
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.delete-branch-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.delete-branch-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.delete-branch-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.input-group input {
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.input-hint {
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
}

/* Add-ons Container */
.addons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.addon-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.addon-card.active {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.05);
}

.addon-card.included {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.addon-card.included .addon-toggle.disabled {
    background: #28a745;
    cursor: not-allowed;
}

.addon-card.included .addon-toggle.disabled::after {
    transform: translateX(24px);
}

.addon-card:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
}

.addon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.addon-title {
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 16px;
}

.addon-toggle {
    width: 48px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.addon-toggle.active {
    background: #007bff;
}

.addon-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.addon-toggle.active::after {
    transform: translateX(24px);
}

.addon-description {
    color: #6c757d;
    font-size: 14px;
    margin: 0.5rem 0;
}

.addon-price {
    font-weight: 600;
    color: #007bff;
    font-size: 14px;
}

.addon-category {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Plan Tabs */
.plan-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 1.5rem;
}

.plan-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #6c757d;
}

.plan-tab.active {
    background: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.plan-tab:hover:not(.active) {
    background: #e9ecef;
    color: #495057;
}

/* Plan Details */
.plan-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.plan-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.plan-description {
    color: #6c757d;
    margin-bottom: 1rem;
}

.plan-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    color: #495057;
}

.feature-item i {
    color: #28a745;
    font-size: 12px;
}

.plan-price {
    text-align: right;
}

.price-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
}

.price-period {
    color: #6c757d;
    font-size: 14px;
    margin-top: 0.5rem;
}

.price-breakdown {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.breakdown-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    font-size: 13px;
    color: #6c757d;
}

.breakdown-item.total {
    border-top: 1px solid #e9ecef;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    font-weight: 600;
    color: #333;
}

/* Summary Stats */
.summary-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: #6c757d;
    font-size: 14px;
}

/* Button Styles */
.btn-outline {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calc-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .branch-grid {
        grid-template-columns: 1fr;
    }
    
    .addons-container {
        grid-template-columns: 1fr;
    }
    
    .plan-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .plan-features {
        grid-template-columns: 1fr;
    }
    
    .price-display {
        font-size: 2rem;
    }
    
    .summary-stats {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Old calculator styles - commented out */
/*
.plan-selector {
    display: inline-flex;
    gap: 1rem;
    background: #f5f7fb;
    padding: 0.5rem;
    border-radius: 999px;
    margin: 0 auto 2rem;
}
*/

.plan-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid #e6eaf0;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
}

.plan-option input { display: none; }

.plan-option input:checked + .plan-label {
    background: #FF8C00;
    color: white;
}

.plan-label {
    padding: 6px 14px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.sites-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.site-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF8C00, #0066CC);
}

.site-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: #FF8C00;
}

.site-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.site-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.site-card-title i {
    color: #FF8C00;
    font-size: 1.2rem;
}

.remove-site-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.remove-site-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.05);
}

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

.site-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    cursor: help;
}

.field-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field-header i {
    color: #0066CC;
    font-size: 1rem;
}

.site-field label {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.site-field input[type="number"], .site-field input[type="text"] {
    padding: 12px 16px;
    border: 2px solid #e1e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.site-field input:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.field-hint {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
}

.calc-actions { margin: 1rem 0 2rem; }

.results-title { margin-bottom: 1rem; }

.plan-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.plan-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card h4 { margin-bottom: 0.5rem; }
.plan-total { font-size: 1.4rem; font-weight: 700; color: #111; }
.plan-currency { font-size: 0.9rem; color: #666; }

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.plan-card.selected {
    border-color: #FF8C00;
    box-shadow: 0 10px 28px rgba(255, 140, 0, 0.15);
}

.plan-features {
    margin: 0.5rem 0 0.5rem;
    color: #444;
}

.breakdown-toggle {
    appearance: none;
    background: #f3f6fb;
    color: #1f3b63;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.breakdown-toggle:hover {
    background: #fff3e6;
    border-color: #FF8C00;
    color: #FF8C00;
}

.breakdown { 
    margin-top: 0.5rem; 
    color: #555; 
    font-size: 0.95rem; 
    list-style: none;
    padding: 0;
}

.breakdown li { 
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.breakdown li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FF8C00;
    font-weight: bold;
}

.breakdown.collapsed { display: none; }

.pulse {
    animation: pulse 450ms ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

.breakdown { margin-top: 0.75rem; color: #555; font-size: 0.95rem; }
.breakdown li { margin-left: 1.1rem; }

.sla-note { margin-top: 0.5rem; font-size: 0.9rem; color: #444; }

.summary-actions {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.legal-note { color: #666; font-size: 0.9rem; }

.lead-form {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border: 2px solid #e6eef8;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.lead-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF8C00, #0066CC);
}

.lead-form-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lead-form-icon {
    background: linear-gradient(135deg, #FF8C00, #FF6B00);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.lead-form-text h4 {
    margin-bottom: 0.5rem;
    color: #1f2d3d;
    font-size: 1.3rem;
    font-weight: 600;
}

.lead-form-text p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.5;
}

.lead-form-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e1e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
    min-width: 280px;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

.form-note i {
    color: #FF8C00;
}

/* Form animations */
.lead-form {
    animation: slideInUp 0.6s ease-out;
}

/* Site card animations */
.site-card {
    animation: slideInUp 0.4s ease-out;
}

.site-card.new-site {
    animation: pulse 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success state for form */
.lead-form.success {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
}

.lead-form.success::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .lead-form-header {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-large {
        min-width: auto;
        width: 100%;
    }
    
    .site-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .site-card {
        padding: 1rem;
    }
    
    .remove-site-btn span {
        display: none;
    }
    
    .remove-site-btn {
        padding: 8px;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .site-grid {
        grid-template-columns: 1fr;
    }
    
    .site-field {
        margin-bottom: 0.5rem;
    }
}

.calc-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.itbis-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fbff;
    border: 1px solid #e6eef8;
    padding: 6px 10px;
    border-radius: 8px;
}

.summary-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid #e6e6e6;
    padding: 10px 16px;
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.summary-bar .btn { padding: 10px 16px; }
.summary-bar .summary-info { color: #1f2d3d; }
.summary-bar .summary-info strong { font-size: 1.1rem; margin-left: 8px; }
/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .about-docs {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 25px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #0066CC;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    background: #004499;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
    color: white;
}

@media (max-width: 768px) {
    .floating-btn span {
        display: none;
    }
    
    .floating-btn {
        padding: 12px;
        border-radius: 50%;
    }
} 

/* Brands strip */
.brands {
    background: #0f0f0f;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.brands-inner {
    display: flex;
    align-items: center;
    justify-content: center; /* center image */
}

.brands-img {
    display: block;
    max-width: min(500px, 90vw);
    height: auto;
    filter: brightness(0.95);
}

@media (max-width: 768px) {
    .brands-img { max-width: 95vw; }
} 

/* Force Services background image - multiple attempts */
section#servicios.services,
.services#servicios,
#servicios {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('./recursos/servicios image/zabbix1.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* Hero inline layout */
.hero-inline {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-right .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 1rem;
}

/* Stat item card look on dark bg */
.stat-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    backdrop-filter: blur(4px);
}

@media (max-width: 992px) {
    .hero-inline {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .hero-right .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-right .hero-stats {
        grid-template-columns: 1fr;
    }
} 

/* Add-ons */
.addons { margin: 1rem 0 2rem; }

.addons-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.addons-header h4 { margin: 0 0 0.75rem; }

.addons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.addon-field { display: flex; flex-direction: column; gap: 0.25rem; }
.addon-field label { font-size: 0.9rem; color: #333; font-weight: 600; }
.addon-field input { padding: 10px 12px; border: 1px solid #e6e6e6; border-radius: 8px; }
.addon-hint { font-size: 0.85rem; color: #666; font-style: italic; }

@media (max-width: 768px) {
    .addons-grid { grid-template-columns: 1fr; }
}

/* Email Gate Styles */
.price-blurred {
    /* filter: blur(8px); */ /* TEMPORAL: Desactivar blur */
    transition: filter 0.3s ease;
    position: relative;
}

.price-blur-overlay {
    display: none !important; /* TEMPORAL: Desactivar overlay */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.price-blur-overlay:hover {
    background: rgba(255, 255, 255, 0.95);
}

.price-blur-text {
    font-size: 14px;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.price-blur-icon {
    font-size: 20px;
    color: #007bff;
}

/* Email Modal */
.email-modal {
    display: none !important; /* TEMPORAL: Desactivar modal */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.email-modal.active {
    opacity: 1;
    visibility: visible;
}

.email-modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    padding: 2.5rem;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.email-modal.active .email-modal-content {
    transform: translateY(0);
}

.email-modal-header {
    margin-bottom: 2rem;
}

.email-modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 24px;
}

.email-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.email-modal-subtitle {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.5;
}

.email-form {
    margin-bottom: 1.5rem;
}

.email-input-group {
    position: relative;
    margin-bottom: 1rem;
}

.email-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.email-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.email-input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.email-error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 0.5rem;
    text-align: left;
}

.email-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.email-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.email-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.email-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
}

.email-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.email-benefit-icon {
    width: 32px;
    height: 32px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.email-benefit-text {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

.email-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f8f9fa;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.3s ease;
}

.email-modal-close:hover {
    background: #e9ecef;
    color: #495057;
}

.email-privacy {
    font-size: 12px;
    color: #6c757d;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
} 