/* 
SERIOUSLY DIGITAL - CONTACT PAGE: CONSOLIDATED STYLESHEET
Space Grotesk | No CSS Variables

Conventional, form-first contact page:
1. PAGE INTRO (modest heading + intro line, no hero band)
2. TWO-PANEL LAYOUT (primary: form, support: contact details)
3. FORM CARD + loading overlay / spinner / error states
4. REVIEW PILL (scoped to contact info block)
5. MAP (full-width, below)
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');


/* ============================================================
   SECTION - light, form-first, no hero band
   ============================================================ */

.seriously-contact-page-hero {
    position: relative;
    padding: 72px 0 88px;
    margin-top: 116px;
    background: #f9f9f9;
    font-family: 'Space Grotesk', sans-serif;
}

.seriously-contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    width: 100%;
}


/* ============================================================
   PAGE INTRO
   ============================================================ */

.seriously-contact-page-intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
}

.seriously-contact-page-intro-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2a2d30;
    margin: 0 0 16px 0;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}

.seriously-contact-page-intro-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #de4854 0%, #c43844 100%);
    border-radius: 2px;
}

.seriously-contact-page-intro-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #555;
    line-height: 1.65;
    margin: 0;
}


/* ============================================================
   TWO-PANEL LAYOUT - form primary, details support
   ============================================================ */

.seriously-contact-page-content {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 36px;
    align-items: start;
}


/* ============================================================
   PRIMARY PANEL - Form card
   ============================================================ */

.seriously-contact-page-form-wrapper {
    position: relative;
    background: #ffffff;
    padding: 44px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    width: 100%;
}

.seriously-contact-page-form-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #2a2d30;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.seriously-contact-page-form-subheading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4facb3;
    margin: 0 0 28px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seriously-contact-page-form-subheading i {
    font-size: 0.9rem;
}

/* FORM */
.seriously-contact-page-form {
    width: 100%;
}

.seriously-contact-page-form-group {
    margin-bottom: 20px;
}

.seriously-contact-page-form-group label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2a2d30;
    margin-bottom: 8px;
}

.seriously-contact-page-form-group input,
.seriously-contact-page-form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e4e4e4;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    background: #fcfcfc;
    color: #2a2d30;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.seriously-contact-page-form-group input::placeholder,
.seriously-contact-page-form-group textarea::placeholder {
    color: #aaaaaa;
    font-weight: 400;
}

.seriously-contact-page-form-group input:hover,
.seriously-contact-page-form-group textarea:hover {
    border-color: #cfcfcf;
}

.seriously-contact-page-form-group input:focus,
.seriously-contact-page-form-group textarea:focus {
    outline: none;
    border-color: #4facb3;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 172, 179, 0.12);
}

.seriously-contact-page-form-group textarea {
    resize: none;
    min-height: 150px;
    line-height: 1.6;
}

/* FORM BUTTON */
.seriously-contact-page-form-button {
    width: 100%;
    padding: 17px 32px;
    border: none;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(90deg, #de4854 0%, #c43844 100%);
    color: #ffffff;
    cursor: pointer;
    margin-top: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(222, 72, 84, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seriously-contact-page-form-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.seriously-contact-page-form-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(222, 72, 84, 0.4);
}

.seriously-contact-page-form-button:hover::before {
    left: 100%;
}

.seriously-contact-page-form-button:active {
    transform: translateY(-1px);
}


/* ============================================================
   FORM OVERLAY (Loading State) - light themed
   ============================================================ */

.seriously-form-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.seriously-form-overlay.active {
    display: flex;
}

.seriously-form-spinner {
    text-align: center;
}

.seriously-spinner-circle {
    width: 66px;
    height: 66px;
    margin: 0 auto 26px;
    border: 4px solid #e8e8e8;
    border-top: 4px solid #4facb3;
    border-radius: 50%;
    animation: seriously-spin 0.8s linear infinite;
}

@keyframes seriously-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.seriously-form-spinner p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2a2d30;
    margin: 0;
    letter-spacing: 0.3px;
}


/* ============================================================
   FORM ERROR STYLES - light themed
   ============================================================ */

.seriously-form-error {
    background: rgba(222, 72, 84, 0.06);
    border: 2px solid rgba(222, 72, 84, 0.4);
    color: #2a2d30;
    padding: 18px 22px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-family: 'Space Grotesk', sans-serif;
}

.seriously-form-error strong {
    color: #de4854;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.seriously-form-error ul {
    margin: 0;
    padding-left: 20px;
}

.seriously-form-error li {
    margin: 8px 0;
    color: #555;
    font-size: 0.95rem;
}


/* ============================================================
   SUPPORT PANEL - Contact details
   ============================================================ */

.seriously-contact-page-info-block {
    background: #ffffff;
    padding: 40px 36px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.seriously-contact-page-info-block-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2a2d30;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

/* Contact details list */
.seriously-contact-page-info-block-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.seriously-contact-page-info-block-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.seriously-contact-page-info-block-detail i {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.05rem;
    flex-shrink: 0;
    background: #f4f4f4;
}

.seriously-contact-page-info-block-detail:nth-child(odd) i {
    color: #de4854;
}

.seriously-contact-page-info-block-detail:nth-child(even) i {
    color: #4facb3;
}

.seriously-contact-page-info-block-detail-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    line-height: 1.55;
}

.seriously-contact-page-info-block-detail-text strong {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: #2a2d30;
}

.seriously-contact-page-info-block-detail-text a {
    color: #555;
    text-decoration: none;
    transition: color 0.25s ease;
}

.seriously-contact-page-info-block-detail-text a:hover {
    color: #de4854;
}


/* ============================================================
   REVIEW PILL - light themed, in the support panel
   Populated by /js/review-pills.js
   ============================================================ */

.seriously-contact-page-info-block .seriously-review-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #f4f4f4;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
}

.seriously-contact-page-info-block .seriously-review-pill-logo {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
}

.seriously-contact-page-info-block .seriously-review-pill-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.seriously-contact-page-info-block .seriously-review-pill-stars i {
    color: #ffc107;
    font-size: 0.75rem;
}

.seriously-contact-page-info-block .seriously-review-pill-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #2a2d30;
    letter-spacing: 0.2px;
    white-space: nowrap;
}


/* ============================================================
   MAP SECTION (full-width, below)
   ============================================================ */

.seriously-contact-page-map {
    width: 100%;
    line-height: 0;
}

.seriously-contact-page-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}


/* ============================================================
   TABLET (max-width: 991px)
   ============================================================ */

@media (max-width: 991px) {
    .seriously-contact-page-hero {
        margin-top: 106px;
        padding: 56px 0 64px;
    }
    
    .seriously-contact-page-container {
        padding: 0 32px;
    }
    
    .seriously-contact-page-intro {
        margin-bottom: 40px;
    }
    
    .seriously-contact-page-intro-title {
        font-size: 2.1rem;
    }
    
    .seriously-contact-page-intro-text {
        font-size: 1.05rem;
    }
    
    /* Single column - form first, details below */
    .seriously-contact-page-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .seriously-contact-page-form-wrapper {
        order: 1;
        padding: 36px 32px;
        border-radius: 18px;
    }
    
    .seriously-contact-page-info-block {
        order: 2;
        padding: 36px 32px;
        border-radius: 18px;
    }
    
    .seriously-contact-page-form-heading {
        font-size: 1.5rem;
    }
    
    .seriously-form-overlay {
        border-radius: 18px;
    }
    
    .seriously-contact-page-map iframe {
        height: 400px;
    }
}


/* ============================================================
   MOBILE (max-width: 767px)
   ============================================================ */

@media (max-width: 767px) {
    .seriously-contact-page-hero {
        margin-top: 64px;
        padding: 44px 0 52px;
    }
    
    .seriously-contact-page-container {
        padding: 0 24px;
    }
    
    .seriously-contact-page-intro {
        margin-bottom: 32px;
    }
    
    .seriously-contact-page-intro-title {
        font-size: 1.8rem;
    }
    
    .seriously-contact-page-intro-text {
        font-size: 1rem;
    }
    
    .seriously-contact-page-content {
        gap: 24px;
    }
    
    .seriously-contact-page-form-wrapper {
        padding: 30px 22px;
        border-radius: 16px;
    }
    
    .seriously-contact-page-info-block {
        padding: 30px 24px;
        border-radius: 16px;
    }
    
    .seriously-contact-page-form-heading {
        font-size: 1.35rem;
    }
    
    .seriously-contact-page-form-subheading {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
    
    .seriously-contact-page-form-group {
        margin-bottom: 18px;
    }
    
    .seriously-contact-page-form-group input,
    .seriously-contact-page-form-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .seriously-contact-page-form-group textarea {
        min-height: 130px;
    }
    
    .seriously-contact-page-form-button {
        padding: 16px 24px;
        font-size: 1.05rem;
    }
    
    .seriously-contact-page-form-button:hover {
        transform: none;
    }
    
    .seriously-form-overlay {
        border-radius: 16px;
    }
    
    .seriously-spinner-circle {
        width: 58px;
        height: 58px;
        margin-bottom: 22px;
    }
    
    .seriously-form-spinner p {
        font-size: 1rem;
    }
    
    .seriously-form-error {
        padding: 16px 18px;
    }
    
    .seriously-contact-page-info-block-heading {
        font-size: 1.2rem;
    }
    
    .seriously-contact-page-info-block-details {
        gap: 18px;
        margin-top: 24px;
    }
    
    .seriously-contact-page-info-block-detail i {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .seriously-contact-page-info-block-detail-text {
        font-size: 0.95rem;
    }
    
    .seriously-contact-page-map iframe {
        height: 320px;
    }
}


/* ============================================================
   SMALL MOBILE (max-width: 480px)
   ============================================================ */

@media (max-width: 480px) {
    .seriously-contact-page-hero {
        margin-top: 60px;
        padding: 36px 0 44px;
    }
    
    .seriously-contact-page-container {
        padding: 0 20px;
    }
    
    .seriously-contact-page-intro-title {
        font-size: 1.6rem;
    }
    
    .seriously-contact-page-intro-text {
        font-size: 0.95rem;
    }
    
    .seriously-contact-page-content {
        gap: 20px;
    }
    
    .seriously-contact-page-form-wrapper {
        padding: 26px 18px;
        border-radius: 14px;
    }
    
    .seriously-contact-page-info-block {
        padding: 26px 20px;
        border-radius: 14px;
    }
    
    .seriously-contact-page-form-heading {
        font-size: 1.25rem;
    }
    
    .seriously-contact-page-form-group {
        margin-bottom: 16px;
    }
    
    .seriously-contact-page-form-group input,
    .seriously-contact-page-form-group textarea {
        padding: 13px 14px;
        font-size: 0.9rem;
    }
    
    .seriously-contact-page-form-button {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .seriously-form-overlay {
        border-radius: 14px;
    }
    
    .seriously-spinner-circle {
        width: 54px;
        height: 54px;
    }
    
    .seriously-form-spinner p {
        font-size: 0.95rem;
    }
    
    .seriously-contact-page-info-block-detail i {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .seriously-contact-page-info-block-detail-text {
        font-size: 0.9rem;
    }
    
    .seriously-contact-page-map iframe {
        height: 280px;
    }
}
