/* Local Font Declarations (GDPR-compliant, no external requests) */
@font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Arimo-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Arimo-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/Oswald-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Oswald-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Oswald-Bold.ttf') format('truetype');
}

/* Design System Tokens */
:root {
    --primary-color: #D11218;
    --primary-dark: #a2080d;
    --primary-light: #fef1f2;
    --text-dark: #0f172a;
    /* Slate 900 */
    --text-light: #64748b;
    /* Slate 500 */
    --bg-light: #f8fafc;
    /* Slate 50 */
    --white: #FFFFFF;
    --black: #000000;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 20px 40px -10px rgba(209, 18, 24, 0.15);
    --max-width: 1200px;
    --header-height: 85px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arimo', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1,
h2,
h3,
h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--text-dark);
}

.text-white {
    color: var(--white);
}

.text-center {
    text-align: center;
}

/* Typography Helpers */
p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.text-block p {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    color: var(--text-dark);
}

.corporate-box {
    background: linear-gradient(90deg, rgba(209, 18, 24, 0.04) 0%, rgba(209, 18, 24, 0) 100%);
    border-left: 4px solid var(--primary-color);
    padding: clamp(15px, 4vw, 20px) clamp(15px, 5vw, 25px);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin: clamp(20px, 4vw, 30px) 0;
}

.corporate-box p {
    color: #000;
    /* Leggermente più scuro per contrasto */
    font-weight: 500;
}

.corporate-box p:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    margin-bottom: clamp(20px, 3vw, 30px);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 5px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--primary-color), #ff4b52);
}

.section-title.white {
    color: var(--white);
}

.section-title.white::after {
    background: var(--white);
}

.section-title.text-center::after,
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: var(--border-radius-sm);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(209, 18, 24, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(209, 18, 24, 0.4);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Header & Nav */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff4b52);
    z-index: 9999;
}

header {
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    animation: logoIntro 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo img {
    height: 50px;
    transition: transform 0.4s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

@keyframes logoIntro {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section Extras */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 100px; /* Aumentato per non far tagliare la didascalia absolute */
    background: radial-gradient(circle at top right, rgba(209, 18, 24, 0.05) 0%, rgba(255, 255, 255, 0) 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.trust-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.trust-badge .stars {
    color: #FFB800;
    /* Google Orange/Yellow */
    letter-spacing: 2px;
    margin-right: 5px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: clamp(15px, 3vw, 25px);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #ff4b52);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-dark);
    margin-bottom: clamp(20px, 4vw, 40px);
    max-width: 90%;
    font-weight: 500;
}

.cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    align-items: center;
}

.stat {
    font-size: 0.9rem;
    color: var(--text-light);
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--text-dark);
}

.divider {
    width: 2px;
    height: 40px;
    background-color: #e2e8f0;
}

.hero-image img.modern-rounded {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-float);
    max-width: 100%;
    width: 100%;
    height: auto;
}



/* Cards Section */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(12px, 2vw, 20px);
    margin-top: 40px;
    align-items: stretch;
}

.card {
    background: var(--white);
    padding: clamp(20px, 4vw, 35px);
    border-radius: var(--border-radius-md);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card .icon {
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
}

.card .icon svg {
    color: var(--primary-color);
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    stroke-width: 1.5;
    transition: var(--transition);
}

.card h3 {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    margin-bottom: 10px;
    line-height: 1.3;
}

.card p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Process Section Timeline */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: #e2e8f0;
    z-index: -1;
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: var(--transition);
    box-shadow: 0 0 0 10px var(--white);
}

.step:hover .step-num {
    background-color: var(--primary-color);
    color: var(--white);
}

.step-content h3 {
    margin-bottom: 15px;
}

/* Testimonials JS Slider */
.testimonials-wrapper {
    overflow: hidden;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px 0 60px 0;
}

.testimonials-slider {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    flex: 0 0 clamp(280px, 80vw, 400px);
    text-align: left;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(0.85);
    opacity: 0.4;
    cursor: pointer;
}

.testimonial-card.active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 20px 40px rgba(209, 18, 24, 0.15);
    border-color: var(--primary-color);
}

.testimonial-card p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: auto;
}

.testimonial-card h4 {
    margin-top: 20px;
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.rating {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* Contact Section */
.contact-links li {
    margin-bottom: 15px;
}

.contact-links a:hover {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    padding: 60px 0;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    margin: 0 10px;
    font-weight: bold;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: var(--transition);
    gap: 12px;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-text {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none !important;
}

.cookie-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    margin: 0;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 130px;
        padding-bottom: 60px;
        align-items: flex-start;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-lead {
        max-width: 100%;
        margin: 0 auto 30px;
    }

    .grid-2,
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .text-block {
        text-align: center;
    }

    .hero-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .cta-group {
        display: flex;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image img {
        margin: 0 auto;
        max-width: 90%;
    }

    .steps-container {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        gap: 40px;
    }

    .steps-container::before {
        top: 30px;
        bottom: auto;
        height: calc(100% - 60px);
        width: 3px;
        left: 28.5px;
        /* Center of 60px circle - half of 3px */
        right: auto;
    }

    .step {
        display: flex;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 25px;
    }

    .step-num {
        margin: 0;
        flex-shrink: 0;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding-top: 220px;
        /* Push hero content down below taller wrapped header */
    }

    header {
        height: auto;
        padding-top: 15px;
    }

    header nav {
        flex-direction: column;
        align-items: stretch;
    }

    .logo {
        text-align: center;
        margin-bottom: 10px;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        width: 100%;
        margin: 0;
        padding: 5px 2px 10px 2px;
        gap: 3px;
        border-bottom: 1px solid #f1f5f9;
        box-sizing: border-box;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links li {
        margin: 0;
        padding: 0;
    }

    .nav-links a {
        background: transparent;
        padding: 4px 5px;
        font-size: 0.70rem;
        border-radius: var(--border-radius-sm);
        border: 1px solid rgba(209, 18, 24, 0.25);
        color: var(--text-dark);
        display: block;
        white-space: nowrap;
        box-shadow: none;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: -0.4px;
        transition: var(--transition);
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(209, 18, 24, 0.05);
        color: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-1px);
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .text-block p,
    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .cta-group .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .whatsapp-float {
        padding: 0;
        width: 60px;
        right: 20px;
        bottom: 20px;
        justify-content: center;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
        margin: 0;
    }
}

@media screen and (max-width: 600px) {

    /* Cards: 2 colonne su mobile invece di 4 in fila */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 25px;
    }

    /* Riduci padding sezione target (A chi ci rivolgiamo) */
    .target.section {
        padding: 60px 0;
    }

    /* Hover disabilitato su touch */
    .card:hover {
        transform: none;
    }
}


/* Partner Bancari Grid */
.banks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.bank-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.bank-item img {
    height: 28px;
    width: auto;
    object-fit: contain;
    border-radius: 2px;
}

.bank-item img.bank-logo {
    height: 20px;
    width: 20px;
    object-fit: contain;
    border-radius: 2px;
    flex-shrink: 0;
}

.bank-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(209, 18, 24, 0.1);
}

/* ── Card Clickable ── */
.card-clickable {
    cursor: pointer;
}

.card-clickable:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-float);
}

.card-cta-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.card-clickable:hover .card-cta-link {
    letter-spacing: 0.08em;
}

/* Migliora leggibilità testo card su sfondo scuro */
.bg-dark .card p {
    color: #4a5568;
    font-size: 0.92rem;
}

.bg-dark .card h3 {
    color: #1a202c;
}

/* ── Service Modals ── */
.service-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.service-modal.is-open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(4px);
}

.modal-panel {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: min(680px, 94vw);
    max-height: 90vh;
    overflow-y: auto;
    padding: clamp(24px, 5vw, 48px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
    text-align: left;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: #64748b;
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--primary-color);
}

.modal-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.modal-panel h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.modal-panel h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 22px 0 10px;
    letter-spacing: 0.05em;
}

.modal-panel p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 0.97rem;
}

.modal-highlight {
    background: #fff5f5;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    padding: 12px 18px;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 14px 0 18px;
}

.modal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-list li {
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 0.93rem;
    color: #334155;
    line-height: 1.5;
}

.modal-detail-box {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 18px 20px;
    font-size: 0.92rem;
    line-height: 1.8;
    margin: 20px 0 16px;
}

.modal-detail-box strong {
    color: #f8fafc;
}

.modal-disclaimer {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    font-style: italic;
    margin-bottom: 24px !important;
}

.btn-contact-modal {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(209, 18, 24, 0.35);
}

.btn-contact-modal:hover {
    background: #b00f14;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(209, 18, 24, 0.45);
}

/* Grid-2 image sizing */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
}

.image-block img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-float);
    object-fit: unset;
    display: block;
}

/* =========================================================================
   Mobile Responsiveness (No Hamburger Menu)
   ========================================================================= */

@media screen and (max-width: 900px) {

    /* Navbar: wrap elements instead of hamburger */
    header {
        height: auto;
        padding: 15px 0;
    }

    header nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    .nav-links li {
        margin-left: 0;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    /* Hero section padding fix for taller header */
    .hero {
        padding-top: 150px;
        padding-bottom: 40px;
    }

    /* Hero Grid & Text */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-lead {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px 30px;
    }

    .cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Center the trust badge on mobile */
    .trust-badge {
        margin: 0 auto 25px auto;
    }

    /* Steps / Timeline */
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .steps-container::before {
        display: none;
        /* Hide the connecting line on mobile */
    }
}

@media screen and (max-width: 768px) {

    /* General Grid-2 (About us, Method, Contact) */
    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Contact Form alignment */
    .contact .grid-2 {
        text-align: center;
    }

    .contact-info {
        margin-bottom: 20px;
    }

    .contact-links {
        display: inline-block;
        text-align: left;
    }
}

@media screen and (max-width: 600px) {

    /* Steps / Timeline stack completely */
    .steps-container {
        grid-template-columns: 1fr;
    }

    /* Testimonial slider full width */
    .testimonial-card {
        padding: 30px 20px;
        flex: 0 0 clamp(260px, 90vw, 320px);
    }
}