/* iPhone 17 booking form: keep the existing soft brand treatment, with less elevation. */
.ad-contact-section.ad-contact-compact {
    padding: 32px 0;
    background: #faf9fd;
    border-color: rgba(118, 96, 168, .1);
}
.ad-contact-compact .ad-contact-shell {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 32px;
    padding: 28px;
    border: 1px solid rgba(135, 113, 194, .14); /* taste-skill-ignore: preserve the requested soft panel edge */
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(247, 244, 255, .92)); /* taste-skill-ignore: a restrained version of the established Apple Daily glass surface */
    box-shadow: 0 6px 20px rgba(69, 48, 110, .035); /* taste-skill-ignore: preserve very low shared panel elevation */
    backdrop-filter: blur(8px); /* taste-skill-ignore: retain the user's requested restrained glass styling */
}
.ad-contact-compact .ad-contact-head {
    max-width: none;
    margin: 0;
    text-align: left;
}
body.ad-public-site .ad-contact-compact .ad-contact-head h2 {
    color: #30283f;
    font-size: var(--ad-heading-section-size, 28px);
    font-weight: 650 !important;
    line-height: 1.25;
}
.ad-contact-compact .ad-contact-head h2 span {
    display: block;
    margin-top: 6px;
    color: #6e627b;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}
.ad-contact-compact .ad-contact-head p {
    margin: 12px 0 0;
    color: #6e627b;
    font-size: 14px;
    line-height: 1.5;
}
.ad-contact-compact .ad-contact-form { min-width: 0; }
.ad-contact-compact .ad-contact-form form {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 12px 16px;
}
.ad-contact-compact .ad-contact-grid { grid-column: 1 / -1; gap: 12px; }
.ad-contact-compact .ad-contact-field { gap: 4px; }
.ad-contact-compact .ad-contact-field:nth-child(3) { grid-column: 1 / -1; }
.ad-contact-compact .ad-contact-field > span { color: #51475f; font-size: 13px; font-weight: 550; }
.ad-contact-compact .ad-contact-field :is(input, textarea) {
    min-height: 46px;
    padding: 10px 12px;
    border-color: #d8d1e6;
    border-radius: 14px;
    color: #30283f;
    font-size: 16px;
    font-weight: 450;
    line-height: 1.4;
    background: rgba(255, 255, 255, .9);
    box-shadow: none; /* taste-skill-ignore: remove the legacy shadow around every field */
}
.ad-contact-compact .ad-contact-field textarea { height: 84px; min-height: 84px; }
.ad-contact-compact .ad-contact-field :is(input, textarea)::placeholder { color: #766b82; opacity: 1; }
.ad-contact-compact .ad-contact-field :is(input, textarea):focus {
    outline: 2px solid #7654dd !important;
    outline-offset: 2px;
    border-color: #7654dd;
    background: #fff;
    box-shadow: none; /* taste-skill-ignore: use a clear focus outline instead of a large glow */
}
.ad-contact-compact .ad-contact-submit,
.ad-contact-compact .ad-contact-submit:hover {
    align-self: center;
    justify-self: start;
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 550;
    line-height: 1.4;
    background: #7654dd;
    box-shadow: none; /* taste-skill-ignore: keep the booking action quiet without removing its violet identity */
    transform: none;
    filter: none;
    transition: background-color .16s ease;
}
.ad-contact-compact .ad-contact-submit:hover { background: #6842c2; }
.ad-contact-compact .ad-contact-submit:focus-visible { outline: 2px solid #7654dd; outline-offset: 3px; }
.ad-contact-compact .ad-contact-note {
    max-width: none;
    margin: 0;
    color: #6e627b;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}
.ad-contact-compact .ad-contact-success {
    grid-column: 2;
    width: 100%;
    padding: 20px;
    border-radius: 18px;
    box-shadow: none; /* taste-skill-ignore: no additional floating card after booking */
    text-align: left;
}
body.ad-public-site .ad-contact-compact .ad-contact-success h3 { font-size: 22px; font-weight: 650 !important; }
.ad-contact-compact .ad-contact-success p { font-size: 14px; line-height: 1.5; }
@media (max-width: 991px) {
    .ad-contact-compact .ad-contact-form form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .ad-contact-section.ad-contact-compact { padding: 16px 0; }
    .ad-contact-compact > .container { width: calc(100% - 44px); max-width: none; padding: 0; }
    .ad-contact-compact .ad-contact-shell { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; border-radius: 24px; }
    .ad-contact-compact .ad-contact-form form { gap: 10px; }
    body.ad-public-site .ad-contact-compact .ad-contact-head h2 { font-size: 24px; }
    .ad-contact-compact .ad-contact-head h2 span { margin-top: 4px; font-size: 16px; }
    .ad-contact-compact .ad-contact-head p { margin-top: 8px; }
    .ad-contact-compact .ad-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .ad-contact-compact .ad-contact-success { grid-column: 1; }
}
@media (max-width: 359px) {
    .ad-contact-compact > .container { width: calc(100% - 36px); }
}
@media (prefers-reduced-motion: reduce) {
    .ad-contact-compact :is(input, textarea, .ad-contact-submit) { transition: none; }
}
