/* =========================================
   CONTACT HERO
========================================= */

.contact-hero {
    position: relative;

    padding: 90px 0 50px;

    background: var(--bg);

    overflow: hidden;
}


/* =========================================
   CONTAINER
========================================= */

.contact-hero-container {
    position: relative;

    z-index: 2;

    width: min(1400px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 90px;
}


/* =========================================
   CONTENT
========================================= */

.contact-hero-content .section-tag {
    display: inline-block;

    padding: 8px 18px;

    background: rgba(210, 165, 91, 0.18);

    color: var(--primary);

    border-radius: 50px;

    font-size: 0.82rem;

    font-weight: 600;

    letter-spacing: 1px;
}


.contact-hero-content h1 {
    margin: 22px 0 25px;

    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(3.6rem, 5vw, 5.2rem);

    line-height: 0.98;

    font-weight: 500;

    color: var(--text);
}


.contact-hero-content h1 em {
    display: block;

    color: var(--primary);

    font-weight: 500;

    font-style: normal;
}


.contact-hero-description {
    max-width: 610px;

    margin: 0;

    color: var(--text-light);

    font-size: 1.05rem;

    line-height: 1.9;
}


/* =========================================
   HIGHLIGHTS
========================================= */

.contact-hero-highlights {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 30px;

    margin-top: 38px;
}


.contact-hero-highlight {
    display: flex;

    align-items: center;

    gap: 12px;
}


.contact-hero-highlight-icon {
    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.45);

    color: var(--primary);

    font-size: 0.8rem;
}


.contact-hero-highlight strong {
    display: block;

    margin-bottom: 3px;

    color: var(--text);

    font-size: 0.78rem;

    font-weight: 700;
}


.contact-hero-highlight div > span {
    display: block;

    color: var(--text-light);

    font-size: 0.68rem;
}


/* =========================================
   VISUAL
========================================= */

.contact-hero-visual {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 570px;
}


.contact-hero-frame {
    position: relative;

    width: min(480px, 80%);

    padding: 14px;

    border: 1px solid var(--secondary);

    transform: rotate(2deg);
}


.contact-hero-frame::before {
    content: "";

    position: absolute;

    inset: 8px;

    border: 1px solid rgba(210, 165, 91, 0.4);

    pointer-events: none;
}


.contact-hero-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: var(--bg-alt);
}


.contact-hero-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}


.contact-hero-frame:hover .contact-hero-image img {
    transform: scale(1.04);
}


/* =========================================
   FLOATING CARD
========================================= */

.contact-hero-card {
    position: absolute;

    right: 2%;

    bottom: 55px;

    width: 230px;

    padding: 20px;

    background: var(--white);

    border: 1px solid var(--border);

    box-shadow:
        0 20px 45px rgba(61, 49, 40, 0.12);

    transform: rotate(-3deg);
}


.contact-hero-card-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 32px;

    margin-bottom: 12px;

    border-radius: 50%;

    background: rgba(161, 74, 42, 0.1);

    color: var(--primary);

    font-size: 0.7rem;
}


.contact-hero-card p {
    margin: 0;

    color: var(--text);

    font-family: 'Cormorant Garamond', serif;

    font-size: 1.25rem;

    line-height: 1.25;

    font-weight: 500;
}


/* =========================================
   DECORATIONS
========================================= */

.contact-hero-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.contact-hero-decoration-one {
    width: 420px;

    height: 420px;

    top: -260px;

    right: -120px;

    border: 1px solid rgba(210, 165, 91, 0.22);
}


.contact-hero-decoration-two {
    width: 220px;

    height: 220px;

    bottom: -140px;

    left: -80px;

    background: rgba(161, 74, 42, 0.035);
}


/* =========================================
   SCROLL INDICATOR
========================================= */

.contact-scroll-indicator {
    position: relative;

    z-index: 3;

    width: min(1400px, 92%);

    margin: 35px auto 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    color: var(--text-light);

    font-size: 0.62rem;

    font-weight: 600;

    letter-spacing: 1.5px;
}


.contact-scroll-indicator i {
    color: var(--primary);

    font-size: 0.65rem;

    animation: contactScrollArrow 2s ease-in-out infinite;
}


@keyframes contactScrollArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }

}


/* =========================================
   REVEAL ANIMATION
========================================= */

.contact-reveal,
.contact-reveal-left,
.contact-reveal-right {
    opacity: 0;

    transition:
        opacity 0.85s ease,
        transform 0.85s cubic-bezier(.2, .7, .2, 1);
}


.contact-reveal {
    transform: translateY(30px);
}


.contact-reveal-left {
    transform: translateX(-40px);
}


.contact-reveal-right {
    transform: translateX(40px);
}


.contact-reveal.is-visible,
.contact-reveal-left.is-visible,
.contact-reveal-right.is-visible {
    opacity: 1;

    transform: translate(0);
}


.contact-reveal-delay-1 {
    transition-delay: 0.1s;
}


.contact-reveal-delay-2 {
    transition-delay: 0.2s;
}


.contact-reveal-delay-3 {
    transition-delay: 0.3s;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .contact-hero-container {
        gap: 55px;
    }


    .contact-hero-content h1 {
        font-size: 4.1rem;
    }


    .contact-hero-visual {
        min-height: 520px;
    }


    .contact-hero-frame {
        width: min(440px, 82%);
    }


    .contact-hero-card {
        right: -5px;
    }

}


/* =========================================
   TABLET / SMALL DESKTOP
========================================= */

@media (max-width: 900px) {

    .contact-hero-container {
        grid-template-columns: 1fr;

        gap: 70px;
    }


    .contact-hero-content {
        max-width: 700px;

        margin: auto;

        text-align: center;
    }


    .contact-hero-description {
        margin: auto;
    }


    .contact-hero-highlights {
        justify-content: center;
    }


    .contact-hero-visual {
        min-height: 520px;
    }


    .contact-hero-frame {
        width: 78%;
    }


    .contact-hero-card {
        right: 8%;

        bottom: 35px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .contact-hero {
        padding: 110px 0 80px;
    }


    .contact-hero-container {
        width: 90%;

        gap: 55px;
    }


    .contact-hero-content h1 {
        font-size: 3.2rem;
    }


    .contact-hero-description {
        font-size: 0.95rem;

        line-height: 1.8;
    }


    .contact-hero-highlights {
        display: none;
    }


    .contact-hero-visual {
        min-height: 450px;
    }


    .contact-hero-frame {
        width: 87%;
    }


    .contact-hero-card {
        right: 13px;

        bottom: 15px;

        width: 190px;

        padding: 16px;
    }


    .contact-hero-card p {
        font-size: 1.1rem;
    }


    .contact-scroll-indicator {
        margin-top: 45px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .contact-hero-content h1 {
        font-size: 2.85rem;
    }


    .contact-hero-visual {
        min-height: 415px;
    }


    .contact-hero-card {
        width: 175px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-reveal,
    .contact-reveal-left,
    .contact-reveal-right {
        opacity: 1;

        transform: none;

        transition: none;
    }


    .contact-hero-image img,
    .contact-scroll-indicator i {
        animation: none;

        transition: none;
    }

}






/* =========================================
   CONTACT CONNECT
========================================= */

.contact-connect {
    padding: 70px 0;

    border-radius: 25px;
    background: var(--white);

    overflow: hidden;
}


.contact-connect-container {
    width: min(1250px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: start;

    gap: 100px;
}


/* =========================================
   LEFT CONTENT
========================================= */

.contact-connect-info {
    padding-top: 10px;
}


.contact-connect-info .section-tag {
    display: inline-block;

    padding: 8px 18px;

    background: rgba(210, 165, 91, 0.18);

    color: var(--primary);

    border-radius: 50px;

    font-size: 0.82rem;

    font-weight: 600;

    letter-spacing: 1px;
}


.contact-connect-info h2 {
    margin: 22px 0 22px;

    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(46px, 5vw, 68px);

    line-height: 0.98;

    font-weight: 500;

    color: var(--text);
}


.contact-connect-info h2 em {
    display: block;

    color: var(--primary);

    font-weight: 500;
}


.contact-connect-intro {
    max-width: 520px;

    margin: 0;

    color: var(--text-light);

    font-size: 0.98rem;

    line-height: 1.9;
}


/* =========================================
   CONTACT DETAILS
========================================= */

.contact-details {
    margin-top: 40px;

    border-top: 1px solid var(--divider);
}


.contact-detail {
    position: relative;

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 19px 0;

    border-bottom: 1px solid var(--divider);

    color: inherit;

    text-decoration: none;

    transition:
        padding 0.3s ease,
        color 0.3s ease;
}


.contact-detail:hover {
    padding-left: 8px;
}


.contact-detail-icon {
    width: 44px;

    height: 44px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    background: var(--bg);

    color: var(--primary);

    font-size: 0.75rem;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.contact-detail:hover .contact-detail-icon {
    background: var(--primary);

    color: var(--white);
}


.contact-detail-content {
    min-width: 0;

    flex: 1;
}


.contact-detail-content small {
    display: block;

    margin-bottom: 4px;

    color: var(--text-light);

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 1.4px;
}


.contact-detail-content strong {
    display: block;

    color: var(--text);

    font-size: 0.88rem;

    font-weight: 600;

    word-break: break-word;
}


.contact-detail-arrow {
    color: var(--primary);

    font-size: 0.7rem;

    transition: transform 0.3s ease;
}


.contact-detail:hover .contact-detail-arrow {
    transform: translateX(4px);
}


/* =========================================
   SOCIAL
========================================= */

.contact-social {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 35px;
}


.contact-social > span {
    color: var(--text-light);

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 1.4px;
}


.contact-social-links {
    display: flex;

    align-items: center;

    gap: 8px;
}


.contact-social-links a {
    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--text-light);

    font-size: 0.7rem;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.contact-social-links a:hover {
    border-color: var(--primary);

    background: var(--primary);

    color: var(--white);

    transform: translateY(-3px);
}


/* =========================================
   FORM WRAPPER
========================================= */

.contact-connect-form-wrapper {
    padding: 45px;

    background: var(--bg);

    border: 1px solid var(--border);

    border-radius: 24px;
}


/* =========================================
   FORM HEADER
========================================= */

.contact-form-header > span {
    display: block;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.contact-form-header h3 {
    margin: 0 0 30px;

    font-family: 'Cormorant Garamond', serif;

    font-size: 2.7rem;

    line-height: 0.98;

    font-weight: 500;

    color: var(--text);
}


.contact-form-header h3 em {
    display: block;

    color: var(--primary);

    font-weight: 500;
}


/* =========================================
   FORM
========================================= */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.contact-form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.contact-form-group label {
    color: var(--text);

    font-size: 0.7rem;

    font-weight: 600;

    letter-spacing: 0.3px;
}


.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid var(--border);

    border-radius: 8px;

    outline: none;

    background: var(--white);

    color: var(--text);

    font-family: 'Inter', sans-serif;

    font-size: 0.82rem;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: #A69A8D;
}


.contact-form-group select {
    cursor: pointer;
}


.contact-form-group textarea {
    min-height: 135px;

    resize: vertical;

    line-height: 1.7;
}


.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(161, 74, 42, 0.08);
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.contact-form-submit {
    align-self: flex-start;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 5px;
}


.contact-form-submit i {
    font-size: 0.72rem;

    transition: transform 0.3s ease;
}


.contact-form-submit:hover i {
    transform: translateX(4px);
}


/* =========================================
   REVEAL
========================================= */

.contact-connect .contact-reveal-left,
.contact-connect .contact-reveal-right {
    opacity: 0;

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.2, .7, .2, 1);
}


.contact-connect .contact-reveal-left {
    transform: translateX(-45px);
}


.contact-connect .contact-reveal-right {
    transform: translateX(45px);
}


.contact-connect .contact-reveal-left.is-visible,
.contact-connect .contact-reveal-right.is-visible {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .contact-connect-container {
        gap: 60px;
    }


    .contact-connect-form-wrapper {
        padding: 35px;
    }

}


/* =========================================
   SMALL TABLET
========================================= */

@media (max-width: 850px) {

    .contact-connect-container {
        grid-template-columns: 1fr;

        gap: 65px;
    }


    .contact-connect-info {
        max-width: 700px;

        margin: auto;
    }


    .contact-connect-info h2 {
        font-size: 3.8rem;
    }


    .contact-connect-form-wrapper {
        width: 100%;

        max-width: 700px;

        margin: auto;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .contact-connect {
        padding: 65px 0 75px;
    }


    .contact-connect-container {
        width: 90%;

        gap: 50px;
    }


    .contact-connect-info h2 {
        font-size: 2.9rem;
    }


    .contact-connect-intro {
        font-size: 0.9rem;

        line-height: 1.8;
    }


    .contact-details {
        margin-top: 30px;
    }


    .contact-detail {
        gap: 12px;

        padding: 16px 0;
    }


    .contact-detail-icon {
        width: 40px;

        height: 40px;
    }


    .contact-detail-content strong {
        font-size: 0.8rem;
    }


    .contact-social {
        align-items: flex-start;

        flex-direction: column;

        gap: 14px;

        margin-top: 28px;
    }


    .contact-connect-form-wrapper {
        padding: 25px 20px;

        border-radius: 18px;
    }


    .contact-form-header h3 {
        font-size: 2.35rem;

        margin-bottom: 25px;
    }


    .contact-form {
        gap: 17px;
    }


    .contact-form-submit {
        width: 100%;

        justify-content: center;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .contact-connect-info h2 {
        font-size: 2.65rem;
    }


    .contact-detail-content strong {
        font-size: 0.76rem;
    }


    .contact-connect-form-wrapper {
        padding: 22px 17px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-connect .contact-reveal-left,
    .contact-connect .contact-reveal-right {
        opacity: 1;

        transform: none;

        transition: none;
    }


    .contact-detail,
    .contact-detail-icon,
    .contact-detail-arrow,
    .contact-social-links a,
    .contact-form-group input,
    .contact-form-group select,
    .contact-form-group textarea,
    .contact-form-submit i {
        transition: none;
    }

}