/* --- Reseteo básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif; /* Puedes buscar fuentes de Google Fonts luego */
}

/* Variables de colores (para que sea fácil cambiar luego) */
:root {
    --primary-color: #0fc6ff;
    --dark-bg: #111111;
    --text-gray: #555;
    --light-gray: #f9f9f9;
}

/* Un contenedor para centrar el contenido en la pantalla */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a { text-decoration: none; }

/* --- Botones --- */
.btn {
    padding: 12px 25px;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-dark {
    background-color: var(--dark-bg);
    color: var(--primary-yellow);
}

.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--dark-bg);
}

.btn:hover { opacity: 0.9; }

/* --- Top Bar (Negra) --- */
.top-bar {
    background-color: var(--dark-bg);
    color: white;
    padding: 15px 0;
}

.top-bar-content {
    display: flex;
    justify-content: flex-start; /* Alineado a la izquierda como la imagen */
}

.contact-info {
    display: flex;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Los círculos amarillos de los iconos */
.icon-circle {
    background-color: var(--primary-yellow);
    color: var(--dark-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item span {
    display: block;
    font-weight: bold;
    color: var(--primary-yellow);
    font-size: 0.9rem;
}

.info-item a {
    color: white;
    font-size: 0.9rem;
}

/* --- Header Principal (Amarillo) --- */
.main-header {
    background-color: var(--primary-yellow);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}
.logo img { height: 40px; margin-right: 10px;}

.navbar a {
    color: var(--dark-bg);
    margin: 0 15px;
    font-weight: 600;
}
.navbar a.active { text-decoration: underline; }


/* --- Hero Section (Imagen grande) --- */
.hero-section {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

/* Capa oscura sobre la imagen para que el texto se lea bien */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px; /* Limitamos el ancho del texto */
}

.hero-subtitle {
    background-color: var(--dark-bg);
    padding: 5px 10px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* --- Sección de Servicios --- */
.services-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 { font-size: 2.5rem; margin-bottom: 20px; }
.section-title p { color: var(--text-gray); max-width: 700px; margin: 0 auto; }

/* Las pestañas (tabs) */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 15px 30px;
    background: white;
    border: 2px solid #eee;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn.active {
    border-color: var(--primary-yellow);
    color: var(--dark-bg);
}

/* El contenido de los servicios (Imagen a la izq, texto a la der) */
.service-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.service-image {
    flex: 1; /* Toma el 50% del espacio */
}
.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-text {
    flex: 1; /* Toma el otro 50% */
}

.service-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.service-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Clase utilitaria para ocultar cosas */
.hidden { display: none; }