@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 300; font-display: swap; src: url('./fonts/NotoSerifDisplay-300.woff2') format('woff2'); }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/NotoSerifDisplay-400.woff2') format('woff2'); }
@font-face { font-family: 'Noto Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('./fonts/NotoSerifDisplay-400i.woff2') format('woff2'); }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/NotoSerifDisplay-500.woff2') format('woff2'); }
@font-face { font-family: 'Noto Serif Display'; font-style: italic; font-weight: 500; font-display: swap; src: url('./fonts/NotoSerifDisplay-500i.woff2') format('woff2'); }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('./fonts/NotoSerifDisplay-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/Inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 400; font-display: swap; src: url('./fonts/Inter-400i.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/Inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('./fonts/Inter-600.woff2') format('woff2'); }

html, body { margin: 0; padding: 0; }

.qf-page {
    --paper: #f1f1f1;
    --ink: #111111;
    --ink-soft: #555555;
    --hairline: #c9c9c9;
    --serif: 'Noto Serif Display', 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    background: var(--paper);
    color: var(--ink);
    padding: 0 0 64px;
    font-family: var(--sans);
}

/* ---------- cabecera con foto ---------- */
.qf-hero { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.qf-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; filter: grayscale(1); }
.qf-hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,0.28) 0%, rgba(20,20,20,0.42) 100%); }
.qf-hero-text { position: relative; width: 100%; text-align: center; padding: 0 24px; color: #f4f4f4; }
.qf-brand { font-family: var(--serif); font-weight: 500; font-size: 14px; letter-spacing: 0.5em; text-indent: 0.5em; margin: 0 0 18px; }
.qf-title { font-family: var(--serif); font-weight: 300; font-size: 42px; line-height: 1.12; margin: 0; }
@media (min-width: 768px) { .qf-title { font-size: 56px; } .qf-hero { min-height: 540px; } }

.qf-intro {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
    color: var(--ink);
    margin: 0 auto;
    padding: 44px 28px 0;
    max-width: 600px;
}

/* ---------- secciones ---------- */
.qf-section { max-width: 600px; margin: 0 auto; padding: 56px 26px 0; }
.qf-section-title {
    display: block;
    font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.35;
    color: var(--ink); text-align: center; margin: 0 0 40px;
}
.qf-section-num { font-weight: 300; }
.qf-section-dash { font-weight: 300; margin: 0 10px; }
@media (min-width: 768px) { .qf-section-title { font-size: 32px; } }

/* ---------- campos ---------- */
.qf-field { display: block; margin: 0 0 34px; }
.qf-field:last-child { margin-bottom: 0; }
.qf-label {
    display: block;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.015em;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--ink);
    text-align: left;
}
.qf-req { color: #8a8578; margin-left: 4px; }
.qf-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255,255,255,0.42);
    border: 1px solid var(--hairline);
    border-radius: 0;
    padding: 12px 14px;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    text-align: left;
    color: var(--ink);
    outline: none;
    transition: border-color 120ms ease;
    margin-bottom: 10px;
}
.qf-input:last-child { margin-bottom: 0; }
.qf-input:focus { border-color: var(--ink); }
.qf-input::placeholder { color: #a3a09a; font-weight: 400; font-style: italic; }
.qf-input.qf-error { border-color: #8a3b2e; }
.qf-area { resize: vertical; min-height: 88px; }
.qf-time { max-width: 170px; }
.qf-hint { display: block; font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--ink-soft); margin-top: 8px; text-align: left; }
.qf-pair { display: grid; grid-template-columns: 1fr; gap: 0 28px; }
@media (min-width: 560px) { .qf-pair { grid-template-columns: 1fr 1fr; } }

/* ---------- opciones ---------- */
.qf-choices { display: flex; flex-direction: column; gap: 10px; }
.qf-choice {
    display: block; position: relative;
    background: rgba(255,255,255,0.42);
    border: 1px solid var(--hairline);
    border-radius: 0;
    padding: 13px 16px 13px 44px;
    font-family: var(--sans); font-weight: 400; font-size: 15.5px; line-height: 1.5; color: var(--ink);
    text-align: left; cursor: pointer;
    transition: border-color 120ms ease;
}
.qf-choice:hover { border-color: #a8a498; }
.qf-choice:focus, .qf-choice:focus-visible { outline: none; }
.qf-choice.is-active { border-color: var(--ink); background: rgba(255,255,255,0.62); }
.qf-choice-dot {
    position: absolute; left: 15px; top: 17px;
    width: 13px; height: 13px; border-radius: 50%;
    border: 1px solid #8a8578;
}
.qf-choice.is-active .qf-choice-dot::after {
    content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink);
}
.qf-choices-follow { margin-top: 12px; }
.qf-choice-otro { cursor: text; }
.qf-choice-input {
    background: transparent; border: none; outline: none; padding: 0; margin: 0; width: 100%;
    font-family: var(--sans); font-weight: 400; font-size: 15.5px; line-height: 1.5; color: var(--ink);
}
.qf-choice-input::placeholder { color: #a3a09a; font-weight: 400; font-style: italic; }

/* ---------- separador fotográfico ---------- */
.qf-break { margin: 58px 0 0; }
.qf-break img { width: 100%; height: 300px; object-fit: cover; filter: grayscale(1); display: block; }
@media (min-width: 768px) { .qf-break img { height: 380px; } }

/* ---------- envío ---------- */
.qf-submit-zone { text-align: center; padding: 64px 24px 0; max-width: 600px; margin: 0 auto; }
.qf-submit {
    font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: 0.4em; text-indent: 0.4em;
    text-transform: uppercase;
    background: transparent; color: var(--ink);
    border: none;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    padding: 18px 40px;
    cursor: pointer;
}
.qf-submit:disabled { opacity: 0.35; cursor: default; }
.qf-submit-note { font-family: var(--sans); font-size: 13px; font-style: italic; color: var(--ink-soft); margin-top: 16px; }

/* honeypot */
#qf-empresa { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; opacity: 0; }

/* ---------- confirmación ---------- */
.qf-gracias { max-width: 600px; margin: 0 auto; padding: 90px 28px 40px; text-align: center; }
.qf-gracias-linea {
    font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.8; color: var(--ink);
    border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
    padding: 34px 10px; margin: 0;
}
