.gallery-page { min-height: 100vh; color: var(--preview-ink); background: var(--preview-paper); }
.gallery-header { width: min(1380px, calc(100% - 48px)); min-height: 106px; display: flex; align-items: center; justify-content: space-between; margin-inline: auto; }
.gallery-brand { width: 158px; height: 82px; }
.gallery-brand img { width: 100%; height: 100%; object-fit: contain; }
.gallery-language { display: flex; gap: 4px; padding: 4px; border: 1px solid #cdc5b7; border-radius: 999px; }
.gallery-language a { width: 39px; min-height: 42px; display: grid; place-items: center; align-content: center; gap: 1px; border-radius: 999px; font-weight: 700; line-height: 1; }
.gallery-language a span { font-size: 1.05rem; }
.gallery-language a small { font-size: 0.52rem; font-weight: 800; letter-spacing: 0.08em; }
.gallery-language a[aria-current="true"] { color: white; background: var(--preview-navy); }
.gallery-page main { width: min(1380px, calc(100% - 48px)); margin-inline: auto; padding-bottom: 90px; }
.gallery-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr); gap: 60px; align-items: end; padding: 80px 0 68px; border-top: 1px solid #d7d0c4; }
.gallery-kicker { grid-column: 1 / -1; margin: 0 0 -26px; color: #89651e; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase; }
.gallery-intro h1 { margin: 0; font-family: var(--preview-display); font-size: clamp(3.2rem, 7.5vw, 7.8rem); font-weight: 400; letter-spacing: -0.055em; line-height: 0.83; }
.gallery-intro h1 em { color: #aa7d25; font-weight: 400; }
.gallery-intro > p:last-child { margin: 0; color: #647080; font-size: 0.95rem; line-height: 1.75; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.design-card { overflow: hidden; background: var(--preview-white); border: 1px solid #ddd6ca; }
.design-card__preview { position: relative; min-height: 390px; display: block; overflow: hidden; color: white; background: var(--preview-navy); }
.design-card__preview::before { content: ""; position: absolute; inset: 0; background: url("/assets/images/three-countries-hero-charming-720.webp") center / cover; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.design-card:hover .design-card__preview::before { transform: scale(1.035); }
.design-card--1 .design-card__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 25, 47, 0.08), rgba(5, 25, 47, 0.32)); }
.design-card--2 .design-card__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #061b34 0 48%, rgba(6, 27, 52, 0.25) 90%); }
.design-card--3 .design-card__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 12, 26, 0.75), rgba(0, 12, 26, 0.04)); }
.design-card__number { position: absolute; z-index: 2; top: 20px; left: 20px; color: rgba(255, 255, 255, 0.72); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; }
.mini { position: absolute; z-index: 2; inset: 0; }
.mini--one b { position: absolute; top: 35%; left: 50%; padding: 28px 38px; color: white; background: rgba(4, 28, 54, 0.9); font-family: var(--preview-display); font-size: 1.8rem; font-weight: 400; letter-spacing: 0.12em; text-align: center; transform: translate(-50%, -50%); }
.mini--one i, .mini--one u { position: absolute; top: 28%; width: 24%; height: 42%; background: rgba(4, 28, 54, 0.9); }
.mini--one i { left: 3%; }
.mini--one u { right: 3%; }
.mini--two b { position: absolute; top: 29%; left: 9%; font-family: var(--preview-display); font-size: 2.45rem; font-weight: 400; line-height: 0.9; }
.mini--two b em { color: #e3bd73; font-weight: 400; }
.mini--two i { position: absolute; right: 8%; bottom: 10%; width: 32%; aspect-ratio: 1; border: 14px solid rgba(226, 187, 110, 0.42); border-radius: 50%; }
.mini--three { display: flex; align-items: flex-end; justify-content: space-between; padding: 35px 24px; }
.mini--three i, .mini--three u { color: rgba(255, 255, 255, 0.78); font-size: 0.62rem; font-style: normal; letter-spacing: 0.14em; text-decoration: none; }
.mini--three b { margin-bottom: 54px; font-family: var(--preview-display); font-size: 2.6rem; font-weight: 400; letter-spacing: 0.04em; line-height: 0.8; text-align: center; }
.design-card__body { padding: 26px 26px 30px; }
.design-card__body > p:first-child { margin: 0 0 9px; color: #9a711f; font-size: 0.63rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.design-card__body h2 { margin: 0; font-family: var(--preview-display); font-size: 1.85rem; font-weight: 400; }
.design-card__body h2 + p { min-height: 63px; margin: 14px 0 22px; color: #687381; font-size: 0.82rem; line-height: 1.6; }
.design-card__body a { display: inline-flex; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid #bf8c29; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 980px) {
    .gallery-intro { grid-template-columns: 1fr; gap: 30px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .design-card { display: grid; grid-template-columns: 1.1fr 0.9fr; }
}

@media (max-width: 650px) {
    .gallery-header, .gallery-page main { width: min(100% - 28px, 1380px); }
    .gallery-intro { padding-block: 50px; }
    .gallery-intro h1 { font-size: 3.8rem; }
    .design-card { display: block; }
    .design-card__preview { min-height: 330px; }
}
