﻿/* ===========================
   KAI+ / Kukulcán - CSS BASE (FIX v4)
   - No recorte a la izquierda
   - Guacamaya visible
   - Barra rosada detrás de guacamaya y antes del logo
   - Sin burbujas
   - Título en una sola línea
   =========================== */

:root {
    --kuk-rose: #CB1D73;
    --kuk-soft-blue: #B5EFE7;
    --kuk-matte-blue: #7393C6;
    --kuk-muted: #6b7280;
    --kuk-radius: 12px;
    --kuk-elevation: 0 10px 30px rgba(115,147,198,0.10);
    --kuk-card-border: rgba(2,6,23,0.06);
    /* single page background color (used for whole body) */
    --kuk-page-bg: #e9f9f6;
    --kuk-hero-top: #eaf9f7;
    --kuk-hero-mid: #f7feff;
    --hero-max: 1200px;
    --hero-pad: 24px;
    --parrot-col: 360px;
    --logo-col: 300px;
    /* === POSICIÓN (desktop) === */
    --title-top: 10px;
    --subtitle-top: 150px;
    --title-shift-x: -200px;
    --subtitle-shift-x: -200px;
    --bar-top: 230px;
    /* Barra: que se auto-adapte al contenedor (sin recortes) */
    --bar-inset-left: -180px; /* margen interno izquierda del contenedor */
    --bar-inset-right: 24px; /* margen interno derecha del contenedor */
    --bar-max-width: 1000px; /* límite para que no se vea exagerada en pantallas grandes */
}

/* ---- Base ---- */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

/* SINGLE BACKGROUND FOR THE ENTIRE PAGE */
body {
    margin: 0;
    color: #111827;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* <-- single, consistent background for whole page (no per-section backgrounds) */
    background: var(--kuk-page-bg);
}

/* ---- Navbar CTA ---- */
.navbar-cta {
    background: var(--kuk-rose);
    color: #fff;
    padding: 10px 18px;
    border-radius: 28px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 26px rgba(203,29,115,0.18);
    transition: transform .12s ease, box-shadow .12s ease;
}

    .navbar-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 32px rgba(203,29,115,0.22);
    }

/* ===========================
   HERO
   =========================== */

.kuk-hero {
    position: relative;
    background: transparent;
    padding: 18px 0 60px 0; /* reducido bottom padding ahora que body tiene el color */
    overflow: visible;
}

/* Fade inferior: ahora corto y que funda en el mismo color de página */
.kuk-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 48px; /* corto, no empuja contenido */
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(233,249,246,0.8) 50%,
      var(--kuk-page-bg) 100%);
}

/* Grid 3 columnas */
.kuk-hero-inner {
    max-width: var(--hero-max);
    margin: 0 auto;
    padding: 0 var(--hero-pad);
    display: grid;
    grid-template-columns: var(--parrot-col) 1fr var(--logo-col);
    gap: 16px;
    position: relative;
    z-index: 2;
    min-height: 460px; /* más compacto */
}

/* Quitar burbujas/halos previos */
.kuk-hero-inner::before,
.kuk-hero-inner::after,
.kuk-hero-text::before,
.kuk-hero-text::after {
    content: none !important;
}

/* ---- Guacamaya ---- */
.kuk-parrot-col {
    position: relative;
    height: 360px;
    display: flex;
    align-items: center;
    overflow: visible;
    z-index: 10;
}

/* Ajuste guacamaya */
.kuk-parrot {
    position: relative;
    z-index: 10;
    height: 420px;
    width: auto;
    object-fit: contain;
    transform: translateX(-28px) translateY(6px);
    pointer-events: none;
    filter: drop-shadow(0 14px 34px rgba(2,6,23,0.14)) contrast(1.08);
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,1) 22%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,1) 22%);
}

/* ---- Logo KAI ---- */
.kuk-hero-logo {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    position: relative;
    z-index: 9;
}

    .kuk-hero-logo img {
        width: clamp(170px,18vw,320px);
        height: auto;
        max-width: 100%;
        object-fit: contain;
        filter: drop-shadow(0 14px 40px rgba(2,6,23,0.08));
    }

/* ---- Centro: ancla absoluta para título y barra ---- */
.kuk-hero-text {
    position: relative;
    z-index: 8;
    min-height: 420px;
}

    .kuk-hero-text h1 {
        position: absolute;
        top: var(--title-top);
        left: 0;
        transform: translateX(var(--title-shift-x));
        margin: 0;
        font-weight: 800;
        line-height: 1.02;
        color: #0f1724;        
        font-size: clamp(2.0rem, 3.1vw, 3.0rem);
        text-shadow: 0 2px 0 rgba(255,255,255,0.55), 0 18px 50px rgba(181,239,231,0.18);
    }
    .kuk-hero-text h3 {
        position: absolute;
        top: var(--subtitle-top);
        left: 0;
        transform: translateX(var(--subtitle-shift-x));
        margin: 0;
        font-weight: 500;
        line-height: 1;
        color: #0f1724;       
        font-size: clamp(1.0rem, 1.1vw, 2.0rem);
        text-shadow: 0 2px 0 rgba(255,255,255,0.55), 0 18px 50px rgba(181,239,231,0.18);
    }

/* ---- Barra rosada tipo flecha (punta derecha) - versión limpia ---- */
.kuk-hero-pink {
    position: absolute;
    top: var(--bar-top);
    left: var(--bar-inset-left);
    right: var(--bar-inset-right);
    max-width: var(--bar-max-width);
    margin: 0 auto;
    z-index: 2;
    min-height: 64px;
    padding: 14px 64px 14px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background: linear-gradient(180deg, var(--kuk-rose), #d1347f);
    box-shadow: 0 18px 40px rgba(203,29,115,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(2px);
    clip-path: polygon( 0% 0%, 94% 0%, 100% 50%, 94% 100%, 0% 100%);
}

    .kuk-hero-pink span {
        display: inline-block;
        max-width: 62ch;
        font-weight: 700;
        line-height: 1.25;
        font-size: 1.50rem;
        text-shadow: 0 1px 0 rgba(0,0,0,0.12);
    }



/* Fallback: si el navegador no soporta clip-path, vuelve a pastilla */
@supports not (clip-path: polygon(0 0)) {
    .kuk-hero-pink {
        border-radius: 999px;
        clip-path: none;
    }

        .kuk-hero-pink::before {
            display: none;
        }
}


/* ===========================
   KPI CARDS (sin cambios funcionales importantes)
   =========================== */

.kpi {
    padding: 12px 0 8px 0; /* más compacto: body ya ofrece el fondo */
}

.kpi__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

.kpi__header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.kpi__title {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.kpi__subtitle {
    margin: 0;
    color: var(--kuk-muted);
    font-size: 14px;
    line-height: 1.4;
}

.kpi__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.kpi__card {
    display: block;
    background: #fff;
    border: 1px solid var(--kuk-card-border);
    border-radius: 14px;
    padding: 18px 16px;
    text-decoration: none;
    color: #111827;
    box-shadow: 0 10px 30px rgba(115,147,198,0.10);
    position: relative;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

    .kpi__card:focus-visible {
        outline: 3px solid rgba(181,239,231,0.9);
        outline-offset: 3px;
    }

    .kpi__card:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 34px rgba(115,147,198,0.14);
        border-color: rgba(115,147,198,0.22);
    }

.kpi__label {
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 10px;
}

.kpi__value {
    font-weight: 950;
    font-size: 34px;
    line-height: 1;
    margin-bottom: 8px;
}

.kpi__meta {
    font-size: 12px;
    color: var(--kuk-muted);
}

/* Acento sutil: una línea superior (no grita) */
.kpi__card::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 12px;
    height: 3px;
    border-radius: 99px;
    background: rgba(115,147,198,0.25);
}

.kpi__card--rose .kpi__value {
    color: var(--kuk-rose);
}

.kpi__card--rose::before {
    background: rgba(203,29,115,0.45);
}

.kpi__card--soft .kpi__value {
    color: #0f1724;
}

.kpi__card--soft::before {
    background: rgba(181,239,231,0.95);
}

.kpi__card--matte .kpi__value {
    color: var(--kuk-matte-blue);
}

.kpi__card--matte::before {
    background: rgba(115,147,198,0.55);
}

.kpi__card--ink .kpi__value {
    color: #0f1724;
}

.kpi__card--ink::before {
    background: rgba(15,23,36,0.22);
}

.kpi__hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 2px 0 2px;
    color: var(--kuk-muted);
    font-size: 12px;
}

.kpi__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(203,29,115,0.55);
}

/* ===========================
   SERVICES GRID
   =========================== */
.services {
    padding: 22px 0 44px 0;
}

.services__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

.services__header {
    text-align: center;
    margin-bottom: 16px;
}

.services__title {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.services__subtitle {
    margin: 6px auto 0 auto;
    max-width: 72ch;
    color: var(--kuk-muted);
    font-size: 14px;
    line-height: 1.45;
}

.services__grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.svc {
    background: #fff;
    border: 1px solid var(--kuk-card-border);
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
    color: #0f1724;
    box-shadow: 0 10px 30px rgba(115,147,198,0.10);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}

    .svc:focus-visible {
        outline: 3px solid rgba(181,239,231,0.9);
        outline-offset: 3px;
    }

    .svc:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 34px rgba(115,147,198,0.14);
        border-color: rgba(115,147,198,0.22);
    }

.svc__top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.svc__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f1724;
    background: rgba(181,239,231,0.55);
    border: 1px solid rgba(115,147,198,0.18);
}

.svc__title {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 950;
}

.svc__desc {
    margin: 0;
    font-size: 13px;
    color: var(--kuk-muted);
    line-height: 1.35;
}

.svc__link {
    margin-top: 14px;
    display: inline-flex;
    width: fit-content;
    font-weight: 900;
    font-size: 13px;
    color: var(--kuk-rose);
}

/* Variantes por servicio (solo acentos, no gradientes) */
.svc--info .svc__icon {
    background: rgba(181,239,231,0.65);
}

.svc--soft .svc__icon {
    background: rgba(181,239,231,0.40);
}

.svc--matte .svc__icon {
    background: rgba(115,147,198,0.18);
    color: #0f1724;
}

.svc--rose .svc__icon {
    background: rgba(203,29,115,0.12);
    color: var(--kuk-rose);
    border-color: rgba(203,29,115,0.18);
}

/* Responsive */
@media (max-width: 1100px) {
    .kpi__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .services__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 600px) {
    .kpi__grid {
        grid-template-columns: 1fr;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .services__header {
        text-align: left;
    }
}



/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width:1100px) {
    .k-card-row {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .k-service-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    :root {
        --title-top: 78px;
        --title-shift-x: -200px;
        --bar-inset-left: 16px;
        --bar-inset-right: 16px;
        --bar-max-width: 860px;
    }
}

@media (max-width:900px) {
    :root {
        --parrot-col: 300px;
        --logo-col: 240px;
        --hero-pad: 16px;
        --title-top: 74px;
        --title-shift-x: -160px;
        --bar-top: 184px;
        --bar-inset-left: 12px;
        --bar-inset-right: 12px;
        --bar-max-width: 760px;
    }

    .kuk-hero-inner {
        min-height: 460px;
    }

    .kuk-parrot {
        height: 430px;
        transform: translateX(-16px) translateY(4px);
    }

    .kuk-parrot-col {
        height: 380px;
    }

    .kuk-hero-logo {
        padding-top: 72px;
    }

    .kuk-hero-text h1 {
        font-size: clamp(1.8rem, 4.0vw, 2.5rem);
    }
}

@media (max-width:600px) {
    .kuk-hero {
        padding: 12px 0 70px 0;
    }

    .kuk-hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 12px;
        align-items: center;
    }

    .kuk-parrot-col {
        height: auto;
        justify-content: center;
    }

    .kuk-parrot {
        height: 220px;
        transform: none;
        margin: 0 auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .kuk-hero-logo {
        justify-content: center;
        padding-top: 0;
    }

        .kuk-hero-logo img {
            width: 220px;
        }

    .kuk-hero-text {
        min-height: auto;
    }

        .kuk-hero-text h1 {
            position: static;
            transform: none;
            white-space: normal;
            text-align: center;
            margin: 8px auto 10px auto;
            font-size: 1.6rem;
        }

    .kuk-hero-pink {
        position: static;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        border-radius: 14px;
    }

    .k-card-row {
        grid-template-columns: 1fr;
    }

    .k-service-grid {
        grid-template-columns: 1fr;
    }
}

/* ==== Overrides mínimos para permitir que Tailwind negative-margins funcionen ====
   Reduce el "colchón" del hero sin romper diseño existente. */

.kuk-hero {
  padding-bottom: 36px !important; /* menos espacio bajo la barra rosa */
}

.kuk-hero::after {
  height: 90px !important; /* reduce el fade que empuja el contenido */
  bottom: -1px !important;
  z-index: 1 !important;
}

.kuk-hero-inner {
  min-height: 420px !important; /* más compacto, deja espacio para KPI */
}

.kuk-parrot-col {
  height: 360px !important;
}

.kuk-parrot {
  height: 420px !important;
}

.kuk-hero-text {
  min-height: 420px !important;
}

/* Asegura que KPI con negative margins quede por encima si hiciera falta */
.kpi {
  position: relative;
  z-index: 40;
  padding-top: 0; /* evitar padding extra que empuje hacia abajo */
}

/* ===== Secciones: bandas limpias y motivos mayas como acento ===== */
:root{
  --section-bleed: rgba(233,249,246,0.85); /* color base entre secciones */
  --section-bleed-2: rgba(246,251,251,1);
  --section-accent: rgba(203,29,115,0.04); /* muy sutil rosa de marca */
  --mayan-accent-size: 160px;
  --mayan-accent-opa: 0.06;
}

/* Consistencia: padding vertical igual para todas las secciones */
.section {
  position: relative;
  padding-top: 2.25rem; /* 36px */
  padding-bottom: 2.25rem;
  overflow: visible;
}

/* Banda full-bleed muy sutil (uso principal para separar contenido) */
.section--bleed {
  background: linear-gradient(180deg, var(--section-bleed) 0%, var(--section-bleed-2) 100%);
  border-top: 1px solid rgba(2,6,23,0.03);
  border-bottom: 1px solid rgba(2,6,23,0.03);
}

/* Variante con tintes de marca (usar con moderación) */
.section--brand-accent {
  background-image: linear-gradient(180deg, rgba(203,29,115,0.03), rgba(203,29,115,0.01));
}

/* Patrón mayense sutil como pseudo-elemento (no repetido) */
.section--mayan::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: var(--mayan-accent-size);
  height: var(--mayan-accent-size);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='none' stroke='%23CB1D73' stroke-width='2' stroke-opacity='0.10'><path d='M10 50 Q25 10 50 50 T90 50'/></g></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: var(--mayan-accent-opa);
  pointer-events: none;
  z-index: 0;
}

/* Si quieres el motivo en la izquierda */
.section--mayan-left::before {
  right: auto;
  left: 12px;
}

/* Permitir solapamiento elegante de tarjetas sobre la banda */
.section--card-overlap .kpi__grid,
.section--card-overlap .kpi__card-row {
  margin-top: -28px; /* ajusta para que las tarjetas “floten” */
  position: relative;
  z-index: 3;
}

/* Mejora visual: separador suave entre KPI y services (reemplaza SVG pesado) */
.section-separator {
  height: 36px;
  display:block;
  width:100%;
  background: linear-gradient(180deg, rgba(233,249,246,0.0), rgba(233,249,246,0.6));
  pointer-events: none;
}

/* Asegura contraste y legibilidad sobre bandas claras */
.section--bleed h2,
.section--brand-accent h2 {
  color: #0f1724;
}

/* Móviles: reducir tamaño del acento mayense */
@media (max-width: 768px) {
  :root { --mayan-accent-size: 100px; --mayan-accent-opa: 0.04; }
  .section { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .section--card-overlap .kpi__grid { margin-top: -18px; }
}

/* ==== Fix: fondo entre secciones (full-bleed, elimina franjas blancas) ==== */

/* Asegura que las secciones ocupen todo el ancho y no agreguen padding lateral que genere "ventanas" blancas */
.section {
  width: 100%;
  margin: 0;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  box-sizing: border-box;
  overflow: visible;
  background: transparent;
}

/* Banda full-bleed sutil (usar en secciones de separación) */
.section--bleed {
  background: linear-gradient(180deg, rgba(233,249,246,0.95) 0%, rgba(246,251,251,1) 100%);
  border-top: 1px solid rgba(2,6,23,0.03);
  border-bottom: 1px solid rgba(2,6,23,0.03);
  padding-left: 0;
  padding-right: 0;
  position: relative;
  z-index: 1; /* sobre el fade del hero, por debajo de las tarjetas si es necesario */
}

/* Contenedor interno centrado y responsable: aquí va el contenido con max-width */
.section > .kpi__inner,
.section > .services__inner,
.section > .section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px; /* mantiene espacio interior solo para el contenido */
  position: relative;
  z-index: 2;
}

/* Evita que el pseudo-fade del hero empuje o cree zonas blancas */
.kuk-hero::after {
  z-index: 0;
  height: 60px !important; /* corto y no empuja el flujo */
  pointer-events: none;
}

/* Si las tarjetas KPI necesitan superponerse, elevamos su z-index sin romper la banda */
.kpi {
  position: relative;
  z-index: 3;
  padding-top: 0; /* evita padding extra que empuje hacia abajo */
}

/* Reduce espacio del separador SVG (evita bandas extra visibles) */
.section-separator {
  display: block;
  height: 24px;
  margin: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(233,249,246,0), rgba(233,249,246,0.6));
}

/* Ajustes en móvil */
@media (max-width: 768px) {
  .section { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .section--bleed { background: linear-gradient(180deg, rgba(233,249,246,0.9), rgba(246,251,251,1)); }
  .kuk-hero::after { height: 36px !important; }
}

/* Interactive styles for kpi-card (kept in site theme) */

.indicator-link {
  display: block;
  text-decoration: none;
  color: inherit;
  outline: none;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}

.indicator-link:focus-visible {
  box-shadow: 0 0 0 4px rgba(181,239,231,0.85);
  border-radius: 12px;
  outline: none;
}

/* target the existing kpi-card class used in Index.cshtml */
.kpi-card,
.indicator-link .kpi-card {
  position: relative; /* needed for chevron placement */
  cursor: pointer;
  transition: transform .14s cubic-bezier(.2,.9,.2,1), box-shadow .14s ease, border-color .12s ease, filter .12s ease;
  will-change: transform, box-shadow, filter;
}

/* hover / focus / active */
.indicator-link:hover .kpi-card,
.indicator-link:focus-within .kpi-card,
.kpi-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px rgba(15,23,42,0.10);
  border-color: rgba(15,23,42,0.08);
}

.indicator-link:active .kpi-card,
.kpi-card:active {
  transform: translateY(-2px) scale(0.998);
  box-shadow: 0 12px 28px rgba(15,23,42,0.09);
}

/* show subtle chevron on hover/focus */
.kpi-card .card-chevron {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  opacity: 0;
  transition: opacity .14s ease, transform .14s ease;
  transform: translateY(-2px);
  pointer-events: none;
  color: rgba(15,23,42,0.45);
}
.indicator-link:hover .kpi-card .card-chevron,
.indicator-link:focus-within .kpi-card .card-chevron {
  opacity: 1;
  transform: translateY(0);
}

/* keep non-interactive fallback look */
.fallback-card { cursor: default; }


/* -------------------------
   Dashboard / Indicators background helpers
   Mimic the Index "Indicadores clave" pale band for dashboards
   Applied via the .section--dashboard modifier on the section element.
   ------------------------- */

.section--dashboard {
  position: relative;
  overflow: visible;
  /* soft institutional blue band (uses --kuk-soft-blue) */
  background: linear-gradient(180deg,
    rgba(181,239,231,0.10) 0%,  /* soft top tint (from #B5EFE7) */
    rgba(246,251,251,1) 100%);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* inner container above the band */
.section--dashboard .kpi__inner,
.section--dashboard > .kpi__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* very subtle top/bottom fade edges to echo Index style */
.section--dashboard::before,
.section--dashboard::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(181,239,231,0), rgba(181,239,231,0.06));
}
.section--dashboard::before { top: -18px; transform: translateY(0); }
.section--dashboard::after  { bottom: -18px; transform: translateY(0); }

/* lighter overlap so cards float but not too much */
.section--dashboard.section--card-overlap .kpi__grid,
.section--dashboard.section--card-overlap .kpi__card-row {
  margin-top: -12px;
}

/* subtle Maya motif in the top-right corner (low opacity, non-intrusive) */
.section--dashboard::after {
  /* keep bottom fade; add motif as extra pseudo-element via SVG data URI */
  /* Note: this appends a very faint decorative pattern in the top-right using an extra pseudo-element */
}
.section--dashboard .mayan-decor {
  pointer-events: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 160px;
  height: 160px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='none' stroke='%23B5EFE7' stroke-width='2' stroke-opacity='0.08'><path d='M10 50 Q30 10 50 50 T90 50'/></g></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: 1;
}

/* reduce intensity on small screens */
@media (max-width: 768px) {
  .section--dashboard { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .section--dashboard .mayan-decor { width: 100px; height: 100px; top: 8px; right: 8px; opacity: 0.7; }
}

/* =====================================================
   SERVICE CARDS — Interactividad y feedback visual
   Agrega al final de kukulcan-theme.css
   ===================================================== */

/* Card completa: elevación + brillo al hover */
.svc-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(2,6,23,0.07);
  border: 1px solid rgba(2,6,23,0.06);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.22s cubic-bezier(.22,1,.36,1),
    box-shadow 0.22s cubic-bezier(.22,1,.36,1),
    border-color 0.18s ease;
  will-change: transform, box-shadow;
}

.svc-card:hover,
.svc-card:focus-visible {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 48px rgba(2,6,23,0.14);
  border-color: rgba(2,6,23,0.12);
  outline: none;
}

.svc-card:active {
  transform: translateY(-2px) scale(1.005);
  box-shadow: 0 10px 28px rgba(2,6,23,0.10);
}

/* Header de color: se ilumina levemente al hover */
.svc-card__header {
  padding: 1rem 1.25rem;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  transition: filter 0.22s ease;
}

.svc-card:hover .svc-card__header {
  filter: brightness(1.08);
}

/* Botón CTA: sube + crece + se ilumina al hover */
.svc-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition:
    transform 0.2s cubic-bezier(.22,1,.36,1),
    box-shadow 0.2s ease,
    filter 0.2s ease;
  will-change: transform;
}

.svc-card:hover .svc-card__btn {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  filter: brightness(1.10);
}

/* Flecha: oculta → aparece con slide al hover */
.svc-card__btn .btn-arrow {
  display: inline-block;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s cubic-bezier(.22,1,.36,1);
}

.svc-card:hover .svc-card__btn .btn-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Ícono circular: gira y crece levemente al hover */
.svc-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition:
    transform 0.22s cubic-bezier(.22,1,.36,1),
    box-shadow 0.22s ease;
}

.svc-card:hover .svc-card__icon {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

/* Responsive: reducir intensidad en móvil */
@media (max-width: 600px) {
  .svc-card:hover {
    transform: translateY(-3px) scale(1.008);
  }
  .svc-card:hover .svc-card__btn {
    transform: translateY(-2px) scale(1.04);
  }
}


/* =====================================================
   QUIÉNES SOMOS — Estilos de página
   ===================================================== */
:root {
    --qs-teal: #0d9488;
    --qs-rose: #db2777;
    --qs-purple: #7c3aed;
    --qs-amber: #d97706;
    --qs-blue: #2563eb;
}

/* ── Contenedor interno reutilizable ── */
.qs-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── Encabezado de sección reutilizable ── */
.qs-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.qs-section-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--kuk-rose);
    background: rgba(203,29,115,.08);
    padding: .28rem .85rem;
    border-radius: 999px;
    margin-bottom: .6rem;
}

.qs-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: #0f1724;
    margin: 0 0 .55rem;
    letter-spacing: -.02em;
}

.qs-section-sub {
    max-width: 640px;
    margin: 0 auto;
    font-size: .93rem;
    color: #6b7280;
    line-height: 1.65;
}

/* Tipografía base de sección */
.qs-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f1724;
    margin: 0 0 .75rem;
}

.qs-body {
    font-size: .95rem;
    color: #374151;
    line-height: 1.75;
    margin: 0 0 .75rem;
}

/* ── HERO ── */
.qs-hero {
    background: linear-gradient(135deg, #7393C6 0%, /* --kuk-matte-blue */
    #CB1D73 60%, /* --kuk-rose        */
    #b5187e 100%);
    padding: 2.75rem 1.5rem 2.5rem; /* ↓ antes: 5rem / 4.5rem  */
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .qs-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><circle cx='30' cy='30' r='1.5' fill='white' fill-opacity='0.05'/></svg>") repeat;
        pointer-events: none;
    }
.qs-hero__inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.qs-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,.22);
}

.qs-hero__title {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 14px rgba(0,0,0,.15);
}

.qs-hero__lead {
    font-size: clamp(.95rem, 2vw, 1.1rem);
    color: rgba(255,255,255,.9);
    line-height: 1.7;
}

/* ── INTRODUCCIÓN ── */
.qs-intro {
    padding: 4rem 1.25rem;
    background: #fff;
}

.qs-intro__layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    max-width: 860px;
    margin: 0 auto;
}

.qs-intro__icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    background: rgba(203,29,115,.09);
    color: var(--kuk-rose);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .qs-intro__icon-wrap svg {
        width: 1.6rem;
        height: 1.6rem;
    }

.qs-intro__text-col {
    flex: 1;
}

/* ── MISIÓN / VISIÓN / OBJETIVO ── */
.qs-mvp {
    padding: 4rem 1.25rem;
    background: var(--kuk-page-bg);
}

.qs-mvp__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.qs-mvp__card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 18px rgba(2,6,23,.07);
    border: 1px solid rgba(2,6,23,.05);
    display: flex;
    flex-direction: column;
    gap: .7rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .qs-mvp__card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 36px rgba(2,6,23,.10);
    }

.qs-mvp__card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .qs-mvp__card-icon svg {
        width: 1.4rem;
        height: 1.4rem;
    }

.qs-mvp__card--teal {
    border-top: 3px solid var(--qs-teal);
}

.qs-mvp__card--rose {
    border-top: 3px solid var(--qs-rose);
}

.qs-mvp__card--purple {
    border-top: 3px solid var(--qs-purple);
}

.qs-mvp__card--teal .qs-mvp__card-icon {
    background: rgba(13,148,136,.11);
    color: var(--qs-teal);
}

.qs-mvp__card--rose .qs-mvp__card-icon {
    background: rgba(219,39,119,.10);
    color: var(--qs-rose);
}

.qs-mvp__card--purple .qs-mvp__card-icon {
    background: rgba(124,58,237,.10);
    color: var(--qs-purple);
}

.qs-mvp__card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f1724;
    margin: 0;
}

.qs-mvp__card-body {
    font-size: .9rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* ── ORGANIZACIONES SOCIAS ── */
.qs-orgs {
    padding: 4rem 1.25rem;
    background: #fff;
}

.qs-orgs__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.qs-orgs__logo-wrap {
    background: var(--kuk-page-bg);
    border-radius: .75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(2,6,23,.06);
    transition: box-shadow .18s ease, transform .18s ease;
    min-height: 100px;
}

    .qs-orgs__logo-wrap:hover {
        box-shadow: 0 8px 24px rgba(2,6,23,.10);
        transform: translateY(-3px);
    }

    .qs-orgs__logo-wrap img {
        height: 68px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        filter: grayscale(20%);
        transition: filter .18s ease;
    }

    .qs-orgs__logo-wrap:hover img {
        filter: grayscale(0%);
    }

/* ── MECANISMOS DE RECOLECCIÓN DE DATOS ── */
.qs-mrd {
    padding: 4.5rem 1.25rem;
    background: linear-gradient(180deg, var(--kuk-page-bg) 0%, #fff 100%);
}

.qs-mrd__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
}

    /* Card impar final: ocupa columna completa y se centra */
    .qs-mrd__grid > article:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

.qs-mrd__card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.6rem;
    box-shadow: 0 4px 18px rgba(2,6,23,.06);
    border: 1px solid rgba(2,6,23,.05);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .qs-mrd__card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 36px rgba(2,6,23,.10);
    }

.qs-mrd__card-icon {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: .8rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .qs-mrd__card-icon svg {
        width: 1.35rem;
        height: 1.35rem;
    }

.qs-mrd__card-icon--blue {
    background: rgba(37,99,235,.10);
    color: var(--qs-blue);
}

.qs-mrd__card-icon--rose {
    background: rgba(219,39,119,.10);
    color: var(--qs-rose);
}

.qs-mrd__card-icon--amber {
    background: rgba(217,119,6,.10);
    color: var(--qs-amber);
}

.qs-mrd__card-icon--teal {
    background: rgba(13,148,136,.10);
    color: var(--qs-teal);
}

.qs-mrd__card-icon--purple {
    background: rgba(124,58,237,.10);
    color: var(--qs-purple);
}

.qs-mrd__card-body {
    flex: 1;
    min-width: 0;
}

.qs-mrd__card-title {
    font-size: .97rem;
    font-weight: 800;
    color: #0f1724;
    margin: 0 0 .45rem;
}

.qs-mrd__card-lead,
.qs-mrd__card-body-text {
    font-size: .87rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 .55rem;
}

/* Lista numerada con bullets de color */
.qs-mrd__list {
    list-style: none;
    padding: 0;
    margin: .5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .28rem;
    counter-reset: mrd-c;
}

    .qs-mrd__list li {
        counter-increment: mrd-c;
        display: flex;
        align-items: flex-start;
        gap: .45rem;
        font-size: .84rem;
        color: #374151;
        line-height: 1.45;
    }

        .qs-mrd__list li::before {
            content: counter(mrd-c);
            min-width: 1.35rem;
            height: 1.35rem;
            background: rgba(203,29,115,.10);
            color: var(--kuk-rose);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .7rem;
            font-weight: 800;
            flex-shrink: 0;
        }

.qs-mrd__list--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .32rem .75rem;
    counter-reset: mrd-c;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .qs-mvp__grid {
        grid-template-columns: 1fr;
    }

    .qs-orgs__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qs-mrd__grid {
        grid-template-columns: 1fr;
    }

    .qs-mrd__list--two-col {
        grid-template-columns: 1fr;
    }

    .qs-mrd__grid > article:last-child:nth-child(odd) {
        max-width: 100%;
    }

    .qs-intro__layout {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .qs-hero {
        padding: 2rem 1rem 1.75rem;
    }

    .qs-orgs__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qs-mrd__card {
        flex-direction: column;
    }
}

/* =====================================================
   CTA SECTION — Denuncia + Redes Sociales
   ===================================================== */

.cta-section {
    padding: 3.5rem 1.25rem 4rem;
    background: linear-gradient(180deg, #fff 0%, var(--kuk-page-bg) 100%);
}

.cta-section__inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Encabezado */
.cta-section__header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.cta-section__eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--kuk-rose);
    background: rgba(203,29,115,.08);
    padding: .28rem .85rem;
    border-radius: 999px;
    margin-bottom: .6rem;
}

.cta-section__title {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 900;
    color: #0f1724;
    margin: 0 0 .5rem;
    letter-spacing: -.02em;
}

.cta-section__sub {
    font-size: .92rem;
    color: #6b7280;
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto;
}

/* Grid de 2 cards */
.cta-section__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Card base */
.cta-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    border-radius: 1.1rem;
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(2,6,23,.06);
    box-shadow: 0 4px 20px rgba(2,6,23,.07);
    text-decoration: none;
    color: #0f1724;
    transition: transform .22s cubic-bezier(.22,1,.36,1),
                box-shadow .22s ease,
                border-color .18s ease;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 1.1rem 1.1rem 0 0;
}

.cta-card--info::before  { background: linear-gradient(90deg, var(--kuk-matte-blue), #B5EFE7); }
.cta-card--report::before{ background: linear-gradient(90deg, var(--kuk-rose), #d1347f); }

.cta-card:hover {
    transform: translateY(-5px) scale(1.012);
    box-shadow: 0 16px 40px rgba(2,6,23,.12);
    border-color: rgba(2,6,23,.10);
}

/* Ícono */
.cta-card__icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-card__icon-wrap svg { width: 1.5rem; height: 1.5rem; }

.cta-card--info   .cta-card__icon-wrap { background: rgba(115,147,198,.12); color: var(--kuk-matte-blue); }
.cta-card--report .cta-card__icon-wrap { background: rgba(203,29,115,.10);  color: var(--kuk-rose); }

/* Contenido */
.cta-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f1724;
    margin: 0 0 .4rem;
}

.cta-card__desc {
    font-size: .87rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* Acción */
.cta-card__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(2,6,23,.05);
    flex-wrap: wrap;
}

.cta-card__btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    padding: .55rem 1.15rem;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    transition: filter .18s ease, transform .18s ease;
}

.cta-card__btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.cta-card--info   .cta-card__btn { background: linear-gradient(135deg, var(--kuk-matte-blue), #5578b0); }
.cta-card--report .cta-card__btn { background: linear-gradient(135deg, var(--kuk-rose), #d1347f); }

.cta-card:hover .cta-card__btn {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.cta-card__number {
    font-size: .82rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: .01em;
}

/* ── REDES SOCIALES ── */
.cta-section__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
}

.cta-section__social-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0;
}

.cta-section__social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
}

/* Pill de red social */
.social-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem 1.05rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    white-space: nowrap;
}

.social-pill svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.social-pill:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 20px rgba(2,6,23,.12);
    filter: brightness(1.07);
}

/* Colores por red */
.social-pill--fb {
    background: #1877F2;
    color: #fff;
    border-color: #1877F2;
}

.social-pill--ig {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.social-pill--tt {
    background: #010101;
    color: #fff;
    border-color: #333;
}

.social-pill--yt {
    background: #FF0000;
    color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .cta-section__cards { grid-template-columns: 1fr; }
    .cta-card__action   { flex-direction: column; align-items: flex-start; }
    .cta-section__social-links { gap: .5rem; }
    .social-pill span   { display: none; }       /* solo icono en mobile */
    .social-pill        { padding: .6rem .75rem; border-radius: 50%; }
    .social-pill svg    { width: 1.2rem; height: 1.2rem; }
}

/* =====================================================
   OSC — Organizaciones Socias
   ===================================================== */

/* ── HERO ── */
.osc-hero {
    background: linear-gradient(135deg,
        var(--kuk-matte-blue) 0%,
        var(--kuk-rose)       55%,
        #b5187e               100%);
    padding: 2.75rem 1.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.osc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><circle cx='30' cy='30' r='1.5' fill='white' fill-opacity='0.05'/></svg>") repeat;
    pointer-events: none;
}

.osc-hero__inner {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.osc-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: .28rem .85rem;
    border-radius: 999px;
    margin-bottom: .85rem;
    border: 1px solid rgba(255,255,255,.22);
}

.osc-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 .85rem;
    line-height: 1.1;
    text-shadow: 0 2px 14px rgba(0,0,0,.15);
}

.osc-hero__lead {
    font-size: clamp(.92rem, 2vw, 1.05rem);
    color: rgba(255,255,255,.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.osc-hero__stat {
    display: inline-flex;
    align-items: baseline;
    gap: .45rem;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    padding: .4rem 1.1rem;
}

.osc-hero__stat-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.osc-hero__stat-label {
    font-size: .82rem;
    color: rgba(255,255,255,.85);
    font-weight: 500;
}

/* ── SECCIÓN GRID ── */
.osc-grid-section {
    padding: 3rem 1.25rem 4rem;
    background: var(--kuk-page-bg);
}

.osc-grid-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.osc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ← era repeat(3, 1fr) */
    gap: 1.35rem;
}

/* ── CARD ── */
.osc-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 18px rgba(2,6,23,.07);
    border: 1px solid rgba(2,6,23,.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .22s cubic-bezier(.22,1,.36,1),
                box-shadow .22s ease;
}

.osc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(2,6,23,.11);
}

/* Cabecera */
.osc-card__header {
    background: linear-gradient(135deg,
        var(--kuk-matte-blue) 0%,
        var(--kuk-rose)       100%);
    padding: 1.25rem 1.25rem .85rem;
    display: flex;
    align-items: center;
    gap: .9rem;
}

.osc-card__logo-wrap {
    width: 3.5rem;
    height: 3.5rem;
    background: #fff;
    border-radius: .6rem;
    padding: .25rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(2,6,23,.12);
}

.osc-card__logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.osc-card__name {
    font-size: .92rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

/* Cuerpo */
.osc-card__body {
    padding: 1rem 1.25rem;
    flex: 1;
}

.osc-card__summary {
    font-size: .83rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* ← era 5, ahora 6 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer de acciones */
.osc-card__footer {
    padding: .85rem 1.25rem 1.1rem;
    border-top: 1px solid rgba(2,6,23,.05);
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

/* Botones */
.osc-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .85rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: filter .18s ease, transform .18s ease;
    border: 1.5px solid transparent;
}

.osc-btn svg {
    width: .95rem;
    height: .95rem;
    flex-shrink: 0;
}

.osc-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.osc-btn__number {
    font-weight: 600;
    opacity: .85;
}

/* Variantes */
.osc-btn--whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #1ebe5d;
}

.osc-btn--call {
    background: var(--kuk-matte-blue);
    color: #fff;
    border-color: #6080b8;
}

.osc-btn--web {
    background: transparent;
    color: var(--kuk-rose);
    border-color: rgba(203,29,115,.30);
}

.osc-btn--web:hover {
    background: rgba(203,29,115,.06);
}

.osc-btn--email {
    background: transparent;
    color: #6b7280;
    border-color: rgba(107,114,128,.28);
}

.osc-btn--email:hover {
    background: rgba(107,114,128,.06);
    color: #374151;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
    .osc-grid {
        grid-template-columns: 1fr;
    }

    .osc-card__summary {
        -webkit-line-clamp: 5;
    }
}

@media (max-width: 580px) {
    .osc-hero {
        padding: 2rem 1rem 1.75rem;
    }
}