/**
 * Seaplast Contact Us Page Drag & Drop Sections CSS
 * Styles for Contact Hero, Form & Info Grid, Interactive Location Map, & Why Connect With Seaplast Bar
 *
 * @package Seaplast
 */

/* -------------------------------------------------------------
 * COMMON CONTACT CONTAINER & TYPOGRAPHY
 * ------------------------------------------------------------- */
.sp-contact-section {
    width: 100%;
    padding: 50px 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1a2533;
}

.sp-contact-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.sp-contact-kicker {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00768C;
    margin-bottom: 8px;
    display: block;
}

/* -------------------------------------------------------------
 * 1. CONTACT HERO WIDGET
 * ------------------------------------------------------------- */
.sp-contact-hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .sp-contact-hero-wrapper {
        grid-template-columns: 1fr;
    }
}

.sp-contact-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0c1e35;
    margin: 0 0 16px 0;
}

.sp-contact-hero-title span.text-teal {
    color: #00768C;
}

.sp-contact-hero-sub {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 520px;
}

.sp-contact-badges-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.sp-contact-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.sp-contact-badge-item svg {
    color: #00768C;
}

.sp-contact-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-contact-hero-visual img {
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
}

/* -------------------------------------------------------------
 * 2. CONTACT FORM & INFO GRID WIDGET
 * ------------------------------------------------------------- */
.sp-contact-form-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

@media (max-width: 991px) {
    .sp-contact-form-info-grid {
        grid-template-columns: 1fr;
    }
}

.sp-contact-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #eef2f6;
    box-shadow: 0 6px 24px rgba(0,0,0,0.03);
}

.sp-contact-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #00768C;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
}

.sp-contact-card-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: #00768C;
    border-radius: 2px;
    margin-top: 6px;
}

.sp-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 576px) {
    .sp-form-row-2col {
        grid-template-columns: 1fr;
    }
}

.sp-form-group {
    margin-bottom: 16px;
}

.sp-input-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sp-input-control:focus {
    border-color: #00768C;
    background: #ffffff;
}

textarea.sp-input-control {
    min-height: 120px;
    resize: vertical;
}

.sp-recaptcha-box {
    margin-bottom: 20px;
}

/* Contact Info Column */
.sp-contact-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #eef2f6;
    box-shadow: 0 6px 24px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sp-contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
}

.sp-contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sp-contact-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #00768C;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-contact-info-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #00768C;
    margin: 0 0 4px 0;
}

.sp-contact-info-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0c1e35;
    margin-bottom: 4px;
}

.sp-contact-info-sub {
    font-size: 0.82rem;
    color: #64748b;
}

.sp-link-directions {
    color: #00768C;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.sp-link-directions:hover {
    color: #005a6b;
}

/* -------------------------------------------------------------
 * 3. OUR LOCATION MAP SECTION WIDGET
 * ------------------------------------------------------------- */
.sp-location-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: center;
}

@media (max-width: 850px) {
    .sp-location-card {
        grid-template-columns: 1fr;
    }
}

.sp-location-address-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.sp-location-brand h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0c1e35;
    margin: 0 0 8px 0;
}

.sp-location-address-box p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.sp-location-map-box {
    border-radius: 12px;
    overflow: hidden;
    height: 260px;
    border: 1px solid #cbd5e1;
}

.sp-location-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* -------------------------------------------------------------
 * 4. WHY CONNECT WITH SEAPLAST WIDGET
 * ------------------------------------------------------------- */
.sp-why-connect-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #eef2f6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}

.sp-why-connect-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0c1e35;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.sp-why-connect-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .sp-why-connect-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .sp-why-connect-grid {
        grid-template-columns: 1fr;
    }
}

.sp-why-connect-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sp-why-connect-icon {
    width: 40px;
    height: 40px;
    color: #00768C;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-why-connect-info h4 {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0c1e35;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.sp-why-connect-info p {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}
