/* ========================================================================== 
   CORATTO PET · HOME EXPERIENCE
   Fase 1: Hero principal
   Se carga DESPUÉS de home.css para conservar header, footer y estilos previos.
   ========================================================================== */

.home-page {
    --coratto-ink: #12110f;
    --coratto-ink-soft: #25211d;
    --coratto-gold: #c9750a;
    --coratto-gold-strong: #a95300;
    --coratto-gold-light: #f2ae43;
    --coratto-cream: #fffaf4;
    --coratto-beige: #f7e8d7;
    --coratto-beige-soft: #fdf3e9;
    --coratto-line: rgba(182, 99, 8, 0.22);
    --coratto-shadow: 0 28px 70px rgba(69, 40, 15, 0.16);
    --coratto-paw-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='17' cy='17' rx='8' ry='11' transform='rotate(-28 17 17)'/%3E%3Cellipse cx='31' cy='12' rx='7' ry='11'/%3E%3Cellipse cx='46' cy='17' rx='8' ry='11' transform='rotate(28 46 17)'/%3E%3Cellipse cx='53' cy='31' rx='7' ry='10' transform='rotate(38 53 31)'/%3E%3Cpath d='M14 46c0-12 8-21 18-21s18 9 18 21c0 7-5 11-11 9-5-2-9-2-14 0-6 2-11-2-11-9Z'/%3E%3C/svg%3E");
}

.home-page .icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   HERO · composición
   -------------------------------------------------------------------------- */

.home-page .home-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(680px, 84svh, 880px);
    overflow: hidden;
    color: var(--coratto-ink);
    background:
        radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.94) 0 10%, transparent 35%),
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.88) 0 6%, transparent 30%),
        linear-gradient(115deg, #fffdf9 0%, #fff8f0 43%, #f9e9d8 100%);
}

.home-page .home-hero::before {
    content: "";
    position: absolute;
    z-index: -4;
    width: min(58vw, 880px);
    aspect-ratio: 1;
    left: -24vw;
    bottom: -57%;
    border-radius: 50%;
    background: rgba(232, 181, 121, 0.16);
    filter: blur(2px);
}

.home-page .home-hero::after {
    content: "";
    position: absolute;
    z-index: -4;
    width: min(52vw, 780px);
    aspect-ratio: 1;
    right: -26vw;
    top: -45%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
    filter: blur(3px);
}

.home-page .home-hero__glow {
    position: absolute;
    z-index: -3;
    inset: 10% 4% auto auto;
    width: min(54vw, 780px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 247, 233, 0.98) 0 20%, rgba(243, 185, 112, 0.18) 50%, transparent 72%);
    pointer-events: none;
}

.home-page .home-hero__layout {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
    align-items: center;
    width: min(100% - 48px, 1480px);
    min-height: clamp(640px, 79svh, 820px);
    margin-inline: auto;
    padding-block: clamp(54px, 7vw, 104px) clamp(42px, 4vw, 62px);
}

.home-page .home-hero__copy {
    position: relative;
    z-index: 8;
    max-width: 690px;
    padding-left: clamp(0px, 2vw, 30px);
}

.home-page .home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin-bottom: 20px;
    padding: 9px 16px;
    border: 1px solid rgba(184, 100, 10, 0.24);
    border-radius: 999px;
    color: #77440f;
    background: rgba(255, 252, 247, 0.72);
    box-shadow: 0 12px 30px rgba(102, 57, 14, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: clamp(0.87rem, 1vw, 1rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.home-page .home-kicker::before {
    content: "";
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--coratto-gold);
    background: currentColor;
    -webkit-mask: var(--coratto-paw-mask) center / contain no-repeat;
    mask: var(--coratto-paw-mask) center / contain no-repeat;
}

.home-page .home-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--coratto-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.35rem, 5.75vw, 6.45rem);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.home-page .home-hero h1 em {
    position: relative;
    color: var(--coratto-gold);
    font-style: italic;
    font-weight: 500;
    white-space: nowrap;
}

.home-page .home-hero h1 em::after {
    content: "";
    position: absolute;
    left: 3%;
    right: 1%;
    bottom: -0.1em;
    height: 0.09em;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--coratto-gold-light) 12%, var(--coratto-gold) 88%, transparent);
    transform: rotate(-1.5deg) scaleX(0.82);
    transform-origin: center;
    opacity: 0.68;
}

.home-page .home-hero__copy > p:not(.home-hero__tagline) {
    max-width: 610px;
    margin: 28px 0 0;
    color: #4c433b;
    font-size: clamp(1.08rem, 1.35vw, 1.32rem);
    line-height: 1.65;
    text-wrap: pretty;
}

.home-page .home-hero__tagline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25em 0.42em;
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--coratto-ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 1.5vw, 1.6rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.018em;
}

.home-page .home-hero__tagline em {
    color: var(--coratto-gold);
    font-size: 1.08em;
    font-style: italic;
    font-weight: 500;
    white-space: nowrap;
}

.home-page .home-title-heart {
    position: relative;
    top: -0.24em;
    display: inline-block;
    margin-left: 0.12em;
    color: var(--coratto-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.46em;
    font-weight: 500;
    line-height: 1;
    text-shadow: 0 0 18px rgba(242, 174, 67, 0.28);
    transform-origin: center;
    animation: corattoTitleHeart 3.8s ease-in-out 1.8s infinite;
}

.home-page .home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.home-page .home-hero .button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 26px;
    overflow: hidden;
    border: 1px solid #3b281d;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #4a3325, #342219);
    box-shadow: 0 15px 30px rgba(65, 39, 24, 0.2);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.home-page .home-hero .button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.35) 50%, transparent 75%);
    transform: translateX(-140%);
    transition: transform 550ms ease;
}

.home-page .home-hero .button:hover,
.home-page .home-hero .button:focus-visible {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #533829, #3b281d);
    box-shadow: 0 19px 38px rgba(65, 39, 24, 0.27);
}

.home-page .home-hero .button:hover::before,
.home-page .home-hero .button:focus-visible::before {
    transform: translateX(140%);
}

.home-page .home-hero .button-outline {
    color: #3b281d;
    border-color: rgba(111, 75, 52, 0.58);
    background: rgba(255, 248, 238, 0.7);
    box-shadow: 0 13px 28px rgba(67, 45, 29, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.home-page .home-hero .button-outline:hover,
.home-page .home-hero .button-outline:focus-visible {
    color: #fff;
    border-color: #3b281d;
    background: #3b281d;
}

.home-page .home-hero__promises {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

.home-page .home-hero__promises li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    color: #4f4338;
    font-size: 1rem;
    font-weight: 675;
}

.home-page .home-hero__promises li + li {
    padding-left: 24px;
    border-left: 1px solid rgba(164, 104, 36, 0.24);
}

.home-page .home-hero__promises li::before {
    content: "";
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    color: #c9750a;
    background: currentColor;
    -webkit-mask: var(--coratto-paw-mask) center / contain no-repeat;
    mask: var(--coratto-paw-mask) center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   HERO · escenario de mascotas
   -------------------------------------------------------------------------- */

.home-page .home-hero__stage {
    position: relative;
    z-index: 5;
    align-self: stretch;
    min-height: 600px;
    margin-right: min(-2vw, -10px);
}

.home-page .home-hero__pet-halo {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 15%;
    width: min(54vw, 720px);
    height: 58%;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 46% 38%, rgba(255, 250, 243, 0.4) 0 20%, rgba(247, 225, 198, 0.12) 46%, transparent 66%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 86%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 86%);
    filter: blur(0.5px);
    transform: translateX(-48%);
}

.home-page .home-hero__pets {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 13%;
    width: min(49vw, 760px);
    max-width: 760px;
    min-width: 520px;
    margin: 0;
    transform: translateX(-47%);
    transform-origin: 50% 90%;
    filter: drop-shadow(0 34px 28px rgba(39, 25, 14, 0.18));
    animation: corattoPetsFloat 5.8s ease-in-out infinite;
}

.home-page .home-hero__pets-image,
.home-page .home-hero__pets .home-media-placeholder {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.home-page .home-hero__pets-image {
    object-fit: contain;
    object-position: center bottom;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 12%, #000 84%, transparent 100%),
        linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0%, #000 12%, #000 84%, transparent 100%),
        linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
    mask-composite: intersect;
    mask-repeat: no-repeat;
}

.home-page .home-hero__pets .home-media-placeholder {
    min-height: 480px;
    border: 1px dashed rgba(181, 102, 13, 0.42);
    border-radius: 48% 48% 20% 20%;
    color: #81501d;
    background: rgba(255, 251, 244, 0.62);
}

.home-page .home-media-placeholder {
    display: grid;
    place-content: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
}

.home-page .home-media-placeholder > span {
    font-weight: 800;
}

.home-page .home-media-placeholder > small {
    opacity: 0.72;
}

/* Cierre visual del hero usando la imagen oficial entregada por Coratto. */
.home-page .home-hero__wave {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url("../img/home/hero/fondo-coratto.png?v=2");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.home-page .home-hero__wave::before,
.home-page .home-hero__wave::after,
.home-page .home-hero__wave-line,
.home-page .home-hero__wave-paws {
    display: none;
}

/* Notas flotantes con profundidad, no cards rectangulares. */
.home-page .home-hero__floating-note {
    position: absolute;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid rgba(202, 122, 17, 0.25);
    border-radius: 999px;
    color: #68401a;
    background: rgba(255, 252, 247, 0.72);
    box-shadow: 0 18px 38px rgba(69, 41, 18, 0.11);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.home-page .home-hero__floating-note::before {
    content: "";
    width: 13px;
    height: 13px;
    margin-right: 8px;
    color: var(--coratto-gold);
    background: currentColor;
    -webkit-mask: var(--coratto-paw-mask) center / contain no-repeat;
    mask: var(--coratto-paw-mask) center / contain no-repeat;
}

.home-page .home-hero__floating-note--one {
    left: 0;
    top: 43%;
    animation: corattoNoteFloat 5.2s ease-in-out infinite;
}

.home-page .home-hero__floating-note--two {
    right: 0;
    top: 40%;
    animation: corattoNoteFloat 6.2s ease-in-out -1.7s infinite reverse;
}

.home-page .home-hero__floating-note--three {
    right: auto;
    left: 50%;
    bottom: 28%;
    margin-left: -56px;
    animation: corattoNoteFloat 4.8s ease-in-out -2.3s infinite;
}

/* Mensaje lateral: historia de María y Simón */
.home-page .home-hero__origin {
    position: absolute;
    z-index: 15;
    right: 0;
    bottom: clamp(105px, 14%, 155px);

    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) 46px;
    align-items: center;
    gap: 14px;

    width: clamp(500px, 34vw, 640px);
    min-height: 104px;
    padding: 10px 20px 10px 10px;

    overflow: hidden;

    border: 1px solid rgba(177, 112, 42, 0.22);
    border-right: 0;
    border-radius: 26px 0 0 26px;

    color: var(--coratto-ink);
    background: rgba(255, 251, 245, 0.94);

    box-shadow:
        -16px 20px 44px rgba(65, 39, 17, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

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

    text-decoration: none;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(105%);
    will-change: transform, opacity;

    transition:
        box-shadow 220ms ease,
        background 220ms ease;
}

.home-page .home-hero__origin.is-visible {
    visibility: visible;
    pointer-events: auto;

    animation: corattoOriginEnter 780ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.home-page .home-hero__origin:hover,
.home-page .home-hero__origin:focus-visible {
    background: rgba(255, 253, 249, 0.99);
    box-shadow:
        -22px 24px 52px rgba(65, 39, 17, 0.23),
        inset 0 1px 0 #fff;

    transform: translateX(-7px);
}

.home-page .home-hero__origin-photo {
    width: 118px;
    height: 82px;
    margin: 0;

    overflow: hidden;

    border: 2px solid rgba(210, 138, 43, 0.58);
    border-radius: 20px 20px 20px 8px;

    background: var(--coratto-beige);
}

.home-page .home-hero__origin-image,
.home-page .home-hero__origin-photo .home-media-placeholder {
    width: 100%;
    height: 100%;
}

.home-page .home-hero__origin-image {
    object-fit: cover;
    object-position: center 57%;

    transition: transform 350ms ease;
}

.home-page .home-hero__origin:hover .home-hero__origin-image {
    transform: scale(1.06);
}

.home-page .home-hero__origin-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.home-page .home-hero__origin-copy small {
    color: var(--coratto-gold-strong);

    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.035em;
}

.home-page .home-hero__origin-copy small::before {
    content: "♡";
    margin-right: 6px;
}

.home-page .home-hero__origin-copy h2,
.home-page .home-hero__origin-copy strong {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;

    color: var(--coratto-ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.18rem, 1.25vw, 1.48rem);
    font-weight: 600;
    line-height: 1.08;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-page .home-hero__origin-copy p {
    margin: 0;

    color: #746658;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.3;
}

.home-page .home-hero__origin-arrow {
    width: 42px;
    height: 42px;
    padding: 11px;

    border-radius: 50%;

    color: #fff;
    background: var(--coratto-gold);

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

    box-shadow: 0 8px 18px rgba(174, 88, 0, 0.25);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.home-page .home-hero__origin:hover .home-hero__origin-arrow {
    transform: translateX(4px);
    box-shadow: 0 11px 22px rgba(174, 88, 0, 0.32);
}

@keyframes corattoOriginEnter {
    0% {
        opacity: 0;
        transform: translateX(105%);
    }

    72% {
        opacity: 1;
        transform: translateX(-12px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@media (max-width: 1180px) {
    .home-page .home-hero__origin {
        bottom: 7%;
        width: min(570px, calc(100% - 24px));
        grid-template-columns: 108px minmax(0, 1fr) 42px;
    }

    .home-page .home-hero__origin-photo {
        width: 108px;
        height: 76px;
    }
}

@media (max-width: 700px) {
    .home-page .home-hero__origin {
        right: 0;
        bottom: 12px;

        grid-template-columns: 82px minmax(0, 1fr) 36px;
        gap: 9px;

        width: calc(100% - 12px);
        min-height: 82px;
        padding: 7px 10px 7px 7px;

        border-radius: 20px 0 0 20px;
    }

    .home-page .home-hero__origin-photo {
        width: 82px;
        height: 64px;
        border-radius: 15px 15px 15px 6px;
    }

    .home-page .home-hero__origin-copy {
        gap: 3px;
    }

    .home-page .home-hero__origin-copy small {
        font-size: 0.59rem;
    }

    .home-page .home-hero__origin-copy h2,
    .home-page .home-hero__origin-copy strong {
        font-size: clamp(0.98rem, 4.5vw, 1.14rem);
        line-height: 1.06;
        -webkit-line-clamp: 2;
    }

    .home-page .home-hero__origin-copy p {
        display: none;
    }

    .home-page .home-hero__origin-arrow {
        width: 34px;
        height: 34px;
        padding: 9px;
    }
}

@media (max-width: 390px) {
    .home-page .home-hero__origin {
        grid-template-columns: 72px minmax(0, 1fr) 32px;
        width: calc(100% - 6px);
    }

    .home-page .home-hero__origin-photo {
        width: 72px;
        height: 58px;
    }

    .home-page .home-hero__origin-copy h2,
    .home-page .home-hero__origin-copy strong {
        font-size: 0.93rem;
    }

    .home-page .home-hero__origin-arrow {
        width: 31px;
        height: 31px;
        padding: 8px;
    }
}
/* --------------------------------------------------------------------------
   HERO · animaciones
   -------------------------------------------------------------------------- */

@keyframes corattoHeroPetsReveal {
    0% {
        opacity: 0;
        transform: translateY(1.25rem) scale(0.96);
        filter: blur(3px);
    }

    65% {
        opacity: 1;
        transform: translateY(-0.2rem) scale(1.01);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.home-page .home-hero__pets-image,
.home-page .home-hero__pets .home-media-placeholder {
    opacity: 0;
    transform-origin: 50% 90%;
    animation: corattoHeroPetsReveal 0.9s cubic-bezier(.22, 1, .36, 1) 1s forwards;
}

@keyframes corattoOriginEnter {
    0% {
        opacity: 0;
        transform: translateX(calc(100% + 72px)) scale(0.96);
    }

    68% {
        opacity: 1;
        transform: translateX(-12px) scale(1.01);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes corattoOriginShine {
    0% { left: -35%; opacity: 0; }
    24% { opacity: 0.65; }
    100% { left: 112%; opacity: 0; }
}

@keyframes corattoTitleHeart {
    0%, 100% { opacity: 0.78; transform: scale(1); filter: brightness(1); }
    45% { opacity: 1; transform: scale(1.12); filter: brightness(1.18); }
    58% { transform: scale(1.04); }
}

@keyframes corattoOriginIdle {
    0%,
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-8px) translateY(-4px);
    }
}

@keyframes corattoPetsFloat {
    0%, 100% { transform: translateX(-49%) translateY(0) rotate(-0.2deg); }
    50% { transform: translateX(-49%) translateY(-13px) rotate(0.35deg); }
}

@keyframes corattoNoteFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
    50% { transform: translate3d(0, -12px, 0) rotate(1.5deg); }
}

@keyframes corattoWavePaw {
    from { opacity: 0.55; translate: 0 0; }
    to { opacity: 1; translate: 5px -8px; }
}

@keyframes corattoScrollCue {
    0%, 100% { translate: 0 0; opacity: 0.7; }
    50% { translate: 0 5px; opacity: 1; }
}

/* --------------------------------------------------------------------------
   HERO · responsive
   -------------------------------------------------------------------------- */

@media (min-width: 1440px) {
    .home-page .home-hero__layout {
        grid-template-columns: minmax(0, 1.04fr) minmax(600px, 0.96fr);
        width: min(100% - 64px, 1700px);
    }

    .home-page .home-hero__copy {
        max-width: 830px;
        padding-left: clamp(18px, 2.2vw, 42px);
    }

    .home-page #hero-title {
        max-width: 830px;
        font-size: clamp(5rem, 6.4vw, 7.4rem);
    }

    .home-page .home-hero__pets {
        left: 50%;
        width: min(56vw, 920px);
        max-width: 920px;
        transform: translateX(-49%);
    }
}

@media (max-width: 1240px) {
    .home-page .home-hero__layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
        width: min(100% - 36px, 1180px);
    }

    .home-page .home-hero h1 {
        font-size: clamp(3.2rem, 5.8vw, 5.35rem);
    }

    .home-page .home-hero__pets {
        width: min(54vw, 720px);
        min-width: 470px;
    }
}

@media (max-width: 960px) {
    .home-page .home-hero {
        min-height: auto;
    }

    .home-page .home-hero__layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 54px;
        padding-bottom: 42px;
    }

    .home-page .home-hero__copy {
        max-width: 780px;
        margin-inline: auto;
        padding-left: 0;
        text-align: center;
    }

    .home-page .home-hero h1,
    .home-page .home-hero__copy > p:not(.home-hero__tagline) {
        margin-inline: auto;
    }

    .home-page .home-hero__tagline {
        justify-content: center;
        margin-inline: auto;
    }

    .home-page .home-actions,
    .home-page .home-hero__promises {
        justify-content: center;
    }

    .home-page .home-hero__stage {
        width: min(100%, 820px);
        min-height: 530px;
        margin: 16px auto 0;
    }

    .home-page .home-hero__pets {
        width: min(86vw, 680px);
        min-width: 0;
        bottom: 15%;
    }
    .home-page .home-hero__origin {
        right: 18px;
        bottom: 24px;
        width: min(520px, calc(100% - 36px));
    }
    .home-page .home-hero__wave {
        height: clamp(250px, 34vw, 330px);
        background-position: 64% bottom;
    }

    .home-page .home-hero__floating-note--one { left: 2%; top: 42%; }
    .home-page .home-hero__floating-note--two { right: 2%; top: 43%; }
    .home-page .home-hero__floating-note--three { right: auto; left: 50%; bottom: 27%; }
}

@media (max-width: 640px) {
    .home-page .home-hero {
        min-height: 0;
    }

    .home-page .home-hero__layout {
        width: min(100% - 28px, 600px);
        padding-top: 24px;
        padding-bottom: 20px;
    }

    .home-page .home-kicker {
        min-height: 36px;
        margin-bottom: 12px;
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .home-page .home-hero h1 {
        max-width: 10.4ch;
        margin-inline: auto;
        font-size: clamp(2.65rem, 12.6vw, 3.8rem);
        line-height: 0.98;
        letter-spacing: -0.045em;
    }

    .home-page .home-hero__copy > p:not(.home-hero__tagline) {
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.55;
    }

    .home-page .home-hero__tagline {
        gap: 0.12em 0.38em;
        margin-top: 15px;
        font-size: clamp(1.02rem, 4.6vw, 1.2rem);
        line-height: 1.3;
    }

    .home-page .home-actions {
        gap: 8px;
        margin-top: 18px;
    }

    .home-page .home-hero .button {
        min-height: 48px;
        padding-inline: 18px;
        font-size: 0.9rem;
    }

    .home-page .home-hero__promises {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
        gap: 7px 18px;
        width: min(100%, 350px);
        margin: 14px auto 0;
    }

    .home-page .home-hero__promises li {
        justify-content: center;
        min-height: 28px;
        font-size: 0.9rem;
        font-weight: 675;
        line-height: 1.25;
        text-align: center;
    }

    .home-page .home-hero__promises li + li {
        padding-left: 0;
        border-left: 0;
    }

    .home-page .home-hero__promises li::before {
        width: 14px;
        height: 14px;
    }

    .home-page .home-hero__promises li:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .home-page .home-hero__stage {
        min-height: 390px;
        margin-top: 2px;
    }

    .home-page .home-hero__pets {
        left: 50%;
        width: min(104vw, 530px);
        min-width: 0;
        bottom: 20%;
        transform: translateX(-50%);
    }

    .home-page .home-hero__pets-image {
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, #000 8%, #000 88%, transparent 100%),
            linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, #000 8%, #000 88%, transparent 100%),
            linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
    }

    .home-page .home-hero__pet-halo {
        width: 115vw;
        height: 64%;
        bottom: 10%;
    }

    .home-page .home-hero__wave {
        inset: auto 0 0;
        top: auto;
        bottom: 0;
        height: 235px;
        background-position: 72% bottom;
    }

    .home-page .home-hero__floating-note {
        min-width: 92px;
        min-height: 36px;
        padding: 7px 11px;
        font-size: 0.78rem;
    }

    .home-page .home-hero__floating-note--one {
        left: 2%;
        top: 36%;
    }

    .home-page .home-hero__floating-note--two {
        right: 2%;
        top: 43%;
    }

    .home-page .home-hero__floating-note--three {
        display: none;
    }

    .home-page .home-hero__origin {
        right: 6px;
        bottom: 8px;
        grid-template-columns: 96px minmax(0, 1fr) 36px;
        gap: 11px;
        width: min(100% - 12px, 420px);
        min-height: 104px;
        padding: 8px 11px 8px 8px;
        border-radius: 22px 6px 6px 22px;
    }

    .home-page .home-hero__origin-photo {
        width: 96px;
        height: 82px;
        border-radius: 16px 16px 16px 7px;
    }

    .home-page .home-hero__origin-copy small {
        font-size: 0.7rem;
    }

    .home-page .home-hero__origin-copy strong {
        font-size: 1rem;
    }

    .home-page .home-hero__origin-microcopy {
        font-size: 0.75rem;
        line-height: 1.25;
    }

    .home-page .home-hero__origin-arrow {
        width: 36px;
        height: 36px;
        padding: 9px;
    }

    .home-page .home-hero__origin::after {
        right: 52px;
        top: 9px;
        width: 19px;
    }

    .home-page .home-hero__floating-note--three,
    .home-page .home-hero__scroll-cue {
        display: none;
    }

    .home-page .home-paw--3,
    .home-page .home-paw--5,
    .home-page .home-paw--7,
    .home-page .home-paw--11 {
        display: none;
    }
}

@media (max-width: 420px) {
    .home-page .home-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .home-page .home-hero .button {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .home-page .home-hero__layout {
        width: min(100% - 24px, 370px);
        padding-top: 20px;
        padding-bottom: 16px;
    }

    .home-page .home-hero h1 {
        max-width: 10.2ch;
        font-size: clamp(2.35rem, 12.2vw, 3rem);
        line-height: 0.99;
    }

    .home-page .home-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-page .home-hero .button {
        width: 100%;
    }

    .home-page .home-hero__promises {
        width: min(100%, 326px);
        gap: 4px 9px;
    }

    .home-page .home-hero__promises li {
        gap: 8px;
        font-size: 0.88rem;
    }

    .home-page .home-hero__stage {
        min-height: 360px;
        margin-top: 0;
    }

    .home-page .home-hero__pets {
        width: 106vw;
        bottom: 21%;
    }

    .home-page .home-hero__origin {
        grid-template-columns: 82px minmax(0, 1fr) 34px;
        right: 5px;
        min-height: 96px;
    }

    .home-page .home-hero__origin-photo {
        width: 82px;
        height: 72px;
    }

    .home-page .home-hero__origin-copy strong {
        font-size: 0.93rem;
    }

    .home-page .home-hero__origin-microcopy {
        font-size: 0.7rem;
    }

    .home-page .home-hero__floating-note--three {
        display: none;
    }

    .home-page .home-hero__scroll-cue span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .home-hero__pets-image,
    .home-page .home-hero__pets .home-media-placeholder {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }

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

/* ========================================================================== 
   AJUSTE FINAL · MENSAJE "CORAZÓN DE CORATTO"
   Entrada lenta, posición elevada y destello único al llegar.
   ========================================================================== */

.home-page .home-hero__origin {
    right: 0;
    bottom: clamp(70px, 8vh, 105px);

    width: clamp(540px, 38vw, 690px);
    min-height: 104px;
    grid-template-columns: 118px minmax(0, 1fr) 46px;
    gap: 14px;
    padding: 10px 20px 10px 10px;

    border: 1px solid rgba(196, 115, 14, 0.34);
    border-right: 0;
    border-radius: 26px 0 0 26px;

    color: var(--coratto-ink);
    background: linear-gradient(
        110deg,
        rgba(255, 251, 244, 0.98) 0%,
        rgba(250, 240, 226, 0.98) 58%,
        rgba(245, 226, 202, 0.98) 100%
    );

    box-shadow:
        -14px 20px 42px rgba(61, 40, 24, 0.18),
        0 0 20px rgba(201, 117, 10, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(105%);
    transform-origin: right center;
    will-change: transform, opacity;

    animation: none;
    transition:
        filter 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.home-page .home-hero__origin::before {
    content: "";
    position: absolute;
    z-index: 4;
    inset: -3px;

    border-radius: inherit;

    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 224, 139, 0.86) 12%,
            rgba(242, 174, 67, 0.42) 28%,
            transparent 58%
        );

    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}

.home-page .home-hero__origin::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: -32%;
    bottom: -32%;
    left: -24%;

    width: 16%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.90),
        rgba(255, 211, 105, 0.68),
        transparent
    );

    opacity: 0;
    transform: skewX(-18deg);
    pointer-events: none;
}

.home-page .home-hero__origin.is-visible {
    visibility: visible;
    pointer-events: auto;

    animation: corattoOriginArrivalV2 1.35s cubic-bezier(.22, .78, .26, 1) forwards;
}

.home-page .home-hero__origin.is-visible::before {
    animation: corattoOriginFlashV2 720ms 1.28s ease-out both;
}

.home-page .home-hero__origin.is-visible::after {
    animation: corattoOriginSweepV2 900ms 1.34s ease-out both;
}

.home-page .home-hero__origin:hover,
.home-page .home-hero__origin:focus-visible {
    filter: brightness(1.025);
    box-shadow:
        -17px 23px 46px rgba(61, 40, 24, 0.24),
        0 0 22px rgba(242, 174, 67, 0.12),
        inset 0 1px 0 #fff;
    transform: translateX(-6px);
}

.home-page .home-hero__origin-photo {
    width: 118px;
    height: 82px;
}

.home-page .home-hero__origin-copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(1.18rem, 1.24vw, 1.48rem);
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-page .home-hero__origin-microcopy {
    color: #746658;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.3;
}

@keyframes corattoOriginArrivalV2 {
    0% {
        opacity: 0;
        transform: translateX(105%);
    }

    35% {
        opacity: 0.45;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes corattoOriginFlashV2 {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }

    28% {
        opacity: 1;
        transform: scale(1.025);
    }

    100% {
        opacity: 0;
        transform: scale(1.055);
    }
}

@keyframes corattoOriginSweepV2 {
    0% {
        left: -24%;
        opacity: 0;
    }

    20% {
        opacity: 0.9;
    }

    100% {
        left: 112%;
        opacity: 0;
    }
}

@media (max-width: 1180px) {
    .home-page .home-hero__origin {
        bottom: 52px;
        width: min(610px, calc(100% - 22px));
        grid-template-columns: 108px minmax(0, 1fr) 42px;
    }

    .home-page .home-hero__origin-photo {
        width: 108px;
        height: 76px;
    }
}

@media (max-width: 700px) {
    .home-page .home-hero__origin {
        right: 0;
        bottom: 34px;
        width: calc(100% - 8px);
        min-height: 82px;
        grid-template-columns: 82px minmax(0, 1fr) 36px;
        gap: 9px;
        padding: 7px 9px 7px 7px;
        border-radius: 20px 0 0 20px;
    }

    .home-page .home-hero__origin-photo {
        width: 82px;
        height: 64px;
    }

    .home-page .home-hero__origin-copy small {
        font-size: 0.59rem;
    }

    .home-page .home-hero__origin-copy strong {
        font-size: clamp(0.98rem, 4.4vw, 1.14rem);
        line-height: 1.04;
    }

    .home-page .home-hero__origin-microcopy {
        display: none;
    }

    .home-page .home-hero__origin-arrow {
        width: 34px;
        height: 34px;
        padding: 8px;
    }
}

@media (max-width: 390px) {
    .home-page .home-hero__origin {
        bottom: 28px;
        width: calc(100% - 4px);
        grid-template-columns: 70px minmax(0, 1fr) 31px;
        padding-right: 6px;
    }

    .home-page .home-hero__origin-photo {
        width: 70px;
        height: 57px;
    }

    .home-page .home-hero__origin-copy small {
        font-size: 0.53rem;
    }

    .home-page .home-hero__origin-copy strong {
        font-size: 0.91rem;
    }

    .home-page .home-hero__origin-arrow {
        width: 30px;
        height: 30px;
        padding: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .home-hero__origin.is-visible {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .home-page .home-hero__origin.is-visible::before,
    .home-page .home-hero__origin.is-visible::after {
        animation: none;
    }
}
