/* ======================= */
/* FUENTE Y RESET BÁSICO   */
/* ======================= */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f8fb;
    color: #333;
    line-height: 1.6;
}

/* ======================= */
/* CABECERA Y NAVEGACIÓN   */
/* ======================= */
header {
    background-color: #00509d;
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo {
    width: 150px;
    display: block;
    margin: 0 auto 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255,255,255,0.2);
}

nav ul li a.active {
    background-color: rgba(255,255,255,0.35);
}

/* ======================= */
/* PIE DE PÁGINA           */
/* ======================= */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #00509d;
    color: white;
    margin-top: 40px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

/* ======================= */
/* CONTENEDORES PRINCIPALES*/
/* ======================= */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ======================= */
/* HERO BANNER / SECCIONES HERO */
/* ======================= */
.hero-banner, .ondas-hero, .tecar-hero, .sis-hero, .protocolos-hero {
    text-align: center;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.hero-banner { background-color: #e6f2ff; }
.ondas-hero { background-color: #3c93ce; color: white; }
.tecar-hero, .sis-hero, .protocolos-hero { background-color: #e6f2ff; color: #333; }

.hero-banner h1, .ondas-hero h1, .tecar-hero h1, .sis-hero h1, .protocolos-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-banner p, .ondas-hero .subtitle, .tecar-hero .subtitle, .sis-hero .subtitle, .protocolos-hero p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.hero-image img {
    max-width: 450px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ======================= */
/* TARJETAS / CARDS         */
/* ======================= */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.card img {
    width: 100%;
    display: block;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h2 {
    color: #00509d;
    margin-bottom: 10px;
}

.card-content p {
    color: #555;
}

/* ======================= */
/* BOTONES COMUNES          */
/* ======================= */
.btn-vermas {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #00509d;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-vermas:hover {
    background-color: #003f7d;
    box-shadow: 0 6px 20px rgba(0,63,125,0.5);
}

/* ======================= */
/* HERO CARD / QUIÉNES SOMOS*/
/* ======================= */
.hero-card, .hero-card-vertical {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(135deg,#e0f0ff 0%,#fff 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,80,157,0.15);
    overflow: hidden;
    margin-bottom: 50px;
}

.hero-card-vertical .hero-card-image {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
}

.hero-card-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.hero-card-content {
    flex: 1 1 60%;
    max-width: 600px;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-card-content h1 { color: #00509d; margin-bottom: 15px; }
.hero-card-content h2 { color: #0074d9; margin-top: 20px; margin-bottom: 10px; }
.hero-card-content p { color: #444; line-height: 1.6; margin-bottom: 10px; }
.hero-card-content ul { margin: 10px 0 20px 20px; color: #333; }

/* ======================= */
/* GALERÍAS DE MINIATURAS   */
/* ======================= */
.gallery {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.thumbnails img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    border: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.thumbnails img.active {
    border-color: #00509d;
    transform: scale(1.1);
}

.thumbnails img:hover {
    transform: scale(1.05);
}

/* ======================= */
/* SECCIONES DE BENEFICIOS */
/* ======================= */
.benefits-section {
    text-align: center;
    margin: 50px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00509d;
}

/* ======================= */
/* ESTILOS DE LISTAS        */
/* ======================= */
ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

ul li {
    margin-bottom: 10px;
}

/* ======================= */
/* PROTOCOLOS / MANUALES    */
/* ======================= */
.protocolos-list, .manual-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.protocolos-list h2, .manual-section h2 {
    color: #007acc;
    margin-bottom: 20px;
}

.protocolos-list ul li, .manual-section p {
    font-size: 1.1rem;
}

/* ======================= */
/* CONTACTO                  */
/* ======================= */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.1rem;
    margin: 0;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-actions a {
    text-decoration: none;
}

@media (min-width: 600px) {
    .contact-actions {
        flex-direction: row;
        justify-content: flex-start;
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1100px;  /* un poco más ancho */
    margin: 0 auto;
}
/* ======================= */
/* DATOS TÉCNICOS (ONDAS)  */
/* ======================= */
.tech-section {
    margin: 40px auto;
    text-align: center;
}

.tech-section h2 {
    font-size: 1.9rem;
    margin-bottom: 25px;
    color: #00509d;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px; /* antes 25px, ahora más compacto */
    max-width: 900px; /* más estrecho para que no se dispersen */
    margin: 0 auto;
}

.tech-card {
    background: #fff;
    padding: 15px 12px; /* menos padding */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
}

.tech-card .icon {
    font-size: 1.6rem; /* más compacto */
    margin-bottom: 8px;
    color: #0074d9;
}

.tech-card h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #00509d;
}

.tech-card p {
    font-size: 0.95rem;
    margin: 0;
    color: #333;
    font-weight: 500;
}
.contact-actions {
    display: flex;
    flex-direction: column; /* los pone en columna */
    gap: 15px; /* espacio entre los enlaces */
    margin-top: 20px;
}

.contact-button {
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #0056b3;
}

.demo-button {
    background-color: #28a745; /* verde para la demo */
}

.demo-button:hover {
    background-color: #1e7e34;
}
