/* Azzab Moto — public homepage (professional) */

.sd-home {
    --sd-home-bg: #08090d;
    --sd-home-surface: #111318;
    --sd-home-surface-2: #161a22;
    --sd-home-border: rgba(255, 255, 255, 0.08);
    --sd-home-text: #f4f1ec;
    --sd-home-muted: rgba(244, 241, 236, 0.62);
    --sd-home-accent: #d32f2f;
    --sd-home-accent-2: #b71c1c;
    --sd-home-blue: #1e3a5f;
    --sd-home-teal: #0d9488;
    --sd-home-radius: 1rem;
    --sd-home-radius-lg: 1.35rem;
    --sd-home-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
    color: var(--sd-home-text);
}

.sd-home-section {
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 3vw, 2.25rem);
}

.sd-home-section__head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.sd-home-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(211, 47, 47, 0.35);
    background: rgba(211, 47, 47, 0.1);
    color: #ff9a9a;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.sd-home-section__title {
    margin: 0 0 0.55rem;
    font-family: "Changa", "Cairo", sans-serif;
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}

.sd-home-section__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--sd-home-muted);
}

/* Hero */
.sd-home-hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 7rem 1.25rem 5.5rem;
    text-align: center;
    overflow: hidden;
}

.sd-home-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 70% at 50% 35%, rgba(30, 58, 95, 0.35), transparent 58%),
        radial-gradient(circle at 12% 88%, rgba(211, 47, 47, 0.22), transparent 42%),
        linear-gradient(180deg, rgba(6, 8, 12, 0.5) 0%, rgba(8, 9, 13, 0.78) 50%, rgba(8, 9, 13, 0.95) 100%),
        url("/images/public-home-hero.jpg") center 40% / cover no-repeat;
    transform: scale(1.04);
    animation: sd-home-ken 24s ease-in-out infinite alternate;
    filter: saturate(1.08) contrast(1.04);
}

.sd-home-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(4, 6, 10, 0.55) 0%, transparent 38%, rgba(8, 9, 13, 0.88) 100%),
        linear-gradient(115deg, rgba(211, 47, 47, 0.14) 0%, transparent 42%, rgba(30, 58, 95, 0.18) 100%);
}

.sd-home-hero__inner {
    position: relative;
    z-index: 2;
    width: min(100%, 44rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: sd-home-rise 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sd-home-hero__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sd-home-hero__logo {
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.5));
}

.sd-home-hero__name {
    margin: 0;
    font-family: "Changa", "Cairo", sans-serif;
    font-size: clamp(2rem, 7vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.sd-home-hero__tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 248, 242, 0.9);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(10px);
}

.sd-home-hero__tagline i {
    color: #ff8a8a;
    font-size: 0.9rem;
}

.sd-home-hero__headline {
    margin: 0 0 0.85rem;
    max-width: 38rem;
    font-family: "Changa", "Cairo", sans-serif;
    font-size: clamp(1.85rem, 5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}

.sd-home-hero__lede {
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    font-size: clamp(1rem, 2.1vw, 1.1rem);
    line-height: 1.8;
    color: rgba(248, 244, 239, 0.82);
}

.sd-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.sd-home-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.75rem 1.35rem;
    border-radius: 0.85rem;
    text-decoration: none;
    font-weight: 750;
    font-size: 0.94rem;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sd-home-hero__cta--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--sd-home-accent) 0%, var(--sd-home-accent-2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(183, 28, 28, 0.38);
}

.sd-home-hero__cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(183, 28, 28, 0.48);
}

.sd-home-hero__cta--ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.sd-home-hero__cta--ghost:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-2px);
}

.sd-home-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    width: min(100%, 32rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 560px) {
    .sd-home-hero__stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.sd-home-hero__stat {
    padding: 0.7rem 0.55rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 9, 13, 0.55);
    backdrop-filter: blur(10px);
}

.sd-home-hero__stat strong {
    display: block;
    font-family: "Changa", "Cairo", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.sd-home-hero__stat span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.35;
}

.sd-home-hero__scroll {
    position: absolute;
    z-index: 2;
    inset-inline: 0;
    bottom: 1.25rem;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.sd-home-hero__scroll span {
    width: 1.3rem;
    height: 2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    position: relative;
}

.sd-home-hero__scroll span::after {
    content: "";
    position: absolute;
    top: 0.35rem;
    inset-inline-start: 50%;
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: #fff;
    transform: translateX(-50%);
    animation: sd-home-scroll 1.6s ease-in-out infinite;
}

/* Trust bar */
.sd-home-trust {
    position: relative;
    z-index: 3;
    margin-top: -2.75rem;
    padding-bottom: 0.5rem;
}

.sd-home-trust__rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: var(--sd-home-radius-lg);
    border: 1px solid var(--sd-home-border);
    background: rgba(14, 16, 22, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: var(--sd-home-shadow);
}

.sd-home-trust__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 248, 242, 0.88);
}

.sd-home-trust__item i {
    color: #ff8a8a;
    font-size: 0.95rem;
}

/* Highlights */
.sd-home-highlights {
    padding: 3.25rem 0 1.5rem;
}

.sd-home-highlights__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.sd-home-highlights__card {
    position: relative;
    padding: 1.35rem 1.25rem 1.25rem;
    border-radius: var(--sd-home-radius-lg);
    border: 1px solid var(--sd-home-border);
    background: linear-gradient(165deg, var(--sd-home-surface-2) 0%, var(--sd-home-surface) 100%);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
    animation: sd-home-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sd-home-highlights__card:hover {
    transform: translateY(-4px);
    border-color: rgba(211, 47, 47, 0.28);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.sd-home-highlights__card:nth-child(2) { animation-delay: 0.06s; }
.sd-home-highlights__card:nth-child(3) { animation-delay: 0.12s; }
.sd-home-highlights__card:nth-child(4) { animation-delay: 0.18s; }

.sd-home-highlights__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.85rem;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.2) 0%, rgba(30, 58, 95, 0.25) 100%);
    color: #ff9a9a;
    font-size: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sd-home-highlights__title {
    margin: 0 0 0.4rem;
    font-family: "Changa", "Cairo", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.sd-home-highlights__body {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--sd-home-muted);
}

/* About + services */
.sd-home-about {
    padding: 2rem 0 2.5rem;
}

.sd-home-about__panel {
    border: 1px solid var(--sd-home-border);
    background: linear-gradient(180deg, rgba(17, 19, 24, 0.95) 0%, rgba(12, 14, 18, 0.98) 100%);
    border-radius: 1.5rem;
    padding: clamp(1.35rem, 3vw, 2rem);
    box-shadow: var(--sd-home-shadow);
}

.sd-home-about__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(13, 148, 136, 0.4);
    background: rgba(13, 148, 136, 0.12);
    color: #6ee7d8;
    font-size: 0.78rem;
    font-weight: 800;
}

.sd-home-about__grid {
    display: grid;
    gap: 1.75rem;
    margin-top: 1.25rem;
}

@media (min-width: 900px) {
    .sd-home-about__grid {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: start;
    }
}

.sd-home-about__panel .sd-home-section__title {
    text-align: start;
    margin: 0 0 0.5rem;
}

.sd-home-about__text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--sd-home-muted);
}

.sd-home-about__services-title {
    margin: 0 0 0.85rem;
    font-family: "Changa", "Cairo", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.sd-home-about__services {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.sd-home-about__services li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
    font-weight: 650;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 248, 242, 0.92);
    transition: background 180ms ease, border-color 180ms ease;
}

.sd-home-about__services li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(211, 47, 47, 0.2);
}

.sd-home-about__services li i {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    color: var(--sd-home-accent);
}

.sd-home-about__promise {
    margin-top: 1.5rem;
    padding: 1.15rem 1.2rem;
    border-radius: var(--sd-home-radius-lg);
    border: 1px solid rgba(13, 148, 136, 0.28);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(17, 19, 24, 0.5) 100%);
}

.sd-home-about__promise-title {
    margin: 0 0 0.35rem;
    font-family: "Changa", "Cairo", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #7dffe8;
}

.sd-home-about__promise-body {
    margin: 0;
    color: var(--sd-home-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* Process */
.sd-home-process {
    padding: 1rem 0 2.5rem;
}

.sd-home-process__steps {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
    counter-reset: sd-step;
}

.sd-home-process__step {
    position: relative;
    padding: 1.15rem 1.1rem 1.1rem 1.15rem;
    border-radius: var(--sd-home-radius-lg);
    border: 1px solid var(--sd-home-border);
    background: var(--sd-home-surface);
}

.sd-home-process__step::before {
    counter-increment: sd-step;
    content: counter(sd-step, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.65rem;
    border-radius: 0.55rem;
    background: rgba(211, 47, 47, 0.16);
    border: 1px solid rgba(211, 47, 47, 0.3);
    color: #ffb4b4;
    font-size: 0.78rem;
    font-weight: 800;
}

.sd-home-process__step-title {
    margin: 0 0 0.3rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
}

.sd-home-process__step-body {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--sd-home-muted);
}

/* Opening CTA */
.sd-home-offer {
    padding: 0 0 2.5rem;
}

.sd-home-offer__banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 1.5rem;
    border: 1px solid rgba(211, 47, 47, 0.28);
    background:
        linear-gradient(135deg, rgba(211, 47, 47, 0.14) 0%, rgba(30, 58, 95, 0.2) 55%, rgba(17, 19, 24, 0.9) 100%);
    box-shadow: var(--sd-home-shadow);
}

.sd-home-offer__text {
    flex: 1 1 16rem;
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    font-weight: 700;
    line-height: 1.7;
    color: rgba(255, 248, 242, 0.92);
}

.sd-home-offer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.sd-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0.65rem 1.1rem;
    border-radius: 0.8rem;
    font-weight: 750;
    font-size: 0.92rem;
    text-decoration: none;
    color: #fff;
    border: 1px solid transparent;
    transition: transform 180ms ease, filter 180ms ease;
}

.sd-home-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.sd-home-btn--primary {
    background: linear-gradient(135deg, var(--sd-home-accent), var(--sd-home-accent-2));
    box-shadow: 0 10px 28px rgba(183, 28, 28, 0.32);
}

.sd-home-btn--whatsapp {
    background: #128c7e;
    border-color: #128c7e;
}

.sd-home-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
}

/* Contact */
.sd-home-contact {
    padding: 0 0 3.5rem;
}

.sd-home-contact__grid {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .sd-home-contact__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sd-home-contact__card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.25rem 1.2rem;
    border-radius: var(--sd-home-radius-lg);
    border: 1px solid var(--sd-home-border);
    background: var(--sd-home-surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 180ms ease, transform 180ms ease;
}

a.sd-home-contact__card:hover {
    border-color: rgba(211, 47, 47, 0.25);
    transform: translateY(-2px);
}

.sd-home-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: rgba(211, 47, 47, 0.14);
    color: #ff9a9a;
    font-size: 1rem;
}

.sd-home-contact__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.sd-home-contact__value {
    font-size: 0.96rem;
    font-weight: 650;
    line-height: 1.6;
    color: rgba(255, 248, 242, 0.92);
}

.sd-home-contact__social {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

/* Nav scroll state */
.sd-public-nav.is-scrolled {
    position: fixed;
    background: rgba(8, 9, 13, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.sd-public-nav.is-scrolled + .sd-public-main .sd-home-hero {
    padding-top: 7.5rem;
}

/* Footer styles: assets/sd-public-footer.css */

@keyframes sd-home-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sd-home-ken {
    from { transform: scale(1.04) translateY(0); }
    to { transform: scale(1.1) translateY(-1.2%); }
}

@keyframes sd-home-scroll {
    0%, 100% { opacity: 0.2; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(0.45rem); }
}

@media (max-width: 640px) {
    .sd-home-trust { margin-top: -1.75rem; }
    .sd-home-hero { min-height: 94vh; min-height: 94dvh; padding-bottom: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .sd-home-hero__media,
    .sd-home-hero__inner,
    .sd-home-highlights__card,
    .sd-home-hero__scroll span::after {
        animation: none;
    }
}
