/* Sobre EviMedic: narrativa de marca, conexión y cercanía. */

.body--about {
    --about-ink: var(--brand-deep);
    --about-teal: var(--brand);
    --about-aqua: #58bcc2;
    --about-paper: #fbfdfd;
    --about-mist: #edf5f6;
    --about-line: rgba(0, 85, 109, 0.14);
    --about-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --about-ease-move: cubic-bezier(0.77, 0, 0.175, 1);
}

.body--about main {
    overflow: clip;
}

.body--about h1,
.body--about h2,
.body--about h3 {
    text-wrap: balance;
}

.body--about p {
    text-wrap: pretty;
}

/* ============================================
   HERO: texto + sistema conectado
   ============================================ */
.about-hero {
    position: relative;
    padding: clamp(78px, 8vw, 126px) 0 clamp(68px, 7vw, 104px);
}

.about-hero::before {
    content: none;
}

.about-hero .container {
    max-width: 1280px;
}

.about-hero__layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
    align-items: center;
    gap: clamp(46px, 6vw, 94px);
}

.about-hero__copy {
    max-width: 690px;
}

.about-hero__copy .eyebrow {
    justify-content: flex-start;
    margin-inline: 0;
}

.about-hero__copy h1 {
    max-width: 12ch;
    margin: 20px 0 25px;
    color: var(--about-ink);
    font-family: var(--font-heading);
    font-size: clamp(45px, 5.2vw, 72px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.99;
}

.about-hero__lead {
    max-width: 56ch;
    margin: 0 0 19px;
    color: var(--about-teal);
    font-size: clamp(19px, 1.6vw, 22px);
    font-weight: 600;
    line-height: 1.5;
}

.about-hero__copy p:not(.about-hero__lead) {
    max-width: 65ch;
    margin: 0 0 15px;
    color: var(--text-soft);
    font-size: 16.5px;
    line-height: 1.68;
}

.about-system {
    position: relative;
    width: min(100%, 530px);
    aspect-ratio: 1;
    justify-self: end;
    isolation: isolate;
}

.about-system::before,
.about-system::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.about-system::before {
    inset: 12%;
    z-index: -2;
    background: radial-gradient(circle, rgba(82, 190, 197, 0.22), rgba(224, 241, 242, 0.06) 50%, transparent 72%);
    filter: blur(10px);
}

.about-system::after {
    inset: 2%;
    z-index: -3;
    background-image:
        radial-gradient(circle at center, rgba(0, 85, 109, 0.12) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 68%);
            mask-image: radial-gradient(circle, #000 15%, transparent 68%);
    opacity: 0.65;
}

.about-system__path {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    height: 1px;
    width: 76%;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 85, 109, 0.24), transparent);
    transform-origin: left center;
}

.about-system__path--one { transform: rotate(31deg) translateX(-50%); }
.about-system__path--two { transform: rotate(-35deg) translateX(-50%); }

.about-system__core {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 158px;
    height: 158px;
    border: 1px solid rgba(0, 85, 109, 0.16);
    border-radius: 50%;
    background: var(--about-paper);
    box-shadow:
        0 30px 70px -32px rgba(0, 61, 79, 0.42),
        inset 0 1px 0 rgba(252, 254, 254, 0.9);
    transform: translate(-50%, -50%);
}

.about-system__core img {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    object-fit: contain;
    transform: none;
}

.about-system__pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    pointer-events: none;
}

.about-system__pulse::before,
.about-system__pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(54, 132, 139, 0.34);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.88);
    will-change: transform, opacity;
    animation: aboutRippleOut 4.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.about-system__pulse::after {
    animation-delay: -2.1s;
}

.about-system__node {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(0, 85, 109, 0.15);
    border-radius: 18px;
    color: var(--about-teal);
    background: rgba(250, 253, 253, 0.97);
    box-shadow: 0 18px 42px -22px rgba(0, 61, 79, 0.45);
    filter: none;
    animation: aboutNodeFloat 4.2s ease-in-out infinite;
}

.about-system__node svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-system__node--one {
    left: 8%;
    top: 21%;
    width: 58px;
    height: 58px;
    animation-delay: -1.4s;
}

.about-system__node--two {
    right: 5%;
    top: 17%;
    width: 58px;
    height: 58px;
    animation-delay: -2.8s;
}

.about-system__node--three {
    right: 2%;
    top: 59%;
    width: 58px;
    height: 58px;
    animation-delay: -0.7s;
}

.about-system__node--four {
    left: 17%;
    bottom: 3%;
    width: 58px;
    height: 58px;
    animation-delay: -2.1s;
}

.about-system__node--five {
    right: 23%;
    bottom: 1%;
    width: 58px;
    height: 58px;
    animation-delay: -3.5s;
}

.about-system__node--six {
    left: 2%;
    top: 52%;
    width: 58px;
    height: 58px;
    animation-delay: -0.2s;
}

/* Hero: tríptico editorial de especialidades */
.about-system {
    width: min(100%, 610px);
    aspect-ratio: 1.08;
}

.about-system::before {
    inset: 2% 12% 4% 18%;
    z-index: -2;
    width: auto;
    height: auto;
    border-radius: 148px 34px 148px 34px;
    background-color: var(--about-mist);
    background-image:
        linear-gradient(rgba(0, 85, 109, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 85, 109, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    filter: none;
}

.about-system::after {
    inset: 13% 4% 12% auto;
    z-index: -1;
    width: 31%;
    height: auto;
    border: 0;
    border-radius: 20px 112px 20px 20px;
    background-color: var(--about-ink);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: none;
            mask-image: none;
    opacity: 1;
}

/* Hero: firma de marca, sin imágenes auxiliares */
.about-system {
    --about-mark-size: 430px;
    width: min(100%, 570px);
    aspect-ratio: 1;
    overflow: visible;
    clip-path: none;
}

.about-system::before {
    left: 2%;
    top: 4%;
    right: auto;
    bottom: auto;
    z-index: -2;
    width: 31%;
    height: 31%;
    border-top: 2px solid rgba(0, 85, 109, 0.34);
    border-left: 2px solid rgba(0, 85, 109, 0.34);
    border-radius: 0;
    background: transparent;
    clip-path: none;
    filter: none;
    transform: scale(0.72);
    transform-origin: left top;
    transition: transform 1100ms var(--about-ease-out);
}

.about-system::after {
    left: auto;
    top: auto;
    right: 2%;
    bottom: 4%;
    z-index: -1;
    width: 31%;
    height: 31%;
    border-right: 2px solid rgba(0, 85, 109, 0.34);
    border-bottom: 2px solid rgba(0, 85, 109, 0.34);
    border-radius: 0;
    background: transparent;
    opacity: 1;
    transform: scale(0.72);
    transform-origin: right bottom;
    transition: transform 1100ms var(--about-ease-out) 120ms;
}

.about-system.visible::before,
.about-system.visible::after {
    transform: scale(1);
}

.about-system .about-system__core {
    left: 50%;
    top: 50%;
    bottom: auto;
    z-index: 6;
    overflow: visible;
    width: var(--about-mark-size);
    height: var(--about-mark-size);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: translate(-50%, -50%);
}

.about-system .about-system__core::before,
.about-system .about-system__core::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: url("../img/logo-no-text.webp") center / var(--about-mark-size) var(--about-mark-size) no-repeat;
    pointer-events: none;
    transition: transform 1100ms var(--about-ease-out);
}

.about-system .about-system__core::before {
    clip-path: inset(0 66.666% 0 0);
    transform: translateY(58px);
}

.about-system .about-system__core::after {
    clip-path: inset(0 0 0 66.666%);
    transform: translateY(-58px);
}

.about-system .about-system__core img {
    z-index: 3;
    width: var(--about-mark-size);
    height: var(--about-mark-size);
    clip-path: inset(0 33.333% 0 33.333%);
    filter: drop-shadow(0 30px 28px rgba(0, 52, 68, 0.14));
    opacity: 1;
    transform: translateY(0);
    transition: transform 1100ms var(--about-ease-out);
}

.about-system.visible .about-system__core::before {
    transform: translateY(18px);
}

.about-system.visible .about-system__core::after {
    transform: translateY(-18px);
}

@media (hover: hover) and (pointer: fine) {
    .about-system:hover .about-system__core::before,
    .about-system:hover .about-system__core::after {
        transform: translateY(0);
    }
}

/* Hero final: isotipo limpio */
.about-system {
    --about-mark-size: 400px;
    width: min(100%, 540px);
    aspect-ratio: 1;
    perspective: 900px;
}

.about-system::before,
.about-system::after,
.about-system .about-system__core::before,
.about-system .about-system__core::after {
    content: none;
}

.about-system .about-system__core {
    --about-dot-size: 36px;
    --about-dot-left: 75.9%;
    --about-dot-top: 54.45%;
    left: 50%;
    top: 50%;
    width: var(--about-mark-size);
    height: var(--about-mark-size);
    overflow: visible;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    transition: transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}

.about-system .about-system__core::before,
.about-system .about-system__core::after {
    content: "";
    position: absolute;
    inset: auto;
    left: var(--about-dot-left);
    top: var(--about-dot-top);
    width: var(--about-dot-size);
    height: var(--about-dot-size);
    border-radius: 50%;
    clip-path: none;
    pointer-events: none;
}

.about-system .about-system__core::before {
    z-index: 5;
    border: 1.5px solid rgba(5, 133, 140, 0.56);
    background: transparent;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
    animation: aboutLogoPulseRing 5.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.about-system .about-system__core::after {
    z-index: 6;
    background: #05858c;
    transform: translate(-50%, -50%) scale(1);
    animation: aboutLogoPulseDot 5.8s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

.about-system .about-system__core img {
    width: var(--about-mark-size);
    height: var(--about-mark-size);
    clip-path: none;
    filter: drop-shadow(0 16px 18px rgba(0, 52, 68, 0.08));
    transform: none;
    transform-origin: center;
    transition: filter 280ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .about-system:hover .about-system__core {
        transform: translate(-50%, -50%) rotateX(4deg) rotateY(-6deg) translate3d(0, -6px, 16px) scale(1.035);
    }

    .about-system:hover .about-system__core img {
        filter: drop-shadow(18px 28px 20px rgba(0, 52, 68, 0.16));
        transform: none;
    }
}

@keyframes aboutLogoPulseDot {
    0%, 13%, 23%, 48%, 62%, 72%, 100% { transform: translate(-50%, -50%) scale(1); }
    5%, 54% { transform: translate(-50%, -50%) scale(1.12); }
    17%, 66% { transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes aboutLogoPulseRing {
    0%, 48%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }

    4%, 53% {
        opacity: 0.52;
        transform: translate(-50%, -50%) scale(1.05);
    }

    34%, 83% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.65);
    }
}

/* ============================================
   ORIGEN: una sección azul editorial
   ============================================ */
.about-origin {
    padding: clamp(82px, 9vw, 128px) 0;
    background-attachment: scroll;
}

.about-origin::after {
    content: none;
}

.about-origin__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    column-gap: clamp(64px, 9vw, 136px);
    row-gap: 18px;
    max-width: 1110px;
    margin: 0 auto;
}

.about-origin__inner::before {
    content: "";
    position: absolute;
    left: calc(42% - 1px);
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: linear-gradient(transparent, rgba(246, 252, 252, 0.36) 18%, rgba(246, 252, 252, 0.36) 82%, transparent);
}

.about-origin__inner h2 {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
    margin: 0;
    color: #f4fbfc;
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.03;
}

.about-origin__inner p {
    grid-column: 2;
    max-width: 64ch;
    margin: 0;
    color: rgba(240, 248, 249, 0.86);
    font-size: 17px;
    line-height: 1.72;
}

/* ============================================
   BLOQUES DE RELATO ALTERNOS
   ============================================ */
.about-block {
    position: relative;
    isolation: isolate;
    padding: clamp(88px, 10vw, 142px) 0;
}

.about-block > .container {
    position: relative;
    z-index: 1;
}

.about-block::after {
    position: absolute;
    top: 7%;
    right: 5%;
    z-index: 0;
    color: rgba(0, 85, 109, 0.09);
    font-family: var(--font-heading);
    font-size: clamp(120px, 17vw, 260px);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 1;
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 720ms var(--about-ease-out),
        filter 820ms var(--about-ease-out),
        transform 900ms var(--about-ease-out);
    pointer-events: none;
}

.about-block.is-in-view::after {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
}

#adaptable::after { content: "01"; }
#atencion::after { content: "02"; right: auto; left: 3%; }

.about-block__copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(52px, 8vw, 118px);
    row-gap: clamp(18px, 2.2vw, 28px);
    max-width: 1160px;
    margin: 0 auto;
}

.about-block__copy h2 {
    grid-column: 1 / -1;
    grid-row: auto;
    align-self: start;
    width: 100%;
    max-width: none;
    margin: 0 0 clamp(18px, 2.4vw, 30px);
    color: var(--about-ink);
    font-family: var(--font-heading);
    font-size: clamp(34px, 3.8vw, 50px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.about-block__copy > p {
    grid-column: auto;
    max-width: 62ch;
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.72;
}

.about-block__copy .about-highlight {
    padding-top: 4px;
    color: var(--about-teal);
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

.about-block--alt {
    background: transparent;
}

.about-block--alt .about-block__copy h2 {
    grid-column: 1 / -1;
}

#atencion .about-block__copy h2 {
    width: 100%;
    max-width: none;
    text-wrap: pretty;
}

.about-block--alt .about-block__copy > p {
    grid-column: auto;
}

#adaptable .about-block__copy > p:nth-of-type(1) {
    grid-column: 1;
    grid-row: 3;
}

#adaptable .about-block__copy > p:nth-of-type(2) {
    grid-column: 2;
    grid-row: 3;
}

#adaptable .about-block__copy > .about-highlight {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    max-width: none;
    margin-top: clamp(8px, 1.4vw, 18px);
    text-align: center;
}

.about-point-column {
    display: grid;
    align-content: start;
    gap: clamp(26px, 3vw, 40px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-point-column--left {
    grid-column: 1;
}

.about-point-column--right {
    grid-column: 2;
}

.about-point-column li {
    position: relative;
    max-width: 62ch;
    padding-left: 24px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.72;
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition:
        opacity 520ms ease,
        transform 680ms var(--about-ease-out);
}

.about-point-column li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(0, 85, 109, 0.08);
    transform: scale(0.72);
    transition: transform 420ms var(--about-ease-out), box-shadow 420ms ease;
}

#atencion.is-in-view .about-point-column li {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

#atencion.is-in-view .about-point-column li::before {
    box-shadow: 0 0 0 5px rgba(0, 85, 109, 0.08);
    transform: scale(1);
}

#atencion.is-in-view .about-point-column--left li:nth-child(1) { transition-delay: 80ms; }
#atencion.is-in-view .about-point-column--left li:nth-child(2) { transition-delay: 150ms; }
#atencion.is-in-view .about-point-column--right li:nth-child(1) { transition-delay: 220ms; }
#atencion.is-in-view .about-point-column--right li:nth-child(2) { transition-delay: 290ms; }

.about-quote {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    margin: 0 0 clamp(8px, 1.4vw, 18px);
    padding: 28px 0 0 42px;
    border: 0;
    border-top: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-quote::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: min(42%, 420px);
    height: 1px;
    background: var(--about-line);
}

#adaptable .about-block__copy > .about-quote {
    grid-column: 1 / -1;
    grid-row: 2;
}

#adaptable .about-block__copy h2 {
    text-align: center;
}

.about-quote::before {
    content: "“";
    position: absolute;
    left: 0;
    top: 18px;
    color: rgba(0, 85, 109, 0.28);
    font-family: Georgia, serif;
    font-size: 58px;
    line-height: 1;
}

.about-quote p {
    margin: 0;
    color: var(--about-teal);
    font-family: var(--font-heading);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.38;
    text-align: left;
}

/* ============================================
   MISIÓN Y VISIÓN
   ============================================ */
.about-mission {
    padding: clamp(84px, 9vw, 128px) 0;
    background-attachment: scroll;
}

.about-mission__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(244, 251, 252, 0.4);
    border-radius: 34px;
    background: transparent;
    box-shadow: none;
}

/* Separador vertical entre misión y visión, con fade en las puntas */
.about-mission__grid::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7%;
    bottom: 7%;
    z-index: 3;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(248, 253, 253, 0.9) 30%,
        rgba(248, 253, 253, 0.9) 70%,
        transparent
    );
    transform: translateX(-50%);
    pointer-events: none;
}

.about-mission__panel {
    position: relative;
    min-height: 410px;
    padding: clamp(38px, 5vw, 66px);
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
}

.about-mission__panel:nth-child(2) {
    background: rgba(255, 255, 255, 0.06);
    transition-delay: 90ms;
}

.about-mission__panel::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: rgba(245, 252, 252, 0.78);
}

.about-mission__panel h2 {
    max-width: 11ch;
    margin: 0 0 22px;
    color: #f4fbfc;
    font-family: var(--font-heading);
    font-size: clamp(34px, 3.3vw, 46px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.03;
}

.about-mission__panel p {
    max-width: 52ch;
    margin: 0 0 16px;
    color: rgba(240, 248, 249, 0.85);
    font-size: 16.5px;
    line-height: 1.72;
}

.about-mission__panel p:last-child { margin-bottom: 0; }

/* El botón de giro solo existe en la card apilada de móvil */
.about-mission__flip {
    display: none;
}

/* ============================================
   VALORES: bento asimétrico
   ============================================ */
.about-values {
    position: relative;
    padding: clamp(56px, 6vw, 86px) 0;
    overflow: hidden;
    background: transparent;
}

.about-values::before {
    content: none;
}

.about-values > .container {
    width: calc(100% - clamp(40px, 5vw, 76px));
    max-width: 1340px;
    padding: clamp(62px, 6vw, 86px) clamp(48px, 6vw, 82px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 42px;
    background-color: var(--about-ink);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    box-shadow: 0 34px 80px -58px rgba(0, 54, 70, 0.9);
}

.about-values__head {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto clamp(48px, 5.5vw, 72px);
    text-align: center;
}

.about-values__head h2 {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.6vw, 62px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    text-wrap: pretty;
}

.about-values__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: 0;
    max-width: 1160px;
    margin: 0 auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-value {
    position: relative;
    display: flex;
    min-height: 220px;
    padding: 0 clamp(28px, 3.2vw, 46px) clamp(30px, 3vw, 42px);
    overflow: visible;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    flex-direction: column;
    transition:
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-value:nth-child(1) {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
    min-height: 440px;
    padding: 0 clamp(46px, 5vw, 74px);
    border-left: 0;
    background: transparent;
}

.about-value:nth-child(2) { grid-column: 7 / 11; grid-row: 1; }
.about-value:nth-child(3) { grid-column: 11 / 15; grid-row: 1; }
.about-value:nth-child(4) { grid-column: 7 / 11; grid-row: 2; }
.about-value:nth-child(5) { grid-column: 11 / 15; grid-row: 2; }

.about-value:nth-child(4),
.about-value:nth-child(5) {
    padding-top: clamp(30px, 3vw, 42px);
    padding-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.about-value__icon {
    position: absolute;
    right: clamp(26px, 3vw, 42px);
    top: 0;
    display: block;
    width: 54px;
    height: 54px;
    margin: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    transition: color 360ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-value:nth-child(1) .about-value__icon {
    right: clamp(46px, 5vw, 74px);
    width: 92px;
    height: 92px;
    color: rgba(255, 255, 255, 0.82);
}

.about-value__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.15;
}

.about-value__icon svg path,
.about-value__icon svg circle {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    transition: stroke-dashoffset 980ms var(--about-ease-out);
}

.about-value.visible .about-value__icon svg path,
.about-value.visible .about-value__icon svg circle {
    stroke-dashoffset: 0;
}

.about-value h3 {
    position: relative;
    z-index: 1;
    max-width: 13ch;
    margin: clamp(74px, 7vw, 94px) 0 22px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(23px, 2vw, 29px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.03;
}

.about-value p {
    position: relative;
    z-index: 1;
    max-width: 52ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(16px, 1.05vw, 17px);
    line-height: 1.66;
}

.about-value:nth-child(1) h3 {
    max-width: 11ch;
    margin-top: auto;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 0.98;
}

.about-value:nth-child(1) p {
    max-width: 38ch;
    margin-top: 28px;
    margin-bottom: auto;
    color: rgba(255, 255, 255, 0.82);
}

.about-value:nth-child(5) h3 {
    max-width: 11ch;
}

@media (hover: hover) and (pointer: fine) {
    .body--about .about-value.animate-on-scroll.visible:hover {
        transform: translateY(-3px);
    }

    /* Sin fondo tras el icono, el blanco lo hacía invisible: se intensifica */
    .about-value:hover .about-value__icon {
        color: var(--brand);
        transform: rotate(-5deg) scale(1.04);
    }
}

/* Valores: secuencia editorial, sin tarjetas independientes */
.about-values {
    padding: clamp(92px, 9vw, 132px) 0;
    background: transparent;
}

.about-values > .container {
    width: 100%;
    max-width: var(--container);
    padding: 0 32px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-values__head {
    margin-bottom: clamp(46px, 5vw, 66px);
}

.about-values__head h2 {
    color: var(--about-ink);
}

.about-values__grid {
    display: block;
    max-width: 1160px;
    overflow: visible;
    border: 0;
    border-top: 1px solid rgba(0, 85, 109, 0.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-values__grid .about-value:nth-child(n) {
    display: grid;
    grid-template-columns: 72px minmax(230px, 0.82fr) minmax(360px, 1.18fr);
    grid-column: auto;
    grid-row: auto;
    align-items: center;
    min-height: 148px;
    width: 100%;
    padding: 28px 24px;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid rgba(0, 85, 109, 0.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition:
        background-color 360ms ease,
        padding-left 440ms var(--about-ease-out),
        padding-right 440ms var(--about-ease-out),
        transform 440ms var(--about-ease-out);
}

.about-values__grid .about-value:nth-child(1) {
    min-height: 176px;
}

.about-values__grid .about-value__icon,
.about-values__grid .about-value:nth-child(1) .about-value__icon {
    position: static;
    grid-column: 1;
    grid-row: 1;
    width: 52px;
    height: 52px;
    color: rgba(0, 85, 109, 0.64);
}

.about-values__grid .about-value h3,
.about-values__grid .about-value:nth-child(1) h3,
.about-values__grid .about-value:nth-child(5) h3 {
    grid-column: 2;
    grid-row: 1;
    max-width: 14ch;
    margin: 0;
    color: var(--about-ink);
    font-size: clamp(27px, 2.4vw, 35px);
    line-height: 1.02;
    transition: transform 440ms var(--about-ease-out);
}

.about-values__grid .about-value:nth-child(1) h3 {
    font-size: clamp(32px, 3vw, 42px);
}

.about-values__grid .about-value p,
.about-values__grid .about-value:nth-child(1) p {
    grid-column: 3;
    grid-row: 1;
    max-width: 55ch;
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(16.5px, 1.1vw, 18px);
    line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
    .body--about .about-values__grid .about-value.animate-on-scroll.visible:hover {
        padding-left: 34px;
        padding-right: 34px;
        background: rgba(221, 239, 241, 0.52);
        transform: none;
    }

    .about-values__grid .about-value:hover h3 {
        transform: translateX(5px);
    }
}

/* ============================================
   EQUIPO
   ============================================ */
.about-block--team {
    margin-top: 0;
    padding: clamp(88px, 9vw, 132px) 0;
    border-top: 1px solid rgba(0, 85, 109, 0.1);
    background: transparent;
}

.about-block--team::after {
    content: none;
}

.about-block--team .about-block__copy {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(26px, 3vw, 42px);
    row-gap: 0;
    max-width: 1160px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-block--team .about-block__copy::after {
    content: none;
}

.about-block--team .about-block__copy::before {
    content: none;
}

.about-block--team.is-in-view .about-block__copy::before {
    opacity: 1;
    transform: scaleX(1);
}

.about-block--team .about-block__copy > * {
    position: relative;
    z-index: 1;
}

.about-block--team .about-block__copy h2 {
    grid-column: 1 / 6;
    grid-row: 1 / 4;
    align-self: start;
    max-width: 9ch;
    margin: 0;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 0.98;
}

.about-block--team .about-block__copy > p {
    grid-column: 7 / -1;
    max-width: none;
    padding: 24px 0;
    border-top: 1px solid rgba(0, 85, 109, 0.2);
    font-size: clamp(16.5px, 1.1vw, 18px);
    line-height: 1.7;
}

.about-block--team .about-block__copy > p:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.body--about .cta-final {
    margin-top: 0;
    padding-top: clamp(38px, 4vw, 58px);
}

/* ============================================
   ENTRADAS
   ============================================ */
.body--about .animate-on-scroll {
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(0, 26px, 0);
    transition:
        opacity 680ms ease,
        filter 760ms var(--about-ease-out),
        transform 860ms var(--about-ease-out);
}

.body--about .animate-on-scroll.visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
}

.about-hero__layout > .about-system.animate-on-scroll {
    transform: translate3d(0, 22px, 0) scale(0.96);
    transition-delay: 90ms;
}

.about-hero__layout > .about-system.animate-on-scroll.visible {
    transform: translate3d(0, 0, 0) scale(1);
}

.about-values__grid .about-value:nth-child(2) { transition-delay: 70ms; }
.about-values__grid .about-value:nth-child(3) { transition-delay: 110ms; }
.about-values__grid .about-value:nth-child(4) { transition-delay: 150ms; }
.about-values__grid .about-value:nth-child(5) { transition-delay: 190ms; }

.body--about .btn {
    transition-property: color, background-color, border-color, box-shadow, transform;
}

.body--about .btn:active {
    transform: scale(0.97);
    transition-duration: 140ms;
}

@keyframes aboutRippleOut {
    0% {
        opacity: 0;
        transform: scale(0.88);
    }
    12% {
        opacity: 0.52;
    }
    100% {
        opacity: 0;
        transform: scale(1.68);
    }
}

@keyframes aboutNodeFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

@keyframes aboutSystemDrift {
    0%, 100% { transform: rotate(11deg) translate3d(0, 0, 0); }
    50% { transform: rotate(9.5deg) translate3d(0, -7px, 0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-hero__layout {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.82fr);
        gap: 36px;
    }

    .about-system { width: min(100%, 460px); }

    .about-block__copy,
    .about-origin__inner {
        column-gap: 54px;
    }

    .about-values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-values > .container {
        width: calc(100% - 32px);
        padding: 52px 38px;
        border-radius: 36px;
    }

    .about-value:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        min-height: 250px;
        padding: 34px;
    }

    .about-value:nth-child(1) {
        grid-column: 1 / -1;
        min-height: 320px;
        width: 100%;
        max-width: none;
        padding: 0 34px 44px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .about-value:nth-child(2),
    .about-value:nth-child(4) {
        border-left: 0;
    }

    .about-value:nth-child(5) {
        grid-column: auto;
        width: auto;
    }

    .about-value:nth-child(5) h3 {
        max-width: 11ch;
    }

    .about-values > .container {
        width: 100%;
        padding: 0 32px;
        border-radius: 0;
    }
}

@media (max-width: 820px) {
    .about-hero {
        padding-top: 62px;
    }

    .about-hero__layout {
        grid-template-columns: minmax(0, 1fr);
        /* Con display:contents cada pieza es item del grid: el gap grande
           de desktop separaba eyebrow y título en exceso */
        gap: 0;
    }

    .about-hero__copy {
        display: contents;
        max-width: 700px;
        text-align: center;
    }

    .about-hero__copy h1 {
        margin-top: 8px;
    }

    .about-hero__copy .eyebrow { order: 1; }
    .about-hero__copy h1 { order: 2; }
    .about-hero__copy .about-hero__lead { order: 3; }
    .about-system { order: 4; }
    .about-hero__copy p:not(.about-hero__lead) { order: 5; }

    .about-hero__copy .eyebrow {
        justify-content: center;
        margin-inline: auto;
    }

    .about-hero__copy h1,
    .about-hero__lead,
    .about-hero__copy p:not(.about-hero__lead) {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    /* Párrafos de lectura justificados (títulos y lead siguen centrados) */
    .about-hero__copy p:not(.about-hero__lead),
    .about-origin__inner p,
    .about-block__copy > p,
    .about-point-column li,
    .about-mission__panel p,
    .about-values__grid .about-value p,
    .about-block--team .about-block__copy > p {
        text-align: justify;
    }

    .about-system {
        width: min(100%, 480px);
        justify-self: center;
        margin-block: 20px 24px;
    }

    .about-origin__inner,
    .about-block__copy {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 18px;
    }

    .about-origin__inner::before { display: none; }

    .about-origin__inner h2,
    .about-origin__inner p,
    .about-block__copy h2,
    .about-block__copy > p,
    .about-block--alt .about-block__copy h2,
    .about-block--alt .about-block__copy > p {
        grid-column: 1;
        grid-row: auto;
    }

    .about-origin__inner h2,
    .about-block__copy h2 {
        max-width: 18ch;
        margin-bottom: 14px;
    }

    .about-quote {
        grid-column: 1;
        grid-row: auto;
    }

    #adaptable .about-block__copy > *,
    #atencion .about-block__copy > * {
        grid-column: 1;
        grid-row: auto;
    }

    #adaptable .about-block__copy > .about-quote { grid-row: 2; }
    #adaptable .about-block__copy > p:nth-of-type(1) { grid-row: 3; }
    #adaptable .about-block__copy > p:nth-of-type(2) { grid-row: 4; }
    #adaptable .about-block__copy > .about-highlight { grid-row: 5; }

    .about-mission__panel {
        min-height: 0;
    }

    .about-block--team .about-block__copy {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0;
    }

    .about-block--team .about-block__copy h2 {
        grid-column: 1;
        grid-row: auto;
        max-width: 15ch;
        margin-bottom: 8px;
    }

    .about-block--team .about-block__copy > p {
        grid-column: 1;
        grid-row: auto;
        margin-top: 26px;
        padding-top: 24px;
    }
}

@media (max-width: 680px) {
    .about-hero {
        padding: 48px 0 66px;
    }

    .about-hero__copy h1 {
        max-width: 11ch;
        font-size: clamp(39px, 11vw, 52px);
    }

    .about-system {
        --about-mark-size: min(38vw, 150px);
        width: min(100%, 250px);
        aspect-ratio: 1.04;
        margin-inline: auto;
        scale: 1;
    }

    .about-system::before {
        left: 2%;
        top: 3%;
        right: auto;
        bottom: auto;
        width: 30%;
        height: 30%;
        border-radius: 0;
    }

    .about-system::after {
        left: auto;
        top: auto;
        right: 2%;
        bottom: 3%;
        width: 30%;
        height: 30%;
    }

    .about-system .about-system__core {
        --about-dot-size: 14px;
        --about-dot-left: 75.9%;
        --about-dot-top: 54.45%;
        left: 50%;
        top: 50%;
        bottom: auto;
        width: var(--about-mark-size);
        height: var(--about-mark-size);
        border-width: 0;
    }

    .about-system .about-system__core img {
        width: var(--about-mark-size);
        height: var(--about-mark-size);
    }

    .about-origin,
    .about-mission {
        padding: 74px 0;
    }

    .about-block,
    .about-values {
        padding: 76px 0;
    }

    .about-origin__inner h2,
    .about-block__copy h2,
    .about-values__head h2 {
        font-size: clamp(34px, 9vw, 43px);
    }

    .about-block::after {
        top: 3%;
        right: 4%;
        font-size: 105px;
    }

    #atencion::after {
        left: auto;
        right: 4%;
    }

    /* Card con flip 3D: misión delante, visión detrás. Ambas caras
       comparten celda (grid-area 1/1) para que la card mida siempre
       la altura de la MÁS ALTA y el giro no reflowee nada. */
    .about-mission__grid {
        grid-template-columns: minmax(0, 1fr);
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        perspective: 1500px;
    }

    .about-mission__grid::after {
        display: none;
    }

    /* Selectores con .body--about delante: el transform del sistema
       animate-on-scroll (.visible → translate3d(0,0,0)) pisaba el rotateY
       y las dos caras quedaban superpuestas */
    .body--about .about-mission__panel,
    .body--about .about-mission__panel:nth-child(2) {
        grid-area: 1 / 1;
        min-height: 0;
        padding: 38px 30px 42px;
        border: 1px solid rgba(244, 251, 252, 0.4);
        border-radius: 26px;
        opacity: 1;
        filter: none;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transition: transform 760ms var(--about-ease-out);
    }

    .body--about .about-mission__panel:first-child {
        transform: rotateY(0deg);
    }

    .body--about .about-mission__panel:nth-child(2) {
        transform: rotateY(180deg);
    }

    .body--about .about-mission__grid.is-flipped .about-mission__panel:first-child {
        transform: rotateY(-180deg);
    }

    .body--about .about-mission__grid.is-flipped .about-mission__panel:nth-child(2) {
        transform: rotateY(0deg);
    }

    .about-mission__panel h2 {
        max-width: none;
        font-size: 34px;
    }

    /* Botón uroboros bajo la card */
    .about-mission__flip {
        display: grid;
        place-items: center;
        width: 56px;
        height: 56px;
        margin: 26px auto 0;
        padding: 0;
        border: 1px solid rgba(244, 251, 252, 0.45);
        border-radius: 50%;
        color: #f4fbfc;
        background: rgba(255, 255, 255, 0.08);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .about-mission__flip svg {
        width: 26px;
        height: 26px;
        transition: transform 760ms var(--about-ease-out);
    }

    .about-mission__flip[aria-pressed="true"] svg {
        transform: rotate(180deg);
    }

    .about-values__head {
        margin-bottom: 36px;
    }

    .about-values > .container {
        width: calc(100% - 20px);
        padding: 44px 24px;
        border-radius: 28px;
    }

    .about-values__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .about-value:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        min-height: 0;
        padding: 30px 76px 30px 26px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-left: 0;
    }

    .about-value h3 {
        max-width: 14ch;
        margin: 0 0 14px;
        font-size: 27px;
    }

    .about-value:nth-child(1) {
        min-height: 290px;
        padding: 0 26px 42px;
        border-top: 0;
        border-bottom: 0;
    }

    .about-value:nth-child(1) h3 {
        max-width: 10ch;
        margin-top: auto;
        margin-bottom: 22px;
        font-size: clamp(38px, 10vw, 48px);
    }

    .about-value__icon {
        right: 26px;
        top: 30px;
        width: 52px;
        height: 52px;
    }

    .about-value:nth-child(1) .about-value__icon {
        right: 26px;
        top: 0;
        width: 78px;
        height: 78px;
    }

    .about-block--team {
        padding: 34px 0 40px;
    }

    .about-values {
        padding: 28px 0 38px;
    }

    .about-block--team .about-block__copy {
        padding: 0;
        border-radius: 0;
    }

    .about-block--team .about-block__copy h2 {
        max-width: 13ch;
        font-size: clamp(38px, 10vw, 48px);
    }

    .about-values {
        padding: 72px 0;
    }

    .about-values > .container {
        width: 100%;
        padding: 0 20px;
        border-radius: 0;
    }

    .about-values__grid .about-value:nth-child(n) {
        grid-template-columns: 52px minmax(0, 1fr);
        min-height: 0;
        padding: 26px 0;
        border-top: 0;
        border-bottom: 1px solid rgba(0, 85, 109, 0.2);
    }

    .about-values__grid .about-value__icon,
    .about-values__grid .about-value:nth-child(1) .about-value__icon {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: start;
        width: 38px;
        height: 38px;
    }

    .about-values__grid .about-value h3,
    .about-values__grid .about-value:nth-child(1) h3,
    .about-values__grid .about-value:nth-child(5) h3 {
        grid-column: 2;
        grid-row: 1;
        max-width: none;
        margin: 0;
        font-size: clamp(25px, 7.2vw, 31px);
    }

    .about-values__grid .about-value p,
    .about-values__grid .about-value:nth-child(1) p {
        grid-column: 2;
        grid-row: 2;
        margin-top: 12px;
        font-size: 16px;
    }

    .about-block--team {
        padding: 68px 0 76px;
    }

    /* CTA final: panel a lo ancho y "¿Estás listo?" en una línea,
       sin encoger las rayas (crecen, y como mínimo sus 90px) */
    .cta-final__inner {
        margin-inline: -30px;
        padding: 48px 22px;
        border-radius: 30px;
    }

    .cta-final__badge {
        display: flex;
        justify-content: center;
        margin-inline: -15px;
        white-space: nowrap;
    }

    .cta-final__badge::before,
    .cta-final__badge::after {
        flex: 1 1 90px;
        width: auto;
        min-width: 90px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .body--about .animate-on-scroll,
    .body--about .animate-on-scroll.visible {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }

    .about-mission__panel,
    .about-mission__flip svg {
        transition-duration: 1ms !important;
    }

    .about-block::after,
    .about-point-column li,
    .about-point-column li::before,
    .about-mission__grid::after,
    .about-value__icon svg path,
    .about-value__icon svg circle,
    .about-block--team .about-block__copy::before {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
        stroke-dashoffset: 0;
    }

    .about-system__pulse,
    .about-system__pulse::before,
    .about-system__pulse::after,
    .about-system::before,
    .about-system__node {
        animation: none;
    }

    .about-system .about-system__core::before,
    .about-system .about-system__core::after,
    .about-system .about-system__core img,
    .about-system:hover .about-system__core img,
    .about-system::before,
    .about-system::after {
        transform: none;
        transition: none;
    }

    .about-system:hover .about-system__core {
        transform: translate(-50%, -50%);
        transition: none;
    }

    .about-system .about-system__core::before {
        animation: none;
        opacity: 0;
    }

    .about-system .about-system__core::after {
        animation: none;
        transform: translate(-50%, -50%);
    }

}

/* Adaptabilidad: composición móvil independiente */
@media (max-width: 820px) {
    #adaptable {
        padding: 64px 0 70px;
    }

    #adaptable > .container {
        width: 100%;
        padding-inline: 22px;
    }

    #adaptable .about-block__copy {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: none;
        gap: 0;
    }

    #adaptable .about-block__copy > * {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    #adaptable .about-block__copy h2 {
        order: 1;
        margin: 0 0 28px;
        font-size: clamp(34px, 9vw, 43px);
        line-height: 1.04;
        text-align: center;
    }

    #adaptable .about-block__copy > .about-quote {
        order: 2;
        margin: 0 0 34px;
        padding: 24px 0 0 34px;
    }

    #adaptable .about-quote::after {
        width: 72px;
    }

    #adaptable .about-quote p {
        font-size: clamp(20px, 5.7vw, 24px);
        line-height: 1.42;
        text-align: left;
    }

    #adaptable .about-block__copy > p:nth-of-type(1) {
        order: 3;
    }

    #adaptable .about-block__copy > p:nth-of-type(2) {
        order: 4;
    }

    #adaptable .about-block__copy > p:not(.about-highlight) {
        margin: 0 0 22px;
        font-size: 16.5px;
        line-height: 1.7;
    }

    #adaptable .about-block__copy > .about-highlight {
        order: 5;
        margin: 8px 0 0;
        padding: 22px 0 0;
        border-top: 1px solid var(--about-line);
        font-size: 18px;
        text-align: center;
    }

    #adaptable::after {
        top: 48px;
        right: 20px;
        font-size: 96px;
        opacity: 0.55;
    }
}
