/* Reset básico */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #fff;
color: #333;
}
/* Altura aproximada actual de tu header fijo (ajusta si cambias paddings) */
:root {
    --header-height: 110px;   /* ~36px top-bar + ~74px header (ajusta según tu diseño) */
}

/* Espacio para que el contenido no quede debajo del header fijo */
body {
    padding-top: var(--header-height);
    /* ... resto de tus estilos ... */
}
#guias{
    color: white;
}




/* Si prefieres aplicar el espacio a todas las sections */
section {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
}
/* Barra roja superior fija */
.top-bar {
background-color: #cc0000;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 16px;
font-size: 13px;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
}
/* Header fijo debajo de la barra roja */
header {
background-color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
position: fixed;
top: 36px; /* altura aproximada de .top-bar */
left: 0;
width: 100%;
z-index: 999;
}
.logo {
display: flex;
align-items: center;
gap: 10px;
}
.logo-square {
background-color: #cc0000;
color: white;
font-size: 22px;
font-weight: bold;
width: 38px;
height: 38px;
display: flex;
justify-content: center;
align-items: center;
}
.logo-text {
font-size: 15px;
font-weight: bold;
line-height: 1.1;
}
/* Menú hamburguesa y navegación mobile */
.menu-toggle { display: none; }
.hamburger {
font-size: 28px;
cursor: pointer;
color: #333;
}
.mobile-nav {
display: none;
position: fixed;
top: 80px; /* debajo del header */
left: 0;
width: 100%;
background: white;
padding: 20px;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
z-index: 998;
}
.mobile-nav ul {
list-style: none;
}
.mobile-nav a {
display: block;
padding: 12px 0;
color: #333;
text-decoration: none;
font-size: 16px;
}
#menu-toggle:checked ~ .mobile-nav {
display: block;
}
/* Navegación desktop */
.desktop-nav {
display: none;
}

/* Botón WhatsApp flotante */
.whatsapp-float {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #25D366;
color: white;
padding: 12px 20px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
box-shadow: 0 4px 12px rgba(0,0,0,0.25);
z-index: 1000;
display: flex;
align-items: center;
gap: 8px;
font-size: 1rem;
}
.whatsapp-float::before {
content: "💬";
}
/* Media Queries */
@media (min-width: 769px) {
.top-bar {
padding: 10px 40px;
font-size: 15px;
}
header {
padding: 15px 40px;
top: 42px;
}
.logo-square {
width: 48px;
height: 48px;
font-size: 26px;
}
.logo-text {
font-size: 18px;
}
.desktop-nav {
display: flex;
}
.desktop-nav ul {
display: flex;
list-style: none;
gap: 28px;
}
.desktop-nav a {
color: #0f2d5e;
text-decoration: none;
font-weight: 500;
}
.hamburger {
display: none;
}
.hero-section {
padding: 160px 60px 80px;
}
.hero-section h1 {
font-size: 3.2rem;
}
.hero-section p {
font-size: 1.3rem;
max-width: 600px;
}
.features {
flex-direction: row;
flex-wrap: wrap;
gap: 1.5rem;
}
}
/* Espacio general para header fijo (ajusta según tu top-bar + header) */
section {
padding: 120px 20px 80px; /* más espacio arriba y abajo */
}
h2 {
text-align: center;
font-size: 2.3rem;
margin-bottom: 3rem; /* más separación debajo del título */
font-weight: bold;
}


/*secion de sobre nosotros e historia*/

.container {
            max-width: 100%;
            padding: 0 15px;
            margin: 0 auto;
        }

       

/*foother*/
footer {
background: #0f0f0f;
color: #ccc;
padding: 60px 20px 30px;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr;
gap: 3rem;
}
.footer-logo {
margin-bottom: 1.5rem;
}
.footer-logo .logo-square {
display: inline-block;
background: #cc0000;
color: white;
font-size: 1.8rem;
font-weight: bold;
width: 50px;
height: 50px;
line-height: 50px;
text-align: center;
border-radius: 4px;
margin-right: 10px;
}
.footer-logo-text {
font-size: 1.4rem;
font-weight: bold;
color: white;
}
.footer-logo p {
margin-top: 0.8rem;
font-size: 0.95rem;
color: #aaa;
line-height: 1.5;
}
.footer-columns {
display: grid;
grid-template-columns: 1fr;
gap: 2.5rem;
}
.footer-col h4 {
color: white;
font-size: 1.2rem;
margin-bottom: 1.2rem;
font-weight: 600;
}
.footer-col ul {
list-style: none;
}
.footer-col li {
margin-bottom: 0.9rem;
}
.footer-col a {
color: #bbb;
text-decoration: none;
font-size: 0.95rem;
transition: color 0.3s;
}
.footer-col a:hover {
color: #ff4444;
}
.footer-contact p {
font-size: 0.95rem;
margin-bottom: 0.8rem;
color: #bbb;
}
.footer-contact a {
color: #ff4444;
text-decoration: none;
}
.footer-contact .icon {
margin-right: 8px;
color: #ff4444;
}
.footer-bottom {
margin-top: 4rem;
padding-top: 2rem;
border-top: 1px solid #222;
text-align: center;
font-size: 0.85rem;
color: #888;
}
.footer-bottom a {
color: #ff4444;
text-decoration: none;
}
/* Responsive - Columnas en desktop */
@media (min-width: 768px) {
.footer-container {
grid-template-columns: 1.2fr 2fr;
gap: 4rem;
}
.footer-columns {
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
.footer-section {
padding: 80px 40px 40px;
}
}
@media (min-width: 1024px) {
.footer-container {
grid-template-columns: 1.3fr 2.7fr;
}
}


/*apartado de nuestros valores, equipo, certificado*/
/* Estilos generales para secciones */
section {
    padding: 40px 20px;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #007bff; /* Azul para títulos */
}

p {
    font-size: 1rem;
    color: #666;
}

/* Iconos circulares */
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #e6f2ff; /* Azul claro */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-size: 1.5rem; /* Tamaño de emoji */
}
/* Banner de Blog y Consejos (mobile-first: centrado, padding ajustado) */
        .blog-header {
            background: linear-gradient(to right, #6A1B9A, #AB47BC); /* Morado gradiente */
            color: #fff;
            text-align: center;
            padding: 40px 20px;
        }

        .blog-header h1 {
            font-size: 2em;
            margin-bottom: 10px;
        }

        .blog-header p {
            font-size: 1em;
        }

        /* Grid de tarjetas (mobile: 1 columna, stack vertical) */
        .blog-grid {
            display: grid;
            grid-template-columns: 1fr; /* 1 columna en mobile */
            gap: 20px;
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Tarjeta individual (clickable como enlace completo) */
        .blog-card {
            display: block; /* Hace toda la tarjeta clickable */
            background-color: #E3F2FD; /* Azul claro */
            border-radius: 10px;
            padding: 20px;
            text-decoration: none;
            color: #333;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s;
        }

        .blog-card:hover {
            transform: translateY(-5px);
        }

        .blog-card .icon {
            font-size: 2em;
            margin-bottom: 10px;
            text-align: center;
        }

        .blog-card .category {
            display: inline-block;
            background-color: #BBDEFB;
            color: #1976D2;
            font-size: 0.8em;
            padding: 5px 10px;
            border-radius: 20px;
            margin-bottom: 10px;
        }

        .blog-card h2 {
            font-size: 1.2em;
            margin-bottom: 10px;
        }

        .blog-card p {
            font-size: 0.9em;
            margin-bottom: 10px;
        }

        .blog-card .meta {
            font-size: 0.8em;
            color: #666;
        }

        /* Sección de Ayuda Profesional (centrada en mobile) */
        .help {
            text-align: center;
            padding: 40px 20px;
            background-color: #fff;
        }

        .help h2 {
            font-size: 1.8em;
            margin-bottom: 10px;
        }

        .help p {
            font-size: 1em;
            margin-bottom: 20px;
        }

        .help button {
            background-color: #1976D2; /* Azul */
            color: #fff;
            border: none;
            padding: 10px 20px;
            font-size: 1em;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .help button:hover {
            background-color: #1565C0;
        }

        /**boton de llamada */
        .btn-call {
    /* Reset básico */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background: #25D366;          /* verde WhatsApp - también puedes usar #00B341 o #E53935 (rojo) */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    
    /* Tamaño y toque amigable para móviles */
    min-height: 56px;           /* mínimo recomendado para toque */
    min-width: 180px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    
    transition: all 0.2s ease;
  }

  .btn-call:hover,
  .btn-call:active {
    background: #20b858;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  }

  .btn-call:active {
    transform: scale(0.97);
  }

  /* Icono de teléfono (opcional pero recomendado) */
  .btn-call::before {
    content: "📞 ";
    font-size: 1.2em;
    margin-right: 8px;
  }

  /* Para pantallas pequeñas */
  @media (max-width: 480px) {
    .btn-call {
      font-size: 1.15rem;
      padding: 16px 32px;
      width: 100%;
      max-width: 320px;
      margin: 0 auto;
    }
  }
        

        /* Botón flotante WhatsApp (fijo en bottom-right para mobile) */
        .whatsapp {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #25D366; /* Verde WhatsApp */
            color: #fff;
            padding: 10px 15px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 1em;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .whatsapp::before {
            content: "💬 "; /* Icono de chat */
            margin-right: 5px;
        }

        /* Media query para desktop: 3 columnas */
        @media (min-width: 768px) {
            .blog-header h1 {
                font-size: 3em;
            }

            .blog-header p {
                font-size: 1.2em;
            }

            .blog-grid {
                grid-template-columns: repeat(3, 1fr); /* 3 columnas en desktop */
            }

            .blog-card h2 {
                font-size: 1.5em;
            }
        }
#boton {
    text-decoration: none;
    color: white;
}   