
/* =========================
   RICHDEV — LIGHT THEME
========================= */

:root {
    --dark: #FFFFFF;
    --dark-2: #F8FAFC;
    --dark-3: #F1F5F9;

    --blue: #2563EB;
    --blue-light: #3B82F6;

    --white: #0F172A;
    --text: #334155;
    --muted: #64748B;

    --border: #E2E8F0;

    --container: 1200px;
    --radius: 16px;

    --transition: 0.3s ease;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.indipos{
    color: red;
}
a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(100% - 48px, var(--container));
    margin: auto;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 76px;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.82);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid transparent;

    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);

    border-bottom-color: var(--border);

    box-shadow: 0 5px 25px rgba(15, 23, 42, 0.05);
}

.nav-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    font-size: 25px;

    font-weight: 800;

    letter-spacing: -1px;

    color: #0F172A;
}

.logo span {
    color: var(--blue);
}


/* NAV MENU */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 32px;
}

.nav-link {
    color: var(--muted);

    font-size: 14px;

    font-weight: 500;

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}


/* NAV BUTTON */

.nav-button {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 11px 18px;

    background: var(--blue);

    color: white;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 600;

    transition: var(--transition);
}

.nav-button:hover {
    background: var(--blue-light);

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}


/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    background: white;

    color: #0F172A;

    border: 1px solid var(--border);

    border-radius: 8px;

    cursor: pointer;

    font-size: 18px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 850px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding-top: 60px;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(37, 99, 235, 0.10),
            transparent 35%
        );
}


/* GRID BACKGROUND */

.hero-grid {
    position: absolute;

    inset: 0;

    opacity: 0.45;

    background-image:
        linear-gradient(
            rgba(15, 23, 42, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.035) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image: linear-gradient(
        to right,
        transparent,
        black 40%,
        black 70%,
        transparent
    );
}

.hero-container {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 0.9fr;

    gap: 70px;

    align-items: center;
}


/* HERO CONTENT */

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 8px 14px;

    border: 1px solid rgba(37, 99, 235, 0.25);

    background: rgba(37, 99, 235, 0.06);

    border-radius: 50px;

    color: var(--blue);

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 25px;
}

.badge-dot {
    width: 7px;
    height: 7px;

    background: var(--blue);

    border-radius: 50%;

    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.hero h1 {
    font-size: clamp(46px, 5vw, 68px);

    line-height: 1.08;

    letter-spacing: -3px;

    font-weight: 800;

    margin-bottom: 25px;

    color: #0F172A;
}

.hero h1 span {
    display: block;

    color: var(--blue);
}

.hero-content > p {
    max-width: 590px;

    color: var(--muted);

    font-size: 17px;

    margin-bottom: 34px;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 28px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 14px 22px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 600;

    transition: var(--transition);

    cursor: pointer;
}

.btn-primary {
    background: var(--blue);

    color: white;
}

.btn-primary:hover {
    background: var(--blue-light);

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    background: white;

    border: 1px solid var(--border);

    color: #334155;
}

.btn-secondary:hover {
    border-color: var(--blue);

    color: var(--blue);

    transform: translateY(-2px);
}


/* HERO FEATURES */

.hero-features {
    display: flex;

    gap: 22px;

    color: var(--muted);

    font-size: 13px;
}

.hero-features div {
    display: flex;

    align-items: center;

    gap: 7px;
}

.hero-features i {
    color: var(--blue);
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    position: relative;

    min-height: 450px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.glow {
    position: absolute;

    width: 330px;
    height: 330px;

    background: var(--blue);

    opacity: .08;

    filter: blur(90px);

    border-radius: 50%;
}


/* CODE WINDOW */

.code-window {
    position: relative;

    width: 470px;

    border: 1px solid #D9E2EF;

    border-radius: 16px;

    background: white;

    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.12);

    transform:
        perspective(1000px)
        rotateY(-7deg)
        rotateX(3deg);

    z-index: 2;
}

.window-header {
    height: 48px;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 0 18px;

    border-bottom: 1px solid var(--border);

    color: var(--muted);

    font-size: 12px;
}

.window-dots {
    display: flex;

    gap: 6px;
}

.window-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #CBD5E1;
}

.code-content {
    padding: 35px 28px;

    font-family: monospace;

    font-size: 15px;

    line-height: 2.3;

    background: #FAFCFF;

    border-radius: 0 0 16px 16px;
}

.code-line {
    color: #334155;
}

.indent {
    padding-left: 25px;
}

.purple {
    color: #9333EA;
}

.blue {
    color: #2563EB;
}

.green {
    color: #16A34A;
}


/* FLOATING CARDS */

.floating-card {
    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 17px;

    background: rgba(255,255,255,.94);

    border: 1px solid var(--border);

    border-radius: 12px;

    backdrop-filter: blur(12px);

    box-shadow:
        0 20px 40px rgba(15,23,42,.10);

    z-index: 5;

    animation: float 5s ease-in-out infinite;
}

.floating-card i {
    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    background: rgba(37,99,235,.08);

    color: var(--blue);

    border-radius: 9px;
}

.floating-card strong {
    display: block;

    font-size: 12px;

    color: #0F172A;
}

.floating-card small {
    display: block;

    color: var(--muted);

    font-size: 10px;
}

.card-one {
    left: -15px;

    bottom: 65px;
}

.card-two {
    right: -15px;

    top: 65px;

    animation-delay: -2s;
}

@keyframes float {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* =========================
   STATS
========================= */

.stats {
    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    background: #F8FAFC;
}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: 35px 20px;

    text-align: center;

    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    font-size: 32px;

    letter-spacing: -1px;

    color: #0F172A;
}

.stat strong span {
    color: var(--blue);
}

.stat p {
    color: var(--muted);

    font-size: 12px;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 120px 0;
}

.section-header {
    max-width: 700px;

    margin-bottom: 60px;
}

.section-label {
    display: block;

    color: var(--blue);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 14px;
}

.section-header h2 {
    font-size: clamp(35px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -2px;

    margin-bottom: 18px;

    color: #0F172A;
}

.section-header h2 span {
    color: var(--blue);
}

.section-header p {
    color: var(--muted);

    font-size: 16px;
}


/* =========================
   SERVICES
========================= */

.services {
    background: white;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.service-card {
    position: relative;

    padding: 30px;

    min-height: 350px;

    display: flex;

    flex-direction: column;

    background: #F8FAFC;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(37,99,235,.45);

    background: white;

    box-shadow:
        0 20px 45px rgba(15,23,42,.08);
}

.service-number {
    position: absolute;

    top: 20px;
    right: 22px;

    color: #CBD5E1;

    font-size: 12px;

    font-weight: 700;
}

.service-icon {
    width: 54px;
    height: 54px;

    display: grid;

    place-items: center;

    background: rgba(37,99,235,.08);

    color: var(--blue);

    border-radius: 13px;

    font-size: 20px;

    margin-bottom: 28px;
}

.service-card h3 {
    font-size: 19px;

    line-height: 1.3;

    margin-bottom: 13px;

    color: #0F172A;
}

.service-card p {
    color: var(--muted);

    font-size: 14px;
}

.service-card a {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: auto;

    color: var(--blue);

    font-size: 13px;

    font-weight: 600;
}

.service-card a i {
    transition: var(--transition);
}

.service-card:hover a i {
    transform: translateX(5px);
}


/* =========================
   ABOUT
========================= */

.about {
    background: #F8FAFC;
}

.about-grid {
    display: grid;

    grid-template-columns: .9fr 1fr;

    gap: 90px;

    align-items: center;
}

.about-visual {
    min-height: 450px;

    display: grid;

    place-items: center;
}

.about-box {
    position: relative;

    width: 330px;
    height: 380px;

    display: grid;

    place-items: center;

    border: 1px solid #D9E2EF;

    border-radius: 20px;

    background:
        radial-gradient(
            circle,
            rgba(37,99,235,.09),
            transparent 65%
        );

    transform: rotate(-4deg);
}

.about-logo {
    font-size: 85px;

    font-weight: 800;

    letter-spacing: -7px;

    color: #0F172A;
}

.about-logo span {
    color: var(--blue);
}

.about-code {
    position: absolute;

    right: -30px;
    bottom: 30px;

    width: 80px;
    height: 80px;

    display: grid;

    place-items: center;

    background: var(--blue);

    color: white;

    border-radius: 16px;

    font-family: monospace;

    font-size: 28px;

    transform: rotate(8deg);

    box-shadow:
        0 20px 40px rgba(37,99,235,.25);
}

.about-content h2 {
    font-size: clamp(35px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -2px;

    margin-bottom: 25px;

    color: #0F172A;
}

.about-content h2 span {
    color: var(--blue);
}

.about-content p {
    color: var(--muted);

    font-size: 15px;

    margin-bottom: 18px;
}

.about-content .btn {
    margin-top: 18px;
}


/* =========================
   PROJECTS
========================= */

.projects {
    background: white;
}

.project-header {
    max-width: none;

    display: flex;

    justify-content: space-between;

    align-items: flex-end;
}

.text-link {
    color: var(--blue);

    font-size: 13px;

    font-weight: 600;

    display: flex;

    gap: 8px;

    padding-bottom: 5px;
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.project-card {
    overflow: hidden;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);

    border-color: #CBD5E1;

    box-shadow:
        0 20px 45px rgba(15,23,42,.08);
}

.project-image {
    height: 330px;

    position: relative;

    overflow: hidden;
}


/* GESTIO */

.project-gestio {
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(37,99,235,.12),
            transparent 40%
        ),
        #F1F5F9;

    display: grid;

    place-items: center;
}

.mock-dashboard {
    width: 70%;
    height: 70%;

    display: flex;

    background: white;

    border: 1px solid #D9E2EF;

    border-radius: 10px;

    box-shadow:
        0 25px 50px rgba(15,23,42,.12);
}

.mock-sidebar {
    width: 18%;

    background: #F8FAFC;

    border-right: 1px solid var(--border);
}

.mock-content {
    flex: 1;

    padding: 18px;
}

.mock-title {
    width: 40%;
    height: 10px;

    background: #CBD5E1;

    border-radius: 4px;

    margin-bottom: 20px;
}

.mock-cards {
    display: flex;

    gap: 8px;

    margin-bottom: 18px;
}

.mock-cards span {
    flex: 1;

    height: 45px;

    background: #F1F5F9;

    border-radius: 6px;
}

.mock-chart {
    height: 100px;

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            transparent 45%,
            rgba(37,99,235,.45) 46%,
            rgba(37,99,235,.45) 48%,
            transparent 49%
        ),
        #F8FAFC;
}


/* RECIVO */

.project-recivo {
    background:
        radial-gradient(
            circle at center,
            rgba(37,99,235,.12),
            transparent 50%
        ),
        #F1F5F9;

    display: grid;

    place-items: center;
}

.phone-mockup {
    width: 150px;
    height: 280px;

    padding: 8px;

    background: #E2E8F0;

    border: 2px solid #CBD5E1;

    border-radius: 22px;

    box-shadow:
        0 30px 50px rgba(15,23,42,.15);
}

.phone-screen {
    height: 100%;

    padding: 20px 12px;

    background: white;

    border-radius: 16px;
}

.phone-logo {
    display: block;

    color: var(--blue);

    font-size: 10px;

    font-weight: 800;

    margin-bottom: 25px;
}

.invoice-line {
    height: 7px;

    background: #E2E8F0;

    border-radius: 4px;

    margin-bottom: 8px;
}

.invoice-line.short {
    width: 60%;
}

.invoice-total {
    margin-top: 55px;

    color: var(--muted);

    font-size: 8px;
}

.invoice-total strong {
    display: block;

    color: #0F172A;

    font-size: 15px;
}


/* HOTEL */

.project-hotel {
    display: flex;

    align-items: center;

    padding: 60px;

    background:
        linear-gradient(
            135deg,
            #E8EEF7,
            #F8FAFC
        );
}

.hotel-content span {
    color: var(--blue);

    font-size: 11px;

    letter-spacing: 3px;
}

.hotel-content strong {
    display: block;

    font-size: 45px;

    line-height: .95;

    margin: 15px 0;

    color: #0F172A;
}

.hotel-content small {
    color: var(--muted);

    font-size: 11px;
}


/* DESIGN */

.project-design {
    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(37,99,235,.13),
            transparent 60%
        ),
        #F1F5F9;
}

.design-preview {
    text-align: center;
}

.design-preview span {
    color: var(--blue);

    font-size: 11px;

    letter-spacing: 4px;
}

.design-preview strong {
    display: block;

    font-size: 48px;

    line-height: .9;

    margin-top: 12px;

    letter-spacing: -3px;

    color: #0F172A;
}

.project-info {
    min-height: 90px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 23px;
}

.project-info span {
    color: var(--muted);

    font-size: 11px;
}

.project-info h3 {
    font-size: 18px;

    color: #0F172A;
}

.project-info > a {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--blue);

    transition: var(--transition);
}

.project-info > a:hover {
    background: var(--blue);

    border-color: var(--blue);

    color: white;
}


/* =========================
   PROCESS
========================= */

.process {
    background: #F8FAFC;
}

.process-grid {
    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: center;

    gap: 18px;
}

.process-item {
    text-align: center;

    position: relative;
}

.process-item > span {
    color: #94A3B8;

    font-size: 11px;

    font-weight: 700;
}

.process-icon {
    width: 60px;
    height: 60px;

    display: grid;

    place-items: center;

    margin: 12px auto;

    border-radius: 50%;

    background: white;

    border: 1px solid rgba(37,99,235,.2);

    color: var(--blue);

    font-size: 19px;

    box-shadow:
        0 8px 20px rgba(15,23,42,.05);
}

.process-item h3 {
    font-size: 17px;

    margin-bottom: 5px;

    color: #0F172A;
}

.process-item p {
    color: var(--muted);

    font-size: 12px;
}

.process-line {
    width: 45px;
    height: 1px;

    background: #CBD5E1;
}


/* =========================
   WHY
========================= */

.why {
    background: white;
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.why-card {
    padding: 30px;

    background: #F8FAFC;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: var(--transition);
}

.why-card:hover {
    border-color: rgba(37,99,235,.45);

    transform: translateY(-5px);

    background: white;

    box-shadow:
        0 15px 35px rgba(15,23,42,.06);
}

.why-card > i {
    color: var(--blue);

    font-size: 23px;

    margin-bottom: 22px;
}

.why-card h3 {
    font-size: 17px;

    margin-bottom: 9px;

    color: #0F172A;
}

.why-card p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================
   CTA
========================= */

.cta {
    position: relative;

    padding: 110px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #EFF6FF,
            #FFFFFF
        );

    border-top: 1px solid #DBEAFE;

    border-bottom: 1px solid #DBEAFE;
}

.cta-glow {
    position: absolute;

    width: 400px;
    height: 400px;

    top: -250px;
    right: 10%;

    background: var(--blue);

    opacity: .08;

    filter: blur(100px);

    border-radius: 50%;
}

.cta-content {
    position: relative;

    max-width: 750px;

    text-align: center;

    margin: auto;
}

.cta h2 {
    font-size: clamp(38px, 5vw, 60px);

    line-height: 1.05;

    letter-spacing: -3px;

    margin-bottom: 20px;

    color: #0F172A;
}

.cta h2 span {
    color: var(--blue);
}

.cta p {
    color: var(--muted);

    max-width: 600px;

    margin: 0 auto 30px;

    font-size: 15px;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;
}

.btn-white {
    background: #0F172A;

    color: white;
}

.btn-white:hover {
    background: #1E293B;

    transform: translateY(-3px);
}

.btn-whatsapp {
    border: 1px solid var(--border);

    color: #0F172A;

    background: white;
}

.btn-whatsapp:hover {
    border-color: var(--blue);

    color: var(--blue);

    background: #F8FAFC;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 70px 0 25px;

    background: #F8FAFC;

    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 55px;
}

.footer-brand p {
    color: var(--muted);

    font-size: 13px;

    margin-top: 10px;
}

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-links h4 {
    font-size: 13px;

    margin-bottom: 8px;

    color: #0F172A;
}

.footer-links a {
    color: var(--muted);

    font-size: 12px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--blue);
}

.socials {
    display: flex;

    gap: 8px;

    margin-top: 10px;
}

.socials a {
    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: white;
}

.socials a:hover {
    color: var(--blue);

    border-color: var(--blue);
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding-top: 25px;

    border-top: 1px solid var(--border);

    color: #94A3B8;

    font-size: 11px;
}


/* =========================
   REVEAL
========================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {

    .nav-menu {
        gap: 20px;
    }

    .hero-container {
        gap: 30px;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 45px;
    }

    .process-line {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================
   MOBILE NAV
========================= */

@media (max-width: 800px) {

    .nav-menu {

        position: absolute;

        top: 76px;

        left: 16px;
        right: 16px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 15px;

        background: rgba(255,255,255,.98);

        border: 1px solid var(--border);

        border-radius: 14px;

        box-shadow:
            0 20px 40px rgba(15,23,42,.10);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition: var(--transition);
    }

    .nav-menu.active {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

    .nav-link {
        padding: 13px;
    }

    .nav-button {
        justify-content: center;

        margin-top: 8px;
    }

    .menu-toggle {
        display: block;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding-top: 150px;

        padding-bottom: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-content {
        max-width: 700px;

        margin: auto;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-content > p {
        margin-left: auto;

        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;

        flex-wrap: wrap;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .code-window {
        width: min(470px, 90vw);
    }


    /* STATS */

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }


    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;

        text-align: center;
    }

    .about-visual {
        min-height: 350px;
    }

    .about-content .section-label {
        text-align: center;
    }


    /* PROJECT */

    .project-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 32px, var(--container));
    }

    .section {
        padding: 85px 0;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        gap: 12px;

        font-size: 11px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .floating-card {
        transform: scale(.8);
    }

    .card-one {
        left: -30px;
    }

    .card-two {
        right: -30px;
    }

    .services-grid,
    .projects-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 300px;
    }

    .project-image {
        height: 270px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .about-box {
        width: 270px;

        height: 320px;
    }

    .about-logo {
        font-size: 65px;
    }

    .cta {
        padding: 80px 0;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;

        text-align: center;
    }
}






/* ================= DEMANDE SERVICE ================= */

.demande-section {
    padding-top: 150px;
    padding-bottom: 100px;
}

.demande-header {
    max-width: 750px;
    margin: 0 auto 60px;
    text-align: center;
}

.demande-header h1 {
    font-size: 48px;
    line-height: 1.15;
    margin: 15px 0 20px;
}

.demande-header h1 span {
    display: block;
}

.demande-header p {
    font-size: 16px;
    line-height: 1.8;
}


/* WRAPPER */

.demande-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}


/* FORM */

.demande-form {
    padding: 40px;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group.full {
    grid-column: 1 / -1;
}


.form-group label {
    font-size: 14px;
    font-weight: 600;
}


.form-group label span {
    color: #2563eb;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;

    border: 1px solid #dedede;
    border-radius: 10px;

    background: #fafafa;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition: all 0.25s ease;
}


.form-group textarea {
    resize: vertical;
    min-height: 150px;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}


/* SUBMIT */

.form-submit {
    grid-column: 1 / -1;
    margin-top: 5px;
}


.submit-button {
    border: none;
    border-radius: 10px;

    padding: 15px 25px;

    background: #2563eb;
    color: white;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    transition: all 0.25s ease;
}


.submit-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


.form-note {
    margin-top: 15px;
    font-size: 12px;
    color: #777;
}


/* INFO */

.demande-info {
    padding: 35px 10px;
}


.demande-info h2 {
    font-size: 35px;
    line-height: 1.2;
    margin: 15px 0 20px;
}


.demande-info h2 span {
    display: block;
}


.demande-info > p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
}


/* CONTACT INFO */

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}


.contact-info-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f3f6ff;
    color: #2563eb;

    font-size: 18px;
}


.contact-info-item small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-bottom: 4px;
}


.contact-info-item strong {
    display: block;
    font-size: 14px;
}


/* MOBILE */

@media (max-width: 800px) {

    .demande-section {
        padding-top: 120px;
    }

    .demande-header h1 {
        font-size: 36px;
    }

    .demande-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .demande-form {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .form-group.full,
    .form-submit {
        grid-column: auto;
    }

    .demande-info {
        padding: 20px 5px;
    }

    .demande-info h2 {
        font-size: 28px;
    }

}



/* ================= MODAL DEMANDE ================= */

.demande-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


/* MODAL ACTIVE */

.demande-modal.show {
    visibility: visible;
    opacity: 1;
}


/* OVERLAY */

.demande-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    backdrop-filter: blur(5px);
}


/* CONTENT */

.demande-modal-content {

    position: relative;
    z-index: 2;

    width: min(700px, 92%);

    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 22px;

    padding: 40px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.2);

    transform: translateY(30px) scale(0.97);

    transition: transform 0.35s ease;
}


.demande-modal.show
.demande-modal-content {

    transform:
        translateY(0)
        scale(1);

}


/* CLOSE BUTTON */

.modal-close {

    position: absolute;

    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    background: #f4f4f4;

    color: #333;

    font-size: 16px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.2s ease;
}


.modal-close:hover {

    background: #111;
    color: #fff;

    transform: rotate(90deg);

}


/* HEADER */

.modal-header {

    max-width: 560px;

    margin-bottom: 30px;

}


.modal-header h2 {

    font-size: 34px;

    line-height: 1.2;

    margin: 12px 0;

}


.modal-header h2 span {

    display: block;

}


.modal-header p {

    color: #666;

    line-height: 1.7;

    font-size: 14px;

}


/* FORM GRID */

.modal-form-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;

}


.modal-full {

    grid-column:
        1 / -1;

}


/* INPUTS */

.modal-form-grid
input,
.modal-form-grid
select,
.modal-form-grid
textarea {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid #ddd;

    border-radius: 9px;

    background: #fafafa;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.modal-form-grid
input:focus,
.modal-form-grid
select:focus,
.modal-form-grid
textarea:focus {

    border-color: #2563eb;

    background: #fff;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.08);

}


.modal-form-grid
textarea {

    resize: vertical;

}


/* SUBMIT */

.modal-submit {

    margin-top: 22px;

}


/* MOBILE */

@media (max-width: 650px) {

    .demande-modal-content {

        padding: 30px 22px;

        max-height: 92vh;

        border-radius: 18px;

    }


    .modal-header h2 {

        font-size: 28px;

    }


    .modal-form-grid {

        grid-template-columns: 1fr;

    }


    .modal-full {

        grid-column: auto;

    }


    .modal-submit {

        width: 100%;

        justify-content: center;

    }

}

