/* ===== LOGO ===== */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0;
    margin-right: auto;
}

.navbar-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.navbar-brand h1 a {
    color: var(--negro);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.navbar-brand .logo {
    height: 90px;
    width: 90px;
    display: block;
    object-fit: contain;
    margin-right: 0;
}

.navbar-brand .brand-text {
    color: var(--cyan);
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}

.navbar-brand span {
    color: var(--cyan);
}

/* Logo en footer */
.footer-logo {
    height: 80px;
    width: 80px;
    margin-bottom: 0;
    display: block;
    object-fit: contain;
}

/* Footer brand text */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
}

.footer-brand .brand-text {
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-oscuro: #003366;
    --azul-claro: #0066cc;
    --cyan: #00d4ff;
    --rosado: #ff69b4;
    --amarillo: #ffc107;
    --blanco: #ffffff;
    --negro: #1a1a1a;
    --gris-claro: #f5f5f5;
    --gris-oscuro: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--negro);
    background-color: var(--blanco);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--blanco);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gris-claro);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.navbar-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.navbar-brand h1 a {
    color: var(--negro);
    text-decoration: none;
}

.navbar-brand h1 span {
    color: var(--cyan);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    color: var(--negro);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--cyan);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--negro);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.2) 0%, rgba(135, 206, 250, 0.2) 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.page-title .title-black {
    display: block;
}

.page-title .title-cyan {
    display: block;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--gris-oscuro);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.2) 0%, rgba(135, 206, 250, 0.2) 100%);
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gris-oscuro);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-black {
    color: var(--negro);
}

.title-cyan {
    color: var(--cyan);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gris-oscuro);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

/* ===== BOTONES ===== */
.btn {
    padding: 14px 35px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--azul-claro) 100%);
    color: var(--blanco);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: var(--blanco);
    color: var(--cyan);
    border: 2px solid var(--cyan);
}

.btn-secondary:hover {
    background: var(--cyan);
    color: var(--blanco);
}

.btn-link {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-link:hover {
    gap: 1rem;
    color: var(--azul-claro);
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    line-height: 1.3;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gris-oscuro);
    margin-bottom: 3rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 120px 0;
    background: var(--gris-claro);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--blanco);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--cyan);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--negro);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gris-oscuro);
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--azul-claro) 100%);
    color: var(--blanco);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== CARDS GRID ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.info-card {
    background: var(--blanco);
    border: 2px solid var(--cyan);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}

.card-icon {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.4rem;
    color: var(--negro);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--gris-oscuro);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===== STATS INLINE ===== */
.stats-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--gris-oscuro);
    margin: 0;
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.content-text h3 {
    font-size: 2rem;
    color: var(--negro);
    margin-bottom: 2rem;
}

.content-text p {
    font-size: 1.2rem;
    color: var(--gris-oscuro);
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

/* ===== MISIÓN Y VISIÓN ===== */
.mision-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mision-card, .vision-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 182, 193, 0.1) 100%);
    padding: 3rem;
    border-radius: 15px;
    border-left: 5px solid var(--cyan);
    transition: all 0.3s ease;
}

.mision-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.mv-icon {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.mision-card h3, .vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.mision-card p, .vision-card p {
    color: var(--gris-oscuro);
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== TIMELINE ===== */
.timeline-section {
    padding: 80px 0;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--cyan) 0%, var(--azul-claro) 100%);
    transform: translateX(-50%);
}

.timeline-items {
    position: relative;
}

.timeline-item {
    margin-bottom: 3rem;
    padding: 2rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-item:nth-child(odd) {
    padding-left: 0;
    padding-right: calc(50% + 2rem);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 2rem);
    padding-right: 0;
    text-align: left;
}

.timeline-year {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--cyan);
}

.timeline-content h4 {
    color: var(--negro);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--gris-oscuro);
    font-size: 0.9rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 2.5rem;
    width: 20px;
    height: 20px;
    background: var(--cyan);
    border: 4px solid var(--blanco);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 3px var(--azul-claro);
    transition: all 0.3s ease;
}

.timeline-item.active::before {
    width: 30px;
    height: 30px;
    top: 2.3rem;
    box-shadow: 0 0 0 5px var(--azul-claro), 0 0 20px rgba(0, 212, 255, 0.5);
}

/* ===== EQUIPO ===== */
.equipo {
    padding: 80px 0;
    background: var(--gris-claro);
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-member {
    background: var(--blanco);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-member:hover {
    border-color: var(--cyan);
    transform: translateY(-10px);
}

.member-icon {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.team-member h3 {
    font-size: 1.1rem;
    color: var(--negro);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--gris-oscuro);
    font-size: 0.9rem;
}

/* ===== SERVICIOS Y PRODUCTOS SECTION ===== */
.servicios-section,
.productos-section {
    padding: 80px 0;
}

.servicios-grid,
.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.servicio-card,
.producto-card {
    background: var(--blanco);
    border: 2px solid var(--cyan);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.servicio-card:hover,
.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.card-header {
    margin-bottom: 1.5rem;
}

.servicio-icon,
.producto-icon {
    font-size: 2.5rem;
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicio-card h4,
.producto-card h4 {
    font-size: 1.2rem;
    color: var(--negro);
    margin-bottom: 0.5rem;
}

.servicio-card p,
.producto-card p {
    color: var(--gris-oscuro);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.servicio-features,
.producto-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.servicio-features span,
.producto-features span {
    font-size: 0.85rem;
    color: var(--cyan);
    font-weight: 600;
}

/* ===== IMÁGENES DE SERVICIOS Y PRODUCTOS ===== */
.servicio-imagen,
.producto-imagen {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.servicio-imagen img,
.producto-imagen img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-imagen,
.producto-card:hover .producto-imagen {
    background: rgba(0, 212, 255, 0.15);
    transform: scale(1.05);
}

.servicio-card:hover .servicio-imagen img,
.producto-card:hover .producto-imagen img {
    transform: scale(1.1);
}

/* ===== CLIENTES SECTION ===== */
.clientes-section {
    padding: 80px 0;
    background: var(--gris-claro);
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cliente-card {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--azul-claro) 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--blanco);
    transition: all 0.3s ease;
}

.cliente-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.cliente-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cliente-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cliente-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.cliente-info {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.cliente-info span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== TESTIMONIOS ===== */
.testimonios {
    padding: 80px 0;
    background: var(--blanco);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonio-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 182, 193, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--cyan);
    transition: all 0.3s ease;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.stars {
    color: var(--amarillo);
    margin-bottom: 1rem;
}

.stars i {
    margin-right: 0.3rem;
}

.testimonio-text {
    color: var(--gris-oscuro);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonio-card h4 {
    color: var(--negro);
    margin-bottom: 0.3rem;
}

.testimonio-empresa {
    color: var(--cyan);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== CONTACTO SECTION ===== */
.contacto-section {
    padding: 80px 0;
    background: var(--gris-claro);
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contacto-info h2 {
    font-size: 2rem;
    color: var(--negro);
    margin-bottom: 1rem;
}

.info-description {
    font-size: 1rem;
    color: var(--gris-oscuro);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 2rem;
    color: var(--cyan);
    min-width: 50px;
}

.info-item h4 {
    color: var(--negro);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.info-item p {
    color: var(--gris-oscuro);
    margin: 0.3rem 0;
}

.info-item small {
    color: var(--cyan);
    font-size: 0.8rem;
}

.info-item a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--azul-claro);
}

/* ===== FORMULARIO ===== */
.contacto-form {
    background: var(--blanco);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--cyan);
}

.contacto-form h2 {
    font-size: 2rem;
    color: var(--negro);
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--gris-oscuro);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--negro);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gris-claro);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.contacto-form button {
    width: 100%;
    margin-top: 1rem;
}

.mensaje-estado {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.mensaje-estado.exito {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.mensaje-estado.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===== LIBRO DE RECLAMACIONES ===== */
.btn-libro-reclamaciones {
    background: linear-gradient(135deg, var(--rosado) 0%, #ff1493 100%);
    color: var(--blanco);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-libro-reclamaciones:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.btn-libro-reclamaciones i {
    font-size: 1.1rem;
}

/* ===== MODAL LIBRO DE RECLAMACIONES ===== */
.modal-libro-reclamaciones {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal-libro-reclamaciones.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-contenido-libro {
    background: var(--blanco);
    padding: 40px;
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

.cerrar-libro {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--gris-oscuro);
    transition: color 0.3s ease;
}

.cerrar-libro:hover {
    color: var(--cyan);
}

.libro-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--cyan);
    padding-bottom: 1rem;
}

.libro-header h2 {
    color: var(--negro);
    font-size: 1.8rem;
    margin: 0;
}

.libro-info {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--cyan);
    margin-bottom: 2rem;
}

.libro-info p {
    color: var(--gris-oscuro);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.libro-info h3 {
    color: var(--negro);
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}

.libro-info ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.libro-info ul li {
    color: var(--gris-oscuro);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.libro-info ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: bold;
}

/* ===== FORMULARIO RECLAMACIONES ===== */
.formulario-reclamaciones {
    display: grid;
    gap: 1.5rem;
}

.form-grupo {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-grupo label {
    color: var(--negro);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-grupo input,
.form-grupo select,
.form-grupo textarea {
    padding: 12px 15px;
    border: 2px solid var(--gris-claro);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: var(--negro);
}

.form-grupo input::placeholder,
.form-grupo textarea::placeholder {
    color: var(--gris-oscuro);
    opacity: 0.6;
}

.form-grupo input:focus,
.form-grupo select:focus,
.form-grupo textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.form-grupo textarea {
    resize: vertical;
    font-family: inherit;
    min-height: 120px;
}

.form-grupo.checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
}

.form-grupo.checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-grupo.checkbox label {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}

.mensaje-reclamacion {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: none;
    margin-top: 1rem;
}

.mensaje-reclamacion.exito {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.mensaje-reclamacion.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===== FOOTER MEJORADO ===== */
.footer-main {
    background: var(--blanco);
    color: var(--negro);
    padding: 40px 0 0 0;
    margin-top: 100px;
    border-top: 1px solid var(--gris-claro);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 30px 0;
    border-bottom: 1px solid var(--gris-claro);
    align-items: flex-start;
}

.footer-section h3 {
    font-size: 1.1rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--gris-oscuro);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: var(--gris-oscuro);
    font-size: 0.9rem;
    background: var(--gris-claro);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #20ba61 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--blanco);
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===== ANIMACIONES ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--blanco);
        gap: 0;
        border-bottom: 1px solid var(--gris-claro);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 1rem;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 0.4rem 0;
    }

    .navbar-brand .logo {
        height: 70px;
        width: 70px;
    }

    .navbar-brand .brand-text {
        font-size: 1rem;
    }
    
    .footer-logo {
        height: 60px;
        width: 60px;
    }

    .footer-brand .brand-text {
        font-size: 0.85rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        height: 300px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .mision-vision {
        grid-template-columns: 1fr;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        text-align: left !important;
    }

    .timeline-line {
        left: 0;
    }

    .timeline-item::before {
        left: 0;
    }

    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicios-grid,
    .productos-grid {
        grid-template-columns: 1fr;
    }

    .clientes-grid {
        grid-template-columns: 1fr;
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .contacto-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 20px 0;
    }

    .modal-contenido-libro {
        padding: 25px;
        max-width: 95%;
    }

    .libro-header h2 {
        font-size: 1.5rem;
    }

    .cerrar-libro {
        right: 15px;
        top: 15px;
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .servicio-imagen,
    .producto-imagen {
        width: 160px;
        height: 160px;
    }

    .servicio-imagen img,
    .producto-imagen img {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .navbar-brand h1 {
        font-size: 1.3rem;
    }

    .navbar {
        padding: 0.3rem 0;
    }

    .navbar-brand .logo {
        height: 60px;
        width: 60px;
    }

    .navbar-brand .brand-text {
        font-size: 0.9rem;
    }
    
    .footer-logo {
        height: 50px;
        width: 50px;
    }

    .footer-brand .brand-text {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stats-inline {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 15px 0;
    }

    .footer-section h3 {
        margin-bottom: 1rem;
    }

    .modal-contenido-libro {
        padding: 20px;
        max-width: 98%;
    }

    .libro-header h2 {
        font-size: 1.3rem;
    }

    .formulario-reclamaciones {
        gap: 1rem;
    }

    .servicio-imagen,
    .producto-imagen {
        width: 140px;
        height: 140px;
    }

    .servicio-imagen img,
    .producto-imagen img {
        width: 120px;
        height: 120px;
    }
}