/* ============================================
   CONTACT US PAGE SPECIFIC STYLES
   Premium Design with Floating Elements
   ============================================ */

:root {
    --cream: #FAF6EF;
    --paper: #FFFDF8;
    --taupe: #9E8574;
    --taupe2: #C8B7AA;
    --ink: #1a1a1b;
    --muted: #6f625a;
    --line: rgba(158, 133, 116, 0.32);
}

* {
    box-sizing: border-box;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--taupe);
    margin-bottom: 18px;
    font-weight: 600;
}

h1, h2, h3 {
    font-family: "Work Sans", sans-serif;
    font-weight: 500;
    letter-spacing: -0.05em;
}

h1 {
    font-size: 94px;
    line-height: 0.86;
    margin: 0 0 30px;
}

h2 {
    font-size: 58px;
    line-height: 1.02;
    margin: 0 0 22px;
}

h3 {
    font-size: 28px;
    margin: 0 0 12px;
}

p {
    font-size: 17px;
    line-height: 1.78;
    color: var(--muted);
}

/* ============================================
   HERO SECTION WITH FLOATING ELEMENTS
   ============================================ */
.contact-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    background: radial-gradient(circle at 18% 30%, #fff 0, #FAF6EF 34%, #F7F0E8 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero:before {
    content: "Contact";
    position: absolute;
    left: -5%;
    bottom: -10%;
    font-family: "Work Sans", sans-serif;
    font-size: 260px;
    letter-spacing: -0.08em;
    color: rgba(158, 133, 116, 0.08);
    animation: floatText 10s ease-in-out infinite;
}

.contact-hero-copy {
    padding: 92px 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.contact-hero-copy p {
    font-size: 20px;
    max-width: 560px;
}

.contact-hero-art {
    position: relative;
    min-height: 100vh;
}

.art-main {
    position: absolute;
    right: 9%;
    top: 8%;
    width: 62%;
    height: 70%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 40px 90px rgba(70, 55, 44, 0.13);
    animation: imageBreath 11s ease-in-out infinite alternate;
}

.art-secondary {
    position: absolute;
    left: 4%;
    bottom: 12%;
    width: 48%;
    height: 36%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 70px rgba(70, 55, 44, 0.12);
    animation: floatCard 7s ease-in-out infinite;
}

.orbit {
    position: absolute;
    left: 14%;
    top: 16%;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(158, 133, 116, 0.28);
    border-radius: 50%;
    animation: spin 26s linear infinite;
}

.orbit:after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--taupe);
    right: 15px;
    top: 22px;
}

.hero-note {
    position: absolute;
    right: 16%;
    bottom: 10%;
    background: rgba(255, 253, 248, 0.78);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    padding: 28px;
    width: 300px;
}

.hero-note p {
    font-size: 14px;
    margin: 0;
}

/* ============================================
   PATHS / QUICK CARDS SECTION
   ============================================ */
.contact-paths {
    position: relative;
    z-index: 4;
    margin-top: -78px;
    padding: 0 8vw 70px;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.path-card {
    background: rgba(255, 253, 248, 0.78);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    padding: 34px 28px;
    min-height: 210px;
    transition: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.path-card:hover {
    transform: translateY(-14px);
    background: #fff;
}

.path-card span {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--taupe);
}

.path-card h3 {
    font-size: 28px;
    margin: 15px 0 12px;
}

.path-card p {
    font-size: 15px;
    margin: 0;
}

/* ============================================
   SUPPORT STAGE SECTION
   ============================================ */
.contact-support-stage {
    background: var(--cream);
    position: relative;
    overflow: hidden;
    padding: 105px 8vw;
}

.contact-support-stage:before {
    content: "";
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(158, 133, 116, 0.18);
    pointer-events: none;
}

.contact-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 58px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    position: relative;
    z-index: 2;
}

.support-card {
    background: var(--paper);
    padding: 54px;
    min-height: 330px;
    position: relative;
    overflow: hidden;
}

.support-card .num {
    font-family: "Work Sans", sans-serif;
    font-size: 48px;
    color: var(--taupe);
    margin-bottom: 32px;
}

.support-card:after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(158, 133, 116, 0.08);
}

/* ============================================
   FORM CINEMA SECTION (Split Layout)
   ============================================ */
.contact-form-cinema {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 1px;
    background: var(--line);
}

.form-side {
    background: var(--ink);
    color: var(--cream);
    padding: 95px 8vw;
    position: relative;
    overflow: hidden;
}

.form-side:after {
    content: "Write";
    position: absolute;
    right: -30px;
    bottom: -30px;
    font-family: "Work Sans", sans-serif;
    font-size: 160px;
    color: rgba(250, 246, 239, 0.08);
    letter-spacing: -0.08em;
}

.form-side .eyebrow,
.form-side h2,
.form-side p {
    color: var(--cream);
}

.form-side h2 {
    font-size: 58px;
}

.form-box {
    background: var(--paper);
    padding: 78px 7vw;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.field label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--taupe);
}

.field input,
.field select,
.field textarea {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    padding: 14px 0;
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.3s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-bottom-color: var(--taupe);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.full {
    grid-column: 1 / -1;
}

.contact-button {
    display: inline-block;
    border: 1px solid var(--taupe);
    background: transparent;
    padding: 15px 30px;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    cursor: pointer;
    transition: 0.35s ease;
    margin-top: 10px;
}

.contact-button:hover {
    background: var(--taupe);
    color: var(--paper);
    letter-spacing: 0.2em;
}

.form-message {
    margin-top: 20px;
    padding: 12px;
    font-size: 14px;
}

.form-message.success {
    background: rgba(158, 133, 116, 0.15);
    color: var(--taupe);
    border: 1px solid var(--taupe);
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    color: #c0392b;
    border: 1px solid #c0392b;
}

/* ============================================
   IMAGE RIBBON SECTION
   ============================================ */
.contact-image-ribbon {
    height: 560px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact-image-ribbon h2 {
    position: absolute;
    left: 8vw;
    bottom: 70px;
    color: #fff;
    max-width: 760px;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}

/* ============================================
   DETAIL / BEFORE YOU WRITE SECTION
   ============================================ */
.contact-section {
    padding: 105px 8vw;
}

.detail-list {
    max-width: 1050px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.detail-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 52px;
    border-bottom: 1px solid var(--line);
    padding: 34px 0;
    transition: 0.35s ease;
}

.detail-row:hover {
    padding-left: 18px;
    background: rgba(158, 133, 116, 0.045);
}

.detail-row strong {
    font-family: "Work Sans", sans-serif;
    font-size: 28px;
    font-weight: 500;
}

.detail-row p {
    margin: 0;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.contact-final {
    min-height: 72vh;
    background: var(--ink);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 8vw;
    position: relative;
    overflow: hidden;
}

.contact-final:before {
    content: "?";
    position: absolute;
    font-family: "Work Sans", sans-serif;
    font-size: 580px;
    color: rgba(250, 246, 239, 0.04);
    line-height: 0.8;
}

.final-inner {
    max-width: 840px;
    position: relative;
    z-index: 2;
}

.contact-final .eyebrow,
.contact-final h2,
.contact-final p {
    color: var(--cream);
}

.contact-final h2 {
    font-size: 58px;
}

.contact-button-final {
    display: inline-block;
    border: 1px solid var(--cream);
    background: transparent;
    padding: 15px 30px;
    color: var(--cream);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    cursor: pointer;
    transition: 0.35s ease;
    margin-top: 20px;
}

.contact-button-final:hover {
    background: var(--cream);
    color: var(--ink);
    letter-spacing: 0.2em;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes imageBreath {
    from { background-size: 100%; }
    to { background-size: 108%; }
}

@keyframes floatText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-22px); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    h1 {
        font-size: 58px;
    }
    
    h2 {
        font-size: 42px;
    }
    
    .contact-hero,
    .contact-form-cinema,
    .path-grid,
    .support-grid,
    .detail-row {
        grid-template-columns: 1fr;
    }
    
    .contact-hero-copy,
    .contact-support-stage,
    .contact-section {
        padding: 72px 6vw;
    }
    
    .contact-hero-art {
        min-height: 620px;
    }
    
    .contact-paths {
        margin-top: 0;
        padding: 50px 6vw;
    }
    
    .art-main {
        right: 8%;
        width: 76%;
        height: 58%;
    }
    
    .art-secondary {
        width: 58%;
        height: 34%;
    }
    
    .contact-image-ribbon {
        height: 360px;
        background-attachment: scroll;
    }
    
    .contact-image-ribbon h2 {
        font-size: 34px;
        left: 6vw;
        bottom: 40px;
    }
    
    .form-side {
        padding: 60px 6vw;
    }
    
    .form-side h2 {
        font-size: 42px;
    }
    
    .form-box {
        padding: 50px 6vw;
    }
    
    .detail-row {
        gap: 20px;
    }
    
    .detail-row strong {
        font-size: 22px;
    }
    
    .contact-final h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 34px;
    }
    
    .contact-hero-copy p {
        font-size: 18px;
    }
    
    .orbit {
        width: 120px;
        height: 120px;
        left: 10%;
        top: 10%;
    }
    
    .hero-note {
        width: 260px;
        padding: 20px;
        right: 10%;
        bottom: 8%;
    }
    
    .path-card {
        padding: 25px 20px;
    }
    
    .path-card h3 {
        font-size: 24px;
    }
    
    .support-card {
        padding: 40px 30px;
    }
    
    .support-card .num {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .support-card h3 {
        font-size: 24px;
    }
    
    .form-grid {
        gap: 16px;
    }
    
    .contact-button,
    .contact-button-final {
        width: 100%;
        text-align: center;
    }
    
    .detail-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 25px 0;
    }
    
    .detail-row strong {
        font-size: 20px;
    }
    
    .contact-final {
        padding: 70px 6vw;
    }
    
    .contact-final:before {
        font-size: 300px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 42px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .contact-hero-copy {
        padding: 60px 5vw;
    }
    
    .path-grid {
        gap: 12px;
    }
    
    .path-card {
        padding: 20px 16px;
    }
    
    .path-card h3 {
        font-size: 20px;
    }
    
    .support-card {
        padding: 30px 20px;
    }
    
    .hero-note {
        display: none;
    }
    
    .contact-image-ribbon h2 {
        font-size: 24px;
        bottom: 30px;
    }
}