.contact-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(193, 154, 91, 0.14), transparent 30%),
        radial-gradient(circle at bottom right, rgba(160, 82, 45, 0.08), transparent 30%),
        linear-gradient(180deg, #f8f5f0 0%, #f6efe5 100%);
}

.contact-page::before,
.contact-page::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.contact-page::before {
    top: 200px;
    left: -90px;
    width: 220px;
    height: 220px;
    background: rgba(193, 154, 91, 0.12);
    filter: blur(10px);
}

.contact-page::after {
    right: -110px;
    bottom: 200px;
    width: 240px;
    height: 240px;
    background: rgba(160, 82, 45, 0.08);
    filter: blur(10px);
}

.contact-page a {
    text-decoration: none;
}

.contact-hero {
    padding: 86px 0 44px;
}

.contact-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
}

.contact-hero-copy,
.contact-panel-card,
.contact-highlight-card,
.contact-story-card,
.contact-form-card,
.contact-map-card,
.contact-faq-card {
    border: 1px solid rgba(193, 154, 91, 0.14);
    border-radius: 34px;
    background: rgba(255, 251, 246, 0.95);
    box-shadow: 0 26px 58px rgba(56, 32, 13, 0.08);
}

.contact-hero-copy {
    padding: 44px 44px 40px;
}

.contact-eyebrow,
.contact-section-label,
.contact-panel-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-eyebrow::before,
.contact-section-label::before,
.contact-panel-label::before {
    content: '';
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.contact-eyebrow {
    margin-bottom: 18px;
}

.contact-hero-copy h1 {
    max-width: 760px;
    margin-bottom: 18px;
    color: #15120f;
    font-size: clamp(2.6rem, 5.2vw, 4.8rem);
    line-height: 0.98;
    text-wrap: balance;
}

.contact-hero-copy p,
.contact-highlight-card p,
.contact-story-card p,
.contact-map-copy p,
.contact-faq-answer p {
    color: rgba(43, 35, 28, 0.8);
    line-height: 1.85;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fffaf5;
    font-family: 'Poppins', sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(160, 82, 45, 0.2);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-btn:hover,
.contact-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(160, 82, 45, 0.24);
}

.contact-btn:focus-visible,
.contact-btn-ghost:focus-visible,
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible,
.contact-faq-question:focus-visible,
.notification-close:focus-visible {
    outline: 2px solid rgba(193, 154, 91, 0.9);
    outline-offset: 3px;
}

.contact-btn-ghost {
    background: rgba(193, 154, 91, 0.08);
    border-color: rgba(193, 154, 91, 0.16);
    color: #1c1511;
    box-shadow: none;
}

.contact-panel-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 34px 32px;
}

.contact-panel-list {
    display: grid;
    gap: 14px;
}

.contact-panel-list div {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
}

.contact-panel-list strong {
    color: var(--secondary-color);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-panel-list a,
.contact-panel-list span,
.contact-detail-card a,
.contact-inline-link {
    color: #1b1512;
}

.contact-highlights {
    padding-bottom: 22px;
}

.contact-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.contact-highlight-card {
    min-height: 220px;
    padding: 30px 28px;
}

.contact-highlight-card h2,
.contact-story-card h2,
.contact-form-card h2,
.contact-map-copy h2,
.contact-faq-head h2 {
    margin-top: 16px;
    color: #17120f;
    font-size: clamp(2rem, 3vw, 2.9rem);
    line-height: 1.05;
}

.contact-main-section,
.contact-map-section,
.contact-faq-section {
    position: relative;
    z-index: 1;
}

.contact-main-section {
    padding: 34px 0 24px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 28px;
    align-items: start;
}

.contact-story-card,
.contact-form-card,
.contact-map-card,
.contact-faq-card {
    padding: 34px 32px;
}

.contact-detail-grid {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-detail-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
}

.contact-detail-card strong {
    display: block;
    color: #17120f;
    margin-bottom: 6px;
}

.contact-detail-card p {
    margin: 0;
}

.contact-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(193, 154, 91, 0.16), rgba(160, 82, 45, 0.16));
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.contact-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
}

.contact-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-inline-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.contact-form {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

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

.contact-form-group {
    display: grid;
    gap: 8px;
}

.contact-form-group label {
    color: rgba(43, 35, 28, 0.78);
    font-size: 0.94rem;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(193, 154, 91, 0.16);
    border-radius: 16px;
    background: #fffdfb;
    color: #1c1511;
    font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-map-section,
.contact-faq-section {
    padding: 18px 0 24px;
}

.contact-map-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: stretch;
}

.contact-map-frame-wrap {
    min-height: 420px;
    overflow: hidden;
    border-radius: 26px;
}

.contact-map-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-faq-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-faq-item {
    border: 1px solid rgba(193, 154, 91, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.contact-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 22px;
    border: none;
    background: transparent;
    color: #17120f;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.contact-faq-question i {
    color: var(--secondary-color);
    transition: transform 0.2s ease;
}

.contact-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.contact-faq-answer p {
    padding: 0 22px 22px;
}

.contact-faq-item.is-open .contact-faq-answer {
    max-height: 260px;
}

.contact-faq-item.is-open .contact-faq-question i {
    transform: rotate(180deg);
}

.contact-notification {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    padding: 18px 18px 18px 16px;
    border: 1px solid rgba(193, 154, 91, 0.18);
    border-radius: 24px;
    background: rgba(255, 252, 248, 0.97);
    box-shadow: 0 20px 40px rgba(38, 21, 8, 0.08);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.contact-notification.success {
    border-color: rgba(46, 139, 87, 0.22);
}

.contact-notification.error {
    border-color: rgba(160, 82, 45, 0.28);
}

.contact-notification-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(193, 154, 91, 0.08);
    color: var(--primary-color);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-notification.success .contact-notification-icon {
    background: rgba(46, 139, 87, 0.12);
    color: #2e8b57;
}

.contact-notification.error .contact-notification-icon {
    background: rgba(160, 82, 45, 0.14);
    color: var(--secondary-color);
}

.contact-notification-message {
    flex: 1 1 auto;
}

.contact-notification-message p {
    margin: 0;
    color: #1d1713;
    line-height: 1.65;
}

.notification-close {
    border: none;
    background: transparent;
    color: rgba(51, 43, 36, 0.5);
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.notification-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

@media (max-width: 1180px) {
    .contact-hero-shell,
    .contact-layout,
    .contact-map-card {
        grid-template-columns: 1fr;
    }

    .contact-highlights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: 56px;
    }

    .contact-hero-copy,
    .contact-panel-card,
    .contact-highlight-card,
    .contact-story-card,
    .contact-form-card,
    .contact-map-card,
    .contact-faq-card {
        border-radius: 26px;
    }

    .contact-hero-copy,
    .contact-panel-card,
    .contact-highlight-card,
    .contact-story-card,
    .contact-form-card,
    .contact-map-card,
    .contact-faq-card {
        padding: 26px 22px;
    }

    .contact-hero-copy h1 {
        font-size: clamp(2.2rem, 10vw, 3.6rem);
    }

    .contact-hero-actions,
    .contact-links-row {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-btn,
    .contact-btn-ghost {
        width: 100%;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-detail-card {
        grid-template-columns: 1fr;
    }

    .contact-detail-icon {
        width: 52px;
        height: 52px;
    }

    .contact-map-frame-wrap {
        min-height: 320px;
    }
}

@media (max-width: 520px) {
    .contact-eyebrow,
    .contact-section-label,
    .contact-panel-label {
        letter-spacing: 0.14em;
    }

    .contact-highlight-card h2,
    .contact-story-card h2,
    .contact-form-card h2,
    .contact-map-copy h2,
    .contact-faq-head h2 {
        font-size: 1.8rem;
    }
}
