.theme-contact {
    --primary-color: #ff8a00;
    --primary-hover: #ff6b35;
    --primary-light: rgba(255, 138, 0, 0.12);
    --primary-gradient: linear-gradient(135deg, #ff8a00 0%, #ff6b35 100%);
    --primary-gradient-hover: linear-gradient(135deg, #ff7a00 0%, #ff5a24 100%);
}

.hero-contact {
    background-image:
        linear-gradient(135deg, rgba(255, 138, 0, 0.82) 0%, rgba(255, 107, 53, 0.82) 100%),
        url('../images/reef-tank-3624204_1920.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 45%),
        radial-gradient(circle at 85% 85%, rgba(167, 243, 208, 0.2) 0%, rgba(167, 243, 208, 0) 45%);
    pointer-events: none;
}

.theme-contact .btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.theme-contact .btn-primary:hover {
    background: var(--primary-gradient-hover);
    border-color: rgba(255, 255, 255, 0.35);
}

.theme-contact .feature-icon-modern {
    color: var(--primary-color);
    background: var(--primary-light);
}

.theme-contact .feature-item {
    border-color: rgba(255, 138, 0, 0.22);
}

.theme-contact .feature-item:hover {
    box-shadow: 0 10px 22px rgba(255, 138, 0, 0.16);
}

.theme-contact .product-story-quote-only {
    background: #ffffff;
    padding-top: 4rem;
    position: relative;
    overflow: visible;
}

.theme-contact .product-story-quote-only::before,
.theme-contact .product-story-quote-only::after,
.theme-contact .product-story-quote-only .container::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(6px);
    z-index: 0;
}

.theme-contact .product-story-quote-only::before {
    width: 300px;
    height: 300px;
    top: -72px;
    left: -58px;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.22) 0%, rgba(255, 138, 0, 0) 72%);
}

.theme-contact .product-story-quote-only::after {
    width: 250px;
    height: 250px;
    right: 4%;
    bottom: -68px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0) 74%);
}

.theme-contact .product-story-quote-only .container {
    position: relative;
    z-index: 1;
}

.theme-contact .product-story-quote-only .container::before {
    width: 210px;
    height: 210px;
    left: 42%;
    top: -36px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0) 72%);
}

.theme-contact .product-story-quote-only blockquote {
    border-left: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.35;
    font-weight: 700;
    color: #0d294e;
    text-align: center;
}

.theme-contact .product-story-quote-only footer {
    margin-top: 1.1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #4a5568;
    text-align: center;
}

.theme-contact .how-it-works-contact .step-number {
    background: var(--primary-gradient);
}

.theme-contact .contact-contact-page {
    background-image: url('../images/reef-tank-3624204_1920.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.theme-contact .contact-contact-page::before {
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.78) 0%, rgba(255, 107, 53, 0.78) 100%);
}

.theme-contact .contact-item {
    border-color: rgba(255, 255, 255, 0.26);
}

.theme-contact .engagement-form {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(255, 138, 0, 0.24);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 10px 26px rgba(255, 138, 0, 0.1);
}

.theme-contact .engagement-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.theme-contact .engagement-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.theme-contact .engagement-field.is-hidden {
    display: none;
}

.theme-contact .engagement-field span {
    font-weight: 600;
    color: #0d294e;
}

.theme-contact .engagement-field input,
.theme-contact .engagement-field textarea {
    border: 1px solid rgba(255, 138, 0, 0.3);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    width: 100%;
    max-width: 100%;
    font: inherit;
    color: #0d294e;
    background: #ffffff;
}

.theme-contact .engagement-field input:focus,
.theme-contact .engagement-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.18);
}

.theme-contact .engagement-options-group {
    margin: 1rem 0 0;
    border: 1px solid rgba(255, 138, 0, 0.24);
    border-radius: 12px;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
}

.theme-contact .engagement-options-group legend {
    font-weight: 700;
    color: #0d294e;
    padding: 0 0.35rem;
    margin-bottom: 0.25rem;
    grid-column: 1 / -1;
}

.theme-contact .engagement-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.55rem;
    color: #0d294e;
}

.theme-contact .engagement-form-actions {
    margin-top: 1rem;
}

.theme-contact .engagement-altcha {
    margin-top: 1rem;
}

.theme-contact .contact-form-status {
    max-width: 900px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.theme-contact .contact-form-status-success {
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.3);
    color: #14532d;
}

.theme-contact .contact-form-status-error {
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #7f1d1d;
}

@media (max-width: 768px) {
    .theme-contact .engagement-form {
        padding: 1rem;
    }

    .theme-contact .engagement-form-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .theme-contact .engagement-field {
        margin-top: 0.65rem;
    }

    .theme-contact .engagement-options-group {
        grid-template-columns: 1fr;
    }
}
