:root {
    --bg: #17130f;
    --panel: #221c16;
    --input: #18130f;
    --text: #f6efe5;
    --muted: #b9ab9a;
    --orange: #dc6c2c;
    --border: rgba(255,255,255,.11);
    --green: #58b77a;
    --red: #df6c65;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    background:
        radial-gradient(
            circle at 85% 0,
            rgba(220,108,44,.14),
            transparent 34%
        ),
        var(--bg);
    color: var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

input,
select,
textarea,
button {
    font: inherit;
}

.page {
    width: min(100%, 900px);
    margin: 0 auto;
    padding:
        max(30px, env(safe-area-inset-top))
        18px
        max(32px, env(safe-area-inset-bottom));
}

.brand {
    margin-bottom: 32px;
}

.brand-name {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 36px;
    letter-spacing: .16em;
}

.brand-line {
    width: 48px;
    height: 3px;
    margin: 12px 0;
    background: var(--orange);
}

.brand-copy {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.panel {
    padding: clamp(22px, 5vw, 44px);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(34,28,22,.95);
    box-shadow: 0 28px 80px rgba(0,0,0,.30);
}

.intro {
    max-width: 620px;
    margin-bottom: 34px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
}

h1 {
    margin: 0 0 12px;
    font-family: Georgia, serif;
    font-size: clamp(31px, 5vw, 47px);
    font-weight: 500;
}

.intro-copy,
.success-copy {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 20px;
}

label,
legend {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.optional {
    margin-left: 5px;
    font-size: 11px;
    font-weight: 500;
}

.contact-help {
    margin: -4px 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.whatsapp-choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    cursor: pointer;
}

.whatsapp-choice input {
    width: 16px;
    height: 16px;
    min-height: 16px;
    margin: 0;
    padding: 0;
    flex: 0 0 16px;
    accent-color: var(--orange);
}

.whatsapp-choice span {
    line-height: 1.3;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: var(--input);
    color: var(--text);
}

textarea {
    min-height: 110px;
    padding-top: 13px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(220,108,44,.16);
}

.area-fieldset {
    margin: 4px 0 22px;
    padding: 0;
    border: 0;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.area-option {
    position: relative;
    margin: 0;
}

.area-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.area-option span {
    min-height: 78px;
    padding: 13px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--input);
    cursor: pointer;
}

.area-option strong {
    color: var(--text);
    font-size: 14px;
}

.area-option small {
    margin-top: 4px;
    color: var(--muted);
}

.area-option input:checked + span {
    border-color: var(--orange);
    background: rgba(220,108,44,.11);
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 3px 0 18px;
    line-height: 1.45;
}

.consent input {
    width: 18px;
    min-height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
}

.form-message {
    min-height: 20px;
    margin-bottom: 10px;
    color: var(--red);
    font-size: 14px;
}

.submit-button,
.secondary-button {
    width: 100%;
    min-height: 54px;
    border-radius: 12px;
    font-weight: 850;
    cursor: pointer;
}

.submit-button {
    border: 0;
    background: var(--orange);
    color: white;
}

.submit-button:disabled {
    cursor: wait;
    opacity: .6;
}

.secondary-button {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
}

.pending-notice {
    margin: 14px 0 0;
    color: #85796d;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

#successPanel {
    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(88,183,122,.13);
    color: var(--green);
    font-size: 29px;
}

.confirmation-box {
    margin: 28px 0 20px;
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--input);
}

.confirmation-box span,
.confirmation-box strong {
    display: block;
}

.confirmation-box span {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.confirmation-box strong {
    font-family: Georgia, serif;
    font-size: 25px;
    letter-spacing: .08em;
}

footer {
    padding-top: 25px;
    color: #776b60;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.hidden {
    display: none !important;
}

@media (max-width: 650px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .area-grid {
        grid-template-columns: 1fr 1fr;
    }

    .panel {
        border-radius: 18px;
    }
}


/* WordPress embed mode */
body.embed-mode {
    min-height: 0;
    background: transparent;
}

body.embed-mode .page {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 0;
}

body.embed-mode .brand,
body.embed-mode footer {
    display: none;
}

body.embed-mode .panel {
    margin: 0;
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    text-align: right;
}


/* TUTSU EMBED SEAMLESS BACKGROUND */
html,
body {
    background-color: #17130f;
}

@media (max-width: 700px) {
    html,
    body,
    .page {
        background-color: #17130f !important;
    }
}
