/**
 * Professional Redesigned 4-Column Footer Styles
 * Poquoson Tree & Crane Service (poquosontree.com)
 * 
 * Side-by-Side Right-Area Layout:
 * - Column 1: Company Branding & Social
 * - Column 2: Quick Links
 * - Column 3: OUR SERVICES AREA (Left side of right area)
 * - Column 4: CONTACT US (Right side, next to Our Services Area)
 * - Dark navy / charcoal background (#111722 -> #070a0e)
 * - Crimson red accents & thin vertical separators
 * - Decorative tree silhouettes overlay & curved red accent border
 * - High-contrast white typography
 * - Fully responsive across desktop, tablet, and mobile
 */

/* ==========================================================================
   Root & Container Layout
   ========================================================================== */
.site-footer.poquoson-pro-footer {
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.poquoson-footer-wrapper {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #111722 0%, #0c1017 40%, #070a0e 100%);
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    border-top: 4px solid #c8102e;
    box-shadow: 0 -8px 25px rgba(200, 16, 46, 0.15);
    overflow: hidden;
}

/* Decorative Tree Silhouettes Background Overlay at Bottom */
.poquoson-footer-trees-overlay {
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
    opacity: 0.10;
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: 600px 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120'%3E%3Cpath fill='%23ffffff' d='M50,120 L50,90 L25,90 L45,65 L32,65 L50,42 L42,42 L55,20 L68,42 L60,42 L78,65 L65,65 L85,90 L60,90 L60,120 Z M180,120 L180,85 L155,85 L175,60 L162,60 L180,38 L172,38 L185,16 L198,38 L190,38 L208,60 L195,60 L215,85 L190,85 L190,120 Z M320,120 L320,90 L295,90 L315,65 L302,65 L320,42 L312,42 L325,20 L338,42 L330,42 L348,65 L335,65 L355,90 L330,90 L330,120 Z M460,120 L460,85 L435,85 L455,60 L442,60 L460,38 L452,38 L465,16 L478,38 L470,38 L488,60 L475,60 L495,85 L470,85 L470,120 Z'/%3E%3C/svg%3E");
    z-index: 1;
}

.poquoson-footer-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 65px 32px 42px;
    z-index: 2;
}

/* ==========================================================================
   4-Column Balanced Desktop Grid & Dividers
   ========================================================================== */
.poquoson-footer-grid,
.poquoson-footer-grid.poquoson-grid-4cols {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.05fr 1.25fr;
    gap: 46px;
    align-items: start;
}

.poquoson-col {
    position: relative;
    min-width: 0;
}

/* Thin Vertical Separators between 4 columns (Desktop) */
.poquoson-grid-4cols .poquoson-col:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 20px;
    right: -23px;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(200, 16, 46, 0.35) 50%, rgba(255, 255, 255, 0.05) 100%);
}

/* Section Headings */
.poquoson-col-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 22px 0;
    padding-bottom: 12px;
    position: relative;
    font-family: inherit;
    line-height: 1.3;
}

.poquoson-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    background: #c8102e;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(200, 16, 46, 0.5);
}

/* ==========================================================================
   COLUMN 1: Company Branding & Social
   ========================================================================== */
.poquoson-brand-logo-wrap {
    display: inline-block;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poquoson-brand-logo-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.3);
}

.poquoson-brand-logo-link {
    display: block;
}

.poquoson-logo-img {
    display: block;
    max-width: 155px;
    height: auto;
    object-fit: contain;
}

.poquoson-company-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 10px 0;
}

.poquoson-brand-desc {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 22px 0;
}

.poquoson-social-section {
    margin-top: 16px;
}

.poquoson-social-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.poquoson-social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.poquoson-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.poquoson-btn-facebook {
    background: #1877F2;
}

.poquoson-btn-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.poquoson-social-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 8px 22px rgba(200, 16, 46, 0.45);
    color: #ffffff;
}

.poquoson-social-svg {
    width: 26px;
    height: 26px;
    transition: transform 0.2s ease;
}

.poquoson-social-btn:hover .poquoson-social-svg {
    transform: scale(1.1);
}

/* ==========================================================================
   COLUMN 2: Quick Links
   ========================================================================== */
.poquoson-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.poquoson-link-item {
    margin-bottom: 10px;
    line-height: 1.35;
}

.poquoson-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    padding: 2px 0;
}

.poquoson-arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c8102e;
    transition: transform 0.25s ease, color 0.25s ease;
}

.poquoson-nav-link:hover {
    color: #ffffff;
    transform: translateX(4px);
    text-decoration: none;
}

.poquoson-nav-link:hover .poquoson-arrow-icon {
    color: #ef4444;
    transform: translateX(3px);
}

/* ==========================================================================
   COLUMN 3: OUR SERVICES AREA (Left side of right area)
   ========================================================================== */
.poquoson-col-services .poquoson-serving-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(200, 16, 46, 0.15);
    border: 1px solid rgba(200, 16, 46, 0.35);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.poquoson-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8102e;
    box-shadow: 0 0 8px #c8102e;
}

.poquoson-badge-text {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #fca5a5;
}

.poquoson-areas-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.poquoson-area-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #cbd5e1;
    font-size: 14px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.poquoson-area-item:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.poquoson-pin-icon {
    color: #c8102e;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* ==========================================================================
   COLUMN 4: CONTACT US (Right side, next to Our Services Area)
   ========================================================================== */
.poquoson-col-contact .poquoson-contact-items {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 22px;
}

.poquoson-contact-entry {
    display: flex;
    align-items: center;
    gap: 12px;
}

.poquoson-entry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.2);
    border: 1px solid rgba(200, 16, 46, 0.4);
    color: #f87171;
    flex-shrink: 0;
}

.poquoson-entry-details {
    display: flex;
    flex-direction: column;
}

.poquoson-entry-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.poquoson-entry-link {
    color: #f1f5f9;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.poquoson-phone-link {
    font-size: 16px;
    color: #ffffff;
}

.poquoson-entry-link:hover {
    color: #ef4444;
    text-decoration: none;
}

/* Prominent Red Estimate Button */
.poquoson-cta-wrap {
    margin-top: 4px;
}

.poquoson-estimate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #c8102e 0%, #990011 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
}

.poquoson-estimate-btn:hover {
    background: linear-gradient(135deg, #e01e37 0%, #b3001b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.6);
    color: #ffffff !important;
    text-decoration: none;
}

/* ==========================================================================
   Curved Red Border & Copyright Section
   ========================================================================== */
.poquoson-footer-accent-wave {
    position: relative;
    width: 100%;
    height: 28px;
    overflow: hidden;
    line-height: 0;
    margin-top: 20px;
    z-index: 2;
}

.poquoson-wave-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.poquoson-footer-bottom {
    background: #06080b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 22px 20px;
}

.poquoson-copyright-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.poquoson-decor-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200, 16, 46, 0.35) 50%, transparent 100%);
}

.poquoson-copyright-text {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* 1. Large Screen / Desktop (min-width: 1440px) */
@media (min-width: 1440px) {
    .poquoson-footer-container {
        max-width: 1380px;
        padding: 75px 40px 48px;
    }
    .poquoson-footer-grid.poquoson-grid-4cols {
        grid-template-columns: 1.35fr 0.95fr 1.05fr 1.3fr;
        gap: 52px;
    }
    .poquoson-grid-4cols .poquoson-col:not(:last-child)::after {
        right: -26px;
    }
}

/* 2. Tablet Landscape / Small Desktop (1024px to 1279px) */
@media (max-width: 1279px) and (min-width: 1024px) {
    .poquoson-footer-grid.poquoson-grid-4cols {
        grid-template-columns: 1.25fr 0.85fr 0.95fr 1.2fr;
        gap: 30px;
    }
    .poquoson-grid-4cols .poquoson-col:not(:last-child)::after {
        right: -15px;
    }
}

/* 3. Tablet Portrait (768px to 1023px) — 2x2 Grid with Services & Contact side by side */
@media (max-width: 1023px) and (min-width: 768px) {
    .poquoson-footer-grid.poquoson-grid-4cols {
        grid-template-columns: 1fr 1fr;
        gap: 40px 36px;
    }
    /* Row 1: Col 1 & Col 2; Row 2: Col 3 & Col 4 */
    .poquoson-grid-4cols .poquoson-col:nth-child(3),
    .poquoson-grid-4cols .poquoson-col:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 30px;
    }
    .poquoson-grid-4cols .poquoson-col:nth-child(1)::after,
    .poquoson-grid-4cols .poquoson-col:nth-child(3)::after {
        right: -18px;
        display: block;
    }
    .poquoson-grid-4cols .poquoson-col:nth-child(2)::after,
    .poquoson-grid-4cols .poquoson-col:nth-child(4)::after {
        display: none;
    }
    .poquoson-copyright-text {
        white-space: normal;
    }
}

/* 4. Mobile Devices (up to 767px) — Clean Vertical Stack */
@media (max-width: 767px) {
    .poquoson-footer-container {
        padding: 45px 20px 28px;
    }
    .poquoson-footer-grid.poquoson-grid-4cols {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .poquoson-col::after {
        display: none !important;
    }
    .poquoson-col:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 28px;
    }
    .poquoson-col-branding {
        text-align: center;
    }
    .poquoson-brand-logo-wrap {
        margin: 0 auto 16px;
    }
    .poquoson-social-icons {
        justify-content: center;
    }
    .poquoson-estimate-btn {
        max-width: 100%;
    }
    .poquoson-copyright-container {
        flex-direction: column;
        gap: 12px;
    }
    .poquoson-decor-line {
        width: 60%;
        flex: none;
    }
    .poquoson-copyright-text {
        white-space: normal;
        font-size: 12px;
        line-height: 1.6;
    }
}
