/* ==========================================================
   KORA HEALING INSTITUTE
   styles.css
   ========================================================== */


/* ==========================================================
   VARIABLES
   ========================================================== */

:root {
    --blue: #164f76;
    --blue-dark: #073a5b;
    --blue-soft: #dce8ef;

    --text: #173e59;
    --text-light: #70787d;

    --background: #ffffff;
    --background-soft: #f7f7f4;

    --white: #ffffff;

    --border: #d8dee2;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 30px;

    --container: 1450px;

    --header-height: 72px;
}


/* ==========================================================
   GENERAL
   ========================================================== */

html {
    scroll-behavior: smooth;

    scroll-padding-top:
        calc(var(--header-height) + 78px);
}

body {
    padding-top: calc(var(--header-height) + 78px);

    background: var(--background);
    color: var(--text);

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

        font-size: 16px;
    line-height: 1.5;

    transition:
        padding-top 0.28s ease;
}

.container {
    width: min(94%, var(--container));
    margin-inline: auto;
}


/* ==========================================================
   BOTONES
   ========================================================== */

.btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    padding: 0 22px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 500;

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

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
}

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

    box-shadow:
        0 8px 20px rgba(7, 58, 91, 0.12);
}

.btn--secondary {
    border: 1px solid var(--blue);

    color: var(--blue);
    background: transparent;
}

.btn--secondary:hover {
    background: rgba(22, 79, 118, 0.04);
}


/* ==========================================================
   HEADER
   ========================================================== */

.header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    z-index: 1000;

    background: #ffffff;

    border-bottom:
        1px solid rgba(15, 73, 108, 0.05);

    box-shadow:
        0 2px 12px rgba(10, 55, 85, 0.025);

    transition:
        box-shadow 0.3s ease;
}

.header--scrolled {
    background: #ffffff;

    box-shadow:
        0 6px 24px rgba(8, 52, 80, 0.08);
}

.header__container {
    min-height: var(--header-height);

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

    gap: 35px;
}


/* ==========================================================
   HEADER LOGO
   ========================================================== */

.header__logo {
    flex-shrink: 0;

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

    width: 175px;
    height: 58px;

    overflow: hidden;
}

.header__logo-img {
    width: 100%;
    height: 100%;

    display: block;

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

    transform: scale(2.7);
    transform-origin: center;
}

/* ==========================================================
   HEADER NAVIGATION
   ========================================================== */

.header__nav {
    display: flex;
    align-items: center;

    gap: 24px;

    margin-left: auto;

    color: #333b40;

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

.header__nav a {
    position: relative;

    padding-block: 12px;

    transition: color 0.2s ease;
}

.header__nav a:hover {
    color: var(--blue);
}

.header__nav a.active {
    color: var(--blue);
}

.header__nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 5px;

    height: 1px;

    background: var(--blue);
}

.header__cta {
    flex-shrink: 0;

    min-height: 40px;

    padding-inline: 20px;

    font-size: 10px;
}

.header__menu-button {
    display: none;

    color: var(--blue);

    font-size: 25px;
}

/* ==========================================================
   HEADER — ACCESO RÁPIDO A CASOS
   ========================================================== */

.header-cases {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    width: 100%;
    height: 78px;

    overflow: hidden;

    background: #ffffff;

    border-top:
        1px solid rgba(15, 73, 108, 0.055);

    border-bottom:
        1px solid rgba(15, 73, 108, 0.10);

    box-shadow:
        0 8px 22px rgba(7, 58, 91, 0.035);

    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;

    will-change:
        transform,
        opacity;
}

.header-cases.header-cases--hidden {
    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-100%);

    pointer-events: none;
}

.header-cases__container {
    width: 100%;
    max-width: none;

    height: 78px;

    display: flex;
    align-items: center;

    gap: 34px;

    padding-inline: 40px;
}

.header-cases__title {
    flex-shrink: 0;

    color: var(--blue);

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

    letter-spacing: 2px;

    white-space: nowrap;
}

.header-cases__list {
    flex: 1;

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

    gap: 18px;

    overflow-x: auto;

    scrollbar-width: none;
}

.header-cases__list::-webkit-scrollbar {
    display: none;
}

.header-case {
    position: relative;

    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    min-height: 44px;

    padding: 6px 2px;

    color: #3e4b53;

    font-size: 9.5px;

    white-space: nowrap;

    transition:
        color 0.22s ease,
        transform 0.22s ease;
}

.header-case:hover {
    color: var(--blue);

    transform: translateY(-2px);
}

.header-case__dot {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;

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

    border:
        1.8px solid
        var(--blue);

    border-radius: 50%;

    background: var(--blue-soft);

    box-shadow:
        inset
        0
        0
        0
        2px
        rgba(255, 255, 255, 0.65);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.header-case__icon svg {
    width: 20px;
    height: 20px;

    display: block;

    fill: none;

    stroke: var(--blue);

    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        stroke 0.25s ease;
}

.header-case:hover .header-case__dot {
    background: var(--blue);

    transform: scale(1.13);

    box-shadow:
        inset 0 0 0 3px #ffffff,
        0 0 0 3px rgba(22, 79, 118, 0.10);
}

.header-case strong {
    font-weight: 500;
}


/* ==========================================================
   HEADER — CASO SELECCIONADO
   ========================================================== */

.header-case.is-active {
    color: var(--blue);
}

.header-case.is-active .header-case__dot {
    background: var(--blue);

    transform: scale(1.13);

    box-shadow:
        inset 0 0 0 3px #ffffff,
        0 0 0 3px rgba(22, 79, 118, 0.10);
}


/* ==========================================================
   HEADER — PREVIEW DE VIDEO AL HOVER
   ========================================================== */

.header-case-preview {
    position: fixed;

    width: 230px;

    aspect-ratio: 9 / 16;

    overflow: hidden;

    border-radius: 18px;

    background: #0d171d;

    box-shadow:
        0 22px 55px rgba(7, 40, 60, 0.28);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(10px)
        scale(0.97);

    pointer-events: none;

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;

    z-index: 5000;
}

.header-case-preview.is-visible {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}

.header-case-preview video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    opacity: 0;

    transform:
        scale(1.02);

    transition:
        opacity 0.22s ease,
        transform 0.35s ease;
}


.header-case-preview video.is-ready {
    opacity: 1;

    transform:
        scale(1);
}

.header-case-preview__overlay {
    position: absolute;

    inset:
        auto
        0
        0
        0;

    padding:
        42px
        14px
        14px;

    background:
        linear-gradient(
            to top,
            rgba(4, 24, 36, 0.82),
            rgba(4, 24, 36, 0)
        );

    color: #ffffff;
}

.header-case-preview__label {
    display: block;

    margin-bottom: 4px;

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

    letter-spacing: 1.4px;
}

.header-case-preview__title {
    display: block;

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

/* ==========================================================
   MOBILE MENU
   ========================================================== */

.mobile-menu {
    display: none;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu__nav a {
    color: #333b40;
    text-decoration: none;
}

.mobile-menu__cta {
    color: #fff !important;
    background: var(--blue);
}


/* ==========================================================
   HERO
   ========================================================== */

.hero {
    background: #f7f7f4;
}

.hero__container {
    width: 100%;
    max-width: none;

    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));

    display: grid;

    grid-template-columns:
        minmax(0, 53%)
        minmax(0, 47%);

    margin-inline: 0;

    overflow: hidden;
}

.hero__container {
    min-height: 450px;

    display: grid;

    grid-template-columns:
        minmax(0, 54%)
        minmax(0, 46%);

    overflow: hidden;
}


/* ==========================================================
   HERO CONTENT
   ========================================================== */

.hero__content {
    position: relative;

    display: grid;

    grid-template-columns:
        25px
        minmax(0, 1fr);

    align-items: center;

    padding:
        50px
        60px
        50px
        max(45px, calc((100vw - 1450px) / 2 + 18px));

    z-index: 5;
}

.hero__line {
    width: 1px;
    height: 300px;

    background: var(--blue);
}

.hero__text {
    min-width: 0;
}

.hero h1 {
    color: var(--blue);

    font-size: clamp(48px, 4.5vw, 66px);
    font-weight: 300;

    line-height: 0.98;

    letter-spacing: -2.3px;
}

.hero h2 {
    margin-top: 17px;

    color: #8c8c88;

    font-size: clamp(22px, 2vw, 28px);
    font-weight: 300;

    line-height: 1.15;

    letter-spacing: -0.6px;
}

.hero p {
    max-width: 560px;

    margin-top: 28px;

    color: #3e484d;

    font-size: 13px;

    line-height: 1.7;
}

.hero p + p {
    margin-top: 14px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


/* ==========================================================
   HERO IMAGE
   ========================================================== */

.hero__image {
    position: relative;

    min-width: 0;

    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));

    overflow: hidden;

    background: #e8eef3;
}

.hero__person {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    z-index: 1;
}

/*
   Hero photograph switch.

   Business justification:
   Desktop treats the photo as part of the page wash, not
   as a card. A wide left fade plus multiply blend the
   cool artwork into #f7f7f4. Contain keeps the full frame
   in view, including the pain inset.

   Software architecture logic:
   .hero__visual is pinned to the right of the hero, not
   clipped as a column. Mask and ::after dissolve the left
   edge. Mobile keeps the crop.

   How to use:
   Do not set overflow:hidden on .hero__image from 901px up.
   Keep the fade on .hero__visual, not on the text column.

   Invalid input or output:
   Below 901px the desktop file is hidden. A missing file leaves an
   empty frame; it does not move the text column.
*/

.hero__image::after {
    content: none;
}

.hero__person--desktop {
    display: none;
}

.hero__visual {
    display: none;
}

@media (min-width: 901px) {

    .hero__container {
        position: relative;
    }

    .hero__content {
        padding-left:
            max(
                18px,
                calc(
                    (100vw - 1450px) / 2
                    + 18px
                    - 4cm
                )
            );
    }

    .hero__image {
        position: static;

        display: block;

        overflow: visible;

        background: transparent;
    }

    .hero__person--mobile {
        display: none;
    }

    .hero__visual {
        display: block;

        position: absolute;

        top: 50%;
        right: 0;
        left: auto;

        width: 56%;
        height: 80%;

        overflow: visible;

        transform: translateY(-50%);

        opacity: 1;

        mix-blend-mode: multiply;

        z-index: 1;
    }

    .hero__visual::after {
        content: "";

        position: absolute;

        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        z-index: 2;

        pointer-events: none;

        background:
            linear-gradient(
                90deg,
                #f7f7f4 0%,
                rgba(247, 247, 244, 0.97) 18%,
                rgba(247, 247, 244, 0.72) 36%,
                rgba(247, 247, 244, 0.32) 58%,
                rgba(247, 247, 244, 0.08) 78%,
                rgba(247, 247, 244, 0) 100%
            );
    }

    .hero__person.hero__person--desktop {
        display: block;

        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        max-width: none;
        max-height: none;

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

        -webkit-mask-image:
            linear-gradient(
                90deg,
                transparent 0%,
                rgba(0, 0, 0, 0.2) 14%,
                #000 42%,
                #000 100%
            );

        mask-image:
            linear-gradient(
                90deg,
                transparent 0%,
                rgba(0, 0, 0, 0.2) 14%,
                #000 42%,
                #000 100%
            );
    }
}


/* ==========================================================
   CASES CAROUSEL — ENCONTRÁ TU CASO

   Business justification:
   Visitors recognise their own condition from real patient
   frames. One featured card and its neighbours are enough,
   and the featured card rotates on its own every 5 seconds.

   Software architecture logic:
   assets/js/main.js only writes data-offset (-4..4) on each
   .kora-cases__item, where 0 is the featured card. The rules
   below map that number to horizontal position, scale and
   opacity, so all motion is CSS transitions. Offsets 3, 4
   and -3, -4 are parked off screen and hidden.
   --cases-card-w and --cases-step are the only sizes you need
   to change per breakpoint (see responsive.css).

   How to use:
   Keep the markup from kora_render_conditions() in
   front-page.php. Transitions start once JavaScript adds
   .is-ready, so cards do not fly in on page load.

   Invalid input or output:
   Without JavaScript only the first card shows and it still
   opens its publication. A missing image shows the grey
   frame. With prefers-reduced-motion the cards jump without
   animation and the carousel does not rotate on its own.
   ========================================================== */

.kora-cases {
    --cases-card-w: 190px;
    --cases-step: 228px;
    --cases-viewport-h:
        calc(var(--cases-card-w) * 16 / 9 + 100px);

    padding:
        56px
        0
        44px;

    background: #f7f7f4;

    border-top:
        1px solid
        rgba(22, 79, 118, 0.06);
}


.kora-cases__intro {
    text-align: center;
}

.kora-cases__intro h2 {
    margin: 0;

    color: var(--blue);

    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -0.4px;
}

.kora-cases__intro .section-line {
    margin:
        16px
        auto
        0;
}


.kora-cases__carousel {
    position: relative;

    margin-top: 26px;
}


/* ==========================================================
   VIEWPORT AND TRACK
   ========================================================== */

.kora-cases__viewport {
    position: relative;

    height: var(--cases-viewport-h);

    overflow: hidden;

    touch-action: pan-y;

    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0,
            #000 9%,
            #000 91%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to right,
            transparent 0,
            #000 9%,
            #000 91%,
            transparent 100%
        );
}

.kora-cases__track {
    position: absolute;
    inset: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* ==========================================================
   ITEMS — POSITION BY data-offset
   ========================================================== */

.kora-cases__item {
    --x: 0px;
    --s: 0.6;
    --o: 0;

    position: absolute;

    left: 50%;
    top: 50%;

    width: var(--cases-card-w);

    margin: 0;

    opacity: var(--o);

    visibility: hidden;

    pointer-events: none;

    transform:
        translate(calc(-50% + var(--x)), -50%)
        scale(var(--s));
}

.kora-cases__carousel.is-ready .kora-cases__item {
    transition:
        transform 0.7s cubic-bezier(0.22, 0.8, 0.24, 1),
        opacity 0.7s ease,
        visibility 0s linear 0.7s;
}

.kora-cases__item[data-offset="0"] {
    --x: 0px;
    --s: 1;
    --o: 1;

    z-index: 5;
}

.kora-cases__item[data-offset="-1"] {
    --x: calc(var(--cases-step) * -1);
    --s: 0.84;
    --o: 0.62;

    z-index: 4;
}

.kora-cases__item[data-offset="1"] {
    --x: var(--cases-step);
    --s: 0.84;
    --o: 0.62;

    z-index: 4;
}

.kora-cases__item[data-offset="-2"] {
    --x: calc(var(--cases-step) * -2);
    --s: 0.7;
    --o: 0.3;

    z-index: 3;
}

.kora-cases__item[data-offset="2"] {
    --x: calc(var(--cases-step) * 2);
    --s: 0.7;
    --o: 0.3;

    z-index: 3;
}

.kora-cases__item[data-offset="-3"] {
    --x: calc(var(--cases-step) * -3);
    --s: 0.6;
}

.kora-cases__item[data-offset="3"] {
    --x: calc(var(--cases-step) * 3);
    --s: 0.6;
}

.kora-cases__item[data-offset="-4"] {
    --x: calc(var(--cases-step) * -4);
    --s: 0.6;
}

.kora-cases__item[data-offset="4"] {
    --x: calc(var(--cases-step) * 4);
    --s: 0.6;
}

.kora-cases__item[data-offset="0"],
.kora-cases__item[data-offset="-1"],
.kora-cases__item[data-offset="1"],
.kora-cases__item[data-offset="-2"],
.kora-cases__item[data-offset="2"] {
    visibility: visible;

    pointer-events: auto;
}

.kora-cases__carousel.is-ready .kora-cases__item[data-offset="0"],
.kora-cases__carousel.is-ready .kora-cases__item[data-offset="-1"],
.kora-cases__carousel.is-ready .kora-cases__item[data-offset="1"],
.kora-cases__carousel.is-ready .kora-cases__item[data-offset="-2"],
.kora-cases__carousel.is-ready .kora-cases__item[data-offset="2"] {
    transition-delay: 0s;
}


/* ==========================================================
   CARD — TITLE ABOVE, STILL FRAME BELOW
   ========================================================== */

.kora-cases__card {
    display: block;

    color: inherit;

    text-decoration: none;

    border-radius: 22px;

    -webkit-tap-highlight-color: transparent;
}

.kora-cases__card:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 6px;
}

.kora-cases__title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-bottom: 12px;

    color: var(--blue);

    font-size: 18px;
    font-weight: 500;

    white-space: nowrap;

    line-height: 1.15;

    letter-spacing: -0.3px;

    text-align: center;
}

.kora-cases__title-arrow {
    width: 16px;
    height: 16px;

    flex: 0 0 16px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.25s ease;
}

.kora-cases__card:hover .kora-cases__title-arrow {
    transform: translate(2px, -2px);
}

.kora-cases__frame {
    position: relative;

    display: block;

    aspect-ratio: 9 / 16;

    overflow: hidden;

    border-radius: 22px;

    background: #dbe5ea;

    box-shadow:
        0 10px 24px
        rgba(7, 58, 91, 0.12);

    transition: box-shadow 0.5s ease;
}

.kora-cases__item.is-active .kora-cases__frame {
    box-shadow:
        0 24px 50px
        rgba(7, 58, 91, 0.24);
}

.kora-cases__frame img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.kora-cases__card:hover .kora-cases__frame img {
    transform: scale(1.04);
}


/* ==========================================================
   ARROWS
   ========================================================== */

.kora-cases__arrow {
    position: absolute;

    top: calc(var(--cases-viewport-h) / 2);

    z-index: 10;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(22, 79, 118, 0.18);

    border-radius: 50%;

    background: #ffffff;

    color: var(--blue);

    box-shadow:
        0 8px 22px
        rgba(7, 58, 91, 0.14);

    transform: translateY(-50%);

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.kora-cases__arrow--prev {
    left: 12px;
}

.kora-cases__arrow--next {
    right: 12px;
}

.kora-cases__arrow svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kora-cases__arrow:hover {
    background: var(--blue);

    color: #ffffff;
}

.kora-cases__arrow:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}


@media (prefers-reduced-motion: reduce) {

    .kora-cases__carousel.is-ready .kora-cases__item,
    .kora-cases__frame,
    .kora-cases__frame img {
        transition: none;
    }

}


/* ==========================================================
   TENSIÓN ACUMULADA

   Business justification:
   The graphic warns that waiting turns a small ache into
   chronic pain. It sits after Encontrá tu caso so the
   visitor has already recognised a condition.

   Software architecture logic:
   The PNG is the whole visual, with a transparent field.
   The section uses the site cream so it matches Encontrá
   tu caso. The img is centred and never cropped.

   How to use:
   Keep the img inside .kora-tension__container.
   Do not set object-fit:cover on .kora-tension__image.
   Do not paint this section black: the file is built
   for a light page.

   Invalid input or output:
   A missing file leaves an empty cream band. Overflow
   hidden on the section would clip the timeline labels.
   ========================================================== */

.kora-tension {
    background: #f7f7f4;

    padding:
        36px
        0
        40px;
}

.kora-tension__container {
    width: min(92%, 780px);

    margin-inline: auto;
}

.kora-tension__image {
    display: block;

    width: 100%;
    height: auto;
}


/* ==========================================================
   MÉTODO KORA
   ========================================================== */

.method {
    padding:
        60px
        0
        42px;
}

.method__container {
    display: grid;

    grid-template-columns:
        235px
        minmax(0, 1fr);

    align-items: start;

    gap: 38px;
}

.method__intro h2,
.institute h2,
.testimonials h2 {
    color: var(--blue);

    font-size: 22px;
    font-weight: 400;

    line-height: 1.05;
}

.section-line {
    width: 48px;
    height: 1px;

    margin:
        14px
        0
        20px;

    background: var(--blue);
}

.method__intro p {
    max-width: 220px;

    color: #4b555a;

    font-size: 12px;

    line-height: 1.55;
}

.method__intro a,
.testimonials__intro a {
    display: inline-block;

    margin-top: 17px;

    color: var(--blue);

    font-size: 10px;
}


/* ==========================================================
   METHOD STEPS
   ========================================================== */

.method__steps {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;

    padding-top: 32px;
}


/*
   Línea punteada que une los números.
*/

.method__steps::before {
    content: "";

    position: absolute;

    top: 16px;

    left: 9%;
    right: 9%;

    height: 1px;

    background:
        repeating-linear-gradient(
            to right,
            rgba(22, 79, 118, 0.42) 0,
            rgba(22, 79, 118, 0.42) 3px,
            transparent 3px,
            transparent 8px
        );

    z-index: 0;
}


/* ==========================================================
   METHOD CARDS
   ========================================================== */

.method-card {
    position: relative;

    min-height: 178px;

    padding:
        32px
        17px
        18px;

    text-align: center;

    border-radius: 15px;

    background: var(--background-soft);

    z-index: 1;
}


/* ==========================================================
   METHOD NUMBERS
   ========================================================== */

.method-card__number {
    position: absolute;

    top: -48px;
    left: 50%;

    width: 32px;
    height: 32px;

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

    transform: translateX(-50%);

    border-radius: 50%;

    background: var(--blue);
    color: var(--white);

    font-size: 11px;

    z-index: 2;
}


/* ==========================================================
   METHOD SVG ICONS
   ========================================================== */

.method-card__icon {
    margin:
        0
        auto
        11px;
}

.method-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon svg {
    width: 100%;
    height: 100%;

    display: block;

    overflow: visible;
}

.method-icon svg path {
    fill: none;

    stroke: var(--blue);
    stroke-width: 1.65;

    stroke-linecap: round;
    stroke-linejoin: round;

    vector-effect: non-scaling-stroke;
}


/* ==========================================================
   METHOD TEXT
   ========================================================== */

.method-card h3 {
    margin-bottom: 12px;

    color: var(--blue);

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

.method-card p {
    max-width: 160px;

    margin-inline: auto;

    color: #4c565c;

    font-size: 11px;

    line-height: 1.45;
}


/* ==========================================================
   EXPERIENCIA DEL PACIENTE
   ========================================================== */

.experience {
    padding:
        10px
        0
        32px;
}

.experience__panel {
    min-height: 164px;

    display: grid;

    grid-template-columns:
        225px
        minmax(0, 1fr);

    align-items: center;

    padding:
        30px
        44px;

    border-radius: 17px;

    background: var(--blue-dark);

    color: var(--white);
}

.experience__panel h2 {
    font-size: 21px;
    font-weight: 300;

    line-height: 1.08;

    letter-spacing: -0.25px;
}

.experience__steps {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    align-items: start;

    gap: 10px;
}

/*
   Línea horizontal que conecta visualmente los siete pasos.
   Queda detrás de los círculos, como en la referencia.
*/
.experience__steps::before {
    content: "";

    position: absolute;

    top: 24px;
    left: 7.1%;
    right: 7.1%;

    height: 1px;

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

    z-index: 0;
}

.experience-item {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;

    text-align: center;

    z-index: 1;
}

/*
   Pequeño punto entre un paso y el siguiente.
*/
.experience-item:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 22px;
    right: -7px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

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

    box-shadow:
        0 0 0 3px var(--blue-dark);

    z-index: 3;
}

.experience-item__icon {
    position: relative;

    width: 49px;
    height: 49px;

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

    margin-bottom: 10px;

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

    border-radius: 50%;

    background: var(--blue-dark);

    z-index: 2;
}

.experience-item__icon svg {
    width: 28px;
    height: 28px;

    display: block;

    fill: none;

    stroke: rgba(255, 255, 255, 0.90);
    stroke-width: 1.25;

    stroke-linecap: round;
    stroke-linejoin: round;

    vector-effect: non-scaling-stroke;

    overflow: visible;
}

.experience-item strong {
    color: rgba(255, 255, 255, 0.96);

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

    line-height: 1.25;
}

.experience-item span {
    max-width: 115px;

    margin-top: 4px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 9px;

    line-height: 1.3;
}

/* ==========================================================
   EXPERIENCIA KORA — VIDEOS
   ========================================================== */

.kora-videos {
    padding:
        34px
        0
        42px;

    background: var(--background);
}


.kora-videos__container {
    display: grid;

    grid-template-columns:
        290px
        minmax(0, 1fr);

    align-items: center;

    gap: 48px;
}


/* ==========================================================
   VIDEO INTRO
   ========================================================== */

.kora-videos__intro {
    min-width: 0;
}

.kora-videos__eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--text-light);

    font-size: 9px;
    font-weight: 500;

    letter-spacing: 1.7px;
}

.kora-videos__intro h2 {
    color: var(--blue);

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

    line-height: 1.08;
}

.kora-videos__intro p {
    max-width: 260px;

    color: #4a5459;

    font-size: 12px;

    line-height: 1.6;
}


/* ==========================================================
   VIDEO MEDIA
   ========================================================== */

.kora-videos__media {
    display: grid;

    grid-template-columns:
        minmax(0, 1.85fr)
        minmax(220px, 0.65fr);

    align-items: center;

    gap: 24px;
}


/* ==========================================================
   VIDEO BASE
   ========================================================== */

.kora-video {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: var(--radius-md);

    background: #e6e8e5;

    box-shadow:
        0 10px 28px rgba(7, 58, 91, 0.06);
}

.kora-video video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    background: #e6e8e5;
}


/* ==========================================================
   VIDEO HORIZONTAL
   ========================================================== */

.kora-video--horizontal {
    aspect-ratio: 16 / 9;
}


/* ==========================================================
   VIDEO VERTICAL
   ========================================================== */

.kora-video--vertical {
    width: min(100%, 290px);

    aspect-ratio: 9 / 16;

    justify-self: center;
}


/* ==========================================================
   INSTITUTO
   ========================================================== */

.institute {
    padding:
        18px
        0
        28px;
}

.institute__container {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.35fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 32px;
}


/* ==========================================================
   INSTITUTO IMAGES
   ========================================================== */

.institute__image {
    position: relative;

    width: 100%;
    height: 190px;

    overflow: hidden;

    border-radius: 15px;

    background: #e6e8e5;
}

.institute__image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}


/* ==========================================================
   INSTITUTO CONTENT
   ========================================================== */

.institute__content {
    min-width: 0;
}

.institute__content p {
    max-width: 480px;

    color: #4a5459;

    font-size: 12px;

    line-height: 1.55;
}

.institute__features {
    display: grid;

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

    gap: 12px;

    margin-top: 20px;
}

.institute__features div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.institute__features strong {
    color: var(--blue);

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

.institute__features span {
    color: #60696e;

    font-size: 10px;

    line-height: 1.35;
}


/* ==========================================================
   TESTIMONIOS
   ========================================================== */

.testimonials {
    padding:
        18px
        0
        42px;
}

.testimonials__container {
    display: grid;

    grid-template-columns:
        215px
        repeat(3, minmax(0, 1fr));

    align-items: stretch;

    gap: 20px;
}

.testimonials__intro {
    padding-top: 5px;
}

.testimonial-card {
    min-height: 155px;

    padding:
        20px
        22px;

    border-radius: 13px;

    background: var(--background-soft);
}

.quote {
    display: block;

    height: 27px;

    color: var(--blue);

    font-size: 32px;

    line-height: 1;
}

.testimonial-card p {
    min-height: 58px;

    color: #4c5559;

    font-size: 12px;

    line-height: 1.55;
}

.testimonial-card strong,
.testimonial-card small {
    display: block;

    font-size: 11px;
}

.testimonial-card strong {
    margin-top: 9px;

    color: var(--text);

    font-weight: 600;
}

.testimonial-card small {
    margin-top: 2px;

    color: var(--text-light);
}

/* ==========================================================
   TESTIMONIOS — LINK
   ========================================================== */

.testimonials__intro a {
    margin-top: 22px;

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

    letter-spacing: 0.1px;

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

.testimonials__intro a span {
    display: inline-block;

    margin-left: 5px;

    transition: transform 0.25s ease;
}

.testimonials__intro a:hover {
    transform: translateX(3px);
}

.testimonials__intro a:hover span {
    transform: translateX(4px);
}


/* ==========================================================
   INSTAGRAM KORA
   ========================================================== */

.kora-instagram {
    padding:
        42px
        0
        80px;

    background:
        linear-gradient(
            180deg,
            #f7f8f7 0%,
            #eef5f7 100%
        );
}


.kora-instagram__container {
    display: grid;

    gap: 55px;
}


/* ==========================================================
   INTRO
   ========================================================== */

.kora-instagram__intro {
    display: block;

    width: 100%;
    max-width: 760px;

    margin: 0;
}


.kora-instagram__eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--blue);

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

    letter-spacing: 2.4px;

    text-transform: uppercase;
}

.kora-instagram__intro h2 {
    max-width: 620px;

    margin: 0;

    color: var(--blue);

    font-size: clamp(30px, 3vw, 42px);

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -1.2px;
}

.kora-instagram__intro .section-line {
    margin:
        22px
        0
        18px;
}


.kora-instagram__intro p {
    max-width: 520px;

    margin: 0;

    color: #53636b;

    font-size: 13px;

    line-height: 1.7;
}


/* ==========================================================
   POSTS
   ========================================================== */

.kora-instagram__posts {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 42px;

    max-width: 950px;

    margin-inline: auto;

    width: 100%;
}


.kora-instagram-post {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #e7ecee;

    border-radius: 3px;
}


.kora-instagram-post img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    background: #ffffff;
}


/* ==========================================================
   HOVER
   ========================================================== */

.kora-instagram-post::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        rgba(14, 39, 57, 0.20);

    opacity: 0;

    transition:
        opacity
        0.25s
        ease;
}


.kora-instagram-post:hover::after {
    opacity: 1;
}


.kora-instagram-post__button {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding:
        16px
        22px;

    background: #ffffff;

    color: #173346;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.7px;

    white-space: nowrap;

    opacity: 0;

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

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


.kora-instagram-post:hover
.kora-instagram-post__button {
    opacity: 1;

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


.kora-instagram-post__instagram-icon {
    width: 15px;
    height: 15px;

    flex-shrink: 0;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
    padding:
        32px
        0
        34px;

    background: var(--blue-dark);

    color: var(--white);
}

/*
   Footer columns.

   Business justification:
   The four link columns should sit together in the center of the footer
   instead of stretching across the row.

   Software architecture logic:
   The brand stays in the first track. .footer__nav centers four
   max-content columns with a short gap.

   How to use:
   Change column-gap on .footer__nav to tighten or loosen the group.

   Invalid input or output:
   If .footer__nav is missing, the columns fall back to normal flow
   under the brand.
*/

.footer__container {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    align-items: start;

    column-gap: 48px;
}

.footer__nav {
    display: grid;

    grid-template-columns:
        repeat(4, max-content);

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

    column-gap: 24px;

    width: 100%;
}


/* ==========================================================
   FOOTER BRAND
   ========================================================== */

.footer__logo {
    font-size: 27px;
    font-weight: 300;

    line-height: 0.9;

    letter-spacing: 6px;
}

.footer__logo span {
    display: block;

    margin-top: 6px;

    font-size: 7px;

    letter-spacing: 2.7px;
}

.footer__brand p {
    margin:
        14px
        0;

    font-size: 12px;

    line-height: 1.5;

    opacity: 0.75;
}

.footer__brand small {
    font-size: 10.5px;

    opacity: 0.55;
}


/* ==========================================================
   FOOTER COLUMNS
   ========================================================== */

.footer__column {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.footer__column strong {
    margin-bottom: 3px;

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

.footer__column a,
.footer__column span {
    font-size: 11px;

    opacity: 0.72;

    transition: opacity 0.2s ease;
}

.footer__column a:hover {
    opacity: 1;
}

/*
   Footer street address.

   Business justification:
   The contact column must show the clinic address as a maps link
   without breaking the other footer columns.

   Software architecture logic:
   The link uses the same type size as the other column links and wraps
   inside the column instead of stretching the footer grid.

   How to use:
   Keep the class on the address anchor in footer.php.

   Invalid input or output:
   A very long label wraps within 22rem. It does not change the grid.
*/

.footer__address {
    max-width: 11rem;

    line-height: 1.45;
}

/* ==========================================================
   INSTAGRAM FLOTANTE — KORA
   ========================================================== */

.instagram-float {
    position: fixed;

    right: 30px;
    bottom: 108px;

    display: flex;
    align-items: center;

    gap: 13px;

    z-index: 1499;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    text-decoration: none;
}


/* BURBUJA */

.instagram-float__label {
    position: relative;

    min-width: 148px;

    display: flex;
    flex-direction: column;

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

    padding:
        8px
        13px
        8px
        14px;

    border:
        1px solid
        rgba(22, 79, 118, 0.09);

    border-radius: 13px;

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

    box-shadow:
        0 6px 20px rgba(7, 58, 91, 0.07),
        0 1px 4px rgba(7, 58, 91, 0.035);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

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


/* PUNTA DE LA BURBUJA */

.instagram-float__label::before {
    content: "";

    position: absolute;

    right: -6px;
    top: 50%;

    width: 11px;
    height: 11px;

    background: #ffffff;

    border-top:
        1px solid
        rgba(22, 79, 118, 0.08);

    border-right:
        1px solid
        rgba(22, 79, 118, 0.08);

    transform:
        translateY(-50%)
        rotate(45deg);
}


/* TEXTO PEQUEÑO */

.instagram-float__label-small {
    margin-bottom: 2px;

    color: #7a8388;

    font-size: 9px;
    font-weight: 400;

    line-height: 1.2;

    letter-spacing: 0.15px;
}


/* TEXTO PRINCIPAL */

.instagram-float__label-main {
    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 500;

    line-height: 1.25;
}


/* FLECHA */

.instagram-float__arrow {
    font-size: 14px;
    font-weight: 300;

    transition:
        transform 0.25s ease;
}


/* BOTÓN INSTAGRAM */

.instagram-float__button {
    position: relative;

    width: 60px;
    height: 60px;

    flex-shrink: 0;

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

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #405DE6,
            #833AB4,
            #E1306C,
            #F77737
        );

    color: #ffffff;

    box-shadow:
        0 7px 20px rgba(131, 58, 180, 0.22),
        0 2px 6px rgba(0, 0, 0, 0.10);

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


/* ANILLO */

.instagram-float__button::before {
    content: "";

    position: absolute;

    inset: 3px;

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

    border-radius: 50%;
}


/* ICONO */

.instagram-float__icon {
    width: 29px;
    height: 29px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.instagram-float__icon-dot {
    fill: currentColor;

    stroke: none;
}


/* HOVER */

.instagram-float:hover
.instagram-float__label {
    transform:
        translateX(-3px);

    box-shadow:
        0 8px 22px rgba(7, 58, 91, 0.11);
}

.instagram-float:hover
.instagram-float__button {
    transform:
        translateY(-2px)
        scale(1.04);

    box-shadow:
        0 10px 25px rgba(131, 58, 180, 0.28),
        0 3px 8px rgba(0, 0, 0, 0.12);
}

.instagram-float:hover
.instagram-float__arrow {
    transform:
        translateX(3px);
}

/* ==========================================================
   WHATSAPP FLOTANTE — KORA
   ========================================================== */

.whatsapp-float {
    position: fixed;

    right: 30px;
    bottom: 30px;

    display: flex;
    align-items: center;
    gap: 13px;

    z-index: 1500;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    text-decoration: none;
}


/* ==========================================================
   TARJETA / BURBUJA
   ========================================================== */

.whatsapp-float__label {
    position: relative;

    min-width: 148px;

    display: flex;
    flex-direction: column;

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

    padding:
        8px
        13px
        8px
        14px;

    border:
        1px solid
        rgba(22, 79, 118, 0.09);

    border-radius: 13px;

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

    box-shadow:
        0 6px 20px rgba(7, 58, 91, 0.07),
        0 1px 4px rgba(7, 58, 91, 0.035);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

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


/* Punta de la burbuja */

.whatsapp-float__label::before {
    content: "";

    position: absolute;

    right: -6px;
    top: 50%;

    width: 11px;
    height: 11px;

    background: #ffffff;

    border-top:
        1px solid
        rgba(22, 79, 118, 0.08);

    border-right:
        1px solid
        rgba(22, 79, 118, 0.08);

    transform:
        translateY(-50%)
        rotate(45deg);
}


/* Texto pequeño */

.whatsapp-float__label-small {
    margin-bottom: 2px;

    color: #7a8388;

    font-size: 9px;
    font-weight: 400;

    line-height: 1.2;

    letter-spacing: 0.15px;
}


/* Texto principal */

.whatsapp-float__label-main {
    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 500;

    line-height: 1.25;
}


/* Flecha */

.whatsapp-float__arrow {
    font-size: 14px;
    font-weight: 300;

    transition:
        transform 0.25s ease;
}


/* ==========================================================
   BOTÓN WHATSAPP
   ========================================================== */

.whatsapp-float__button {
    position: relative;

    width: 60px;
    height: 60px;

    flex-shrink: 0;

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

    border-radius: 50%;

    background: #25D366;
    color: #ffffff;

    box-shadow:
        0 7px 20px rgba(37, 211, 102, 0.22),
        0 2px 6px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}


/* Anillo fino que le da mejor terminación */

.whatsapp-float__button::before {
    content: "";

    position: absolute;

    inset: 3px;

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

    border-radius: 50%;

    pointer-events: none;
}


/* Logo */

.whatsapp-float__icon {
    width: 35px;
    height: 35px;

    display: block;

    position: relative;

    z-index: 1;
}


/* ==========================================================
   INTERACCIÓN
   ========================================================== */

.whatsapp-float:hover .whatsapp-float__label {
    transform: translateX(-3px);

    box-shadow:
        0 8px 25px rgba(7, 58, 91, 0.11),
        0 2px 6px rgba(7, 58, 91, 0.05);
}

.whatsapp-float:hover .whatsapp-float__button {
    transform: scale(1.045);

    background: #20c75a;

    box-shadow:
        0 9px 25px rgba(37, 211, 102, 0.28),
        0 3px 8px rgba(0, 0, 0, 0.10);
}

.whatsapp-float:hover .whatsapp-float__arrow {
    transform: translateX(3px);
}

/* ==========================================================
   SINGLE POST — KORA
   ========================================================== */

.kora-post {
    background: var(--background);
}


/* ==========================================================
   POST HERO
   ========================================================== */

.kora-post__hero {
    padding:
        70px
        0
        50px;

    background: var(--background-soft);

    border-bottom:
        1px solid
        rgba(22, 79, 118, 0.06);
}

.kora-post__hero .container {
    max-width: 1100px;
}


/* ==========================================================
   POST CATEGORY
   ========================================================== */

.kora-post__category {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--blue);

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

    line-height: 1.2;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* ==========================================================
   POST TITLE
   ========================================================== */

.kora-post__title {
    max-width: 950px;

    color: var(--blue);

    font-size:
        clamp(42px, 4.8vw, 64px);

    font-weight: 300;

    line-height: 1.04;

    letter-spacing: -2px;
}


/* ==========================================================
   POST META
   ========================================================== */

.kora-post__meta {
    margin-top: 20px;

    color: var(--text-light);

    font-size: 11px;

    line-height: 1.4;
}


/* ==========================================================
   POST CONTENT SECTION
   ========================================================== */

.kora-post__content-section {
    padding:
        48px
        0
        75px;
}

.kora-post__container {
    max-width: 1100px;
}


/* ==========================================================
   FEATURED IMAGE
   ========================================================== */

.kora-post__image {
    width: 100%;

    height: clamp(360px, 42vw, 560px);

    margin-bottom: 48px;

    overflow: hidden;

    border-radius: var(--radius-md);

    background: #e6e8e5;
}

.kora-post__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* ==========================================================
   ARTICLE CONTENT
   ========================================================== */

.kora-post__content {
    max-width: 760px;

    margin-inline: auto;

    color: #465056;

    font-size: 15px;

    line-height: 1.8;
}

.kora-post__content p {
    margin-bottom: 24px;
}

.kora-post__content h2 {
    margin:
        42px
        0
        18px;

    color: var(--blue);

    font-size: 29px;
    font-weight: 400;

    line-height: 1.2;

    letter-spacing: -0.5px;
}

.kora-post__content h3 {
    margin:
        34px
        0
        14px;

    color: var(--blue);

    font-size: 21px;
    font-weight: 500;

    line-height: 1.3;
}

.kora-post__content ul,
.kora-post__content ol {
    margin:
        0
        0
        25px
        22px;
}

.kora-post__content li {
    margin-bottom: 8px;
}

.kora-post__content strong {
    color: var(--text);

    font-weight: 600;
}

.kora-post__content a {
    color: var(--blue);

    text-decoration: underline;

    text-underline-offset: 3px;
}

.kora-post__content blockquote {
    margin:
        36px
        0;

    padding:
        22px
        26px;

    border-left:
        2px solid
        var(--blue);

    background: var(--background-soft);

    color: var(--text);

    font-size: 17px;
    font-weight: 300;

    line-height: 1.65;
}

.kora-post__content img {
    max-width: 100%;

    height: auto;

    display: block;

    margin:
        32px
        auto;

    border-radius: 14px;
}

.kora-post__content figure {
    margin:
        34px
        0;
}

.kora-post__content figcaption {
    margin-top: 8px;

    color: var(--text-light);

    font-size: 10px;

    line-height: 1.4;

    text-align: center;
}


/* ==========================================================
   LAPTOP / DESKTOP MEDIANO
   1101px — 1450px

   Objetivo:
   mantener el diseño desktop,
   pero con proporciones más compactas
   para notebooks como 1366x768.
   ========================================================== */

@media (min-width: 1101px) and (max-width: 1450px) {


    /* ======================================================
       VARIABLES GENERALES
       ====================================================== */

    :root {
        --container: 1180px;
        --header-height: 62px;
    }


    html {
        scroll-padding-top:
            calc(var(--header-height) + 68px);
    }


    body {
        padding-top:
            calc(var(--header-height) + 68px);
    }


    .container {
        width: min(92%, var(--container));
    }


    /* ======================================================
       HEADER PRINCIPAL
       ====================================================== */

    .header__container {
        min-height: var(--header-height);

        gap: 24px;
    }


    .header__logo {
        width: 150px;
        height: 50px;
    }


    .header__nav {
        gap: 19px;

        font-size: 10px;
    }


    .header__nav a {
        padding-block: 9px;
    }


    .header__cta {
        min-height: 36px;

        padding-inline: 17px;

        font-size: 9px;
    }


    /* ======================================================
       HEADER — CASOS
       ====================================================== */

    .header-cases {
        height: 68px;
    }


    .header-cases__container {
        height: 68px;

        gap: 25px;

        padding-inline: 30px;
    }


    .header-cases__title {
        font-size: 11px;

        letter-spacing: 1.8px;
    }


    .header-cases__list {
        gap: 12px;
    }


    .header-case {
        min-height: 38px;

        gap: 6px;

        font-size: 8.5px;
    }


    .header-case__dot {
        width: 35px;
        height: 35px;
    }


    .header-case__icon svg {
        width: 18px;
        height: 18px;
    }


    /* ======================================================
       HERO
       ====================================================== */

    .hero__container {
        width: 100%;
        max-width: none;

        min-height:
            calc(100vh - var(--header-height));

        height:
            calc(100vh - var(--header-height));

        margin-inline: 0;

        grid-template-columns:
            minmax(0, 54%)
            minmax(0, 46%);

        overflow: hidden;
    }


    .hero__content {
        grid-template-columns:
            20px
            minmax(0, 1fr);

        padding:
            38px
            42px
            38px
            max(
                16px,
                calc(
                    (100vw - 1180px) / 2
                    + 16px
                    - 4cm
                )
            );
    }


    .hero__line {
        height: 250px;
    }


    .hero h1 {
        font-size:
            clamp(44px, 4.2vw, 57px);

        letter-spacing: -1.9px;
    }


    .hero h2 {
        margin-top: 14px;

        font-size:
            clamp(19px, 1.8vw, 24px);
    }


    .hero p {
        max-width: 500px;

        margin-top: 22px;

        font-size: 11.5px;

        line-height: 1.65;
    }


    .hero__buttons {
        gap: 10px;

        margin-top: 24px;
    }


    .hero__buttons .btn {
        min-height: 39px;

        padding-inline: 19px;

        font-size: 10px;
    }


    .hero__image {
        width: 100%;

        min-width: 0;

        min-height:
            calc(100vh - var(--header-height));

        height:
            calc(100vh - var(--header-height));

        overflow: visible;
    }


    .hero__person {
        width: 100%;
        height: 100%;

        object-fit: cover;

        object-position:
            48%
            46%;
    }


    /* ======================================================
       MÉTODO
       ====================================================== */

    .method {
        padding:
            48px
            0
            34px;
    }


    .method__container {
        grid-template-columns:
            205px
            minmax(0, 1fr);

        gap: 30px;
    }


    .method__intro h2,
    .institute h2,
    .testimonials h2 {
        font-size: 20px;
    }


    .method__steps {
        gap: 11px;

        padding-top: 29px;
    }


    .method-card {
        min-height: 155px;

        padding:
            27px
            14px
            15px;
    }


    .method-card__number {
        top: -43px;

        width: 29px;
        height: 29px;
    }


    .method-icon {
        width: 37px;
        height: 37px;
    }


    .method-card h3 {
        margin-bottom: 8px;

        font-size: 11px;
    }


    .method-card p {
        font-size: 9.5px;
    }


    /* ======================================================
       EXPERIENCIA DEL PACIENTE
       ====================================================== */

    .experience__panel {
        min-height: 145px;

        grid-template-columns:
            190px
            minmax(0, 1fr);

        padding:
            24px
            34px;
    }


    .experience__panel h2 {
        font-size: 19px;
    }


    .experience-item__icon {
        width: 43px;
        height: 43px;
    }


    .experience-item__icon svg {
        width: 24px;
        height: 24px;
    }


    .experience-item strong {
        font-size: 10px;
    }


    .experience-item span {
        font-size: 8px;
    }


    /* ======================================================
       EXPERIENCIA KORA — VIDEOS
       ====================================================== */

    .kora-videos {
        padding:
            28px
            0
            34px;
    }


    .kora-videos__container {
        grid-template-columns:
            250px
            minmax(0, 1fr);

        gap: 38px;
    }


    .kora-videos__intro h2 {
        font-size: 21px;
    }


    .kora-videos__intro p {
        font-size: 11px;
    }


    .kora-video--vertical {
        width:
            min(100%, 250px);
    }


    /* ======================================================
       INSTITUTO
       ====================================================== */

    .institute__container {
        gap: 25px;
    }


    .institute__image {
        height: 165px;
    }


    .institute__content p {
        font-size: 11px;
    }


    /* ======================================================
       TESTIMONIOS
       ====================================================== */

    .testimonials__container {
        grid-template-columns:
            190px
            repeat(3, minmax(0, 1fr));

        gap: 16px;
    }


    .testimonial-card {
        min-height: 140px;

        padding:
            17px
            18px;
    }


    .testimonial-card p {
        font-size: 10.5px;
    }


    /* ======================================================
       INSTAGRAM
       ====================================================== */

    .kora-instagram {
        padding:
            35px
            0
            60px;
    }


    .kora-instagram__container {
        gap: 40px;
    }


    .kora-instagram__intro h2 {
        font-size:
            clamp(27px, 2.6vw, 36px);
    }


    .kora-instagram__posts {
        max-width: 820px;

        gap: 32px;
    }

}