/* ===== Tipografía general ===== */
body {
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* ===== Header y Footer ===== */
header, footer {
    background-color: #0074d9;
    color: white;
    padding: 15px 20px;
}

header img.logo {
    max-height: 60px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a.active {
    text-decoration: underline;
}

footer p {
    text-align: center;
    margin: 0;
}

/* ===== Main general ===== */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ===== Encabezados ===== */
h1, h2 {
    color: #0074d9;
}

/* ===== Botones generales ===== */
.btn-vermas, .contact-actions a {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #0074d9;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-vermas:hover,
.contact-actions a:hover {
    background-color: #00509d;
}

/* ===== Hero general ===== */
.hero-banner, .ondas-hero, .tecar-hero, .sis-hero, .protocolos-hero {
    text-align: center;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto 25px auto;
    border-radius: 12px;
}

.hero-banner { background-color: #e6f2ff; }

.ondas-hero { background-color: #3c93ce; }
.tecar-hero, .sis-hero, .protocolos-hero { background-color: #e6f2ff; }

.ondas-hero h1, .tecar-hero h1, .sis-hero h1, .protocolos-hero h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.tecar-hero h1, .sis-hero h1, .protocolos-hero h1 { color: #333; }

.hero-banner h1 { font-size: 32px; color: #333; }

.hero-banner p,
.ondas-hero .subtitle,
.tecar-hero .subtitle,
.sis-hero .subtitle,
.protocolos-hero p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.hero-banner p { color: #444; }

.hero-image img {
    max-width: 450px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== Cards ===== */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: space-between;
}

.card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 23%;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 12px;
}

.card-content h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 15px;
}

/* ===== Hero vertical ===== */
.hero-card-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 30px auto;
    padding: 15px;
    gap: 15px;
}

.hero-card-vertical .hero-card-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
}

.hero-card-vertical .hero-card-content h1,
.hero-card-vertical .hero-card-content h2 {
    margin-bottom: 10px;
}

.hero-card-vertical .hero-card-content p,
.hero-card-vertical .hero-card-content li {
    font-size: 17px;
    line-height: 1.5;
}

.hero-card-vertical .btn-vermas {
    margin-top: 15px;
}

/* ===== Galería ===== */
.gallery {
    text-align: center;
    margin: 20px auto;
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.thumbnails img {
    width: 110px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
    border: 2px solid transparent;
}

.thumbnails img:hover,
.thumbnails img.active {
    opacity: 1;
    border: 2px solid #007acc;
}

/* ===== Beneficios ===== */
.benefits-section {
    padding: 30px 15px;
    text-align: center;
    margin-bottom: 25px;
}

.benefits-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.benefit-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.benefit-card .icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
}

/* ===== Información extra ===== */
.sis-info {
    text-align: center;
    padding: 30px 15px;
}

.sis-info p {
    font-size: 1.05rem;
    max-width: 750px;
    margin: 0 auto 15px;
}

/* ===== Protocolos ===== */
.protocolos-list {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 30px auto;
}

.protocolos-list h2 {
    margin-bottom: 20px;
    color: #007acc;
}

.protocolos-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protocolos-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 1.1rem;
}

.protocolos-list li:last-child {
    border-bottom: none;
}

.manual-box {
    text-align: center;
    margin-top: 40px;
}

/* ===== 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;
    }
}

/* ===== Manual Section (Ondas y Protocolos) ===== */
.manual-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.manual-section h2 {
    color: #007acc;
    margin-bottom: 15px;
}

.manual-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}
