@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('fonts/dm-sans-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/fraunces-latin.woff2') format('woff2');
}


/* =========================================================
   VARIABLES
========================================================= */

:root {
    color-scheme: light;

    --paper: #f3ebdd;
    --surface: #fffcf5;
    --ink: #29251f;
    --clay: #ac4c34;
    --clay-dark: #873923;
    --muted: #746757;
    --line: #d8ccbc;

    --sans: 'DM Sans', Arial, sans-serif;
    --serif: 'Fraunces', Georgia, serif;
}


/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.6 var(--sans);
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

figure,
p,
h1,
h2,
h3 {
    margin: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

:focus-visible {
    outline: 3px solid var(--clay);
    outline-offset: 5px;
}

::selection {
    background: #e5bea9;
    color: var(--ink);
}


/* =========================================================
   LAYOUT
========================================================= */

.wrap {
    width: min(1180px, calc(100% - 80px));
    margin-inline: auto;
}

.memory-wrap {
    width: min(880px, calc(100% - 48px));
    margin-inline: auto;
}

.preview-notice {
    padding: 7px 20px;
    text-align: center;
    background: #e8dfd1;
    color: #5d5146;
    font-size: 12px;
    line-height: 1.5;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10;
    background: var(--surface);
    padding: 10px;
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-block: 26px;
    border-bottom: 1px solid var(--line);
}

.wordmark {
    font-family: var(--serif);
    font-weight: 900;
    font-variation-settings: 'SOFT' 100, 'WONK' 1;
    letter-spacing: -.08em;
    color: var(--clay);
    font-size: 64px;
    line-height: 1;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.main-nav a:hover,
.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}


/* =========================================================
   BOTONES
========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 48px;
    padding: 12px 21px;
    border: 1px solid var(--clay);
    background: var(--clay);
    color: var(--surface);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: background .18s;
}

.button:hover {
    background: var(--clay-dark);
    border-color: var(--clay-dark);
}

.button-outline {
    background: transparent;
    color: var(--ink);
    border-color: #b4a28d;
}

.button-outline:hover {
    background: #e9ddcc;
    border-color: #b4a28d;
}

.text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1.6;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 64px;
    padding-block: 78px 88px;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(52px, 5.5vw, 76px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.06em;
    margin-block: 24px;
}

.hero h1 em {
    font-style: normal;
    color: var(--clay);
}

.intro {
    max-width: 440px;
    font-size: 16px;
    color: #655a4f;
    line-height: 1.8;
}

.actions {
    display: flex;
    gap: 26px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-footnote {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 45px;
    font-size: 12px;
    color: var(--muted);
}

.small-spark {
    font-size: 25px;
    color: var(--clay);
}

.album-topline {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: .12em;
    color: var(--muted);
    margin: 0 6px 25px;
}

.photo-print {
    background: var(--surface);
    padding: 14px 14px 0;
    box-shadow:
        0 8px 18px #493b2520,
        0 1px 3px #493b2512;
    border: 1px solid #e8dfd0;
    border-radius: 2px;
}

.hero-print {
    transform: rotate(-3deg);
}

.hero-print img {
    aspect-ratio: 1.3;
    object-fit: cover;
}

.photo-print figcaption {
    font: italic 20px/1.4 var(--serif);
    padding: 16px 5px 19px;
    color: #6f6255;
}

.hero-print figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 19px;
}

.print-date {
    font: 10px var(--sans);
    white-space: nowrap;
}

.album-caption {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 34px 5px 0;
    font-size: 13px;
    color: var(--muted);
}

.album-caption strong {
    font-weight: 500;
    color: var(--ink);
}

.album-caption a {
    font-size: 23px;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--clay);
}

.nfc-mark {
    letter-spacing: -3px;
    font: 32px/1 var(--sans);
    color: var(--clay);
    padding-right: 6px;
}


/* =========================================================
   UNIVERSO KORA
========================================================= */

.universe {
    padding-block: 56px 80px;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 38px;
}

h2 {
    font-family: var(--serif);
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.section-heading .eyebrow,
.existing .eyebrow,
.faq .eyebrow {
    margin-bottom: 14px;
}

.section-heading > p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.branches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.branch {
    padding: 25px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    border-radius: 3px;
    background: #f9f3e9;
}

.branch-number {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: .11em;
    color: var(--muted);
}

.branch-visual {
    height: 235px;
    display: grid;
    place-items: center;
    margin-block: 20px 23px;
    overflow: hidden;
}

.mini-print {
    background: var(--surface);
    padding: 10px 10px 15px;
    width: 86%;
    transform: rotate(-6deg);
    box-shadow: 0 7px 16px #493b2524;
}

.mini-print img {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.mini-print span {
    display: block;
    text-align: center;
    margin-top: 11px;
    font: italic 15px var(--serif);
}

.branch-brand {
    font-size: 15px;
    font-family: var(--serif);
    font-weight: 800;
    color: var(--clay);
    letter-spacing: -.05em;
}

.branch h3 {
    font: 500 38px/1.2 var(--serif);
    letter-spacing: -.04em;
    margin-block: 3px 15px;
}

.branch > p:not(.branch-brand):not(.availability) {
    font-size: 14px;
    color: #655a4f;
    line-height: 1.8;
    margin-bottom: 24px;
}

.branch-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 46px;
    width: 100%;
    padding: 12px 0 4px;
    border: 0;
    border-top: 1px solid var(--line);
    background: none;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    margin-top: auto;
}

.branch-link:hover {
    color: var(--clay);
}

.availability {
    margin-top: 9px;
    color: var(--muted);
    font-size: 10px;
}


/* =========================================================
   CONNECT
========================================================= */

.contact-card {
    width: 90%;
    padding: 22px 20px 15px;
    transform: rotate(4deg);
    background: #342e28;
    color: #fbf3e5;
    box-shadow: 0 7px 16px #493b2524;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    font-size: 9px;
}

.contact-monogram {
    font: 36px var(--serif);
    margin-bottom: 21px;
    color: #e9c2a6;
}

.contact-name {
    font: 21px var(--serif);
    margin-bottom: 3px;
}

.contact-bottom {
    border-top: 1px solid #655950;
    margin-top: 18px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
}


/* =========================================================
   PETS
========================================================= */

.pet-profile {
    width: 88%;
    padding: 17px;
    background: #ece9dd;
    border: 1px solid #d7d4c5;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(-3deg);
    box-shadow: 0 7px 16px #493b2514;
}

.pet-initial {
    display: grid;
    place-items: center;
    width: 59px;
    height: 59px;
    border-radius: 50%;
    background: #5d6659;
    color: #fff9ee;
    font: 38px var(--serif);
    margin-bottom: 9px;
}

.pet-profile strong {
    font: 27px var(--serif);
}

.pet-profile > span:not(.pet-initial) {
    font-size: 11px;
    margin-top: 5px;
}

.pet-profile .pet-contact {
    border-top: 1px solid #cfcebe;
    padding-top: 12px !important;
    margin-top: 16px !important;
    width: 100%;
    text-align: center;
    color: #475443;
}


/* =========================================================
   CÓMO FUNCIONA
========================================================= */

.how-section {
    background: #eae1d3;
    padding-block: 62px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    list-style: none;
    padding: 0;
    margin: 48px 0 0;
}

.steps li > span {
    font: 17px var(--serif);
    color: var(--clay);
    display: block;
    margin-bottom: 17px;
}

.steps h3 {
    font: 500 26px var(--serif);
    letter-spacing: -.025em;
    margin-bottom: 11px;
}

.steps p {
    font-size: 14px;
    line-height: 1.8;
    color: #655a4f;
}

.implementation-note {
    margin-top: 30px;
    font-size: 12px;
    color: #655a4f;
}


/* =========================================================
   YA TENGO UN KORA
========================================================= */

.existing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    padding-block: 88px;
}

.existing h2 {
    margin-bottom: 20px;
}

.existing > div > p:last-child {
    max-width: 395px;
    font-size: 15px;
    color: #655a4f;
}

.paper-note {
    padding: 35px;
    background: var(--surface);
    border: 1px solid var(--line);
    transform: rotate(1deg);
    box-shadow: 0 6px 16px #493b2510;
}

.note-label {
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--muted);
}

.paper-note > p {
    font: 500 30px/1.35 var(--serif);
    letter-spacing: -.03em;
    margin-block: 25px;
}

.paper-note em {
    color: var(--clay);
    font-style: normal;
}

.paper-note a {
    font-size: 12px;
}


/* =========================================================
   FAQ
========================================================= */

.faq {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    border-top: 1px solid var(--line);
    padding-block: 64px 85px;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    min-height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    padding-block: 16px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    font-size: 22px;
    color: var(--clay);
}

.faq-list details[open] summary::after {
    content: '−';
}

.faq-list details p {
    font-size: 14px;
    color: #655a4f;
    padding-bottom: 22px;
    line-height: 1.8;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-block: 36px 50px;
}

.site-footer .wordmark {
    font-size: 55px;
}

.site-footer p {
    font-size: 12px;
    margin-top: 10px;
    color: var(--muted);
}

.site-footer nav {
    display: flex;
    gap: 28px;
    font-size: 13px;
}

.site-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.site-footer .footer-note {
    text-align: right;
    font-size: 11px;
}


/* =========================================================
   DIALOGS
========================================================= */

dialog {
    max-width: min(560px, calc(100vw - 32px));
    max-height: calc(100dvh - 40px);
    padding: 0;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 5px;
    box-shadow: 0 20px 60px #29251f44;
}

dialog::backdrop {
    background: #29251fa6;
}

.dialog-content {
    padding: 44px;
    position: relative;
}

.dialog-close {
    position: absolute;
    right: 12px;
    top: 10px;
    min-width: 44px;
    min-height: 44px;
    font-size: 27px;
    line-height: 1;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
}

.dialog-content .eyebrow {
    padding-right: 18px;
    margin-top: 12px;
    margin-bottom: 23px;
}

.dialog-content h2 {
    margin-bottom: 24px;
}

.dialog-content > p:not(.eyebrow) {
    font-size: 15px;
}

.dialog-content ul {
    font-size: 14px;
    padding-left: 20px;
    line-height: 1.8;
    margin-block: 22px;
}

.dialog-note {
    font-size: 12px !important;
    background: var(--paper);
    padding: 14px;
    margin-bottom: 24px;
}

.photo-dialog {
    max-width: min(1200px, calc(100vw - 32px));
}

.photo-dialog .dialog-content {
    padding: 12px;
}

.photo-dialog img {
    max-height: 75dvh;
    object-fit: contain;
}

.photo-dialog p {
    padding: 10px;
    text-align: center;
    font-size: 12px !important;
}


/* =========================================================
   MEMORY
========================================================= */

.memory-page {
    padding-top: 34px;
}

.memory-cover {
    transform: rotate(-1.2deg);
}

.memory-cover img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.memory-cover figcaption {
    font-size: 24px;
}

.photo-button {
    border: 0;
    background: none;
    padding: 0;
    width: 100%;
    display: block;
}

.memory-heading {
    padding-block: 48px 35px;
}

.memory-heading .eyebrow {
    color: var(--clay);
    margin-bottom: 16px;
}

.memory-heading h1 {
    font: 500 clamp(38px, 5vw, 60px) / 1.12 var(--serif);
    letter-spacing: -.045em;
    margin-bottom: 15px;
}

.memory-date {
    font: 24px var(--serif);
    margin-bottom: 21px;
}

.memory-story {
    max-width: 710px;
    font-size: 17px;
    line-height: 1.8;
    color: #655a4f;
}

.memory-photo-section {
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.photos-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.photos-heading h2 {
    font-size: 29px;
}

.photos-heading > span {
    font-size: 12px;
    color: var(--muted);
}

.memory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.memory-grid .photo-print {
    transform: rotate(1.2deg);
}

.memory-grid img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.memory-grid figcaption {
    font-size: 17px;
}

.album-letter {
    padding: 25px;
    text-align: center;
}

.album-letter > span {
    font: 60px/.5 var(--serif);
    color: var(--clay);
}

.album-letter p {
    font: 27px/1.35 var(--serif);
    letter-spacing: -.03em;
}

.album-letter small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 24px;
}

.memory-demo-note {
    margin-top: 50px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.memory-demo-note p {
    max-width: 680px;
    margin-bottom: 10px;
}

.memory-footer {
    border-top: 1px solid var(--line);
    padding-block: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    color: var(--muted);
}

.small-wordmark {
    font-size: 35px;
}


/* =========================================================
   MEMORY — GALERÍA
========================================================= */

.memory-header-label {
    font-size: 11px;
    letter-spacing: .15em;
    color: var(--muted);
}

.memory-preserve-lines {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.memory-heading h1,
.memory-cover figcaption {
    overflow-wrap: anywhere;
}

.memory-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-bottom: 50px;
}

.memory-gallery .photo-print {
    min-width: 0;
    padding: 10px 10px 0;
}

.memory-gallery .photo-print:nth-child(3n+1) {
    transform: rotate(-.7deg);
}

.memory-gallery .photo-print:nth-child(3n+2) {
    transform: rotate(.7deg);
}

.memory-gallery img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
    image-orientation: from-image;
}

.memory-gallery figcaption {
    display: flex;
    gap: 10px;
    align-items: baseline;
    font: 12px/1.5 var(--sans);
    padding: 13px 2px 15px;
}

.memory-gallery figcaption span:first-child {
    color: var(--clay);
    font-size: 10px;
}

.memory-gallery figcaption span:last-child {
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.memory-cover img,
.photo-dialog img {
    image-orientation: from-image;
}

.memory-empty {
    padding: 40px 20px 55px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    margin-bottom: 40px;
}

.memory-empty p:first-child {
    font: 26px var(--serif);
    color: var(--ink);
    margin-bottom: 15px;
}

.memory-error {
    padding-block: 70px;
}

.memory-error h1 {
    font: 500 clamp(32px, 6vw, 55px) / 1.15 var(--serif);
    letter-spacing: -.04em;
    margin-block: 20px;
}

.memory-error p {
    margin-bottom: 25px;
}

.photo-dialog img {
    width: 100%;
    height: auto;
}

.photo-dialog [data-photo-caption] {
    overflow-wrap: anywhere;
}


/* =========================================================
   MEMORY — VISOR / GUARDAR FOTO
========================================================= */

/*
 * El contenido del visor puede desplazarse si la pantalla
 * es pequeña. Esto es especialmente importante en iPhone.
 */

.photo-dialog .dialog-content {
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
}


/*
 * Reducimos la altura máxima de la foto para reservar espacio
 * para el texto y el botón "Guardar foto".
 */

.photo-dialog img {
    width: 100%;
    height: auto;
    max-height: 62dvh;
    object-fit: contain;
}


/*
 * Caption debajo de la imagen.
 */

.photo-dialog [data-photo-caption] {
    margin: 10px 0 14px;
    padding: 0 10px;
    text-align: center;
    overflow-wrap: anywhere;
}


/*
 * Botón para guardar la imagen.
 */

.photo-dialog [data-save-photo] {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 4px;
}


/* =========================================================
   RESPONSIVE — GRANDE
========================================================= */

@media (min-width: 1500px) {

    .hero {
        padding-block: 95px 105px;
    }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

    .wrap {
        width: calc(100% - 48px);
    }

    .hero {
        gap: 35px;
        padding-block: 58px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .intro {
        font-size: 15px;
    }

    .main-nav {
        gap: 20px;
    }

    .hero-print figcaption {
        font-size: 15px;
    }

    .print-date {
        font-size: 9px;
    }

    .branches {
        gap: 14px;
    }

    .branch {
        padding: 18px;
    }

    .branch-visual {
        height: 205px;
    }

    .branch-visual .mini-print {
        width: 90%;
    }

    .mini-print img {
        height: 115px;
    }

    .contact-card {
        width: 100%;
        padding: 15px;
    }

    .pet-profile {
        width: 100%;
    }

    .existing {
        gap: 50px;
    }

    .hero-footnote {
        margin-top: 28px;
    }

    .steps {
        gap: 30px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 720px) {

    .wrap {
        width: calc(100% - 40px);
    }

    .site-header {
        gap: 12px;
        padding-block: 19px;
        flex-wrap: wrap;
    }

    .wordmark {
        font-size: 54px;
    }

    .header-action {
        font-size: 12px;
        padding: 10px 13px;
        min-height: 44px;
        gap: 14px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 20px;
        border-top: 1px solid var(--line);
        padding-top: 7px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .preview-notice {
        font-size: 10px;
        padding: 6px 14px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-block: 40px 48px;
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(48px, 10vw, 67px);
        margin-block: 19px 23px;
        max-width: 520px;
    }

    .eyebrow {
        font-size: 9px;
    }

    .intro {
        max-width: 470px;
        font-size: 15px;
    }

    .actions {
        margin-top: 26px;
        gap: 20px;
    }

    .hero-footnote {
        margin-top: 22px;
        font-size: 11px;
    }

    .hero-album {
        max-width: 500px;
        width: calc(100% - 12px);
        margin-inline: auto;
    }

    .album-topline {
        margin-bottom: 19px;
    }

    .hero-print img {
        aspect-ratio: 1.35;
    }

    .hero-print figcaption {
        font-size: 18px;
    }

    .print-date {
        font-size: 10px;
    }

    .album-caption {
        margin-top: 24px;
    }

    .section-heading {
        display: block;
        margin-bottom: 26px;
    }

    .section-heading > p {
        margin-top: 20px;
        font-size: 13px;
    }

    .universe {
        padding-block: 36px 48px;
    }

    .branches {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .branch {
        padding: 24px;
    }

    .branch-visual {
        height: 245px;
        max-width: 350px;
        width: 100%;
        margin-inline: auto;
        margin-block: 22px;
    }

    .mini-print {
        max-width: 270px;
    }

    .mini-print img {
        height: 158px;
    }

    .contact-card {
        max-width: 290px;
        padding: 24px;
    }

    .pet-profile {
        max-width: 280px;
        padding: 22px;
    }

    .branch h3 {
        font-size: 39px;
    }

    .branch > p:not(.branch-brand):not(.availability) {
        max-width: 440px;
    }

    .branch-link {
        font-size: 14px;
    }

    .availability {
        font-size: 11px;
    }

    .how-section {
        padding-block: 42px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 32px;
    }

    .steps li {
        display: grid;
        grid-template-columns: 35px 1fr;
        column-gap: 12px;
    }

    .steps li > span {
        grid-row: 1 / 3;
        padding-top: 5px;
    }

    .steps h3 {
        font-size: 25px;
    }

    .steps p {
        grid-column: 2;
    }

    .existing {
        grid-template-columns: 1fr;
        padding-block: 49px;
        gap: 30px;
    }

    .paper-note {
        padding: 28px;
    }

    .faq {
        grid-template-columns: 1fr;
        padding-block: 40px 48px;
        gap: 25px;
    }

    .site-footer {
        flex-wrap: wrap;
        padding-block: 28px;
    }

    .site-footer .footer-note {
        display: none;
    }

    .site-footer nav {
        gap: 18px;
        font-size: 12px;
    }

    .site-footer p {
        font-size: 11px;
    }

    .dialog-content {
        padding: 32px 23px;
    }

    .dialog-content h2 {
        font-size: 35px;
    }

    .memory-wrap {
        width: calc(100% - 40px);
    }

    .memory-page {
        padding-top: 25px;
    }

    .memory-cover {
        padding: 10px 10px 0;
    }

    .memory-cover figcaption {
        font-size: 20px;
        padding-block: 13px;
    }

    .memory-heading {
        padding-top: 35px;
    }

    .memory-heading h1 {
        font-size: 39px;
    }

    .memory-date {
        font-size: 21px;
    }

    .memory-story {
        font-size: 15px;
    }

    .memory-grid {
        gap: 22px;
        grid-template-columns: 1fr;
    }

    .album-letter {
        padding: 24px 15px;
    }

    .memory-grid .photo-print {
        max-width: 430px;
        width: 100%;
        margin-inline: auto;
    }

    .photos-heading > span {
        font-size: 10px;
    }

    .memory-footer {
        font-size: 10px;
    }

}


/* =========================================================
   RESPONSIVE — GALERÍA MOBILE
========================================================= */

@media (max-width: 600px) {

    .memory-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .memory-gallery .photo-print {
        padding: 7px 7px 0;
    }

    .memory-gallery figcaption {
        font-size: 10px;
        gap: 6px;
    }

    .memory-gallery figcaption span:first-child {
        font-size: 9px;
    }

}


/* =========================================================
   ACCESIBILIDAD — REDUCIR MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }

}

/* =========================================================
   MEMORY — DESCARGAR TODAS
========================================================= */

.memory-download-all {
    padding: 10px 0 55px;
    text-align: center;
}

.memory-download-all .button {
    min-width: 220px;
}

.memory-download-all p {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
}