/* LVC Print — Custom Styles (Bootstrap 5 base) */

:root {
    --brand-red: #e8263d;
    --brand-orange: #fda118;
    --brand-orange-dark: #f77b20;
    --brand-dark: #212121;
    --brand-gray: #f5f5f5;
    --brand-magenta: #c2185b;
    --text-muted: #737373;

    /* Fluid spacing scale — auto-scales between 320px and 1440px viewports */
    --space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
    --space-sm: clamp(0.5rem, 1vw, 0.75rem);
    --space-md: clamp(0.75rem, 1.5vw, 1.25rem);
    --space-lg: clamp(1rem, 2vw, 1.75rem);
    --space-xl: clamp(1.5rem, 3vw, 2.5rem);
    --space-2xl: clamp(2rem, 4vw, 3.5rem);
    --space-3xl: clamp(2.5rem, 5vw, 5rem);
    --space-4xl: clamp(3rem, 7vw, 7rem);

    /* Section padding (vertical) */
    --section-py: clamp(1rem, 2.5vw, 2.5rem);
    --section-py-sm: clamp(0.75rem, 1.5vw, 1.5rem);

    /* Global body text size — change here once, affects body + all <p>. Fluid for responsiveness. */
    --body-font-size: clamp(0.65rem, 0.4vw + 0.55rem, 0.75rem);

    /* Container horizontal padding */
    --container-px: clamp(1rem, 3vw, 2rem);
}

/* Global section class — apply to every <section> for consistent responsive spacing */
.section {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}
.section--sm { padding-top: var(--section-py-sm); padding-bottom: var(--section-py-sm); }
.section--no-top { padding-top: 0; }
.section--no-bottom { padding-bottom: 0; }

/* ---- Global ---- */
body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--brand-dark);
    font-size: var(--body-font-size);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--brand-red);
}
h1 { font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw + 0.5rem, 2rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: clamp(1rem, 1.5vw + 0.4rem, 1.125rem); font-weight: 700; line-height: 1.4; }
h5 { font-size: clamp(0.9375rem, 1vw + 0.4rem, 1rem); font-weight: 700; line-height: 1.4; }
h6 { font-size: 0.875rem; font-weight: 700; line-height: 1.4; }
p { font-size: inherit; line-height: 1.6; }

a {
    color: var(--brand-red);
    text-decoration: none;
}
a:hover {
    color: var(--brand-dark);
}

html {
    font-size: 150%;
    scroll-behavior: smooth;
}

/* ---- Container override: 1200px max ---- */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* ---- WP admin bar offset ---- */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

/* ---- WP custom logo ---- */
.custom-logo { height: 1.75rem; width: auto; }

/* ---- Brand helpers ---- */
.text-brand-red { color: var(--brand-red); }
.text-brand-orange { color: var(--brand-orange); }
.bg-brand-red { background-color: var(--brand-red); }
.bg-brand-orange { background-color: var(--brand-orange); }
.bg-brand-gray { background-color: var(--brand-gray); }

/* ---- USP bar ---- */
.usp-bar {
    border-bottom: 1px solid #e5e5e5;
    padding: 0.5rem 0;
    overflow-x: auto;
}
.usp-bar .usp-item {
    white-space: nowrap;
    font-size: 0.525rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.usp-bar .usp-item .checkmark {
    color: #22c55e;
    flex-shrink: 0;
}

/* ---- Site header ---- */
.site-header {
    background: #fff;
    z-index: 1030;
}

.nav-link-custom {
    font-size: 0.875rem;
    color: var(--brand-dark);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-link-custom:hover {
    color: var(--brand-red);
}
.nav-link-custom.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-search {
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    padding: 0.25rem 1.5rem 0.25rem 0.75rem;
    font-size: 0.6rem;
    outline: none;
    width: 12rem;
    background: #fff;
}
.nav-search:focus {
    border-color: var(--brand-red);
}

/* ---- Mobile toggle icon ---- */
#mobile-toggle {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
#mobile-toggle svg {
    width: 1.75rem;
    height: 1.75rem;
}
#mobile-toggle .icon-close {
    display: none;
}
#mobile-toggle.open .icon-hamburger {
    display: none;
}
#mobile-toggle.open .icon-close {
    display: block;
}

/* ---- Mobile nav ---- */
.mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    overflow: hidden;
}
.mobile-nav.open {
    display: block;
    animation: slideInDiagonal 1s ease-out forwards;
}
@keyframes slideInDiagonal {
    from {
        opacity: 0;
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
    to {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}
.mobile-nav.closing {
    animation: slideOutDiagonal 0.25s ease-in forwards;
}
@keyframes slideOutDiagonal {
    from {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    to {
        opacity: 0;
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
}
.nav-search-mobile {
    width: 100%;
}
.mobile-search-wrap {
    margin-bottom: 0.5rem;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.cta-circle-sm {
    width: 1.25rem;
    height: 1.25rem;
}
.cta-circle-sm svg {
    width: 0.6rem;
    height: 0.6rem;
}
@media (min-width: 992px) {
    .mobile-nav {
        display: none !important;
    }
}

/* ---- Service sub-nav ---- */
.service-nav {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 0.5rem 0;
    overflow-x: auto;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1030;
    transition: box-shadow 0.3s;
}
.service-nav.stuck {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.service-nav a {
    white-space: nowrap;
    font-size: 0.75rem;
    color: var(--brand-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.25s;
}
.service-nav a:hover {
    color: var(--brand-orange);
}
.service-nav svg {
    display: none; /* Hidden for now - can re-enable later */
    color: var(--brand-red);
    transition: color 0.25s;
}
.service-nav a:hover svg {
    color: var(--brand-orange);
}

/* ---- Hero ---- */
.hero-section {
    position: relative;
    min-height: 400px;
    background: linear-gradient(to bottom, var(--brand-magenta) 90%, var(--brand-red) 90%);
}
@media (min-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 15%;
    height: 90%;
    background-image: url('../img/footer-pattern.svg');
    background-repeat: no-repeat;
    background-size: 700px;
    background-position: left center;
    opacity: 0.15;
    overflow: hidden;
}
/* Commented out - replaced with video (keep for possible revert)
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../img/hero-right.png');
    background-size: cover;
    background-position: center;
}
*/
.hero-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}
.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hero-section--service {
    background: #fff !important;
    min-height: 0;
}
.hero-section--service .hero-content {
    max-width: 50%;
    min-height: 0;
    padding-top: 0;
}
.hero-section--service::before {
    display: none;
}
.hero-section--service .hero-content h1 {
    text-transform: uppercase;
    color: var(--brand-red) !important;
    font-size: clamp(1.75rem, 3.2vw, 2.6rem) !important;
}
.hero-subtitle {
    display: inline-block;
    color: var(--brand-orange);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-decoration: none;
}
.hero-subtitle:hover {
    color: var(--brand-orange-dark);
}
@media (max-width: 767px) {
    .hero-section--service {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
    }
    .hero-section--service .hero-image {
        position: relative;
        width: 100%;
        height: 250px;
        order: -1;
    }
    .hero-section--service .hero-content {
        max-width: 100%;
        padding: 2rem 0;
        min-height: 0;
        height: auto;
    }
    .hero-section--service .container {
        padding: 0 1.5rem;
    }
}
.hero-excerpt {
    color: #333;
    max-width: 500px;
}
.hero-children {
    margin-top: var(--space-xl);
}
.hero-children h4 {
    color: var(--brand-red);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-children ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1.5rem;
    justify-content: start;
}
.hero-children li {
    position: relative;
}
.hero-children li a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--brand-magenta);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease, gap 0.2s ease;
}
.hero-children li a::before {
    content: "";
    flex-shrink: 0;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brand-orange);
    transition: background-color 0.2s ease;
}
.hero-children li a:hover {
    color: var(--brand-orange);
    gap: 1rem;
}
.hero-children li a:hover::before {
    background: var(--brand-orange);
}
.hero-children li.is-current > a {
    color: var(--brand-red);
}
.hero-children li.is-current > a::before {
    background: var(--brand-orange);
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-section .hero-content {
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}
@media (min-width: 768px) {
    .hero-section .hero-content {
        min-height: 500px;
    }
}
.hero-section .hero-content h1 {
    font-size: 2.25rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}
@media (min-width: 768px) {
    .hero-section .hero-content h1 {
        font-size: 4.5rem;
    }
}
.hero-section .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: 2rem;
}
.hero-section .hero-cta:hover {
    color: #fff;
    opacity: 0.9;
}

.cta-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--brand-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- About section ---- */
.about-section {
    padding: 4rem 0;
    background-color: var(--brand-red);
    color: #fff;
    overflow: visible;
}
@media (min-width: 768px) {
    .about-section {
        padding: 6rem 0;
    }
}
.about-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .about-section h2 {
        font-size: 1.875rem;
    }
}
.about-section .about-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #fff;
}
.about-section blockquote p {
    font-size: 1.125rem;
    font-style: italic;
    color: #fff;
    line-height: 1.6;
}
@media (min-width: 768px) {
    .about-section blockquote p {
        font-size: 1.25rem;
    }
}
.about-section blockquote footer {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}
.dot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 1rem;
}
.dot-grid .dot {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    background: var(--brand-orange);
}

/* ---- Services section ---- */
.services-section {
    display: none; /* Hidden for now - can re-enable later */
    padding: 4rem 0;
}
@media (min-width: 768px) {
    .services-section {
        padding: 6rem 0;
    }
}
.services-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .services-section h2 {
        font-size: 1.875rem;
    }
}
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: var(--brand-gray);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.service-card .card-fill {
    position: absolute;
    inset: 0;
    background: var(--brand-red);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}
.service-card:hover .card-fill {
    transform: translateY(0);
}
@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.75rem); }
}
.service-card svg {
    position: relative;
    z-index: 2;
    width: 3.5rem;
    height: 3.5rem;
    color: var(--brand-red);
    transition: color 0.3s;
    animation: gentle-bounce 2.5s ease-in-out infinite;
}
.service-card svg .accent {
    stroke: none;
    fill: var(--brand-orange);
}
.service-card svg .accent-stroke {
    stroke: var(--brand-orange);
    fill: none;
}
.services-section .row > :nth-child(2) .service-card svg { animation-delay: 0.3s; }
.services-section .row > :nth-child(3) .service-card svg { animation-delay: 0.6s; }
.services-section .row > :nth-child(4) .service-card svg { animation-delay: 0.9s; }
.services-section .row > :nth-child(5) .service-card svg { animation-delay: 1.2s; }
.services-section .row > :nth-child(6) .service-card svg { animation-delay: 1.5s; }
.services-section .row > :nth-child(7) .service-card svg { animation-delay: 1.8s; }
.services-section .row > :nth-child(8) .service-card svg { animation-delay: 2.1s; }
.service-card:hover svg {
    color: #fff;
    animation: gentle-bounce 2.5s ease-in-out infinite;
    transform: scale(1.1);
}
.service-card:hover svg .accent {
    fill: #fff;
}
.service-card:hover svg .accent-stroke {
    stroke: #fff;
}
.service-card .card-label {
    position: relative;
    z-index: 2;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-red);
    transition: color 0.3s;
}
.service-card:hover .card-label {
    color: #fff;
}

/* ---- Portfolio section ---- */
.portfolio-section {
    padding: 4rem 0;
}
@media (min-width: 768px) {
    .portfolio-section {
        padding: 6rem 0;
    }
}
.project-card {
    cursor: pointer;
}
.project-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.project-card .project-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.project-card .project-img-wrap {
    position: relative;
    overflow: hidden;
}
.project-card .project-img-wrap img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    transition: transform 0.5s;
}
@media (min-width: 768px) {
    .project-card .project-img-wrap img {
        height: 18rem;
    }
}
@media (min-width: 992px) {
    .project-card .project-img-wrap img {
        height: 26rem;
    }
}
.project-card:hover .project-img-wrap img {
    transform: scale(1.1);
}
.project-card .project-arrow {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--brand-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.3s;
}
.project-card .project-arrow:hover {
    background: var(--brand-red);
    transform: rotate(-45deg);
}
.project-card .project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(232, 38, 61, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%);
    transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-overlay {
    clip-path: polygon(-10% -10%, 110% -10%, 110% 110%, -10% 110%);
}
.project-card .project-overlay span {
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    transform: translateY(1rem);
    transition: transform 0.3s;
}
.project-card:hover .project-overlay span {
    transform: translateY(0);
}
.project-card .project-overlay .btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    transform: translateY(1rem);
    transition: transform 0.3s 0.075s;
}
.project-card:hover .project-overlay .btn-view {
    transform: translateY(0);
}

/* ---- Carousel section ---- */
.carousel-section {
    background: linear-gradient(to bottom, #fff 50%, var(--brand-gray) 50%);
    overflow: hidden;
}
.carousel-section .d-flex {
    padding-left: 1.5rem;
}
/* Scroll animation */
.carousel-section .carousel-track img {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.carousel-section.in-view .carousel-track img {
    opacity: 1;
    transform: translateY(0);
}
.carousel-section.in-view .carousel-track img:nth-child(2) { transition-delay: 0.1s; }
.carousel-section.in-view .carousel-track img:nth-child(3) { transition-delay: 0.2s; }
.carousel-section.in-view .carousel-track img:nth-child(4) { transition-delay: 0.3s; }
.carousel-section.in-view .carousel-track img:nth-child(5) { transition-delay: 0.4s; }
.carousel-section.in-view .carousel-track img:nth-child(6) { transition-delay: 0.5s; }
.carousel-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-red);
    text-align: center;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .carousel-section h2 {
        font-size: 1.875rem;
    }
}
.carousel-controls,
.carousel-controls-mobile {
    display: flex;
    gap: 0.5rem;
}
.carousel-controls button,
.carousel-controls-mobile button {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: var(--brand-red);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.carousel-controls-mobile button {
    width: 2.75rem;
    height: 2.75rem;
}
.carousel-controls button:hover,
.carousel-controls-mobile button:hover {
    background: var(--brand-orange-dark);
}
.carousel-track {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
    display: none;
}
.carousel-track img {
    width: 240px;
    height: 14rem;
    object-fit: cover;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .carousel-track img {
        width: 300px;
        height: 18rem;
    }
}
@media (min-width: 992px) {
    .carousel-track img {
        width: 380px;
        height: 22rem;
    }
}

/* ---- Clients section ---- */
.clients-section {
    background: var(--brand-orange);
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
}
.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12%;
    height: 100%;
    /*background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 30px,
        rgba(255,255,255,0.1) 30px,
        rgba(255,255,255,0.1) 60px
    );*/
    background-image: url('../img/footer-pattern2.svg');
    background-repeat: no-repeat;
    background-size: 700px;
    background-position: left center;
    opacity: 0.15;
    pointer-events: none;
}
.clients-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-wrap {
    overflow: hidden;
    width: 100%;
}
.marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee 25s linear infinite;
}
.marquee-track img {
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.marquee-track img:hover {
    opacity: 1;
}

/* ---- Footer ---- */
.footer-main {
    background: var(--brand-magenta);
    padding: 3rem 0;
    color: #fff;
    position: relative;
}
.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 15%;
    height: 100%;
    background-image: url('../img/footer-pattern.svg');
    background-repeat: no-repeat;
    background-size: 700px;
    background-position: right center;
    opacity: 0.15;
    pointer-events: none;
}
.footer-main a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    border-bottom: 2px solid var(--brand-orange);
    padding-bottom: 0.25rem;
}
.footer-main a:hover {
    color: rgba(255,255,255,0.8);
}
.footer-main p {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: #fff;
}
.footer-main .text-small {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}
.footer-main .brochure-title {
    font-weight: 700;
    color: #fff;
    font-size: 0.875rem;
}
.footer-main .social-link {
    color: #fff;
    transition: color 0.2s, transform 0.3s;
    display: inline-block;
    border-bottom: none;
    padding-bottom: 0;
}
.footer-main .social-link:hover {
    color: var(--brand-orange);
    transform: rotate(15deg) scale(1.15);
}
.footer-main .cta-circle {
    transition: transform 0.3s;
    border-bottom: none;
    padding-bottom: 0;
}
.footer-main .cta-circle:hover {
    transform: rotate(45deg) scale(1.1);
}

.footer-legal {
    background: var(--brand-red);
    border-top: none;
    padding: 1.5rem 0;
}
.footer-legal .brand-logo {
    height: 2rem;
    width: auto;
}
.footer-legal .fespa {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}
.footer-legal a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: #fff;
}

/* ---- Section fade-in on scroll ---- */
.hero-section > .container,
.about-section > .container,
.services-section > .container,
.portfolio-section > .container,
.carousel-section > .container,
.clients-section > .container,
.clients-section > .marquee-wrap {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.hero-section.in-view > .container,
.about-section.in-view > .container,
.services-section.in-view > .container,
.portfolio-section.in-view > .container,
.carousel-section.in-view > .container,
.clients-section.in-view > .container,
.clients-section.in-view > .marquee-wrap {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Sticky help button ---- */
.sticky-help-wrap {
    position: fixed;
    bottom: 2rem;
    right: 0;
    z-index: 1040;
}
.sticky-help-btn {
    width: 4rem;
    height: 3.5rem;
    background: var(--brand-magenta);
    border-radius: 50% 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.3s;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
}
.sticky-help-wrap:hover .sticky-help-btn {
    box-shadow: -4px 4px 15px rgba(0,0,0,0.15);
}
.sticky-help-btn img {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
}

/* Help modal */
.sticky-help-modal {
    position: absolute;
    bottom: 0;
    right: 4.5rem;
    width: 280px;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.sticky-help-wrap:hover .sticky-help-modal {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.sticky-help-modal .modal-header {
    background: var(--brand-magenta);
    color: #fff;
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
}
.sticky-help-modal .modal-body {
    padding: 1rem;
}
.sticky-help-modal .contact-block h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}
.sticky-help-modal .contact-block p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.35rem;
}
.sticky-help-modal .contact-block p svg {
    color: var(--brand-magenta);
    flex-shrink: 0;
}
.sticky-help-modal .modal-cta {
    display: block;
    background: var(--brand-magenta);
    color: #fff;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 0.5rem 0.5rem;
    transition: background 0.2s;
}
.sticky-help-modal .modal-cta:hover {
    background: var(--brand-red);
    color: #fff;
}

/* ---- Service Content Section ---- */
.service-content-section {
    background: #fff;
}
.service-content-section p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}
.service-content-section h2,
.service-content-section h3,
.service-content-section h4 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

/* Two-column layout — service child template
   Two-pronged selectors: works whether or not the .content-columns wrapper
   is present in the template, by also keying off the WP body template class. */
.service-content-section--columns .content-columns,
body.page-template-template-service-child .service-content-section > .container,
body.page-template-template-service-child-php .service-content-section > .container {
    column-count: 2 !important;
    column-gap: var(--space-2xl);
}
.service-content-section--columns .content-columns > h2,
.service-content-section--columns .content-columns > h3,
.service-content-section--columns .content-columns > h4,
.service-content-section--columns .content-columns figure,
.service-content-section--columns .content-columns img,
body.page-template-template-service-child .service-content-section > .container > h2,
body.page-template-template-service-child .service-content-section > .container > h3,
body.page-template-template-service-child .service-content-section > .container > h4,
body.page-template-template-service-child .service-content-section > .container figure,
body.page-template-template-service-child .service-content-section > .container img,
body.page-template-template-service-child-php .service-content-section > .container > h2,
body.page-template-template-service-child-php .service-content-section > .container > h3,
body.page-template-template-service-child-php .service-content-section > .container > h4,
body.page-template-template-service-child-php .service-content-section > .container figure,
body.page-template-template-service-child-php .service-content-section > .container img {
    break-inside: avoid;
}
.service-content-section--columns .content-columns > h2,
.service-content-section--columns .content-columns > h3,
.service-content-section--columns .content-columns > h4,
body.page-template-template-service-child .service-content-section > .container > h2,
body.page-template-template-service-child .service-content-section > .container > h3,
body.page-template-template-service-child .service-content-section > .container > h4,
body.page-template-template-service-child-php .service-content-section > .container > h2,
body.page-template-template-service-child-php .service-content-section > .container > h3,
body.page-template-template-service-child-php .service-content-section > .container > h4 {
    break-after: avoid;
    margin-top: 0;
}
.service-content-section--columns .content-columns > *:first-child,
body.page-template-template-service-child .service-content-section > .container > *:first-child,
body.page-template-template-service-child-php .service-content-section > .container > *:first-child {
    margin-top: 0;
}
@media (max-width: 767px) {
    .service-content-section--columns .content-columns,
    body.page-template-template-service-child .service-content-section > .container,
    body.page-template-template-service-child-php .service-content-section > .container {
        column-count: 1 !important;
    }
}


/* ---- CTA Banner (Service pages) ---- */
.cta-banner {
    padding-top: var(--space-4xl) !important;
}
.cta-banner-inner {
    position: relative;
    background: var(--brand-magenta);
    min-height: 200px;
    display: flex;
    align-items: center;
    overflow: visible;
    padding: 2rem 2rem 2rem 14rem;
}
.cta-banner-image {
    position: absolute;
    left: 2rem;
    bottom: 0;
    width: 12rem;
    pointer-events: none;
    line-height: 0;
}
.cta-banner-image img {
    display: block;
    width: 100%;
    height: auto;
}
.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
}
.cta-banner-content h2 {
    color: #fff !important;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.cta-banner-content p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 500px;
}
.cta-banner-btn {
    display: inline-block;
    background: var(--brand-orange);
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.cta-banner-btn:hover {
    background: var(--brand-orange-dark);
    color: #fff;
    transform: translateY(-2px);
}
.cta-banner-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background-image: url('../img/inner-pattern.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}
@media (max-width: 991px) {
    .cta-banner-inner {
        flex-direction: column;
        padding: 1.5rem 1.5rem 2rem;
        text-align: center;
        align-items: center;
        overflow: hidden;
    }
    .cta-banner-image {
        position: relative;
        left: auto;
        bottom: auto;
        top: auto;
        transform: none;
        width: 8rem;
        height: 8rem;
        margin: 0 auto 1rem;
        border-radius: 50%;
        overflow: hidden;
        background: #fff;
    }
    .cta-banner-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
    .cta-banner-content { max-width: 100%; }
    .cta-banner-pattern {
        width: 100%;
        opacity: 0.12;
    }
    .cta-banner {
        padding-top: var(--section-py) !important;
    }
}
@media (max-width: 575px) {
    .hero-children ul {
        grid-template-columns: repeat(2, auto);
        gap: 0.4rem 1.25rem;
    }
}

/* Diensten CTA banner variant — 50/50 image + content */
.cta-banner--diensten {
    padding-top: 0 !important;
    background: linear-gradient(to bottom, transparent 50%, var(--brand-orange) 50%);
}
.cta-banner--diensten .cta-banner-inner {
    padding: 0;
    overflow: hidden;
}
.cta-banner--diensten .cta-banner-image {
    position: relative;
    left: auto;
    bottom: auto;
    width: 33%;
    flex-shrink: 0;
    line-height: 0;
    align-self: stretch;
    min-height: 0;
}
.cta-banner--diensten .cta-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cta-banner--diensten .cta-banner-content {
    width: 67%;
    padding: 1rem 3rem;
    align-self: center;
}
.cta-banner--diensten .cta-banner-pattern {
    opacity: 0.08;
}
@media (max-width: 991px) {
    .cta-banner--diensten .cta-banner-inner {
        flex-direction: column;
        height: auto;
    }
    .cta-banner--diensten .cta-banner-image {
        width: 100%;
        height: 220px;
    }
    .cta-banner--diensten .cta-banner-content {
        padding: 1.5rem 2rem 2rem;
    }
}

/* ---- Services Overview (Diensten page) ---- */
.services-overview {
    background: #fff;
}
.services-overview .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl) var(--space-2xl);
}
.service-overview-item {
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid #eee;
}
.service-overview-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
}
.service-overview-item h2 {
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}
.service-overview-item h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.service-overview-item h2 a:hover {
    color: var(--brand-orange);
}
.service-overview-item > p {
    color: #555;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: var(--space-md);
}
.service-overview-item .hero-children {
    margin-top: var(--space-md);
}
@media (max-width: 767px) {
    .services-overview .container {
        grid-template-columns: 1fr;
    }
    .service-overview-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #eee;
        padding-bottom: var(--space-xl);
    }
    .service-overview-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
