/* --- VARIABLES Y ESTILOS GLOBALES - TEMA ROJO CORPORATIVO FINAL --- */
:root {
  --primary-color: #d10d12; /* Rojo corporativo principal */
  --primary-hover-color: #b80b10; /* Un rojo más oscuro para hovers */
  --dark-color: #2c2c2c;    /* Gris muy oscuro para títulos y footer */
  --text-color: #555555;    /* Gris medio para párrafos */
  --white-color: #ffffff;
  --light-gray: #f8f9fa;
  --border-color: #e9ecef;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Lato', sans-serif; margin: 0; color: var(--text-color); line-height: 1.7; background-color: var(--white-color); }
* { box-sizing: border-box; }
h1, h2, h3, h4 { font-weight: 700; color: var(--dark-color); line-height: 1.3; }
h1 { font-size: 2.8rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.8rem; font-weight: 400; margin-bottom: 1rem; color: var(--text-color); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary-hover-color); }
img { max-width: 100%; height: auto; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.text-center-container { max-width: 800px; margin: 0 auto 40px auto; text-align: center; }
.section-subtitle { color: var(--primary-color); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.5rem; font-size: 0.9rem; }
address {
    font-style: normal;
}

/* --- HEADER --- */
.site-header { background-color: var(--white-color); padding: 15px 0; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 40px; vertical-align: middle; }
.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 30px; }
.main-nav a { font-weight: 400; color: var(--text-color); font-size: 1rem; }
.header-cta a { background-color: var(--primary-color); color: var(--white-color); padding: 10px 20px; border-radius: 5px; font-weight: 700; transition: background-color 0.3s ease; }
.header-cta a:hover { background-color: var(--primary-hover-color); }

/* --- HERO SECTION --- */
.hero { 
    background-color: var(--light-gray); 
    padding: 80px 0; 
}

/* El .container que añadimos en el HTML se encarga de centrar todo */

.hero-content {
    /* Este div ahora solo necesita alinear su contenido si fuera necesario */
}

.hero-text-container { 
    max-width: 800px; /* Controlamos el ancho para que no se extienda demasiado */
}

.hero h1 {
    font-size: 3rem; /* Un poco más grande para el H1 principal */
    line-height: 1.2;
}

.hero-benefits { 
    list-style: none; 
    padding: 0; 
    margin: 30px 0; 
}


/* --- Estilos para la nueva sección SEO --- */
.seo-text-content {
  max-width: 900px;
  margin: 0 auto; /* Centra el bloque de texto */
}

.seo-text-content h2, h3 {
  margin-top: 30px;
  color: var(--primary-color);
}

.seo-text-content h2 {
    font-size: 1.7rem;
    font-weight: bold;
}

.locations-list {
  list-style-type: '✓ '; /* Añade un check antes de cada item */
  padding-left: 20px;
  margin: 20px 0;
  columns: 3; /* Muestra la lista en 2 columnas en pantallas grandes */
  -webkit-columns: 3;
  -moz-columns: 3;
}

@media (max-width: 600px) {
  .locations-list {
    columns: 1; /* Vuelve a una sola columna en móviles */
    -webkit-columns: 1;
    -moz-columns: 1;
  }
}

.hero-benefits li { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    font-size: 1.1rem; 
    margin-bottom: 15px; 
    color: var(--text-color);
}

.hero-benefits svg { 
    color: var(--primary-color); 
    min-width: 24px; 
}

.hero-buttons .btn-primary { 
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 40px; 
    border-radius: 50px; /* Forma de píldora como en la imagen */
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
}
.hero-buttons .btn-primary:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(209, 13, 18, 0.25);
}

/* --- ABOUT US / BOTÓN SECUNDARIO --- */
.about-us-section { background-color: var(--white-color); }
.about-us-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-us-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
    width: 75%;
    height: auto;
    display: block;
}



.about-us-content strong { color: var(--primary-color); }
.btn-accent {
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    margin-top: 2rem;
    display: block;
    width: 50%;
    text-align: center;
}

.btn-accent:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(209, 13, 18, 0.25);
}


/* REEMPLAZA EL ANTIGUO BLOQUE .whatsapp-fab CON ESTE */

/* --- BOTÓN FLOTANTE DE LLAMADA --- */
.call-fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 85px;
  height: 85px;
  background-color: var(--primary-color); /* Usa el rojo corporativo */
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: all 0.3s ease;
}

.call-fab:hover {
  transform: scale(1.1) rotate(5deg); /* Efecto más dinámico */
  background-color: var(--primary-hover-color);
}

.call-fab svg {
  width: 28px; /* Tamaño ajustado para el icono de teléfono */
  height: 28px;
}
/* --- SERVICES --- */
.services-section { background-color: var(--light-gray); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background-color: var(--white-color); padding: 30px; border-radius: 8px; box-shadow: var(--box-shadow); border-top: 4px solid var(--primary-color); }
.service-card h3 { margin-top: 0; }
.service-card ul { padding-left: 20px; margin: 0; color: #555; }
.service-card li { margin-bottom: 10px; }

/* --- ADVANTAGES --- */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.advantage-item { display: flex; gap: 20px; align-items: flex-start; }
.advantage-icon { color: var(--primary-color); }
.advantage-text h3 { margin-top: 0; margin-bottom: 5px; font-size: 1.2rem; }
.advantage-text p { margin: 0; color: #555; }

/* --- FAQ --- */
.faq-section { background-color: var(--light-gray); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { font-size: 1.2rem; font-weight: 700; padding: 20px 0; cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary-color); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-content { padding-bottom: 20px; }

/* --- FINAL CTA --- */
.final-cta-section { background-color: var(--primary-color); color: var(--white-color); padding: 60px 0; }
.final-cta-section h3 { color: var(--white-color); font-size: 2rem; }
.cta-link { display: inline-block; background: var(--white-color); color: var(--primary-color); padding: 15px 35px; border-radius: 50px; font-weight: 900; margin-top: 20px; transition: all 0.3s ease; }
.cta-link:hover { background-color: var(--light-gray); transform: scale(1.05); }

/* --- FOOTER --- */
.site-footer { background-color: var(--dark-color); color: #adb5bd; padding: 60px 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-column h4 { color: var(--white-color); margin-top: 0; margin-bottom: 20px; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin-bottom: 10px; }
.footer-column a { color: #adb5bd; }
.footer-column a:hover { color: var(--white-color); }
.footer-logo {
  margin-bottom: 20px; /* Crea espacio entre el logo y el título "Contacto Rápido" */
}


.footer-logo img {
  max-width: 180px; /* Ajusta el tamaño máximo del logo para que no sea demasiado grande */
  height: auto;     /* Mantiene la proporción del logo */
    filter: brightness(0) invert(1);
}

/* --- ESTILOS PARA LA PARTE FINAL DEL FOOTER --- */

/* Contenedor para la línea y el texto de descargo */
.footer-bottom {
  text-align: center; /* Centra el contenido (la línea y el párrafo) */
  padding-top: 40px; /* Añade espacio sobre la línea horizontal */
  margin-top: 40px;  /* Separa esta sección de las columnas de arriba */
}

/* Estilos para la línea horizontal (hr) */
.footer-bottom hr {
  width: 80%;               /* Ocupa el 80% del ancho del contenedor */
  border: 0;                /* Elimina el borde por defecto */
  border-top: 1px solid #4a4a4a; /* Crea una línea fina de color gris oscuro */
  margin: 0 auto 20px auto; /* Centra la línea y añade espacio debajo de ella */
}

/* Estilos para el último párrafo (el texto pequeño) */
.footer-text-no-oficial {
  font-size: 0.6rem;      /* Tamaño de letra pequeño (12.8px si la base es 16px) */
  color: #888888;          /* Color de texto gris claro para que sea menos prominente */
  line-height: 1.5;       /* Espaciado entre líneas para mejor legibilidad */
  margin: 0;              /* Elimina el margen por defecto del párrafo */
  max-width: 800px;       /* Evita que el texto sea demasiado largo en pantallas grandes */
  display: inline-block;  /* Asegura que el max-width funcione correctamente con el text-align center */
}

/* --- WHATSAPP FAB --- */
.whatsapp-fab { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background-color: #25D366; color: var(--white-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 1000; transition: transform 0.3s ease; }
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab svg { width: 32px; height: 32px; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .about-us-grid, .footer-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-us-grid { text-align: center; }
    .header-cta {width: 100%;}
    .header-cta a {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    display: block;
    width: 80%;
    margin: 0 auto;
    text-align: center;
}
.hero h1{font-size:1.9rem;}
.hero-benefits li {justify-content: flex-start;
        font-size: 14px;
        display: flex;}
    .hero-buttons {
    margin-top: 3rem;}
    
.hero {
    background-color: var(--light-gray);
    padding: 25px 0;
}

.about-us-image {
    display: flex;
    justify-content: center;
}

.final-cta-section h3 {
    color: var(--white-color);
    font-size: 1.3rem;
}

.btn-accent {
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    display: block;
    width: 80%;
    margin: 2rem 2rem;
}


}
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; } h2 { font-size: 1.2rem; }
    .nav-container { flex-direction: column; gap: 20px; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .hero-text-container { text-align: center; }
    .hero-benefits li { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}





/* --- ESTILOS PARA LA SECCIÓN DEL MAPA --- */
.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* Proporción de aspecto 16:9, un estándar para embeds */
  border-radius: 12px; /* Mismas esquinas redondeadas que tus otras imágenes */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Sombra suave para dar profundidad */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0; /* Asegura que no haya ningún borde */
}