/* =========================================================
   AXLUON
   styles.css
========================================================= */

/* =========================================================
   1. VARIABLES Y RESET
========================================================= */

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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --dark: #0f172a;

    --accent: #06b6d4;

    --bg: #f8fafc;
    --white: #ffffff;

    --text: #475569;
    --text-light: #64748b;

    --border: #e2e8f0;

    --success: #16a34a;
    --whatsapp: #25d366;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: var(--bg);

    color: var(--dark);

    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

:is(a, button, [role="button"]):focus-visible {
    outline: 3px solid var(--primary-dark);
    outline-offset: 3px;
}

.product-image:focus-visible {
    outline-offset: -4px;
}

:is(.footer, .image-modal) :is(a, button, [role="button"]):focus-visible {
    outline-color: var(--white);
}

/* =========================================================
   2. UTILIDADES GENERALES
========================================================= */

.container {
    width: 90%;
    max-width: 1180px;

    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

.section-light {
    background: var(--white);
}

.section-title {
    max-width: 720px;

    margin: 0 auto 50px;

    text-align: center;
}

.section-title span {
    color: var(--primary);

    font-weight: 700;
}

.section-title h2 {
    font-size: 40px;

    margin: 10px 0 16px;
}

.section-title p {
    color: var(--text);
}

.mini-title,
.badge {
    display: inline-block;

    color: var(--primary);

    font-weight: 700;

    margin-bottom: 14px;
}

.light {
    color: #bfdbfe;
}

/* =========================================================
   3. BOTONES
========================================================= */

.btn {
    display: inline-block;

    padding: 14px 24px;

    border: none;
    border-radius: 10px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    text-align: center;

    transition: 0.25s ease;
}

.btn-primary {
    background: var(--primary);

    color: white;
}

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

    transform: translateY(-2px);
}

.btn-secondary {
    background: white;

    color: var(--dark);

    border: 1px solid var(--border);
}

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

    border-color: var(--primary);
}

.btn-light {
    background: white;

    color: var(--dark);
}

/* =========================================================
   4. HEADER / NAVBAR
========================================================= */

.header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(10px);
}

.navbar {
    min-height: 78px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.brand {
    display: flex;

    align-items: center;

    text-decoration: none;
}

.brand-logo {
    height: 58px;

    width: auto;

    display: block;
}

.nav-links {
    display: flex;

    align-items: center;

    gap: 28px;

    list-style: none;
}

.nav-links a {
    color: var(--dark);

    text-decoration: none;

    font-weight: 600;

    transition: 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;

    background: none;

    border: none;

    color: var(--dark);

    font-size: 28px;

    cursor: pointer;
}

/* =========================================================
   5. HERO
========================================================= */

.hero {
    padding: 90px 0 70px;

    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 60%, #ecfeff 100%);
}

.hero-content {
    display: grid;

    grid-template-columns: 1.1fr 1fr;

    gap: 60px;

    align-items: center;
}

.hero h1 {
    font-size: 54px;

    line-height: 1.1;

    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-text p {
    max-width: 620px;

    color: var(--text);

    font-size: 18px;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 30px;
}

/* =========================================================
   6. MOCKUP DEL SOFTWARE EN HERO
========================================================= */

.hero-card {
    position: relative;

    display: flex;

    justify-content: center;
}

.app-window {
    width: 100%;

    max-width: 540px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15);
}

/* Barra superior */

.app-topbar {
    height: 48px;

    position: relative;

    display: flex;

    align-items: center;

    padding: 0 16px;

    background: #f1f5f9;
}

.window-dots {
    display: flex;

    gap: 7px;
}

.window-dots span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #94a3b8;
}

.app-url {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    padding: 5px 20px;

    border-radius: 7px;

    background: white;

    color: var(--text-light);

    font-size: 11px;
}

/* Layout */

.app-layout {
    display: grid;

    grid-template-columns: 62px 1fr;

    min-height: 370px;
}

/* Sidebar */

.app-sidebar {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;

    padding: 17px 10px;

    background: var(--dark);
}

.sidebar-logo {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 10px;

    background: var(--primary);

    color: white;

    font-weight: 700;
}

.sidebar-item {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: #94a3b8;

    font-size: 15px;
}

.sidebar-item.active {
    background: var(--primary);

    color: white;
}

/* Contenido */

.app-content {
    padding: 22px;

    background: #f8fafc;
}

.app-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.app-header small {
    color: var(--text-light);
}

.app-header h3 {
    margin-top: 3px;

    font-size: 18px;
}

.user-avatar {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dbeafe;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;
}

/* Estadísticas */

.stats-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-bottom: 18px;
}

.stat-card {
    padding: 15px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: white;
}

.stat-card span {
    display: block;

    color: var(--text-light);

    font-size: 11px;
}

.stat-card strong {
    display: block;

    margin: 4px 0;

    color: var(--dark);

    font-size: 23px;
}

.stat-card small {
    color: var(--success);

    font-size: 9px;
}

/* Actividad */

.activity-card {
    padding: 15px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: white;
}

.activity-header {
    display: flex;

    justify-content: space-between;

    margin-bottom: 14px;

    font-size: 12px;
    font-weight: 700;
}

.activity-header small {
    color: var(--primary);
}

.activity-row {
    display: grid;

    grid-template-columns: 34px 1fr auto;

    align-items: center;

    gap: 10px;

    padding: 10px 0;

    border-top: 1px solid #f1f5f9;
}

.activity-avatar {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 10px;
    font-weight: 700;
}

.activity-row strong {
    display: block;

    font-size: 11px;
}

.activity-row small {
    display: block;

    color: var(--text-light);

    font-size: 9px;
}

.status {
    padding: 4px 7px;

    border-radius: 20px;

    background: #dcfce7;

    color: #15803d;

    font-size: 8px;
}

.status.pending {
    background: #fef3c7;

    color: #b45309;
}

/* Badges flotantes */

.floating-badge {
    position: absolute;

    padding: 10px 14px;

    border-radius: 10px;

    background: white;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);

    font-size: 12px;
    font-weight: 600;
}

.badge-one {
    left: -25px;

    bottom: 65px;
}

.badge-two {
    right: -20px;

    top: 75px;
}

/* =========================================================
   7. TARJETAS / SERVICIOS / PROCESO
========================================================= */

.cards-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.card {
    padding: 32px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);

    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.card-icon {
    margin-bottom: 16px;

    font-size: 34px;
}

.card-number {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    font-weight: 700;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--text);
}

/* =========================================================
   8. COLUMNAS GENERALES
========================================================= */

.two-columns {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;
}

.two-columns h2 {
    margin: 10px 0 16px;

    font-size: 40px;
}

.two-columns p {
    color: var(--text);
}

/* =========================================================
   9. PRODUCTO DESTACADO
========================================================= */

.product-section {
    overflow: hidden;

    background: white;
}

.product-layout {
    display: grid;

    grid-template-columns: 0.9fr 1.2fr;

    align-items: center;

    gap: 80px;
}

.product-label {
    display: inline-block;

    margin-bottom: 18px;

    padding: 7px 12px;

    border-radius: 50px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
}

.product-info h2 {
    margin-bottom: 20px;

    color: var(--dark);

    font-size: 44px;

    line-height: 1.15;
}

.product-description {
    margin-bottom: 32px;

    color: var(--text-light);

    font-size: 17px;
}

/* Características */

.product-features {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.product-feature {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}

.feature-check {
    width: 32px;
    min-width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dbeafe;

    color: var(--primary);

    font-weight: 700;
}

.product-feature strong {
    display: block;

    margin-bottom: 3px;

    color: var(--dark);
}

.product-feature p {
    color: var(--text-light);

    font-size: 14px;
}

.product-buttons {
    display: flex;

    align-items: center;

    gap: 24px;

    margin-top: 35px;
}

.product-link {
    color: var(--primary);

    text-decoration: none;

    font-weight: 700;
}

/* Zona visual */

.product-visual {
    position: relative;
}

.product-glow {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 480px;
    height: 480px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #dbeafe;

    filter: blur(70px);

    opacity: 0.65;
}

.browser-window {
    position: relative;

    z-index: 2;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: white;

    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
}

.browser-header {
    position: relative;

    height: 48px;

    display: flex;

    align-items: center;

    padding: 0 16px;

    background: #f1f5f9;
}

.browser-dots {
    display: flex;

    gap: 7px;
}

.browser-dots span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #94a3b8;
}

.browser-address {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    padding: 5px 30px;

    border-radius: 8px;

    background: white;

    color: var(--text-light);

    font-size: 11px;
}

.browser-content {
    position: relative;

    overflow: hidden;

    background: #f8fafc;
}

.product-image {
    width: 100%;
    height: auto;

    display: block;

    object-fit: contain;

    cursor: zoom-in;

    transition: transform 0.35s ease;
}

.browser-content:hover .product-image {
    transform: scale(1.015);
}

.image-hint {
    position: absolute;

    right: 15px;
    bottom: 15px;

    padding: 8px 12px;

    border-radius: 8px;

    background: rgba(15, 23, 42, 0.88);

    color: white;

    font-size: 11px;
    font-weight: 600;

    opacity: 0;

    pointer-events: none;

    transform: translateY(5px);

    transition: 0.3s ease;
}

.browser-content:hover .image-hint {
    opacity: 1;

    transform: translateY(0);
}

/* Badges producto */

.product-badge {
    position: absolute;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px 16px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: white;

    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.14);
}

.product-badge small {
    display: block;

    color: var(--text-light);

    font-size: 10px;
}

.product-badge strong {
    display: block;

    color: var(--dark);

    font-size: 13px;
}

.badge-icon {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 14px;
}

.badge-patients {
    left: -35px;

    bottom: 55px;
}

.badge-secure {
    right: -25px;

    top: 75px;
}

/* =========================================================
   10. GALERÍA
========================================================= */

.gallery-section {
    background: #f8fafc;
}

.system-gallery {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    max-width: 1200px;

    margin: 0 auto;
}

.gallery-card {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: white;

    cursor: pointer;

    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.gallery-image-wrapper {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #eef2f7;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: top;

    transition: transform 0.35s ease;
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(15, 23, 42, 0.65);

    color: white;

    font-size: 14px;
    font-weight: 700;

    opacity: 0;

    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    padding: 24px;
}

.gallery-info span {
    display: block;

    margin-bottom: 6px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 700;
}

.gallery-info h3 {
    margin-bottom: 8px;

    color: var(--dark);

    font-size: 20px;
}

.gallery-info p {
    color: var(--text-light);

    font-size: 14px;

    line-height: 1.6;
}

/* =========================================================
   11. CTA
========================================================= */

.cta-box {
    padding: 70px 50px;

    border-radius: 24px;

    background: var(--dark);

    color: white;

    text-align: center;
}

.cta-box h2 {
    margin: 10px 0 16px;

    font-size: 40px;
}

.cta-box p {
    max-width: 700px;

    margin: 0 auto 24px;

    color: #cbd5e1;
}

/* =========================================================
   12. CONTACTO
========================================================= */

.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.contact-layout {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 80px;
}

.contact-label {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--primary);

    font-size: 14px;
    font-weight: 700;
}

.contact-info h2 {
    margin-bottom: 20px;

    color: var(--dark);

    font-size: 44px;

    line-height: 1.15;
}

.contact-description {
    margin-bottom: 35px;

    color: var(--text-light);

    font-size: 17px;

    line-height: 1.7;
}

.contact-benefits {
    display: flex;

    flex-direction: column;

    gap: 22px;

    margin-bottom: 35px;
}

.contact-benefit {
    display: flex;

    align-items: flex-start;

    gap: 15px;
}

.contact-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #dbeafe;

    font-size: 18px;
}

.contact-icon-whatsapp {
    background: var(--whatsapp);
}

.contact-icon img,
.whatsapp-icon img,
.whatsapp-button img,
.footer-whatsapp img {
    display: block;
}

.contact-benefit strong {
    display: block;

    margin-bottom: 3px;

    color: var(--dark);
}

.contact-benefit p {
    color: var(--text-light);

    font-size: 14px;
}

/* WhatsApp contacto */

.direct-whatsapp {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 13px 18px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: white;

    text-decoration: none;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);

    transition: 0.25s ease;
}

.direct-whatsapp:hover {
    transform: translateY(-3px);

    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.whatsapp-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--whatsapp);
}

.direct-whatsapp small {
    display: block;

    color: var(--text-light);

    font-size: 11px;
}

.direct-whatsapp strong {
    display: block;

    color: var(--dark);

    font-size: 15px;
}

/* Formulario */

.contact-form-container {
    padding: 38px;

    border: 1px solid var(--border);

    border-radius: 22px;

    background: white;

    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.form-header {
    margin-bottom: 28px;
}

.form-header span {
    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
}

.form-header h3 {
    margin: 5px 0 8px;

    color: var(--dark);

    font-size: 28px;
}

.form-header p {
    color: var(--text-light);

    font-size: 14px;
}

.contact-form {
    padding: 0;

    border: none;

    border-radius: 0;

    background: transparent;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;
}

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

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--dark);

    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #cbd5e1;

    border-radius: 10px;

    background: white;

    color: var(--dark);

    font-family: inherit;

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 130px;

    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;

    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 3px solid var(--primary-dark);
    outline-offset: 3px;
}

.contact-submit {
    width: 100%;

    padding: 15px;

    font-size: 15px;
}

.form-note {
    margin-top: 12px;

    color: #94a3b8;

    font-size: 11px;

    text-align: center;
}

/* =========================================================
   13. BOTÓN FLOTANTE DE WHATSAPP
========================================================= */

.whatsapp-button {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 1200;

    width: 56px;
    height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--whatsapp);

    color: white;

    text-decoration: none;

    font-size: 28px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.whatsapp-button:hover {
    transform: translateY(-4px) scale(1.03);
}

.whatsapp-button.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
}

/* =========================================================
   14. MODAL DE IMÁGENES
========================================================= */

.image-modal {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(15, 23, 42, 0.92);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.image-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;

    max-width: 1400px;

    text-align: center;

    transform: scale(0.94);

    transition: transform 0.25s ease;
}

.image-modal.show .modal-content {
    transform: scale(1);
}

.modal-image {
    width: 100%;
    height: auto;

    max-height: 78vh;

    display: block;

    object-fit: contain;

    border-radius: 14px;

    background: white;

    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.4);
}

.modal-caption {
    margin-top: 15px;

    color: #e2e8f0;

    font-size: 14px;
}

.modal-close {
    position: absolute;

    top: 22px;
    right: 30px;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.2);

    color: white;

    font-size: 31px;

    cursor: pointer;

    transition: 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* =========================================================
   15. FOOTER CORPORATIVO
========================================================= */

.footer {
    padding: 75px 0 25px;

    background: var(--dark);

    color: white;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr repeat(3, 1fr);

    gap: 60px;

    padding-bottom: 55px;
}

/* Marca */

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    text-decoration: none;
}

.footer-logo img {
    width: 68px;
    height: 68px;

    object-fit: contain;
}

.footer-logo span {
    color: white;

    font-size: 24px;
    font-weight: 800;

    letter-spacing: 1px;
}

.footer-brand p {
    margin-bottom: 24px;

    color: #94a3b8;

    font-size: 14px;

    line-height: 1.7;
}

.footer-whatsapp {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 16px;

    border-radius: 10px;

    background: #1e293b;

    color: white;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: 0.25s ease;
}

.footer-whatsapp:hover {
    background: var(--whatsapp);

    transform: translateY(-2px);
}

/* Columnas */

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
}

.footer-column h3 {
    margin-bottom: 8px;

    color: white;

    font-size: 15px;
}

.footer-column a {
    color: #94a3b8;

    text-decoration: none;

    font-size: 14px;

    transition: 0.2s ease;
}

.footer-column a:hover {
    color: #38bdf8;

    transform: translateX(3px);
}

.footer-contact {
    color: #94a3b8;

    font-size: 14px;
}

/* Parte inferior */

.footer-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 24px;
    padding-right: 90px;

    border-top: 1px solid #1e293b;
}

.footer-bottom p {
    color: #64748b;

    font-size: 12px;
}

/* =========================================================
   16. RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {
    .section {
        padding: 70px 0;
    }

    /* Navbar */

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 78px;
        right: 5%;

        width: 220px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 14px;

        padding: 16px;

        border: 1px solid var(--border);

        border-radius: 12px;

        background: white;

        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    }

    .nav-links.show {
        display: flex;
    }

    /* Hero */

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 40px;
    }

    .floating-badge {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card:last-child {
        display: none;
    }

    /* Tarjetas */

    .cards-grid {
        grid-template-columns: 1fr;
    }

    /* Columnas */

    .two-columns {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    /* Producto */

    .product-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .product-info h2 {
        font-size: 36px;
    }

    .product-badge {
        display: none;
    }

    .product-buttons {
        flex-wrap: wrap;
    }

    /* Galería */

    .system-gallery {
        grid-template-columns: 1fr;
    }

    /* Contacto */

    .contact-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .contact-info h2 {
        font-size: 36px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 25px;
    }

    /* CTA */

    .cta-box {
        padding: 45px 25px;
    }

    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }
}

/* =========================================================
   17. RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 600px) {
    .container {
        width: 92%;
    }

    .brand-logo {
        height: 44px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .app-layout {
        grid-template-columns: 50px 1fr;
    }

    .app-content {
        padding: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card:last-child {
        display: block;
    }

    .section-title h2,
    .two-columns h2,
    .cta-box h2 {
        font-size: 30px;
    }

    .product-info h2,
    .contact-info h2 {
        font-size: 32px;
    }

    .image-modal {
        padding: 15px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
    }

    .image-hint {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;
        padding-right: 0;
    }

    /* Más espacio alrededor del mockup */
    .hero-card {
        margin-top: 10px;
        padding-bottom: 20px;
    }

    .app-window {
        max-width: 100%;
    }

    /* Botones del producto uno debajo del otro */
    .product-buttons {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 14px;

        width: 100%;
    }

    .product-buttons .btn {
        width: 100%;
    }

    .product-link {
        display: block;

        width: 100%;

        padding: 12px;

        border: 1px solid #e2e8f0;

        border-radius: 10px;

        text-align: center;

        background: white;
    }

    /* Un poco más de aire */
    .product-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    /* Galería */
    .gallery-image-wrapper {
        aspect-ratio: 16 / 9;
        background: #ffffff;
    }

    .gallery-image-wrapper img {
        width: 100%;
        height: 100%;

        object-fit: contain;
        object-position: center;

        display: block;
    }

    .gallery-info {
        padding: 20px;
    }

    .gallery-info h3 {
        font-size: 19px;
    }

    .gallery-info p {
        font-size: 13px;
    }

    .system-gallery {
        gap: 22px;
    }

    .direct-whatsapp {
        width: 100%;
        justify-content: center;
    }

    /* Un poco más de aire dentro del formulario */
    .contact-form-container {
        padding: 24px 20px;
    }

    /* Evita que el botón flotante tape la parte baja del formulario */
    .contact-section {
        padding-bottom: 100px;
    }

    .whatsapp-button {
        width: 42px;
        height: 42px;
        right: 10px;
        bottom: 10px;
    }

    .whatsapp-button img {
        width: 23px;
        height: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
