.contact-shell {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    padding: 36px 0 64px;
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(103,232,249,0.14), rgba(52,211,153,0.07)), rgba(255,255,255,0.04);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: #67e8f9;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.contact-hero h1,
.form-heading h2,
.contact-info-panel h2,
.success-state h2 {
    margin: 0;
    color: #fff;
    letter-spacing: 0;
}

.contact-hero h1 {
    max-width: 880px;
    font-size: 3.35rem;
    line-height: 1.02;
}

.contact-hero p,
.form-heading p,
.success-state p {
    max-width: 780px;
    margin: 16px 0 0;
    color: rgba(255,255,255,0.66);
    line-height: 1.75;
}

.hero-contact-card,
.contact-info-panel,
.contact-form-panel {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(3,7,18,0.26);
}

.hero-contact-card {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 22px;
}

.hero-contact-card span {
    color: rgba(255,255,255,0.54);
}

.hero-contact-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.hero-contact-card i {
    color: #67e8f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.contact-info-panel,
.contact-form-panel {
    padding: 24px;
}

.contact-info-panel {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 112px;
}

.contact-info-panel h2 {
    margin-bottom: 6px;
    font-size: 1.25rem;
}

.owner-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(103,232,249,0.16);
    border-radius: 8px;
    background: rgba(103,232,249,0.07);
}

.owner-card img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.owner-card strong,
.owner-card span {
    display: block;
}

.owner-card strong {
    color: #fff;
    line-height: 1.35;
}

.owner-card span {
    margin-top: 5px;
    color: rgba(255,255,255,0.62);
    line-height: 1.45;
    font-size: 0.9rem;
}

.info-box {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
    color: inherit;
    text-decoration: none;
}

.info-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #67e8f9;
    background: rgba(103,232,249,0.12);
}

.info-content h3,
.social-card h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 1rem;
}

.info-content p,
.info-content span {
    display: block;
    margin: 0;
    color: rgba(255,255,255,0.62);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.info-content a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
}

.info-box:hover .info-content a,
.info-box:hover .info-content p {
    color: #fff;
}

.social-card {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    background: rgba(255,255,255,0.045);
    text-decoration: none;
}

.social-links a:hover {
    border-color: rgba(103,232,249,0.34);
    color: #67e8f9;
}

.form-heading {
    margin-bottom: 22px;
}

.form-heading h2 {
    font-size: 2rem;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.78);
    font-size: .92rem;
    font-weight: 800;
}

.form-control {
    width: 100%;
    min-height: 52px;
    padding: 14px 15px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 8px;
    background: rgba(0,0,0,0.28);
    color: #fff;
    font-size: 1rem;
    transition: .2s;
}

.form-control:focus {
    outline: none;
    border-color: rgba(103,232,249,0.55);
    background: rgba(0,0,0,0.44);
    box-shadow: 0 0 0 4px rgba(103,232,249,0.08);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 8px;
    color: #041014;
    background: linear-gradient(135deg, #67e8f9, #34d399);
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    transition: .22s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.alert {
    display: flex;
    gap: 10px;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 8px;
}

.alert-error {
    color: #fecaca;
    border: 1px solid rgba(248,113,113,0.28);
    background: rgba(239,68,68,0.12);
}

.success-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-height: 440px;
    align-content: center;
    text-align: center;
}

.success-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #041014;
    background: #34d399;
    font-size: 2rem;
}

.success-state .btn-primary {
    width: auto;
    min-width: 190px;
    padding: 0 18px;
    margin-top: 8px;
}

@media (max-width: 1040px) {
    .contact-hero,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        position: static;
    }
}

@media (max-width: 680px) {
    .contact-shell {
        width: min(100% - 28px, 1320px);
        padding-top: 24px;
    }

    .contact-hero,
    .contact-info-panel,
    .contact-form-panel {
        padding: 18px;
    }

    .contact-hero h1 {
        font-size: 2.25rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-control,
    .btn-primary {
        min-height: 56px;
        font-size: 1rem;
    }

    textarea.form-control {
        min-height: 210px;
    }

    .info-box {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 14px;
    }

    .owner-card {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .owner-card img {
        width: 54px;
        height: 54px;
    }

    .info-icon {
        width: 46px;
        height: 46px;
    }
}
