/* ============================================================
   CAPA DE ACABADO VISUAL - fabi.exe · Enlace Digital
   Se carga después de style.css y tema.css.
   No la genera Python: es una capa manual de mejoras.
   ============================================================ */

:root {
    --mk-navy: #2a0549;
    --mk-navy-2: #3b0764;
    --mk-pink: #db2777;
    --mk-violet: #8b5cf6;
    --mk-gradient: linear-gradient(135deg, #8b5cf6 0%, #db2777 100%);
    --mk-navy-gradient: linear-gradient(135deg, #1e0436 0%, #3b0764 58%, #5b21b6 100%);
    --mk-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --mk-shadow-soft: 0 18px 40px -28px rgba(42, 5, 73, 0.45);
    --mk-shadow-card: 0 24px 50px -30px rgba(42, 5, 73, 0.4);
    --font-display: 'Sora', 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background: #faf7ff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo-text, .btn, .nav-link, .filtro-btn {
    font-family: var(--font-display);
}

/* ============================================================
   Barra superior
   ============================================================ */
.topbar {
    position: relative;
    background: linear-gradient(90deg, #1e0436 0%, #2a0549 48%, #4c1d95 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(219, 39, 119, 0.6), rgba(139, 92, 246, 0.6), transparent);
    pointer-events: none;
}

.topbar-link {
    padding: 0.15rem 0;
}

.topbar-link:hover {
    color: #ffffff;
}

.topbar-status {
    color: #d8c7ea;
}

/* ============================================================
   Encabezado y navegación
   ============================================================ */
.header {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(42, 5, 73, 0.08);
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mk-violet), var(--mk-pink) 55%, var(--mk-navy-2));
    pointer-events: none;
    z-index: 2;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px -32px rgba(42, 5, 73, 0.65);
}

.header.scrolled::before {
    height: 3px;
}

.logo-badge {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, var(--mk-pink), var(--mk-violet)) border-box;
    box-shadow: 0 6px 16px -10px rgba(219, 39, 119, 0.65);
}

.logo:hover .logo-badge {
    box-shadow: 0 10px 22px -12px rgba(219, 39, 119, 0.7);
}

.header .logo-text {
    color: var(--mk-navy-2);
    letter-spacing: -0.03em;
}

.logo-tagline {
    color: #6b5a80;
}

/* Logo de marca */
.logo-img {
    display: block;
    width: auto;
    height: 54px;
    max-width: 100%;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 8px 14px rgba(59, 7, 100, 0.16));
}

/* Bandeja de navegación */
.header .nav-list {
    gap: 2px;
    padding: 4px;
    border: 1px solid rgba(42, 5, 73, 0.07);
    border-radius: 999px;
    background: rgba(42, 5, 73, 0.035);
    box-shadow: inset 0 1px 2px rgba(42, 5, 73, 0.04);
}

.header .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.52rem 0.9rem;
    border-radius: 999px;
    color: #5b4678;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background 0.25s var(--mk-ease), color 0.25s var(--mk-ease), box-shadow 0.25s var(--mk-ease);
}

.header .nav-link:hover {
    background: #ffffff;
    color: var(--mk-navy-2);
    box-shadow: 0 1px 3px rgba(42, 5, 73, 0.1);
}

.header .nav-link.activo {
    background: linear-gradient(180deg, #ffffff, #faf7ff);
    color: var(--mk-navy-2);
    font-weight: 700;
    box-shadow: 0 2px 8px -2px rgba(42, 5, 73, 0.22), inset 0 0 0 1px rgba(42, 5, 73, 0.04);
}

.header .nav-link.activo::after {
    display: none;
}

.nav-icono {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    opacity: 0.55;
    transition: opacity 0.25s var(--mk-ease), color 0.25s var(--mk-ease);
}

.header .nav-link:hover .nav-icono {
    opacity: 0.9;
}

.header .nav-link.activo .nav-icono {
    opacity: 1;
    color: var(--mk-pink);
}

/* Acciones del encabezado */
.header-wa {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    transition: background 0.25s var(--mk-ease), border-color 0.25s var(--mk-ease), transform 0.25s var(--mk-ease), box-shadow 0.25s var(--mk-ease);
}

.header-wa:hover {
    background: #d1fadf;
    border-color: #75e0a7;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -12px rgba(7, 148, 85, 0.75);
}

.btn-contacto {
    padding: 0.72rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: var(--mk-navy-gradient);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 10px 22px -12px rgba(42, 5, 73, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-contacto::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -70%;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-18deg);
    transition: left 0.55s var(--mk-ease);
    z-index: 0;
}

.btn-contacto:hover {
    background: linear-gradient(135deg, #3b0764 0%, #5b21b6 55%, #6d28d9 100%);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px -16px rgba(42, 5, 73, 0.9);
}

.btn-contacto:hover::before {
    left: 125%;
}

.btn-contacto > * {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    font-size: 1rem;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 92px;
    background:
        linear-gradient(90deg, rgba(250, 247, 255, 0.97) 0%, rgba(250, 247, 255, 0.9) 30%, rgba(250, 247, 255, 0.42) 56%, rgba(250, 247, 255, 0) 78%),
        url("../iconos/marca/banner-hero.jpg") right center / cover no-repeat,
        linear-gradient(180deg, #fdfbff 0%, #faf7ff 100%);
}

.hero::before {
    display: none;
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 7, 100, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 7, 100, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse at 58% 38%, #000 15%, transparent 72%);
    mask-image: radial-gradient(ellipse at 58% 38%, #000 15%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    display: block;
    position: relative;
    z-index: 1;
    gap: 56px;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1rem 0.45rem 0.85rem;
    border: 1px solid rgba(219, 39, 119, 0.28);
    border-left: 3px solid var(--mk-pink);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--mk-navy-2);
    box-shadow: 0 8px 20px -16px rgba(42, 5, 73, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 0.7rem;
    letter-spacing: 0.13em;
}

.hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--mk-pink);
    box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.14);
}

.hero-titulo {
    font-family: var(--font-display);
    font-size: 3.65rem;
    line-height: 1.07;
    letter-spacing: -0.045em;
    color: var(--mk-navy);
    margin-bottom: 1.4rem;
}

.hero-marca {
    color: var(--mk-navy-2);
}

.texto-degradado {
    background: var(--mk-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitulo {
    max-width: 560px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: #6b5a80;
}

.hero-acciones {
    gap: 0.8rem;
}

.btn {
    font-family: var(--font-display);
    border-radius: 10px;
    letter-spacing: -0.01em;
}

.btn-principal {
    background: var(--mk-navy-gradient);
    box-shadow: 0 14px 28px -18px rgba(42, 5, 73, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-principal:hover {
    background: linear-gradient(135deg, #3b0764 0%, #5b21b6 55%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 20px 34px -20px rgba(42, 5, 73, 0.9);
}

.btn-secundario {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(59, 7, 100, 0.25);
    color: var(--mk-navy-2);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.btn-secundario:hover {
    background: var(--mk-navy-2);
    border-color: var(--mk-navy-2);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Franja de confianza */
.hero-trust {
    gap: 0.85rem;
    margin-top: 2.5rem;
    padding-top: 0;
    border-top: none;
}

.hero-trust-item {
    position: relative;
    padding: 1rem 1.05rem 1rem 1.2rem;
    border: 1px solid rgba(42, 5, 73, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 34px -28px rgba(42, 5, 73, 0.65);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform 0.3s var(--mk-ease), box-shadow 0.3s var(--mk-ease), border-color 0.3s var(--mk-ease);
}

.hero-trust-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 3px;
    background: var(--mk-gradient);
    opacity: 0.8;
}

.hero-trust-item:hover {
    transform: translateY(-3px);
    border-color: rgba(219, 39, 119, 0.28);
    box-shadow: 0 18px 36px -26px rgba(42, 5, 73, 0.55);
}

/* Ilustración del hero */
.hero-imagen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.hero-imagen::before {
    content: "";
    position: absolute;
    width: min(470px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 46%, rgba(219, 39, 119, 0.18), rgba(139, 92, 246, 0.09) 46%, transparent 70%);
    filter: blur(6px);
    pointer-events: none;
}

.hero-imagen::after {
    content: "";
    position: absolute;
    width: min(395px, 88%);
    aspect-ratio: 1;
    border: 1px dashed rgba(59, 7, 100, 0.18);
    border-radius: 50%;
    animation: mk-girar 46s linear infinite;
    pointer-events: none;
}

.hero-imagen img {
    position: relative;
    z-index: 2;
    width: min(455px, 100%);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 30px 44px rgba(42, 5, 73, 0.16));
}

.hero-flotante {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 0.95rem;
    border: 1px solid rgba(42, 5, 73, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--mk-navy-2);
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 18px 34px -20px rgba(42, 5, 73, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: mk-flotar 6s ease-in-out infinite;
}

.hero-flotante::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.hero-flotante-1 {
    top: 6%;
    left: -3%;
}

.hero-flotante-2 {
    right: -3%;
    bottom: 8%;
    animation-delay: -3s;
}

.hero-flotante-2::before {
    background: var(--mk-pink);
    box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.15);
}

@keyframes mk-flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes mk-girar {
    to { transform: rotate(360deg); }
}

/* ============================================================
   Encabezados de sección
   ============================================================ */
.seccion-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    color: var(--mk-pink);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.seccion-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--mk-gradient);
}

.seccion-titulo,
.presupuesto-titulo,
.contacto-titulo {
    font-family: var(--font-display);
    font-size: 2.55rem;
    letter-spacing: -0.04em;
}

.seccion-descripcion {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================================
   Servicios
   ============================================================ */
.servicios {
    background: linear-gradient(180deg, #ffffff 0%, #fdfbff 100%);
}

.filtros {
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 2.5rem;
    padding: 5px;
    gap: 3px;
    border: 1px solid rgba(42, 5, 73, 0.07);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 26px -22px rgba(42, 5, 73, 0.5);
}

.filtro-btn {
    padding: 0.55rem 1.1rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #6b5a80;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.25s var(--mk-ease), color 0.25s var(--mk-ease), box-shadow 0.25s var(--mk-ease);
}

.filtro-btn:hover {
    background: #f7efff;
    color: var(--mk-navy-2);
    border-color: transparent;
}

.filtro-btn.activo,
.filtro-btn[aria-pressed="true"] {
    background: var(--mk-navy-gradient);
    color: #ffffff;
    box-shadow: 0 8px 18px -10px rgba(42, 5, 73, 0.7);
}

.servicios-grid {
    gap: 1.6rem;
}

.sin-resultados {
    grid-column: 1 / -1;
    padding: 3rem 1.5rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* Foco visible y consistente en todos los controles interactivos.
   :where() mantiene especificidad 0 para no pisar estilos más específicos. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--mk-pink);
    outline-offset: 3px;
}

.tarjeta-servicio {
    border: 1px solid #ece2f7;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(42, 5, 73, 0.04), 0 18px 40px -34px rgba(42, 5, 73, 0.5);
    transition: transform 0.35s var(--mk-ease), box-shadow 0.35s var(--mk-ease), border-color 0.35s var(--mk-ease);
}

.tarjeta-servicio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--mk-gradient);
    opacity: 0;
    transition: opacity 0.35s var(--mk-ease);
    z-index: 3;
    pointer-events: none;
}

.tarjeta-servicio:hover {
    transform: translateY(-8px);
    border-color: rgba(219, 39, 119, 0.32);
    box-shadow: 0 30px 60px -34px rgba(42, 5, 73, 0.48);
}

.tarjeta-servicio:hover::before {
    opacity: 1;
}

.tarjeta-imagen {
    height: 190px;
    background: linear-gradient(135deg, #f7efff, #f0e8fa);
}

.tarjeta-imagen::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 5, 73, 0.02) 30%, rgba(42, 5, 73, 0.26) 100%);
    pointer-events: none;
}

.tarjeta-servicio:hover .tarjeta-imagen img {
    transform: scale(1.06);
}

.tarjeta-categoria {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 0.32rem 0.68rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--mk-navy-2);
    box-shadow: 0 8px 18px -12px rgba(42, 5, 73, 0.75);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.tarjeta-contenido {
    padding: 1.45rem;
}

.tarjeta-titulo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.35;
}

.tarjeta-descripcion {
    font-size: 0.88rem;
    line-height: 1.68;
}

.tarjeta-precio {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    width: -moz-fit-content;
    width: fit-content;
    padding: 0.32rem 0.72rem;
    border: 1px solid #ece2f7;
    border-radius: 999px;
    background: #faf7ff;
    color: var(--mk-navy-2);
    font-size: 0.78rem;
    font-weight: 700;
}

.tarjeta-precio::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #10b981;
}

.btn-detalle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.74rem 1rem;
    border: 1.5px solid #e0d1f0;
    border-radius: 10px;
    background: #ffffff;
    color: var(--mk-navy-2);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: none;
    transition: background 0.3s var(--mk-ease), color 0.3s var(--mk-ease), border-color 0.3s var(--mk-ease), box-shadow 0.3s var(--mk-ease);
}

.btn-detalle::after {
    content: "→";
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.3s var(--mk-ease);
}

.btn-detalle:hover {
    background: var(--mk-navy-gradient);
    border-color: transparent;
    color: #ffffff;
    transform: none;
    box-shadow: 0 14px 26px -18px rgba(42, 5, 73, 0.85);
}

.btn-detalle:hover::after {
    transform: translateX(4px);
}

/* ============================================================
   Presupuesto para empresas
   ============================================================ */
.presupuesto {
    padding: 96px 0;
    background: linear-gradient(180deg, #faf7ff 0%, #f7efff 100%);
}

.presupuesto-container {
    position: relative;
    overflow: hidden;
    gap: 3rem;
    padding: 3.25rem;
    border-radius: 28px;
    background: var(--mk-navy-gradient);
    box-shadow: 0 45px 90px -50px rgba(42, 5, 73, 0.75);
}

.presupuesto-container::before {
    content: "";
    position: absolute;
    top: -42%;
    right: -12%;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(219, 39, 119, 0.3), transparent 66%);
    pointer-events: none;
}

.presupuesto-container::after {
    content: "";
    position: absolute;
    bottom: -52%;
    left: -12%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.24), transparent 66%);
    pointer-events: none;
}

.presupuesto-contenido,
.presupuesto-imagen {
    position: relative;
    z-index: 1;
}

.presupuesto-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 3px solid var(--mk-pink);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}

.presupuesto-titulo {
    color: #ffffff;
}

.presupuesto-subtitulo {
    color: #d8c7ea;
    line-height: 1.7;
}

.presupuesto-lista {
    gap: 0.75rem;
}

.item-presupuesto {
    padding: 0.82rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    color: #f0e8fa;
    font-size: 0.92rem;
    transition: background 0.3s var(--mk-ease), border-color 0.3s var(--mk-ease), transform 0.3s var(--mk-ease);
}

.item-presupuesto:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(219, 39, 119, 0.55);
    transform: translateX(4px);
}

.item-presupuesto .icono-check {
    width: 21px;
    height: 21px;
    opacity: 0.95;
}

.btn-presupuesto {
    width: 100%;
    padding: 1rem;
    background: var(--mk-gradient);
    color: #ffffff;
    box-shadow: 0 20px 38px -20px rgba(219, 39, 119, 0.9);
}

.btn-presupuesto:hover {
    background: linear-gradient(135deg, #be185d 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 24px 42px -20px rgba(219, 39, 119, 0.95);
}

.presupuesto-imagen img {
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.65);
}

/* ============================================================
   Contacto
   ============================================================ */
.contacto {
    background:
        radial-gradient(720px 420px at 100% 0%, rgba(139, 92, 246, 0.07), transparent 65%),
        linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
}

.contacto-container {
    gap: 3.25rem;
    align-items: start;
}

.contacto-subtitulo {
    line-height: 1.7;
}

.contacto-enlaces {
    gap: 0.9rem;
}

.contacto-enlaces .enlace {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(42, 5, 73, 0.08);
    border-radius: 16px;
    background: #ffffff;
    color: var(--mk-navy-2);
    box-shadow: 0 12px 30px -26px rgba(42, 5, 73, 0.6);
    transition: transform 0.3s var(--mk-ease), border-color 0.3s var(--mk-ease), box-shadow 0.3s var(--mk-ease), background 0.3s var(--mk-ease);
}

.contacto-enlaces .enlace:hover {
    background: #ffffff;
    border-color: rgba(219, 39, 119, 0.32);
    color: var(--mk-navy-2);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -28px rgba(42, 5, 73, 0.5);
}

.enlace-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #faf7ff;
    flex: 0 0 auto;
}

.contacto-whatsapp .enlace-icono {
    background: #e9f9f1;
}

.contacto-email .enlace-icono {
    background: #f3e8ff;
}

.contacto-enlaces .icono-svg {
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.enlace-cuerpo {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.enlace-etiqueta {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b5a80;
}

.enlace-valor {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--mk-navy-2);
    overflow-wrap: break-word;
}

a.enlace-valor {
    text-decoration: none;
    transition: color 0.2s var(--mk-ease);
}

a.enlace-valor:hover,
a.enlace-valor:focus-visible {
    color: var(--mk-pink);
    text-decoration: underline;
}

.enlace-detalle {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #6b5a80;
}

.enlace-flecha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #faf7ff;
    color: var(--mk-navy-2);
    flex: 0 0 auto;
    transition: background 0.3s var(--mk-ease), color 0.3s var(--mk-ease), transform 0.3s var(--mk-ease);
}

.enlace-flecha svg {
    width: 18px;
    height: 18px;
}

.contacto-enlaces .enlace:hover .enlace-flecha {
    background: var(--mk-navy-2);
    color: #ffffff;
    transform: translateX(2px);
}

.enlace-acciones {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 0 0 auto;
}

.btn-copiar-email,
.btn-gmail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid #e0d1f0;
    border-radius: 9px;
    background: #ffffff;
    color: #4b3566;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.2s var(--mk-ease), background 0.2s var(--mk-ease), color 0.2s var(--mk-ease), transform 0.2s var(--mk-ease);
}

.btn-copiar-email:hover,
.btn-gmail:hover {
    border-color: var(--mk-navy-2);
    background: #faf7ff;
    color: var(--mk-navy-2);
    transform: translateY(-1px);
}

.btn-copiar-email.copiado {
    border-color: #86efac;
    background: #ecfdf3;
    color: #027a48;
}

.btn-copiar-email:focus-visible,
.btn-gmail:focus-visible {
    outline: 2px solid var(--mk-navy-2);
    outline-offset: 2px;
}

.icono-accion {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.contacto-ayuda {
    margin-top: 1.25rem;
    padding-left: 1rem;
    border-left: 3px solid rgba(219, 39, 119, 0.35);
    font-size: 0.85rem;
    line-height: 1.55;
    color: #6b5a80;
}

.contacto-formulario {
    position: relative;
    padding: 2rem;
    border: 1px solid rgba(42, 5, 73, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 40px 80px -50px rgba(42, 5, 73, 0.55);
}

.contacto-formulario::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--mk-gradient);
}

.contacto-formulario .grupo label {
    color: var(--mk-navy-2);
}

.grupo input,
.grupo select,
.grupo textarea {
    border-color: #e0d1f0;
    border-radius: 9px;
    background: #fdfbff;
}

.grupo input:hover,
.grupo select:hover,
.grupo textarea:hover {
    border-color: #a896bb;
}

.grupo input:focus,
.grupo select:focus,
.grupo textarea:focus {
    border-color: var(--mk-navy-2);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 7, 100, 0.12);
}

.btn-envio {
    padding: 1rem;
    border-radius: 10px;
    background: var(--mk-navy-gradient);
    box-shadow: 0 16px 30px -20px rgba(42, 5, 73, 0.85);
}

.btn-envio:hover {
    background: linear-gradient(135deg, #3b0764 0%, #5b21b6 55%, #6d28d9 100%);
}

.contacto-nota {
    border-color: rgba(42, 5, 73, 0.07);
    background: #faf7ff;
}

.campo-oculto {
    display: none !important;
}

.alerta.error {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.alerta.error .icono-check {
    display: none;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    position: relative;
    padding: 64px 0 0;
    background: linear-gradient(180deg, #2a0549 0%, #1e0436 100%);
    color: #d8c7ea;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(219, 39, 119, 0.6), rgba(139, 92, 246, 0.6), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 0.9fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .footer-logo {
    display: inline-block;
    gap: 12px;
    justify-content: flex-start;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-decoration: none;
}

.footer-logo-img {
    display: block;
    width: auto;
    height: 64px;
    max-width: 100%;
}

.footer-texto {
    max-width: 380px;
    margin-top: 1rem;
    color: #a896bb;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-titulo {
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-link {
    display: block;
    margin-bottom: 0.65rem;
    color: #a896bb;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.25s var(--mk-ease);
}

a.footer-link:hover {
    color: #ffffff;
}

.footer-horario {
    color: #a896bb;
}

.footer-redes {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-redes a,
.footer-red-social {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: -moz-fit-content;
    width: fit-content;
    color: #a896bb;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.25s var(--mk-ease), transform 0.25s var(--mk-ease);
}

.footer-redes a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-red-social {
    cursor: default;
}

.footer-redes-nota {
    margin-top: 0.65rem;
    color: #a896bb;
    font-size: 0.76rem;
    font-style: italic;
}

.footer-redes svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    margin: 0;
    color: #a896bb;
    font-size: 0.84rem;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-firma {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: #9b87b3;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-firma-punto {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #db2777, #8b5cf6);
    box-shadow: 0 0 8px rgba(219, 39, 119, 0.7);
}

.footer-firma strong {
    color: #eedffb;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
}

.footer-top {
    color: #d8c7ea;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s var(--mk-ease);
}

.footer-top:hover {
    color: #ffffff;
}

/* ============================================================
   Modal
   ============================================================ */
.modal {
    background: rgba(30, 4, 54, 0.68);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.modal-contenido {
    padding: 2.25rem;
    border-radius: 18px;
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
    animation: mk-modal 0.3s var(--mk-ease);
}

.modal-contenido h3 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

@keyframes mk-modal {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   Animación de aparición al hacer scroll
   ============================================================ */
.revelar {
    opacity: 0;
}

.revelar.visible {
    opacity: 1;
    animation: mk-aparecer 0.7s var(--mk-ease) backwards;
}

@keyframes mk-aparecer {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
    .header .nav-list {
        gap: 0.35rem;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .header .nav-link {
        display: flex;
        width: 100%;
        padding: 0.85rem 1rem;
        border-radius: 10px;
        font-size: 0.98rem;
    }

    .header .nav-link.activo {
        background: #f7efff;
        box-shadow: none;
    }

    .nav-icono {
        width: 17px;
        height: 17px;
    }

    .nav-cta-mobile {
        border-radius: 10px;
        background: var(--mk-navy-gradient);
        box-shadow: 0 12px 24px -16px rgba(42, 5, 73, 0.8);
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 64px 0 60px;
        background:
            radial-gradient(720px 460px at 96% 0%, rgba(196, 181, 253, 0.55), transparent 68%),
            radial-gradient(540px 400px at 0% 100%, rgba(249, 168, 212, 0.38), transparent 72%),
            linear-gradient(180deg, #fdfbff 0%, #faf7ff 100%);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-imagen {
        display: none;
    }

    .hero-titulo {
        font-size: 2.6rem;
    }

    .seccion-titulo,
    .presupuesto-titulo,
    .contacto-titulo {
        font-size: 2.1rem;
    }

    .presupuesto,
    .servicios,
    .contacto {
        padding: 64px 0;
    }

    .presupuesto-container {
        padding: 2.25rem;
        border-radius: 22px;
    }

    .contacto-formulario {
        padding: 1.6rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 52px 0 48px;
    }

    .hero-titulo {
        font-size: 2.1rem;
        letter-spacing: -0.035em;
    }

    .hero-badge {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
        line-height: 1.5;
    }

    .logo-img {
        height: 44px;
    }

    .footer-logo-img {
        height: 54px;
    }

    .hero-trust {
        margin-top: 1.9rem;
    }

    .filtros {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 0.4rem;
        border-radius: 18px;
    }

    .filtro-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.78rem;
    }

    .seccion-titulo,
    .presupuesto-titulo,
    .contacto-titulo {
        font-size: 1.8rem;
    }

    .presupuesto-container {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .presupuesto-container::before,
    .presupuesto-container::after {
        opacity: 0.7;
    }

    .item-presupuesto {
        padding: 0.75rem 0.85rem;
        font-size: 0.87rem;
    }

    .contacto-formulario {
        padding: 1.35rem;
        border-radius: 16px;
    }

    /* 16px evita el zoom automático de los inputs en iOS */
    .grupo input,
    .grupo select,
    .grupo textarea {
        font-size: 16px;
    }

    .contacto-enlaces .enlace {
        padding: 1rem;
        gap: 0.85rem;
    }

    .enlace-valor {
        font-size: 0.95rem;
    }

    .enlace-detalle {
        font-size: 0.78rem;
    }

    .contacto-email .enlace-acciones {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .contacto-email .btn-copiar-email,
    .contacto-email .btn-gmail {
        flex: 1 1 0;
    }

    .footer {
        padding-top: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-top: 1.25rem;
        padding-bottom: 1.5rem;
    }

    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
}

@media (max-width: 400px) {
    .contacto-enlaces .enlace {
        padding: 0.9rem;
        gap: 0.7rem;
    }

    .contacto-enlaces .contacto-whatsapp {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .contacto-whatsapp .enlace-flecha {
        display: none;
    }

    .enlace-icono {
        width: 42px;
        height: 42px;
    }

    .contacto-enlaces .icono-svg {
        width: 25px;
        height: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .revelar,
    .revelar.visible {
        opacity: 1;
        animation: none;
    }

    .hero-flotante,
    .hero-imagen::after,
    .status-dot {
        animation: none;
    }

    .tarjeta-servicio,
    .tarjeta-servicio:hover,
    .btn,
    .btn:hover,
    .item-presupuesto:hover,
    .contacto-enlaces .enlace:hover {
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}
