/* Explain: Styling for various UI components, including brand lockup and payment badges. */
.site-header {
    background:
        radial-gradient(120% 200% at 16% 0%, rgba(255, 251, 244, 0.96) 0%, rgba(255, 251, 244, 0) 58%),
        radial-gradient(110% 180% at 84% 100%, rgba(185, 165, 139, 0.34) 0%, rgba(185, 165, 139, 0) 62%),
        linear-gradient(180deg, rgba(242, 234, 224, 0.98) 0%, rgba(232, 223, 210, 0.94) 100%);
    backdrop-filter: blur(18px);
}

.brand-lockup {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    transition: opacity 300ms ease;
}

.brand-lockup:hover {
    opacity: 0.78;
}

.brand-name {
    color: var(--primary-color);
    font-family: var(--font-logo);
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1;
}

.brand-sub {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.55rem;
}

.brand-rule {
    height: 1px;
    flex: 1 1 auto;
    min-width: 0.75rem;
    background: var(--primary-color);
    opacity: 0.5;
}

.brand-subtitle {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.about-subhead {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2.25rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.about-subhead::before {
    flex: 0 0 auto;
    width: 1.5rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.hero-wordmark-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.6rem 1.5rem;
}

.hero-wordmark {
    color: var(--accent-color);
    font-family: var(--font-logo);
    font-size: clamp(2.1rem, 6vw, 3.75rem);
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1;
    text-shadow: 0 4px 26px rgba(20, 32, 24, 0.45);
}

.hero-slogan {
    color: rgba(255, 255, 255, 0.94);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(185, 165, 139, 0.5);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(74vh, 720px);
    min-height: 500px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 500px;
    max-width: 360px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.quiet-detail,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.service-card {
    display: flex;
    flex-direction: column;
    border-radius: 2.2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    border-color: rgba(185, 165, 139, 0.7);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.service-icon {
    display: inline-flex;
    width: 3.2rem;
    height: 3.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.2rem;
}

.process-grid {
    position: relative;
}

.process-grid::before {
    display: none;
}

.process-step {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    border-radius: 1.7rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 1.9rem 1.6rem 1.7rem;
    box-shadow: 0 18px 50px rgba(41, 39, 34, 0.04);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.process-step:hover {
    border-color: rgba(185, 165, 139, 0.7);
    box-shadow: 0 26px 70px rgba(41, 39, 34, 0.1);
    transform: translateY(-4px);
}

.process-head {
    display: flex;
    align-items: center;
    margin-bottom: 1.4rem;
}

.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 14px 30px rgba(41, 39, 34, 0.22);
    position: relative;
    z-index: 2;
}

.process-step-title {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.process-step p {
    margin-top: 0.7rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

@media (min-width: 1024px) {
    .process-grid::before {
        display: block;
        position: absolute;
        top: 3.45rem;
        left: 3.15rem;
        right: 3.15rem;
        height: 1px;
        background: linear-gradient(90deg, rgba(185, 165, 139, 0), var(--accent-color) 10%, var(--accent-color) 90%, rgba(185, 165, 139, 0));
        z-index: 1;
        content: "";
    }
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.58);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--accent-color);
    transition: transform 300ms ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: #292722;
}

.form-status.error {
    color: #9B4A3D;
}

.mobile-cta-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(250, 249, 246, 0.86);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium {
        height: 510px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 450px);
    }
}

.pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.72);
    padding: 0.4rem 0.9rem;
    color: var(--text-color);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.pay-badge:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 24px rgba(41, 39, 34, 0.08);
}

.pay-wordmark {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.pay-wordmark-twint {
    color: #ff5f00;
    letter-spacing: 0.06em;
    text-transform: lowercase;
}

.pay-wordmark-zkb {
    color: #003d6b;
    letter-spacing: 0.1em;
}