/* Contact — iOS 26 Liquid Glass */

.contact-page {
    --ct-ink: #111118;
    --ct-muted: rgba(17, 17, 24, 0.55);
    --ct-line: rgba(17, 17, 24, 0.06);
    --ct-glass: rgba(255, 255, 255, 0.82);
    --ct-gold: #c9a962;
    --ct-radius: 28px;
    --ct-radius-s: 18px;
    position: relative;
    isolation: isolate;
    overflow: hidden !important;
    min-height: calc(100vh - var(--header-height, 72px));
    background: #f5f5f7 !important;
    padding: 0 0 calc(3.2rem + env(safe-area-inset-bottom));
}

html.gender-female .contact-page,
html.gender-male .contact-page,
html.gender-female .about-page,
html.gender-male .about-page {
    background: #f5f5f7 !important;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after,
.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}

.contact-page section,
.about-page section {
    overflow: visible !important;
}

.ct-wrap {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 0;
}

.ct-hero {
    margin-bottom: 1.75rem;
}

.ct-eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(17, 17, 24, 0.45);
}

.ct-hero h1 {
    margin: 0 0 0.7rem;
    font-size: clamp(2.15rem, 7vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
    color: var(--ct-ink);
}

.ct-lead {
    margin: 0 0 1rem;
    max-width: 34rem;
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--ct-muted);
}

.ct-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 36px;
    padding: 0.35rem 0.9rem 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 17, 24, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ct-ink);
}

.ct-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34c759;
    box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18);
    animation: ct-pulse 1.8s ease-in-out infinite;
}

@keyframes ct-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.86); opacity: 0.7; }
}

.ct-label {
    margin: 1.45rem 0 0.55rem;
    padding: 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(17, 17, 24, 0.45);
}

.ct-glass {
    --mx: 50%;
    --my: 0%;
    position: relative;
    overflow: hidden;
    border-radius: var(--ct-radius);
    background: var(--ct-glass);
    border: 1px solid var(--ct-line);
    box-shadow:
        0 8px 28px rgba(17, 17, 24, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.ct-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        380px circle at var(--mx) var(--my),
        rgba(255, 255, 255, 0.35),
        transparent 48%
    );
    opacity: 0.5;
    z-index: 0;
}

.ct-glass > * {
    position: relative;
    z-index: 1;
}

.ct-row {
    display: grid;
    grid-template-columns: 44px 1fr 14px;
    align-items: center;
    gap: 0.85rem;
    min-height: 72px;
    padding: 0.7rem 1rem 0.7rem 1.05rem;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.ct-row + .ct-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.05rem;
    right: 4.1rem;
    height: 1px;
    background: rgba(17, 17, 24, 0.08);
}

.ct-row:active {
    background: rgba(255, 255, 255, 0.28);
}

.ct-appicon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ct-appicon svg {
    width: 22px;
    height: 22px;
}

.ct-appicon--phone { background: linear-gradient(180deg, #5ee06a, #2fb14a); }
.ct-appicon--chat { background: linear-gradient(180deg, #64d2ff, #0a84ff); }
.ct-appicon--wa { background: linear-gradient(180deg, #5ee08a, #128c4b); }
.ct-appicon--ig { background: linear-gradient(180deg, #ff8a65 0%, #e1306c 52%, #8a3ab9 100%); }

.ct-row-text {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.ct-row-text strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ct-ink);
}

.ct-row-text span {
    font-size: 0.82rem;
    color: var(--ct-muted);
    direction: ltr;
    unicode-bidi: isolate;
}

.ct-chevron {
    width: 8px;
    height: 8px;
    border-left: 2px solid rgba(17, 17, 24, 0.28);
    border-bottom: 2px solid rgba(17, 17, 24, 0.28);
    transform: rotate(45deg);
    justify-self: start;
}

.ct-panel {
    padding: 1.15rem 1.15rem 1.25rem;
}

.ct-panel-copy {
    margin: 0 0 1rem;
    font-size: 0.94rem;
    line-height: 1.95;
    color: var(--ct-muted);
}

.ct-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.05rem;
    padding: 0;
    list-style: none;
}

.ct-chips li {
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ct-ink);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.25rem;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ct-btn:active {
    transform: scale(0.98);
}

.ct-btn--ghost {
    color: var(--ct-ink);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ct-btn--fill {
    width: 100%;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
        #111118;
    box-shadow:
        0 12px 28px rgba(17, 17, 24, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ct-btn--fill:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
        #1c1c24;
}

.ct-banner {
    margin: 0 0 0.95rem;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.7;
}

.ct-banner--ok {
    color: #0d6b32;
    background: rgba(52, 199, 89, 0.16);
}

.ct-banner--err {
    color: #b42318;
    background: rgba(255, 59, 48, 0.12);
}

.ct-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ct-form {
    position: relative;
}

.ct-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.7rem 0.85rem 0.75rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ct-field--full {
    grid-column: 1 / -1;
}

.ct-field span {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(17, 17, 24, 0.5);
}

.ct-field em {
    font-style: normal;
    font-weight: 500;
    color: rgba(17, 17, 24, 0.32);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.15rem 0 0;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ct-ink);
    outline: none;
    appearance: none;
}

.ct-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.8;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: rgba(17, 17, 24, 0.28);
}

.ct-field:focus-within {
    border-color: rgba(201, 169, 98, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 4px rgba(201, 169, 98, 0.16);
}

@media (max-width: 720px) {
    .ct-wrap {
        width: min(100% - 1.5rem, 720px);
        padding-top: 1.4rem;
    }

    .ct-fields {
        grid-template-columns: 1fr;
    }

    .ct-hero h1 {
        font-size: 2.15rem;
    }

    .ct-btn--ghost {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-status-dot,
    .ct-btn {
        animation: none;
        transition: none;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ct-glass,
    .ct-status,
    .ct-field,
    .ct-chips li {
        background: #fff;
    }
}
