/* --- styles block #1 from index.php --- */
/* CSS Variables - Modern, clean, high-contrast palette inspired by professional service sites */
:root {
    --brand-primary: #5e548e;
    /* Dusty Grape - primary brand color */
    --brand-secondary: #9f86c0;
    /* Amethyst Smoke - secondary actions */
    --accent: #be95c4;
    /* Lilac - accent highlights */
    --text: #202124;
    /* Near-black - high readability */
    --text-light: #5f6368;
    /* Medium gray - secondary text */
    --bg: #fffcf2;
    /* Warm off-white - clean background */
    --bg-light: #f7f3e9;
    /* Warm light beige - section alternation */
    --bg-dark: #231942;
    /* Dark Amethyst - footer/contrast sections */
    --border: #e8eaed;
    /* Light border */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

/* Typography - Fluid responsive sizing with clamp() */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.4;
    font-weight: 600;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-light);
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--brand-secondary);
}

/* Container */
[class*="__container"] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand-primary);
    color: white;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Button Styles */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    gap: 0.5rem;
}

.button--primary {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.button--primary:hover {
    background: #4a3f73;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.button--secondary {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.button--secondary:hover {
    background: var(--brand-primary);
    color: white;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    gap: 2rem;
}

.header__brand {
    flex-shrink: 0;
}

.header__logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: -0.02em;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle-line {
    width: 24px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: var(--brand-primary);
}

.nav__link:hover::after {
    width: 100%;
}

.header__cta {
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    padding: clamp(3rem, 10vw, 6rem) 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__content {
    animation: fadeInLeft 0.8s ease;
}

.hero__title {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero__subtitle {
    margin-bottom: 2rem;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.hero__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Services Section */

.services {
    padding: clamp(3rem, 10vw, 5rem) 0;
    background: var(--bg);
}

.services__title {
    text-align: center;
    margin-bottom: 1rem;
}

.services__subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.services__card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.services__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.services__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: block;
}

.services__card-title {
    margin-bottom: 1rem;
    color: var(--text);
}

.services__card-description {
    font-size: 1rem;
    line-height: 1.6;
}

/* Badges Section */
.badges {
    padding: 2rem 0;
    background: var(--bg-light);
}

.badges__grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.badges__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badges__icon {
    width: 48px;
    height: 48px;
}

.badges__text {
    font-weight: 600;
    color: var(--text);
}

/* Process Section */
.process {
    padding: clamp(3rem, 10vw, 5rem) 0;
    background: var(--bg);
}

.process__title {
    text-align: center;
    margin-bottom: 1rem;
}

.process__subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.process__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.process__step {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.process__step:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.process__step-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.process__step-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.process__step-description {
    font-size: 1rem;
    color: var(--text-light);
}

.process__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Comparison Section */
.comparison {
    padding: clamp(3rem, 10vw, 5rem) 0;
    background: var(--bg-light);
}

.comparison__title {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
    min-height: 400px;
}

.comparison__before,
.comparison__after {
    position: relative;
    display: flex;
    align-items: stretch;
}

.comparison__before img,
.comparison__after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.comparison__label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--bg);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* Areas Section */
.areas {
    padding: clamp(3rem, 10vw, 5rem) 0;
    background: var(--bg);
}

.areas__title {
    text-align: center;
    margin-bottom: 1rem;
}

.areas__subtitle {
    text-align: center;
    margin-bottom: 2rem;
}

.areas__map {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.areas__map img {
    width: 100%;
    height: auto;
}

.areas__cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    font-size: 0.875rem;
}

.areas__city {
    padding: 0.5rem 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: clamp(3rem, 10vw, 5rem) 0;
    background: var(--bg-light);
}

.testimonials__title {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials__grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.testimonials__card {
    background: var(--bg);
    padding: 10px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonials__quote {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.testimonials__text {
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

.testimonials__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonials__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials__name {
    display: block;
    font-weight: 600;
    font-style: normal;
    color: var(--text);
}

.testimonials__rating {
    color: #be95c4;
    font-size: 1.125rem;
}

/* CTA Band */
.cta-band {
    padding: clamp(3rem, 10vw, 5rem) 0;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    text-align: center;
}

.cta-band__title {
    color: white;
    margin-bottom: 1rem;
}

.cta-band__subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-band__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-band__button.button--primary {
    background: white;
    color: var(--brand-primary);
}

.cta-band__button.button--primary:hover {
    background: var(--bg-light);
}

.cta-band__button.button--secondary {
    border-color: white;
    color: white;
}

.cta-band__button.button--secondary:hover {
    background: white;
    color: var(--brand-primary);
}

/* FAQ Section */
.faq {
    padding: clamp(3rem, 10vw, 5rem) 0;
    background: var(--bg);
}

.faq__title {
    text-align: center;
    margin-bottom: 3rem;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq__question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    list-style: none;
}

.faq__question:hover {
    background: var(--bg-light);
}

.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 1.25rem 1.25rem;
}

.faq__answer p {
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: clamp(3rem, 10vw, 5rem) 0;
    background: var(--bg-light);
}

.contact__title {
    text-align: center;
    margin-bottom: 1rem;
}

.contact__subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.contact__container {
    max-width: 600px;
}

/* Form Styles */
.form {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form__checkbox {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form__consent-label {
    font-size: 0.95rem;
    line-height: 1.5;
}

.form__submit {
    width: 100%;
}

.form__error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form__success {
    padding: 1.5rem;
    background: #f0fdf4;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeInDown 0.5s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact__direct {
    text-align: center;
    margin-top: 3rem;
}

.contact__urgent {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact__phone-large {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--brand-primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.contact__phone-large:hover {
    background: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-bottom: 100px;
    /* Space for floating button */
}

@media (max-width: 480px) {
    .footer {
        margin-bottom: 80px;
        /* Less space on mobile */
    }
}

.footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.footer__tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer__phone {
    display: inline-block;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.5rem 0;
}

.footer__phone:hover {
    color: var(--accent);
}

.footer__nav-title,
.footer__info-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer__nav-list,
.footer__hours {
    list-style: none;
}

.footer__nav-item,
.footer__hours-item {
    margin-bottom: 0.5rem;
}

.footer__nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.footer__nav-link:hover {
    color: white;
}

.footer__hours-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer__legal {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer__legal-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer__legal-link:hover {
    color: white;
}

/* Floating Call Button - Large Prominent Style */
.float-button {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    animation: slideUpBounce 0.8s ease-out;
}

.float-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--accent);
    background: linear-gradient(135deg, #5e548e 0%, #9f86c0 100%);
    color: white;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(94, 84, 142, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    animation: pulseGlow 2s infinite;
    min-width: 320px;
    text-align: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.float-button__link:hover {
    background: linear-gradient(135deg, #9f86c0 0%, #5e548e 100%);
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(94, 84, 142, 0.6), 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.float-button__link:active {
    transform: scale(1.05);
}

.float-button__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.float-button__text {
    white-space: nowrap;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes slideUpBounce {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
    }

    60% {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
    }

    80% {
        transform: translateX(-50%) translateY(5px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 8px 30px rgba(94, 84, 142, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 8px 40px rgba(94, 84, 142, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    100% {
        box-shadow: 0 8px 30px rgba(94, 84, 142, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);
    }
}

/* Mobile adjustments for large float button */
@media (max-width: 480px) {
    .float-button {
        bottom: 20px;
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        transform: none;
    }

    .float-button__link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: unset;
        width: 100%;
    }

    .float-button__icon {
        width: 24px;
        height: 24px;
    }

    .float-button__text {
        font-size: 0.9rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .float-button {
        bottom: 30px;
    }

    .float-button__link {
        padding: 1.125rem 2rem;
        font-size: 1.125rem;
        min-width: 280px;
    }

    .float-button__icon {
        width: 28px;
        height: 28px;
    }
}

/* Hide float button text on very small screens if needed */
@media (max-width: 360px) {
    .float-button__text {
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {

    /* Navigation Mobile */
    .nav__toggle {
        display: flex;
    }

    .nav {
        position: static;
        justify-content: end;
    }

    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-xl);
        z-index: 1;
    }

    .nav__menu.active {
        left: 0;
    }

    .header__cta {
        display: none;
    }

    /* Hero Mobile */
    .hero__container {
        grid-template-columns: 1fr;
    }

    .hero__image {
        order: -1;
    }

    /* Services Mobile */
    .services__grid {
        grid-template-columns: 1fr;
    }

    /* Process Mobile */
    .process__steps {
        grid-template-columns: 1fr;
    }

    .process__step::before {
        display: none;
    }

    /* Comparison Mobile */
    .comparison__grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials Mobile */
    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer__main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Badges Mobile */
    .badges__grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    /* CTA Actions Mobile */
    .cta-band__actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-band__button {
        width: 100%;
        max-width: 300px;
    }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .footer__main {
        grid-template-columns: 1fr 1fr;
    }
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 4px;
}

.trust-labels__carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 10px 0;
    background-color: var(--bg-light);
    position: relative;
    z-index: 0;
}

.trust-labels__header {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 15px;
}

/* עטיפה שמסתירה את הגלילה */
.trust-labels__wrapper {
    width: 100%;
    overflow: hidden;
}

/* המסילה – שתי רשימות זהות, בלי gap ביניהן */
.trust-labels__track {
    --duration: 8s;
    /* קטן יותר = מהר יותר */
    --gap: 20px;
    /* רווח קבוע בין הלוגואים */
    display: flex;
    gap: 0;
    /* חשוב: בלי רווח בין שתי הרשימות */
    width: max-content;
    animation: trust-scroll var(--duration) linear infinite;
    will-change: transform;
}

/* כל רשימה (מקורית ומשוכפלת) – הריווח בין הלוגואים בפנים */
.trust-labels {
    display: flex;
    gap: var(--gap);
    list-style: none;
    padding: 0;
    margin: 0;
}

/* מרווח “תפר” זהה בין סוף רשימה 1 לתחילת רשימה 2 */
.trust-labels+.trust-labels {
    margin-left: var(--gap);
}

.trust-labels li {
    flex: 0 0 auto;
}

.trust-labels__carousel img {
    height: 40px;
    width: auto;
    display: block;
    decoding: async;
}

/* הזזה מדויקת: חצי מהמסילה + חצי מהמרווח שבתפר */
@keyframes trust-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-50% - var(--gap)/2), 0, 0);
    }
}

/* השהיה בהובר – אופציונלי */
.trust-labels__track:hover {
    animation-play-state: paused;
}

/* נגישות: לכבד משתמשים שמעדיפים פחות תנועה */
@media (prefers-reduced-motion: reduce) {
    .trust-labels__track {
        animation: none;
    }
}

/* Thumbnail inside service card – same size as old icon */
.services__icon {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    /* חיתוך נקי – לא מתיחה */
    border-radius: 12px;
    /* נראה נייטיב ונעים */
    box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
    .services__icon {
        width: 56px;
        height: 56px;
    }

    /* אופציונלי */
}

/* === Trust Badges – 2x2 on mobile, compact === */
.badges {
    padding: 1.5rem 0;
    background: var(--bg-light);
}

.badges .badges__grid {
    --badge-size: clamp(64px, 22vw, 84px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* מובייל: 2 על 2 */
    gap: 1rem 1rem;
    /* צפוף כמו שביקשת */
    max-width: 480px;
    /* מרכז יפה במובייל */
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

@media (min-width: 768px) {
    .badges .badges__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        /* בדסקטופ: 4 בעמודה אחת */
        max-width: 900px;
        gap: 1.25rem 2rem;
    }
}

.badges .badges__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.badges .badges__icon-wrap {
    width: var(--badge-size);
    height: var(--badge-size);
    border-radius: 14px;
    background: var(--bg);
    box-shadow: var(--shadow-md);
    display: grid;
    place-items: center;
}

.badges .badges__icon {
    width: 55%;
    height: 55%;
    color: var(--brand-primary);
    /* האייקון מקבל את צבע המותג */
    fill: currentColor;
}

.badges .badges__text {
    font-size: clamp(.8rem, 2.2vw, .9rem);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    color: var(--text);
}