/* =========================================
   SERVITECH - ESTILO B2B
   ========================================= */

:root {
    --primary: #3498db;
    /* Azul Técnico */
    --dark: #2c3e50;
    /* Azul Acero Oscuro */
    --gray: #ecf0f1;
    /* Gris Claro */
    --text: #333;
    --white: #ffffff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--dark);
    color: #bdc3c7;
    padding: 10px 0;
    font-size: 0.85rem;
}

.tb-flex {
    display: flex;
    justify-content: space-between;
}

.tb-info span {
    margin-right: 20px;
}

.tb-info i {
    color: var(--primary);
    margin-right: 5px;
}

.tb-social a {
    color: white;
}

/* --- NAVBAR --- */
.navbar {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    padding: 8px 20px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-nav:hover {
    background: var(--primary);
    color: white !important;
}

/* --- HERO --- */
.hero {
    height: 70vh;
    background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.85);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #bdc3c7;
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

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

/* --- CLIENTES --- */
.section-clients {
    background-color: #ecf0f1;
    padding: 40px 0;
    text-align: center;
}

.clients-title {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.clients-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.client-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #95a5a6;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- SERVICIOS --- */
.section-services {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.bar {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    padding: 30px;
    border: 1px solid #eee;
    transition: 0.3s;
    border-top: 4px solid transparent;
}

.service-card:hover {
    border-top-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* --- CERTIFICACIONES --- */
.section-certs {
    background-color: var(--dark);
    color: white;
    padding: 80px 0;
}

.certs-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.certs-text {
    flex: 1;
}

.certs-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--primary);
}

.certs-badges {
    display: flex;
    gap: 20px;
}

.badge-item {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    font-weight: 700;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- CONTACTO --- */
.section-contact {
    padding: 80px 0;
    background: var(--gray);
}

.contact-box {
    background: var(--white);
    display: flex;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-left {
    background: var(--primary);
    color: white;
    padding: 50px;
    flex: 1;
}

.contact-left h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.c-data p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-right {
    padding: 50px;
    flex: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background: #f9f9f9;
}

.btn-submit {
    background: var(--dark);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #000;
}

/* --- FOOTER --- */
.footer {
    background: #1a252f;
    color: #7f8c8d;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .certs-flex,
    .contact-box {
        flex-direction: column;
    }

    .tb-flex {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}