/*
Theme Name: Mesa Sky Solutions
Theme URI: http://mesaskysolutions.com
Template: astra
Author: Virginia Estes
Author URI: www.codelovely.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mesaskysolutions
*/

/* =============================================
   ASTRA / LAYOUT OVERRIDES
   ============================================= */

/* Prevent horizontal overflow from shifting the layout */
html, body { overflow-x: hidden; }

/* Strip Astra's container constraints */
.entry-content { padding: 0 !important; }
.ast-container { max-width: 100% !important; padding: 0 !important; }

/* Header bar padding */
.site-header .ast-container,
.site-header .main-header-bar,
.main-header-bar {
    padding-left: 32px !important;
    padding-right: 32px !important;
    max-width: 100% !important;
}

/* Force full-width blocks to truly span the viewport */
.wp-block-group.alignfull {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* =============================================
   GLOBAL TYPOGRAPHY
   ============================================= */

.eyebrow {
    font-size: 16px;
    letter-spacing: 0.12em;
    color: #E8724A;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* =============================================
   HERO SECTION
   ============================================= */

.cover-group {
    display: flex;
    align-items: stretch;
    padding: 0 !important;
    margin-top: 125px !important;
    min-height: 80vh;
}

.hero-columns {
    flex: 1;
    align-items: stretch !important;
    margin: 0;
    padding: 0;
    gap: 0;
}

/* Photo column — image is absolutely positioned to fill column height */
.hero-photo-col {
    padding: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
    position: relative !important;
    overflow: hidden;
}

.hero-photo-col .wp-block-image {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
}

.hero-photo-col .wp-block-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Glassmorphism CTA card (right column) */
.glass-card {
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.05);
    margin-left: 40px;
    margin-right: 40px;
    min-height: 100%;
    box-sizing: border-box;
    padding: 40px 48px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Cancel Gutenberg's auto-centering margins on card children */
.glass-card > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

/* =============================================
   BEFORE / AFTER SLIDER SECTION
   ============================================= */

.before-after-section {
    width: 100%;
    padding: 72px 48px;
    position: relative;
    overflow: hidden;
}

.before-after-section h2 {
    font-size: 32px;
    font-weight: 500;
    color: #F5F5F5;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.before-after-section p:not(.eyebrow) {
    font-size: 16px;
    color: #A0A0A0;
    line-height: 1.6;
    margin-top: 28px;
}

.before-after-section a {
    color: #E8724A !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(232,114,74,0.3) !important;
    padding-bottom: 2px !important;
    transition: border-color 0.2s ease !important;
}

.before-after-section a:hover {
    border-color: #E8724A !important;
}

/* Decorative divider */
.ba-divider {
    border: none !important;
    height: 2px !important;
    background: #2A2A2A !important;
    max-width: 600px !important;
    margin: 24px auto !important;
    position: relative !important;
}

.ba-divider::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #C94E20 !important;
}

/* --- wp-before-after-image-slider plugin --- */

.before-after-section .wp-block-shortcode {
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

.before-after-section .wbas-container {
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(201, 78, 32, 0.25) !important;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6),
                0 8px 24px rgba(0,0,0,0.4) !important;
}

.before-after-section .wbas-handle {
    background: #C94E20 !important;
    border-color: #C94E20 !important;
}

.before-after-section .wbas-label-before,
.before-after-section .wbas-label-after {
    background: rgba(0,0,0,0.5) !important;
    color: #F5F5F5 !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
}

/* --- coca image compare plugin --- */

.coca-image-compare-wrapper,
.shortcode-container {
    max-width: 900px !important;
    margin: 0 auto !important;
}

.coca-image-compare-wrapper {
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(201,78,32,0.25) !important;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6),
                0 8px 24px rgba(0,0,0,0.4) !important;
}

.coca-bais-container {
    max-width: 900px !important;
    height: 500px !important;
}

.coca-bais-image {
    max-width: 900px !important;
    height: 500px !important;
    object-fit: cover !important;
}

.coca-bais-label-before,
.coca-bais-label-after {
    background: rgba(0,0,0,0.6) !important;
    color: #F5F5F5 !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    padding: 5px 12px !important;
    border: none !important;
}

.coca-image-compare-handle {
    background: #C94E20 !important;
    border-color: #C94E20 !important;
}

.coca-image-compare-handle::before,
.coca-image-compare-handle::after {
    background: #C94E20 !important;
}

.coca-image-compare-before-label::before,
.coca-image-compare-after-label::before {
    background: rgba(201, 78, 32, 0.7) !important;
    color: #F5F5F5 !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    padding: 5px 12px !important;
}

/* =============================================
   SERVICES SECTION
   ============================================= */

.services-cards .wp-block-column {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 1s ease, box-shadow 0.5s ease;
}

.services-cards .wp-block-column.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.services-cards .wp-block-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* =============================================
   WHY US SECTION
   ============================================= */

.diff-grid { gap: 20px; }

.diff-card {
    background: #1F1F1F;
    border-radius: 10px;
    padding: 24px 20px;
    height: 100%;
    margin: 8px;
    display: grid;
    grid-template-rows: auto auto 1fr;
    align-items: start;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.diff-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.diff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.diff-icon {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: rgba(201, 78, 32, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-section {
    padding: 64px 48px !important;
}

.contact-section h2 {
    font-size: 38px !important;
    font-weight: 500;
    color: #F5F5F5;
    letter-spacing: -0.01em;
    margin-bottom: 16px !important;
    line-height: 1.15 !important;
}

.contact-section .eyebrow {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #FFFFFF !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 16px !important;
}

.contact-section ul {
    list-style: none !important;
}

.contact-section ul li {
    list-style-type: none !important;
    font-size: 16px !important;
    color: rgba(255,255,255,0.8) !important;
}

.contact-section .contact-subtext {
    font-size: 16px !important;
    color: rgba(255,255,255,0.8) !important;
    line-height: 1.65 !important;
    margin-bottom: 32px !important;
}

/* Divider between subtext and phone block */
.contact-divider {
    position: relative !important;
    border: none !important;
    background: rgba(255,255,255,0.35) !important;
    height: 1px !important;
    margin-bottom: 28px !important;
}

.contact-divider::before {
    display: none !important;
}

.contact-divider::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 3px !important;
    background: rgba(255,255,255,0.8) !important;
}

/* Heritage bar */
.heritage-bar {
    background: rgba(201, 78, 32, 0.08);
    border-left: 3px solid #C94E20;
    padding: 16px 20px;
    margin-bottom: 24px;
}

/* Phone block */
.phone-block p:first-child {
    font-size: 16px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.55) !important;
    margin-bottom: 6px !important;
}

.phone-block p:last-child {
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #F5F5F5 !important;
    margin-bottom: 28px !important;
    letter-spacing: -0.01em !important;
}

.phone-block a {
    color: #F5F5F5;
    text-decoration: none;
}

/* Trust bullets */
.trust-row {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-row li {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-row li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    margin-right: 10px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Form panel */
.form-panel {
    background: rgba(0,0,0,0.18) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;
    padding: 24px 24px !important;
}

.form-panel .wpforms-title,
.form-panel-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #F5F5F5 !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    letter-spacing: -0.01em !important;
}

/* Form labels */
.contact-section .wpforms-field-label {
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.65) !important;
    margin-bottom: 6px !important;
}

/* Sub-labels */
.contact-section .wpforms-field-sublabel {
    font-size: 13px !important;
    color: rgba(255,255,255,0.5) !important;
    margin-top: 4px !important;
}

/* Input fields */
.contact-section .wpforms-field input,
.contact-section .wpforms-field textarea,
.contact-section .wpforms-field select {
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 6px !important;
    color: #F5F5F5 !important;
    font-size: 16px !important;
    padding: 11px 14px !important;
    width: 100% !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
}

/* Field spacing */
.contact-section .wpforms-field {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

/* Textarea height */
.contact-section .wpforms-field textarea {
    min-height: 60px !important;
    height: 60px !important;
    max-height: 60px !important;
    overflow: hidden !important;
    resize: none !important;
}

/* Name fields side by side */
.contact-section .wpforms-field-name .wpforms-field-row {
    display: flex !important;
    gap: 12px !important;
}

.contact-section .wpforms-field-name .wpforms-field-row .wpforms-field-row-block {
    flex: 1 !important;
    width: 50% !important;
}

/* Focus state */
.contact-section .wpforms-field input:focus,
.contact-section .wpforms-field textarea:focus {
    border-color: rgba(255,255,255,0.4) !important;
    outline: none !important;
    background: rgba(255,255,255,0.16) !important;
}

/* Placeholder */
.contact-section .wpforms-field input::placeholder,
.contact-section .wpforms-field textarea::placeholder {
    color: rgba(255,255,255,0.35) !important;
}

/* Submit button */
.contact-section .wpforms-submit {
    background: rgba(0,0,0,0.35) !important;
    color: #F5F5F5 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 6px !important;
    padding: 13px 32px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    display: inline-block !important;
    width: auto !important;
    min-width: unset !important;
    cursor: pointer !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.contact-section .wpforms-submit:hover {
    background: rgba(0,0,0,0.5) !important;
    transform: translateY(-2px) !important;
}

.contact-section .wpforms-submit-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    margin-top: 10px !important;
    text-align: left !important;
}

.contact-section .wpforms-field-submit {
    text-align: left !important;
}

.contact-text-col {
    padding: 48px !important;
    box-sizing: border-box !important;
}

.contact-form-col {
    padding: 48px !important;
    box-sizing: border-box !important;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
    background: #120E0A;
}

.site-footer .widget,
.site-footer .widget-area,
.footer-widget-area .widget,
.ast-footer-widget-area .widget {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Astra site identity spacing */
.site-footer .ast-site-identity {
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
}

.site-footer .ast-site-identity + *,
.site-footer .ast-site-identity ~ p {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Left align tagline */
.ast-footer-html-1 p,
.ast-footer-html-1 div {
    text-align: left !important;
}

/* Tighten contact column spacing */
.ast-footer-html-2 p,
.ast-footer-html-2 div,
.ast-footer-html-2 span {
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}

/* Footer grid */
.site-footer .footer-widget-area {
    padding: 56px 48px 48px !important;
    border-bottom: 1px solid #1F1F1F !important;
}

/* Widget titles */
.site-footer .widget-title {
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #E8724A !important;
    margin-bottom: 20px !important;
    font-weight: 500 !important;
}

/* Nav links */
.site-footer .widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.site-footer .widget ul li a {
    font-size: 14px !important;
    color: #A0A0A0 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.site-footer .widget ul li a:hover {
    color: #F5F5F5 !important;
}

/* First widget: logo column layout */
.site-footer .footer-widget-area .widget:first-child {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.site-footer .footer-widget-area .widget:first-child img {
    margin-bottom: 12px !important;
}

.site-footer .footer-widget-area .widget:first-child p {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

/* Footer paragraph and span text */
.site-footer .widget p,
.site-footer .widget span {
    font-size: 13px !important;
    color: #A0A0A0 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}

/* Social icons */
.site-footer .ast-social-icon-wrap {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-top: 4px !important;
}

.site-footer .ast-social-icon-wrap a {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    background: #1F1F1F !important;
    border: 0.5px solid #2A2A2A !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: border-color 0.2s ease !important;
}

.site-footer .ast-social-icon-wrap a:hover {
    border-color: #E8724A !important;
}

.site-footer .ast-social-icon-wrap a svg {
    width: 15px !important;
    height: 15px !important;
    fill: #A0A0A0 !important;
    transition: fill 0.2s ease !important;
}

.site-footer .ast-social-icon-wrap a:hover svg {
    fill: #E8724A !important;
}

/* Get a Free Estimate button */
.footer-estimate-btn {
    display: inline-block !important;
    width: auto !important;
    background: #C94E20 !important;
    color: #F5F5F5 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 11px 20px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    letter-spacing: 0.02em !important;
    margin-top: 4px !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.footer-estimate-btn:hover {
    background: #E8724A !important;
    transform: translateY(-2px) !important;
}

/* Bottom bar */
.ast-small-footer {
    background: #0A0806 !important;
    border-top: 1px solid #1F1F1F !important;
    padding: 16px 48px !important;
}

.ast-small-footer .ast-footer-copyright {
    color: #5A5A5A !important;
    font-size: 12px !important;
}

.footer-widget-area.widget-area.footer-widget-area-inner {
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    padding: 0 !important;
}

.site-footer-above-section-1 .footer-widget-area-inner,
.site-footer-above-section-2 .footer-widget-area-inner,
.site-footer-above-section-3 .footer-widget-area-inner {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.site-footer-above-section-1 .footer-widget-area-inner > *,
.site-footer-above-section-1 .widget {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-footer-above-section-1 img {
    display: block !important;
    margin-bottom: 12px !important;
    max-width: 160px !important;
}

.site-footer-above-section-1 .ast-footer-html-2 p {
    margin-top: 0 !important;
    font-size: 13px !important;
    color: #A0A0A0 !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

.site-footer-above-section-1 .ast-social-icon-wrap {
    margin-top: 16px !important;
}

/* Contact column spacing */
.site-footer-above-section-3 p,
.site-footer-above-section-3 span,
.site-footer-above-section-3 a {
    display: block !important;
    margin-bottom: 6px !important;
    margin-top: 0 !important;
    line-height: 1.4 !important;
    font-size: 14px !important;
    color: #A0A0A0 !important;
    text-decoration: none !important;
}

/* Footer widget area padding */
.site-above-footer-wrap .ast-builder-grid-row-container-inner {
    padding-top: 56px !important;
    padding-bottom: 48px !important;
    padding-left: 48px !important;
    padding-right: 48px !important;
}

/* Social icon tiles — rendered element targeting */
.site-footer .ast-social-icons-list li a,
.site-footer .ast-social-icon-wrap li a {
    width: 34px !important;
    height: 34px !important;
    background: #1F1F1F !important;
    border: 0.5px solid #2A2A2A !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

.site-footer .ast-social-icons-list li a:hover,
.site-footer .ast-social-icon-wrap li a:hover {
    border-color: #E8724A !important;
}

.site-footer .ast-social-icons-list li a svg,
.site-footer .ast-social-icon-wrap li a svg {
    width: 16px !important;
    height: 16px !important;
    fill: #A0A0A0 !important;
    transition: fill 0.2s ease !important;
}

.site-footer .ast-social-icons-list li a:hover svg,
.site-footer .ast-social-icon-wrap li a:hover svg {
    fill: #E8724A !important;
}

/* Social icons via data-section */
[data-section="section-fb-social-icons-1"] {
    margin-top: 16px !important;
    padding-top: 0 !important;
}

[data-section="section-fb-social-icons-1"] a {
    width: 34px !important;
    height: 34px !important;
    background: #1F1F1F !important;
    border: 0.5px solid #2A2A2A !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    margin-right: 6px !important;
    transition: border-color 0.2s ease !important;
}

[data-section="section-fb-social-icons-1"] a:hover {
    border-color: #E8724A !important;
}

[data-section="section-fb-social-icons-1"] a svg {
    width: 16px !important;
    height: 16px !important;
    fill: #A0A0A0 !important;
    transition: fill 0.2s ease !important;
}

[data-section="section-fb-social-icons-1"] a:hover svg {
    fill: #E8724A !important;
}

.site-above-footer-wrap {
    padding-bottom: 0 !important;
}

.ast-builder-grid-row {
    align-items: start !important;
}

.ast-builder-grid-row-container {
    background: transparent !important;
}

.ast-footer-html-1,
.ast-footer-html-2,
.ast-footer-html-3 {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.site-footer-focus-item {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

div.ast-footer-html-1,
div.ast-footer-html-2 {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

div.footer-widget-area.site-footer-focus-item {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* =============================================
   MEDIA QUERIES
   ============================================= */

@media (max-width: 781px) {
    .glass-card {
        margin-left: 16px;
        margin-right: 16px;
        margin-bottom: 40px;
        padding: 32px 28px !important;
    }

    .hero-photo-col {
        min-height: 280px;
    }

    .about-section .wp-block-columns .wp-block-column:first-child {
        padding: 32px 24px !important;
    }

    .about-text-col {
        padding: 32px 24px !important;
    }

    /* Fix headshot column — remove left offset and ensure full width */
    .about-section .wp-block-column:last-child {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    /* Headshot image fills full width on mobile, taller with top crop */
    .about-section .wp-block-column:last-child img {
        width: 100% !important;
        height: 500px !important;
        object-fit: cover !important;
        object-position: top center !important;
        display: block !important;
        max-height: none !important;
    }

    .about-section .wp-block-columns {
        gap: 0 !important;
    }

    /* Contact section left column needs breathing room on mobile */
    .contact-section .wp-block-columns > .wp-block-column:first-child {
        padding: 0 24px 32px !important;
        margin: 0 !important;
    }

    .contact-section {
        padding: 48px 24px !important;
    }

    .contact-section h2 {
        font-size: 28px !important;
    }

    .contact-section .wpforms-submit-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .contact-text-col {
        padding: 32px 24px 24px !important;
    }

    .contact-form-col {
        padding: 0 24px 48px !important;
    }
}

@media (max-width: 768px) {
    .before-after-section {
        padding: 48px 20px;
    }

    .contact-section .eyebrow {
        font-size: 13px;
    }

    .phone-block p:last-child {
        font-size: 22px;
    }

    .form-panel {
        padding: 24px 20px !important;
    }

    .site-footer .footer-widget-area {
        padding: 40px 24px 32px !important;
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .ast-small-footer {
        padding: 16px 24px !important;
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
}

/* =============================================
   LOGO GEOMETRY — DIAMOND BACKGROUND ELEMENTS
   ============================================= */

/* Shared diamond SVG positioning */
.hero-diamond-1,
.hero-diamond-2,
.services-diamond-1,
.services-diamond-2,
.about-diamond,
.diff-diamond,
.contact-diamond-1,
.contact-diamond-2,
.ba-diamond-1,
.ba-diamond-2 {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* Make sure all sections that use diamonds are position: relative */
.cover-group,
.before-after-section,
.services-section,
.about-section,
.diff-section,
.contact-section {
    position: relative;
    overflow: hidden;
}

/* Make sure content inside sections sits above diamonds */
.cover-group > *,
.before-after-section > *,
.services-section > *,
.about-section > *,
.diff-section > *,
.contact-section > * {
    position: relative;
    z-index: 1;
}

/* Hero — large diamond top right, small bottom left */
.hero-diamond-1 {
    top: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    opacity: 0.08;
}

.hero-diamond-2 {
    bottom: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    opacity: 0.06;
}

/* Services — left edge + right edge */
.services-diamond-1 {
    left: -60px;
    top: -60px;
    width: 300px;
    height: 300px;
    opacity: 0.07;
}

.services-diamond-2 {
    right: -60px;
    top: -40px;
    width: 200px;
    height: 200px;
    opacity: 0.05;
}

/* About — bottom right */
.about-diamond {
    bottom: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    opacity: 0.07;
}

.about-section .wp-block-columns .wp-block-column:first-child {
    padding: 48px 44px !important;
}

.about-text-col {
    padding: 48px 44px !important;
}

/* Differentiators — top left */
.diff-diamond {
    top: -40px;
    left: -40px;
    width: 280px;
    height: 280px;
    opacity: 0.07;
}

/* Contact — bottom right + top left (white on orange) */
.contact-diamond-1 {
    bottom: -50px;
    right: -50px;
    width: 320px;
    height: 320px;
    opacity: 0.12;
}

.contact-diamond-2 {
    top: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    opacity: 0.10;
}

/* Before/After slider */
.ba-diamond-1 {
    bottom: -60px;
    left: -60px;
    width: 320px;
    height: 320px;
    opacity: 0.07;
}

.ba-diamond-2 {
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    opacity: 0.05;
}

/* =============================================
   MOBILE STICKY CTA BAR
   ============================================= */

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #141414;
    border-top: 1px solid #2A2A2A;
    padding: 12px 20px;
    z-index: 9999;
    gap: 10px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

.sticky-call-btn {
    flex: 1;
    text-align: center;
    padding: 13px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: transparent;
    border: 1.5px solid #C94E20;
    color: #E8724A;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.sticky-call-btn:hover {
    background: rgba(201,78,32,0.12);
    color: #F5F5F5;
}

.sticky-call-btn i {
    font-size: 16px;
}

.sticky-estimate-btn {
    flex: 1;
    text-align: center;
    padding: 13px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: #C94E20;
    color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sticky-estimate-btn:hover {
    background: #E8724A;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }

    /* Add bottom padding to page so sticky bar doesn't cover content */
    body {
        padding-bottom: 80px;
    }
}

/* =============================================
   INTERACTIONS & POLISH
   ============================================= */

/* Nav link hover underline animation */
.main-header-menu .menu-item > a {
    position: relative;
}

.main-header-menu .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C94E20;
    transition: width 0.25s ease;
}

.main-header-menu .menu-item > a:hover::after {
    width: 100%;
}

/* Button hover lift */
.wp-block-button__link {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.wp-block-button__link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(201, 78, 32, 0.35) !important;
}

/* Page load fade-in */
body {
    animation: pageFadeIn 0.4s ease;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll-to-top button */
#scroll-to-top {
    background: #C94E20 !important;
    border-radius: 6px !important;
    width: 36px !important;
    height: 36px !important;
    bottom: 90px !important;
    right: 24px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

#scroll-to-top:hover {
    background: #E8724A !important;
    transform: translateY(-2px) !important;
}

#scroll-to-top svg,
#scroll-to-top path {
    stroke: #F5F5F5 !important;
    fill: none !important;
}
