/* --- VARIABLES Y CONFIGURACIÓN BÁSICA (Paleta estilo Claude) --- */
:root {
    --primary-dark: #141413;     /* Negro principal */
    --accent-orange: #D97757;    /* Naranjo Claude */
    --bg-cream: #FAF9F5;         /* Fondo crema */
    --gray-light: #E8E6DC;       /* Gris claro */
    --gray-medium: #B0AEA5;      /* Gris medio */
    --accent-blue: #6A9BCC;      /* Azul Claude */
    --accent-green: #788C5D;     /* Verde Claude */
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-cream);
    color: var(--primary-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.main-header {
    background-color: var(--bg-cream);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h2 {
    color: var(--accent-orange);
    font-weight: 800;
    font-size: 28px;
}

.logo .punto {
    color: var(--primary-dark);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--accent-orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 14px;
}

/* --- BOTONES --- */
.btn {
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--bg-cream);
    border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
    background-color: #c46244; 
    border-color: #c46244;
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-cream);
    border: 2px solid var(--bg-cream);
}

.btn-secondary:hover {
    background-color: rgba(250, 249, 245, 0.1); 
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1584820927498-cafe8c107669?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Tu azul corporativo oscuro: #00305c */
    background: linear-gradient(90deg, rgba(0, 48, 92, 0.95) 0%, rgba(0, 48, 92, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    background-color: var(--accent-orange);
    color: var(--bg-cream);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    border: none;
}

.hero h1 {
    color: var(--bg-cream);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero p {
    color: var(--gray-light);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* --- SECCIONES MODULARES --- */
.services-section {
    padding: 100px 0;
}

.bg-cream {
    background-color: var(--bg-cream);
}

.bg-dark {
    background-color: var(--primary-dark);
}

.bg-dark .section-header h2, 
.bg-dark .section-header p {
    color: var(--bg-cream);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    color: var(--primary-dark);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--primary-dark);
    font-size: 18px;
    opacity: 0.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-cream);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 44px; /* Agrandado un poco para compensar los iconos Phosphor */
    margin-bottom: 20px;
    color: #00305c; /* Color azul corporativo para los iconos */
}

.service-card h3 {
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
}

.service-card p {
    color: #4A4A48; 
    font-size: 16px;
    margin-bottom: 25px;
    min-height: 75px;
}

.card-link {
    text-decoration: none;
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--primary-dark);
}

/* Tarjetas Oscuras (Plagas) */
.dark-card {
    background-color: #1A1A19;
    border: 1px solid #333333;
}

.dark-card h3 {
    color: var(--bg-cream);
}

.dark-card p {
    color: var(--gray-light);
}

.dark-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* --- SECCIÓN NOSOTROS / METODOLOGÍA --- */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-cream);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap; 
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    color: var(--primary-dark);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.85;
}

.differentiators-list {
    list-style: none;
}

.differentiators-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #4A4A48;
}

.differentiators-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.differentiators-list li strong {
    color: var(--primary-dark);
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* --- BANDA DE MÉTRICAS --- */
.metrics-section {
    padding: 60px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-orange); 
    line-height: 1;
    margin-bottom: 10px;
}

.metric-label {
    color: var(--gray-medium);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- BANDA DE PRESTIGIO (LOGOS) --- */
.trust-section {
    padding: 60px 0;
    background-color: var(--gray-light);
    text-align: center;
    border-top: 1px solid var(--gray-medium);
}

.trust-title {
    color: var(--accent-orange);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px; /* Reduje un poco el espaciado para que se lea mejor en minúsculas */
    margin-bottom: 40px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-logos img {
    max-height: 60px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.trust-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- FOOTER CORPORATIVO --- */
.main-footer {
    background-color: #00305c; /* Fondo azul corporativo */
    color: var(--gray-light);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo h2 {
    margin-bottom: 15px;
}

.footer-logo .punto {
    color: var(--bg-cream);
}

.footer-col h4 {
    color: var(--bg-cream);
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-contact, .footer-links {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Estilo para los iconos en el footer */
.footer-contact i {
    font-size: 20px;
    color: var(--accent-orange);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--bg-cream);
}

.footer-bottom {
    background-color: #001e3b; /* Azul aún más oscuro para el cierre */
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}