/* Copyright (c) 2026 DNA Genics, S.L. All rights reserved. */
.gc-page {
    padding: max(80px, 6rem) max(1rem, calc((100% - 70rem) / 2)) 4rem;
    min-height: 85vh;
    font-family: var(--hd-sans);
}
.gc-intro { margin: clamp(1.5rem, 4vw, 3rem) 0 2rem; }
.gc-intro h1, .gc-card h2 {
    font-family: var(--hd-serif);
    color: var(--hd-primary);
    overflow-wrap: anywhere;
}
.gc-intro h1 { margin: 0 0 .55rem; font-size: clamp(3rem, 7vw, 5.2rem); line-height: .98; }
.gc-intro p { max-width: 63ch; margin: 0; line-height: 1.65; color: var(--hd-muted); }
.gc-studio {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.4rem, 4vw, 3.5rem);
}
.gc-card {
    background: var(--hd-cream);
    border: 1px solid var(--hd-sand-strong);
    border-radius: var(--hd-radius);
    box-shadow: 0 16px 38px #213a2f19;
    overflow: hidden;
}
.gc-card > img { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.gc-card__paper { padding: clamp(1.1rem, 4vw, 2.4rem); border-block-start: 3px solid var(--hd-gold); }
.gc-card__imprint {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    justify-content: space-between;
    align-items: baseline;
    color: var(--hd-forest);
    border-block-end: 1px solid var(--hd-sand-strong);
    padding-block-end: .6rem;
}
.gc-card__imprint span { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gc-card__imprint b { font: 700 clamp(1.6rem, 3vw, 2.25rem)/1 var(--hd-serif); white-space: nowrap; }
.gc-card h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; margin: .7rem 0 0; }
.gc-card p { margin: .55rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.gc-form, .gc-receipt {
    background: var(--hd-surface);
    border: 1px solid var(--hd-line);
    border-radius: var(--hd-radius);
    padding: clamp(1rem, 3vw, 1.8rem);
}
.gc-form fieldset { min-inline-size: 0; margin: 0 0 1.25rem; padding: 0; border: 0; }
.gc-form legend, .gc-form > label { display: block; width: auto; font-size: .92rem; font-weight: 650; margin: 0 0 .45rem; float: none; }
.gc-theme-picker, .gc-amount-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.gc-choice { position: relative; display: flex; width: 100%; margin: 0; cursor: pointer; }
.gc-choice input { position: absolute; inset-inline-start: .35rem; inset-block-start: .35rem; margin: 0; accent-color: var(--hd-primary); }
.gc-choice > span {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--hd-sand-strong);
    border-radius: 8px;
    overflow: hidden;
    padding: .22rem .22rem .45rem;
    text-align: center;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.gc-choice img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; border-radius: 5px; }
.gc-choice:has(:checked) > span { border-color: var(--hd-primary); background: var(--hd-sage); }
.gc-choice:focus-within > span { outline: 2px solid var(--hd-forest); outline-offset: 2px; }
.gc-amount-picker .gc-choice { align-items: stretch; }
.gc-amount-picker .gc-choice input { position: static; align-self: center; margin-inline: .35rem; }
.gc-amount-picker .gc-choice > span { justify-content: center; min-height: 2.6rem; padding: .25rem; }
.gc-form :is(textarea, input[type=email]) {
    width: 100%;
    background: var(--hd-surface);
    color: var(--hd-ink);
    border: 1px solid #837e73;
    border-radius: 8px;
    padding: .65rem .75rem;
    margin-block-end: 1rem;
}
.gc-form textarea { resize: vertical; }
.gc-form :focus-visible { outline: 2px solid var(--hd-forest); outline-offset: 2px; }
.gc-actions { display: flex; flex-wrap: wrap-reverse; justify-content: space-between; align-items: center; gap: .65rem; }
.gc-actions p { margin: 0; font-size: .85rem; }
.gc-actions p a { color: var(--hd-forest); text-decoration: underline; }
.gc-receipt { max-width: 40rem; border-inline-start: 3px solid var(--hd-sage-strong); }
@media (min-width: 821px) { .gc-card { position: sticky; top: calc(var(--nav-height, 72px) + 1.25rem); } }
@media (max-width: 820px) {
    .gc-studio { grid-template-columns: minmax(0, 1fr); }
    .gc-card > img { aspect-ratio: 2.1; }
}
@media (max-width: 400px) {
    .gc-actions > .hd-btn { width: 100%; justify-content: center; }
}
