/*
Theme Name: ENELAN Micro
Theme URI: https://enelan.de
Author: ENELAN
Description: Minimal custom theme for ENELAN GmbH — no parent, full control.
Version: 1.0
*/

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #0F172A;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: #0F172A;
    font-weight: 700;
    line-height: 1.25;
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }

a { color: #54B435; text-decoration: none; }
a:hover { color: #3D8028; }

img { max-width: 100%; height: auto; }

/* Gutenberg align support */
html, body { overflow-x: hidden; max-width: 100%; }
.entry-content { width: 100%; }

/* Homepage: NO max-width constraint — blocks manage their own widths */
body.home .entry-content > * {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Subpages: constrain content width */
body:not(.home) .entry-content > * {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
body:not(.home) .entry-content > .alignwide { max-width: 1280px; }
body:not(.home) .entry-content > .alignfull,
body:not(.home) .entry-content > .wp-block-cover.alignfull,
body:not(.home) .entry-content > .wp-block-group.alignfull,
body:not(.home) .entry-content > .wp-block-uagb-container.alignfull {
    max-width: 100vw !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Inner content of alignfull blocks stays readable width */
.entry-content .alignfull .wp-block-cover__inner-container,
.entry-content .alignfull > .wp-block-group__inner-container,
.entry-content .alignfull .uagb-container-inner-blocks-wrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   HEADER — fixed, transparent → dark on scroll
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    padding: 14px 0;
}
body.is-scrolled .site-header {
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}
/* Pages without a dark hero → always dark header */
body.has-light-header .site-header {
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

.site-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo a { display: block; }
.site-logo img {
    max-width: 150px;
    max-height: 48px;
    width: auto;
    height: auto;
    display: block;
}

/* Primary navigation */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav a {
    display: inline-block;
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    color: #54B435;
    background: rgba(84, 180, 53, 0.08);
}

/* Dropdown submenu (Leistungen → subpages) */
.primary-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 12px 12px;
    padding: 8px 0;
    min-width: 240px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    list-style: none;
    margin: 0;
    z-index: 10000;
}
.primary-nav li { position: relative; }
.primary-nav li:hover > .sub-menu { display: block; }
.primary-nav .sub-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: none;
    border-radius: 0;
    white-space: nowrap;
}
.primary-nav .sub-menu a:hover {
    color: #54B435;
    background: rgba(84, 180, 53, 0.1);
}

/* Header social icons */
.header-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}
.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: all 0.2s ease;
}
.header-social a:hover {
    background: #54B435;
    transform: translateY(-2px);
}
.header-social svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px;
    max-height: 16px;
    fill: currentColor;
    display: block;
}

/* Mobile toggle + drawer + overlay — hidden on desktop by default */
.mobile-drawer,
.mobile-overlay {
    display: none !important;
}
.mobile-toggle {
    display: none !important;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: #ffffff;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}
.mobile-toggle svg { width: 28px; height: 28px; fill: currentColor; display: block; }
.mobile-toggle .icon-close { display: none; }
body.menu-open .mobile-toggle .icon-menu { display: none; }
body.menu-open .mobile-toggle .icon-close { display: block; }

/* ============================================
   MOBILE NAV
   ============================================ */

@media (max-width: 920px) {
    .primary-nav, .header-social { display: none !important; }
    .mobile-toggle { display: inline-flex !important; }
    .mobile-drawer { display: block !important; }
    .mobile-overlay { display: block !important; }
    .site-header { padding: 10px 0; }
    .site-header__inner { padding: 0 16px; }
    .site-logo img { max-width: 120px; max-height: 40px; }

    /* Mobile drawer */
    .mobile-drawer {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85vw, 340px);
        height: 100vh;
        background: #0F172A;
        z-index: 10000;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        padding: 80px 0 30px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }
    body.menu-open .mobile-drawer { right: 0; }

    .mobile-drawer ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mobile-drawer a {
        display: block;
        color: #ffffff;
        font-size: 17px;
        font-weight: 500;
        padding: 16px 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-decoration: none;
    }
    .mobile-drawer a:hover,
    .mobile-drawer .current-menu-item > a,
    .mobile-drawer .current_page_item > a {
        color: #54B435;
        background: rgba(84, 180, 53, 0.08);
    }
    .mobile-drawer .mobile-social {
        display: flex;
        gap: 10px;
        padding: 28px;
        justify-content: center;
    }
    .mobile-drawer .mobile-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }
    .mobile-drawer .mobile-social svg {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px;
        max-height: 20px;
        fill: currentColor;
        display: block;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.65);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    body.menu-open .mobile-overlay {
        opacity: 1;
        visibility: visible;
    }
    body.menu-open { overflow: hidden; }
}

/* ============================================
   BODY OFFSET — only pages WITHOUT a dark hero need space
   (home + subpages with wp:cover hero extend under the header)
   ============================================ */

body.has-light-header #content {
    padding-top: 64px;
}
@media (max-width: 920px) {
    body.has-light-header #content {
        padding-top: 58px;
    }
}

/* ============================================
   BUTTONS — unified
   ============================================ */

.wp-block-button__link,
.wp-block-buttons .wp-block-button__link,
.entry-content .wp-block-button__link,
input[type="submit"],
button[type="submit"],
.button,
.ff-btn-submit,
.fluentform .ff-btn,
.wp-block-uagb-buttons-child a.uagb-button__link,
.uagb-infobox-cta-link.wp-block-button__link {
    background: #54B435 !important;
    background-image: none !important;
    border: 2px solid #54B435 !important;
    border-radius: 100px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(84, 180, 53, 0.25) !important;
    display: inline-block;
    cursor: pointer;
}
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.button:hover,
.ff-btn-submit:hover,
.fluentform .ff-btn:hover,
.wp-block-uagb-buttons-child a.uagb-button__link:hover {
    background: #3D8028 !important;
    border-color: #3D8028 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(84, 180, 53, 0.4) !important;
}

/* Content links */
.entry-content a:not(.wp-block-button__link):not(.uagb-button__link):not(.uagb-infobox-cta-link):not([href^="tel:"]):not([href^="mailto:"]) {
    color: #54B435;
}
.entry-content a:hover { color: #3D8028; }

/* Contact page: tel/mailto as plain text */
body.page-id-1115 a[href^="tel:"],
body.page-id-1115 a[href^="mailto:"] {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.enelan-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .enelan-services-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .enelan-services-grid { grid-template-columns: repeat(2, 1fr); }
}
.enelan-service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 28px 32px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
    isolation: isolate;
}
.enelan-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #54B435 0%, #3D8028 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.enelan-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(84, 180, 53, 0.18), 0 10px 20px rgba(15, 23, 42, 0.08);
    border-color: rgba(84, 180, 53, 0.3);
}
.enelan-service-card:hover::before { transform: scaleX(1); }
.enelan-service-card .enelan-service-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #54B435 0%, #3D8028 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.enelan-service-card .enelan-service-icon svg {
    width: 26px;
    height: 26px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
}
.enelan-service-card:hover .enelan-service-icon { transform: scale(1.1) rotate(-4deg); }
.enelan-service-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 10px;
}
.enelan-service-card p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   HOMEPAGE SECTION SEPARATION — ALL FULL-WIDTH
   ============================================ */

/* All homepage sections naturally full-width (parent has no max-width) */
body.home .wp-block-uagb-container.uagb-block-890c21e7,
body.home .wp-block-uagb-container.enelan-partners-section,
body.home .wp-block-group.has-background[style*="#f5faf2"],
body.home .enelan-finishing-section,
body.home .enelan-360-feature {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Partners → clear bottom border before Reviews */
body.home .wp-block-uagb-container.enelan-partners-section {
    padding-bottom: 80px !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Google reviews section — white, clear separation */
body.home .wp-block-uagb-container.uagb-block-890c21e7 {
    background: #ffffff !important;
    padding: 90px 30px 100px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-top: 1px solid #e2e8f0;
}
body.home .wp-block-uagb-container.uagb-block-890c21e7 > .uagb-container-inner-blocks-wrap {
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
}
body.home .wp-block-uagb-container.uagb-block-890c21e7 > .uagb-container-inner-blocks-wrap::before {
    content: 'Das sagen unsere Kunden';
    display: block;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
body.home .wp-block-uagb-container.uagb-block-890c21e7 > .uagb-container-inner-blocks-wrap::after {
    content: 'Echte Google-Bewertungen – ungefiltert und verifiziert.';
    display: block;
    text-align: center;
    font-size: 16px;
    color: #64748b;
    margin: 0 auto 45px;
    max-width: 600px;
}

/* FAQ section — light blue-gray, distinct from white reviews */
body.home .wp-block-group.has-background[style*="#f5faf2"] {
    background: #f0f4f8 !important;
    padding: 90px 30px 100px !important;
    border-top: 1px solid #e2e8f0;
}

/* "Alles aus einer Hand" finishing section — white, full width */
body.home .enelan-finishing-section {
    background: #ffffff !important;
    padding: 90px 30px !important;
    border-top: 1px solid #e2e8f0;
}

/* 360° Doku — dark, full width, clear separation */
body.home .enelan-360-feature {
    background: #0F172A !important;
    padding: 90px 30px !important;
}
body.home .wp-block-group[style*="background-color:#f5faf2"] > h2.wp-block-heading {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin-bottom: 40px !important;
    text-align: center;
    position: relative;
}
body.home .wp-block-group[style*="background-color:#f5faf2"] > h2.wp-block-heading::before {
    content: 'FAQ';
    display: block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #54B435;
    font-weight: 700;
    margin-bottom: 14px;
}
body.home .wp-block-group[style*="background-color:#f5faf2"] > h3.wp-block-heading {
    background: #ffffff;
    border-radius: 14px 14px 0 0;
    padding: 24px 30px 8px;
    margin: 18px auto 0;
    max-width: 900px;
    font-size: 19px;
    font-weight: 700;
    color: #0F172A;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: none;
    border-left: 4px solid #54B435;
    transition: all 0.3s ease;
}
body.home .wp-block-group[style*="background-color:#f5faf2"] > p:not(:empty) {
    background: #ffffff;
    padding: 0 30px 24px;
    margin: 0 auto;
    max-width: 900px;
    font-size: 15.5px;
    line-height: 1.7;
    color: #475569;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-top: none;
    border-left: 4px solid #54B435;
    border-radius: 0 0 14px 14px;
}
body.home .wp-block-group[style*="background-color:#f5faf2"] > h3:hover,
body.home .wp-block-group[style*="background-color:#f5faf2"] > h3:hover + p {
    box-shadow: 0 12px 40px rgba(84, 180, 53, 0.12);
    transform: translateY(-2px);
}

/* ============================================
   KADENCE INFOBOXES (Bauherren / Unternehmen cards)
   ============================================ */

/* Constrain Kadence dynamic icons to sane size */
.kadence-info-box-icon-container,
.kadence-info-box-icon-inner-container {
    max-width: 80px;
    max-height: 80px;
}
.kadence-info-box-icon-inner-container svg,
.kadence-dynamic-icon,
.kt-info-svg-icon {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
}
.kt-blocks-info-box-media {
    max-width: 80px;
}

/* Equal height for the two side-by-side infoboxes */
.wp-block-uagb-container.uagb-layout-grid.uagb-block-321818d6 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}
.wp-block-uagb-container.uagb-layout-grid.uagb-block-321818d6 > .wp-block-uagb-container {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}
.wp-block-uagb-container.uagb-layout-grid.uagb-block-321818d6 .wp-block-kadence-infobox,
.wp-block-uagb-container.uagb-layout-grid.uagb-block-321818d6 .kt-blocks-info-box-link-wrap {
    height: 100% !important;
    display: flex !important;
    flex-direction: column;
}
.wp-block-uagb-container.uagb-layout-grid.uagb-block-321818d6 .kt-infobox-textcontent {
    flex: 1;
}
@media (max-width: 768px) {
    .wp-block-uagb-container.uagb-layout-grid.uagb-block-321818d6 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   360° DOCUMENTATION SECTION (text-only, no VR plugin)
   ============================================ */

.enelan-360-feature {
    position: relative;
    isolation: isolate;
}
.enelan-360-feature .wp-block-columns {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

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

.enelan-finishing-section {
    position: relative;
}
.enelan-finishing-section .wp-block-columns {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   PARTNERS SECTION — light theme (visual fix from audit)
   ============================================ */

body.home .wp-block-uagb-container.uagb-block-b6c1d2da,
body.home .wp-block-uagb-container.enelan-partners-section.uagb-block-b6c1d2da,
body.home .wp-block-uagb-container.enelan-partners-section {
    text-align: center !important;
    padding-top: 80px !important;
    padding-bottom: 90px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background: #f0f4f8 !important;
    background-image: none !important;
    background-attachment: scroll !important;
    min-height: 0 !important;
    height: auto !important;
}
body.home .wp-block-uagb-container.uagb-block-b6c1d2da::before,
body.home .wp-block-uagb-container.enelan-partners-section::before {
    display: none !important;
    content: none !important;
}

.wp-block-uagb-container.enelan-partners-section,
.enelan-partners-section {
    text-align: center;
    padding: 70px 30px 80px;
    background: #f0f4f8;
}
.wp-block-uagb-container.enelan-partners-section .enelan-partners-section {
    background: transparent;
    padding: 0;
}
.enelan-partners-title {
    font-size: 28px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 10px;
}
.enelan-partners-subtitle {
    font-size: 16px;
    color: #475569;
    margin: 0 auto 45px;
    max-width: 600px;
}
/* 3+3 symmetric grid for 6 logos */
.enelan-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 680px;
    margin: 0 auto;
}
.enelan-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    padding: 18px;
    background: #0F172A;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.enelan-partner-item.enelan-partner-dark { background: #1a2744; }
.enelan-partner-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.4s ease;
    filter: brightness(1.1);
}
.enelan-partner-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 35px rgba(84, 180, 53, 0.25);
    border-color: rgba(84, 180, 53, 0.4);
    background: #162033;
}
.enelan-partner-item:hover img { opacity: 1; filter: brightness(1.2); }

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

.site-footer {
    background: #0F172A;
    color: #ffffff;
    padding: 60px 20px 20px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}
.footer-col h4,
.footer-col .footer-heading {
    color: #54B435;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-col,
.footer-col div,
.footer-col a,
.footer-col p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
}
.footer-col a { display: block; margin: 4px 0; transition: color 0.2s ease; }
.footer-col a:hover { color: #54B435; }
.footer-col .spacer { height: 12px; }
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: #54B435;
    transform: translateY(-2px);
}
.footer-social svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    max-height: 18px;
    fill: currentColor;
    display: block;
}
/* Defensive: any SVG inside site-header / site-footer / mobile-drawer capped */
.site-header svg,
.site-footer svg,
.mobile-drawer svg {
    max-width: 100%;
    max-height: 100%;
}
.site-header .mobile-toggle svg { max-width: 28px; max-height: 28px; }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}
@media (max-width: 920px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .site-footer { padding: 40px 20px 20px; }
}

/* ============================================
   FLUENTFORM
   ============================================ */

.fluentform .ff-el-form-control {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1.5px solid rgba(15, 23, 42, 0.15);
    font-size: 15px;
    transition: all 0.2s ease;
    width: 100%;
}
.fluentform .ff-el-form-control:focus {
    border-color: #54B435;
    box-shadow: 0 0 0 3px rgba(84, 180, 53, 0.15);
    outline: none;
}
.fluentform .ff-el-input--label label {
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 6px;
}
