:root {
    --page-bg: #f6f6f6;
    --surface: #ffffff;
    --text: #222222;
    --muted: #666666;
    --border: #d8d8d8;
    --border-strong: #333333;
    --soft: #f4f4f4;
    --selected: #222222;
    --extra-time: #fff2ed;
    --extra-time-border: #d65a3a;
    --error-bg: #fff0f0;
    --error-border: #d99393;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.inquiry-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.inquiry-section {
    margin: 28px 0;
}

.section-heading {
    margin-bottom: 18px;
}

.section-heading h2 {
    margin-bottom: 6px;
}

.section-heading p {
    margin-top: 0;
    color: var(--muted);
}

.package-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.package-card {
    width: 100%;
    padding: 20px;
    text-align: left;
    color: var(--text);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.package-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.package-card.selected {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 2px var(--border-strong);
}

.package-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.package-card-header h3 {
    margin: 0;
}

.package-price {
    white-space: nowrap;
    font-weight: 700;
}

.package-summary {
    color: var(--muted);
}

.package-quick-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.package-quick-facts span {
    padding: 5px 9px;
    background: var(--soft);
    border-radius: 999px;
    font-size: 0.88rem;
}

.package-expanded {
    display: none;
    margin-top: 16px;
}

.package-card.selected .package-expanded {
    display: block;
}

.package-expanded ul {
    padding-left: 20px;
}

.package-select-label {
    display: block;
    margin-top: 14px;
    font-weight: 700;
}

.experience-customization {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.duration-control {
    padding: 18px;
    margin-bottom: 22px;
    background: var(--soft);
    border: 2px solid transparent;
    border-radius: 12px;
}

.duration-control.has-extra-time {
    background: var(--extra-time);
    border-color: var(--extra-time-border);
}

.hour-selector {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.hour-selector button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    font-size: 1.4rem;
    cursor: pointer;
}

.hour-selector button:disabled {
    opacity: 0.4;
    cursor: default;
}

.hour-display {
    min-width: 100px;
    text-align: center;
}

.hour-display strong {
    display: block;
    font-size: 1.5rem;
}

.additional-time-summary {
    margin-bottom: 0;
    font-weight: 600;
}

.addon-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.addon-card {
    display: flex;
    gap: 10px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}

.addon-card.selected {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 1px var(--border-strong);
}

.addon-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.addon-price {
    font-weight: 700;
}

.field-help {
    color: var(--muted);
    font-size: 0.92rem;
}

.flash-stack {
    margin: 0 0 20px;
}

.flash {
    padding: 12px 14px;
    border-radius: 8px;
}

.flash-error {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
}

.form-section {
    margin: 32px 0;
}

.form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field > span {
    font-weight: 700;
}

.form-field em {
    color: var(--muted);
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 12px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
}

.form-field select {
    min-height: 46px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);

    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 13px) calc(50% - 2px);

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;
    padding-right: 38px;
}

.form-field input[type="date"] {
    min-height: 46px;
    cursor: pointer;
}

.form-field input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.65;
    padding: 4px;
}

.form-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-field textarea {
    resize: vertical;
    min-height: 90px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid var(--border-strong);
    outline-offset: 1px;
}

.form-field input:invalid:not(:placeholder-shown) {
    border-color: var(--error-border);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 12px 22px;

    border: 0;
    border-radius: 10px;

    background: var(--text);
    color: var(--surface);

    font: inherit;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease,
        box-shadow 0.15s ease;
}

.submit-button:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 3px;
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.section-heading-sub h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

@media (max-width: 700px) {
    .package-grid,
    .addon-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .submit-button {
        width: 100%;
    }

    .inquiry-page {
        padding: 20px 14px 40px;
    }
}
/* Client questionnaire */
.questionnaire-page { max-width: 920px; }
.questionnaire-hero { margin: 12px 0 30px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.questionnaire-hero h1 { margin: 4px 0 10px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; }
.questionnaire-hero p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); }
.questionnaire-eyebrow { margin: 0; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.questionnaire-section { margin: 20px 0; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.questionnaire-section .section-heading { display: flex; gap: 14px; align-items: flex-start; }
.questionnaire-section .section-heading h2 { margin: 0 0 5px; }
.questionnaire-step { display: flex; flex: 0 0 34px; width: 34px; height: 34px; align-items: center; justify-content: center; margin: 0; border-radius: 50%; background: var(--text); color: var(--surface); font-weight: 800; }
.booking-confirmation-card, .service-summary-callout, .notice-soft { margin: 16px 0; padding: 16px; background: var(--soft); border-radius: 12px; }
.booking-confirmation-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 22px; margin: 0; }
.booking-confirmation-grid div { min-width: 0; }
.booking-confirmation-grid dt { color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.booking-confirmation-grid dd { margin: 3px 0 0; font-weight: 700; }
.choice-fieldset { margin: 20px 0; padding: 0; border: 0; }
.choice-fieldset legend { margin-bottom: 10px; font-weight: 700; }
.choice-row { display: flex; gap: 9px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.choice-row input { margin-top: 4px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.three-up { grid-template-columns: repeat(3,minmax(0,1fr)); }
.compact-field { max-width: 360px; }
.optional-text { color: var(--muted); font-size: .85rem; font-weight: 400; }
.design-choice-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(220px,.75fr); gap: 24px; align-items: start; }
.layout-preview-panel { position: sticky; top: 16px; padding: 16px; background: var(--soft); border-radius: 12px; }
.layout-preview-panel > p:first-child { margin-top: 0; }
.layout-preview { display: flex; flex-direction: column; width: min(100%, 250px); margin: 0 auto; background: #fff; border: 1px solid var(--border-strong); box-shadow: 0 5px 16px rgba(0,0,0,.08); overflow: hidden; }
.layout-preview.portrait { aspect-ratio: 2 / 3; }
.layout-preview.landscape { aspect-ratio: 3 / 2; }
.layout-wireframe { display: grid; flex: 1; min-height: 0; }
.layout-preview.count-1 .layout-wireframe { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.layout-preview.portrait.count-2 .layout-wireframe { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.layout-preview.landscape.count-2 .layout-wireframe { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.layout-preview.count-3 .layout-wireframe,
.layout-preview.count-4 .layout-wireframe { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.layout-photo-cell,
.layout-wording-cell { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; background: #ececec; color: #777; font-size: .72rem; text-align: center; text-transform: uppercase; border-right: 1px dashed #999; border-bottom: 1px dashed #999; }
.layout-preview.count-1 .layout-photo-cell { border-right: 0; border-bottom: 0; }
.layout-preview.portrait.count-2 .layout-photo-cell { border-right: 0; }
.layout-preview.portrait.count-2 .layout-photo-cell:last-child { border-bottom: 0; }
.layout-preview.landscape.count-2 .layout-photo-cell { border-bottom: 0; }
.layout-preview.landscape.count-2 .layout-photo-cell:last-child { border-right: 0; }
.layout-preview.count-3 .layout-wireframe > :nth-child(2),
.layout-preview.count-3 .layout-wireframe > :nth-child(4),
.layout-preview.count-4 .layout-wireframe > :nth-child(2),
.layout-preview.count-4 .layout-wireframe > :nth-child(4) { border-right: 0; }
.layout-preview.count-3 .layout-wireframe > :nth-child(3),
.layout-preview.count-3 .layout-wireframe > :nth-child(4),
.layout-preview.count-4 .layout-wireframe > :nth-child(3),
.layout-preview.count-4 .layout-wireframe > :nth-child(4) { border-bottom: 0; }
.layout-wording-cell { background: #fff; color: var(--text); font-weight: 700; line-height: 1.25; }
.layout-caption { display: flex; align-items: center; justify-content: center; flex: 0 0 22%; min-height: 34px; padding: 5px; border-top: 1px dashed #999; text-align: center; font-size: .75rem; font-weight: 700; }
.backdrop-preview { margin: 15px 0; padding: 14px; background: var(--soft); border-radius: 12px; }
.backdrop-preview img { display: block; max-width: 100%; max-height: 360px; margin: 0 auto; border-radius: 8px; }
.asset-upload-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.questionnaire-submit-section { margin: 28px 0 10px; padding: 26px; background: var(--surface); border: 2px solid var(--text); border-radius: 16px; }
.questionnaire-submit-section h2 { margin-top: 0; }
@media (max-width: 700px) {
    .questionnaire-hero, .questionnaire-section, .questionnaire-submit-section { padding: 18px; border-radius: 12px; }
    .booking-confirmation-grid, .checkbox-grid, .three-up, .design-choice-layout, .asset-upload-grid { grid-template-columns: 1fr; }
    .layout-preview-panel { position: static; }
    .layout-preview { width: min(78vw, 250px); }
}

/* =========================================================
   613Photobooths website integration pass — 2026-08
   Public Inquiry + Questionnaire
   ========================================================= */
:root {
    --page-bg: #ffffff;
    --surface: #ffffff;
    --text: #111111;
    --muted: #66615d;
    --border: #b8b3ae;
    --border-strong: #171717;
    --soft: #f7f6f4;
    --selected: #111111;
    --extra-time: #ffffff;
    --extra-time-border: #171717;
    --error-bg: #fff7f7;
    --error-border: #9e3f3f;
    --public-serif: Georgia, "Times New Roman", Times, serif;
}

html {
    background: #fff;
}

body.public-form-shell,
body:has(.questionnaire-page) {
    background: #fff;
    color: var(--text);
    font-family: var(--public-serif);
    font-size: 16px;
    line-height: 1.55;
}

.inquiry-page {
    width: min(100%, 940px);
    max-width: 940px;
    padding: 44px 28px 72px;
}

.inquiry-form-page {
    max-width: 900px;
}

.public-form-embedded .inquiry-page {
    width: 100%;
    max-width: none;
    padding: 8px 2px 24px;
}

.public-form-hero,
.questionnaire-hero {
    margin: 0 auto 46px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    text-align: center;
}

.public-form-hero {
    max-width: 680px;
}

.public-form-eyebrow,
.questionnaire-eyebrow {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.public-form-hero h1,
.questionnaire-hero h1,
.public-thanks-panel h1 {
    margin: 0 0 18px;
    color: #090909;
    font-family: var(--public-serif);
    font-size: clamp(2.2rem, 5vw, 3.3rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.public-form-hero p:last-child,
.questionnaire-hero p:last-child {
    max-width: 720px;
    margin: 0 auto;
    color: #24211f;
    font-size: 1.08rem;
}

.inquiry-page form > h2,
.inquiry-page .section-heading h2,
.questionnaire-section .section-heading h2,
.questionnaire-submit-section h2 {
    color: #111;
    font-family: var(--public-serif);
    font-weight: 500;
    letter-spacing: -.01em;
}

.inquiry-page form > h2 {
    margin: 34px 0 18px;
    font-size: 1.5rem;
}

.inquiry-page hr {
    height: 1px;
    margin: 40px 0;
    background: #bcb8b4;
    border: 0;
}

.section-heading {
    margin-bottom: 20px;
}

.section-heading p,
.field-help,
.optional-text,
.form-field em {
    color: var(--muted);
}

.form-grid {
    gap: 22px 16px;
}

.form-field {
    gap: 8px;
}

.form-field > span,
.choice-fieldset legend {
    color: #151311;
    font-family: var(--public-serif);
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    min-height: 48px;
    padding: 12px 16px;
    color: #111;
    background: #fff;
    border: 1px solid #191919;
    border-radius: 999px;
    box-shadow: none;
    font-family: var(--public-serif);
    font-size: 1rem;
}

.form-field textarea {
    min-height: 116px;
    border-radius: 18px;
    line-height: 1.45;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #8a8580;
    opacity: 1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 1px solid #111;
    outline-offset: 2px;
    border-color: #111;
}

.package-grid {
    gap: 14px;
}

.package-card,
.experience-customization,
.duration-control,
.addon-card {
    color: var(--text);
    background: #fff;
    border: 1px solid #1a1a1a;
    box-shadow: none;
}

.package-card {
    padding: 20px;
    border-radius: 18px;
}

.package-card:hover {
    transform: none;
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

.package-card.selected {
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

.package-card-header h3 {
    font-family: var(--public-serif);
    font-weight: 500;
}

.package-quick-facts span {
    padding: 4px 0;
    color: var(--muted);
    background: transparent;
    border-radius: 0;
}

.package-quick-facts span + span::before {
    content: "·";
    margin-right: 8px;
}

.experience-customization {
    padding: 24px;
    border-radius: 18px;
}

.duration-control {
    padding: 18px;
    border-radius: 16px;
}

.duration-control.has-extra-time {
    background: #fff;
    border-color: #111;
}

.hour-selector button {
    background: #fff;
    border: 1px solid #111;
    border-radius: 999px;
    font-family: var(--public-serif);
}

.addon-card {
    padding: 15px;
    border-radius: 14px;
}

.addon-card.selected {
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

.choice-row input,
.addon-card input {
    accent-color: #111;
}

.submit-button {
    min-height: 50px;
    padding: 13px 28px;
    background: #070707;
    color: #fff;
    border: 1px solid #070707;
    border-radius: 999px;
    font-family: var(--public-serif);
    font-weight: 600;
    letter-spacing: .01em;
}

.submit-button:hover {
    background: #2a2a2a;
    opacity: 1;
    transform: none;
}

.flash {
    border-radius: 12px;
}

/* Questionnaire: same website language, with structure retained. */
.questionnaire-page {
    max-width: 920px;
}

.questionnaire-hero {
    margin-top: 4px;
    margin-bottom: 42px;
}

.questionnaire-section {
    margin: 0;
    padding: 34px 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #bcb8b4;
    border-radius: 0;
}

.questionnaire-section .section-heading {
    gap: 14px;
    margin-bottom: 22px;
}

.questionnaire-step {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: #111;
    background: #fff;
    border: 1px solid #111;
    border-radius: 50%;
    font-family: var(--public-serif);
    font-weight: 500;
}

.booking-confirmation-card,
.service-summary-callout,
.notice-soft,
.layout-preview-panel,
.backdrop-preview {
    background: #fff;
    border: 1px solid #c9c5c0;
    border-radius: 14px;
}

.booking-confirmation-grid dt {
    color: var(--muted);
    font-weight: 500;
}

.booking-confirmation-grid dd {
    color: #111;
    font-weight: 500;
}

.layout-preview {
    box-shadow: none;
}

.questionnaire-submit-section {
    margin: 12px 0 20px;
    padding: 32px 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #111;
    border-radius: 0;
}

/* Thank-you page */
.public-thanks-page {
    max-width: 720px;
}

.public-thanks-panel {
    padding: 64px 0;
    text-align: center;
}

.public-thanks-panel > p:not(.public-form-eyebrow) {
    max-width: 590px;
    margin-left: auto;
    margin-right: auto;
}

.public-notice {
    margin-top: 26px !important;
    margin-bottom: 26px !important;
    padding: 18px 20px;
    border-top: 1px solid #aaa6a1;
    border-bottom: 1px solid #aaa6a1;
}

.public-link-button {
    margin-top: 18px;
    text-decoration: none;
}

@media (max-width: 700px) {
    .inquiry-page {
        padding: 28px 18px 50px;
    }

    .public-form-embedded .inquiry-page {
        padding: 4px 0 20px;
    }

    .public-form-hero,
    .questionnaire-hero {
        margin-bottom: 34px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 16px;
    }

    .questionnaire-section,
    .questionnaire-submit-section {
        padding-left: 0;
        padding-right: 0;
    }
}
