/* Reset y Variables */
:root {
    --primary-color: #0693e3; /* Azul vivido extraído del original */
    --secondary-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --text-color: #444;
    --brand-green: #28a745; /* Verde para la marca Antü */
    --header-height: 80px;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Galería de Imágenes (Soporte Técnico) */
.gallery-section {
    padding: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3; /* Mantiene proporciones uniformes */
}

/* Call to Action Section */
.cta-section {
    background-color: var(--white);
    padding: 60px 0;
}

.cta-content h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Top Bar */
.top-bar {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
}

.top-bar a {
    color: var(--primary-color);
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.logo img {
    max-height: 80px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-weight: 600;
    color: var(--secondary-color);
    padding: 10px 0;
    font-size: 15px;
    text-transform: uppercase;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Slider & Sliders generales */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    min-height: 400px; /* Altura mínima */
}

.slide {
    display: none;
    width: 100%;
    animation: fadeEffect 1s;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Botones del slider */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }
.prev-btn:hover, .next-btn:hover { background: var(--primary-color); }

@keyframes fadeEffect {
    from {opacity: 0.4} 
    to {opacity: 1}
}

/* Sections */
.section-block {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Page Headers */
.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

/* Product Specific Styles */
.text-green {
    color: var(--brand-green);
    font-weight: bold;
}

.intro-products h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    line-height: 1.4;
}

.intro-products h3 {
    font-weight: 400;
    margin-top: 20px;
}

.description-box {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.product-section .highlight-title {
    margin-top: 0;
}

.feature-list {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 15px;
    border-left: 3px solid var(--primary-color);
}

.check-list li {
    border-left: none;
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-color);
}

/* Split Layout (Bloque 3) */
.split-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.split-layout.align-top {
    align-items: flex-start;
}

.column {
    flex: 1;
}

/* Typography Enhancements */
.text-content p {
    margin-bottom: 1.2em;
    font-size: 1.05rem;
}

.text-content .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.highlight-title {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.4;
    color: var(--secondary-color);
}

.feature-image {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.no-padding-top {
    padding-top: 0;
}

.small-slider {
    min-height: auto;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Logos Grid (Bloque 4) */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.logo-grid img {
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.logo-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Footer */
.main-footer {
    background-color: #222;
    color: #ccc;
    padding-top: 60px;
    font-size: 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-widget h3 {
    color: var(--white);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    
    margin-bottom: 20px;
    font-size: 16px;
    text-align: center;
}

.footer-widget a:hover {
    color: var(--primary-color);
}
.footer-links li, .contact-list li {
    margin-bottom: 10px;    
    display: flex;
    align-items: center;    
    justify-content: center;
    gap: 10px;
    font-size: 1.3em;
}

.footer-links .date {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        width: 100%;
        display: none; /* Oculto por defecto en móvil */
    }

    .main-nav.active {
        display: block;
        padding-top: 20px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        border-bottom: 1px solid #eee;
    }

    .split-layout {
        flex-direction: column;
    }
    
    .hero-slider .prev-btn, .hero-slider .next-btn {
        padding: 10px;
    }
}

/* --- Estilos Página Contacto --- */

/* Grid de Tarjetas de Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contact-card .icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #666;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1em;
}

/* Formulario */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.radio-group label {
    display: block;
    font-weight: normal;
    margin-bottom: 5px;
    cursor: pointer;
}

.radio-group input {
    margin-right: 10px;
}

.btn-block {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Mapa Full Width */
.map-section.no-padding {
    padding-bottom: 0;
    padding-top: 0;
}

.map-responsive {
    width: 100%;
    height: 450px;
}

.map-responsive iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Estilos Página Novedades (Blog) --- */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Empuja el botón "Leer más" hacia abajo */
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    align-self: flex-start;
}

.read-more:hover {
    text-decoration: underline;
}

/* --- Botón Flotante de WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* Ajuste para móviles para que no tape contenido importante */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}