/* ═══════════════════════════════════════════════════════════
   Sundouq Home — modern landing with motion + animated mesh
   ═══════════════════════════════════════════════════════════ */
.home-page {
    --hp-primary: #451745;
    --hp-secondary: #612861;
    --hp-accent: #f1b44c;
    --hp-accent-glow: #ffc50d;
    --hp-dark: #1a0a1a;
    --hp-muted: #6b6b80;
    --hp-surface: #ffffff;
    --hp-radius: 1.25rem;
    --hp-radius-lg: 1.75rem;
    --hp-shadow: 0 32px 80px rgba(69, 23, 69, 0.14);
    --hp-shadow-sm: 0 16px 40px rgba(69, 23, 69, 0.1);
    --hp-gradient: linear-gradient(135deg, #2e0d2e 0%, #451745 35%, #612861 70%, #7a3478 100%);
    --hp-gradient-text: linear-gradient(120deg, #fff 0%, #ffe9b8 50%, #fff 100%);
    --home-nav-h: 88px;
    position: relative;
    overflow-x: clip;
    background: #faf8fc;
}

html {
    scroll-padding-top: calc(var(--home-nav-h, 88px) + 0.75rem);
}

/* ── Global animated background ── */
.home-page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-page-bg__mesh {
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(97, 40, 97, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(241, 180, 76, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 60% 20%, rgba(69, 23, 69, 0.1) 0%, transparent 45%);
    animation: hpMeshDrift 22s ease-in-out infinite alternate;
}

.home-page-bg__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(69, 23, 69, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69, 23, 69, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.3) 100%);
    animation: hpGridPulse 8s ease-in-out infinite;
}

.home-page-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: hpOrbFloat 14s ease-in-out infinite;
}

.home-page-bg__orb--1 {
    width: 420px;
    height: 420px;
    top: 10%;
    inset-inline-start: -8%;
    background: rgba(97, 40, 97, 0.35);
    animation-delay: 0s;
}

.home-page-bg__orb--2 {
    width: 320px;
    height: 320px;
    top: 55%;
    inset-inline-end: -5%;
    background: rgba(241, 180, 76, 0.25);
    animation-delay: -5s;
    animation-duration: 18s;
}

.home-page-bg__orb--3 {
    width: 260px;
    height: 260px;
    bottom: 5%;
    inset-inline-start: 35%;
    background: rgba(69, 23, 69, 0.2);
    animation-delay: -9s;
    animation-duration: 20s;
}

@keyframes hpMeshDrift {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(3%, 2%) rotate(3deg) scale(1.05); }
}

@keyframes hpGridPulse {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 0.85; }
}

@keyframes hpOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -40px) scale(1.08); }
    66%      { transform: translate(-20px, 25px) scale(0.95); }
}

/* ── Scroll reveal ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ── Hero ── */
.home-hero {
    position: relative;
    z-index: 1;
    min-height: max(520px, calc(100svh - var(--home-nav-h, 88px)));
    min-height: max(520px, calc(100vh - var(--home-nav-h, 88px)));
    display: flex;
    align-items: center;
    padding: calc(var(--home-nav-h, 88px) + 2rem) 0 5rem;
    color: #fff;
    overflow: hidden;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--hp-gradient);
    z-index: 0;
}

.home-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.home-hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.home-hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    animation: hpParticleRise linear infinite;
}

.home-hero__particle:nth-child(1)  { left: 8%;  animation-duration: 12s; animation-delay: 0s; }
.home-hero__particle:nth-child(2)  { left: 18%; animation-duration: 15s; animation-delay: -2s; width: 3px; height: 3px; }
.home-hero__particle:nth-child(3)  { left: 28%; animation-duration: 11s; animation-delay: -4s; }
.home-hero__particle:nth-child(4)  { left: 42%; animation-duration: 17s; animation-delay: -1s; width: 5px; height: 5px; }
.home-hero__particle:nth-child(5)  { left: 55%; animation-duration: 13s; animation-delay: -6s; }
.home-hero__particle:nth-child(6)  { left: 68%; animation-duration: 16s; animation-delay: -3s; width: 3px; height: 3px; }
.home-hero__particle:nth-child(7)  { left: 78%; animation-duration: 14s; animation-delay: -7s; }
.home-hero__particle:nth-child(8)  { left: 88%; animation-duration: 18s; animation-delay: -5s; width: 6px; height: 6px; opacity: 0.3; }
.home-hero__particle:nth-child(9)  { left: 35%; animation-duration: 20s; animation-delay: -8s; width: 2px; height: 2px; }
.home-hero__particle:nth-child(10) { left: 92%; animation-duration: 10s; animation-delay: -9s; }

@keyframes hpParticleRise {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.4; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

.home-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
    animation: hpGlowPulse 6s ease-in-out infinite;
}

.home-hero__glow--a {
    width: 380px;
    height: 380px;
    top: -12%;
    inset-inline-end: -6%;
    background: rgba(255, 197, 13, 0.35);
}

.home-hero__glow--b {
    width: 300px;
    height: 300px;
    bottom: -8%;
    inset-inline-start: -4%;
    background: rgba(255, 255, 255, 0.12);
    animation-delay: -3s;
}

@keyframes hpGlowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.12); }
}

.home-hero__inner {
    position: relative;
    z-index: 2;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    animation: hpFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    max-width: 16ch;
    background: var(--hp-gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hpFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both,
               hpShimmer 6s linear infinite;
}

@keyframes hpShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes hpFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.home-hero-text {
    font-size: 1.125rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.82);
    max-width: 34rem;
    margin-bottom: 2rem;
    animation: hpFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
    animation: hpFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.home-btn-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--hp-primary);
    border: none;
    font-weight: 700;
    padding: 0.85rem 1.65rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.home-btn-light:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    color: var(--hp-primary);
}

.home-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
    padding: 0.85rem 1.65rem;
    border-radius: 999px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.home-btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    transform: translateY(-2px);
}

.home-track-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: var(--hp-radius-lg);
    padding: 1.15rem;
    box-shadow: var(--hp-shadow);
    border: 1px solid rgba(255, 255, 255, 0.7);
    animation: hpFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.home-track-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hp-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.home-track-input {
    border: 1px solid #e8e4ef;
    border-radius: 0.85rem;
    padding: 0.95rem 1.1rem;
    background: #f8f6fb;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.home-track-input:focus {
    outline: none;
    border-color: var(--hp-primary);
    box-shadow: 0 0 0 4px rgba(69, 23, 69, 0.12);
}

.home-track-btn {
    border: none;
    border-radius: 0.85rem;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-accent-glow) 100%);
    color: var(--hp-dark);
    font-weight: 800;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(241, 180, 76, 0.4);
}

.home-track-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(241, 180, 76, 0.5);
}

.home-hero-visual {
    position: relative;
    animation: hpFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.home-hero-visual__ring {
    position: absolute;
    inset: -8%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: hpRingSpin 24s linear infinite;
}

.home-hero-visual__ring--inner {
    inset: 4%;
    animation-direction: reverse;
    animation-duration: 18s;
    border-style: dashed;
    opacity: 0.5;
}

@keyframes hpRingSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.home-hero-visual img {
    position: relative;
    z-index: 2;
    border-radius: var(--hp-radius-lg);
    box-shadow: var(--hp-shadow);
    animation: hpHeroFloat 7s ease-in-out infinite;
}

@keyframes hpHeroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(0.5deg); }
}

.home-hero-badge {
    position: absolute;
    z-index: 3;
    inset-inline-start: -0.75rem;
    bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    color: var(--hp-primary);
    border-radius: 1rem;
    padding: 0.9rem 1.15rem;
    box-shadow: var(--hp-shadow-sm);
    font-weight: 700;
    font-size: 0.9rem;
    animation: hpBadgePulse 3s ease-in-out infinite;
}

@keyframes hpBadgePulse {
    0%, 100% { box-shadow: var(--hp-shadow-sm); }
    50%      { box-shadow: 0 20px 50px rgba(69, 23, 69, 0.2); }
}

/* Hero stat pills */
.home-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
    animation: hpFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.home-stat-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.home-stat-pill ion-icon {
    color: var(--hp-accent);
    font-size: 1.1rem;
}

/* ── Sections ── */
.home-section {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.home-section-alt {
    background: linear-gradient(180deg, rgba(250, 248, 252, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.home-section-head {
    max-width: 44rem;
    margin-bottom: 3.5rem;
}

.home-section-head.centered {
    margin-inline: auto;
    text-align: center;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hp-secondary);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.home-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--hp-accent), var(--hp-secondary));
    border-radius: 2px;
}

.home-section-head.centered .home-kicker::before {
    display: none;
}

.home-title {
    font-size: clamp(1.85rem, 3.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--hp-dark);
    margin-bottom: 1rem;
}

.home-lead {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--hp-muted);
    margin-bottom: 0;
}

/* About / section media */
.home-about-media {
    position: relative;
    max-width: 520px;
    margin-inline: auto;
}

.home-about-media__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--hp-radius-lg);
    box-shadow: 0 18px 44px rgba(69, 23, 69, 0.14);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.home-about-media:hover .home-about-media__img {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px rgba(69, 23, 69, 0.18);
}

@media (min-width: 992px) {
    .home-about-media {
        margin-inline: 0;
        max-width: none;
    }
}

.home-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    background: var(--hp-gradient);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 8px 24px rgba(69, 23, 69, 0.25);
}

.home-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(69, 23, 69, 0.35);
    color: #fff;
}

/* Service cards — glass + gradient border */
.home-service-card {
    position: relative;
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: var(--hp-radius);
    padding: 2rem 1.75rem;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease;
    box-shadow: 0 4px 24px rgba(69, 23, 69, 0.06);
}

.home-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(69, 23, 69, 0.15), rgba(241, 180, 76, 0.2), rgba(97, 40, 97, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.35s;
}

.home-service-card::after {
    content: "";
    position: absolute;
    top: -50%;
    inset-inline-end: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(241, 180, 76, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.home-service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--hp-shadow-sm);
    color: inherit;
}

.home-service-card:hover::after {
    opacity: 1;
}

/* Systems / processes cards */
.home-systems-section {
    position: relative;
}

.home-system-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
    padding: 1.65rem 1.5rem 1.4rem;
    border-radius: var(--hp-radius-lg);
    background: #fff;
    border: 1px solid rgba(69, 23, 69, 0.08);
    box-shadow: 0 8px 32px rgba(69, 23, 69, 0.07);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-system-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--hp-gradient);
    opacity: 0.85;
}

.home-system-card--fulfillment::before {
    background: linear-gradient(90deg, #451745, #7a3478);
}

.home-system-card--delivery::before {
    background: linear-gradient(90deg, #c45c00, #f1b44c);
}

.home-system-card--inventory::before {
    background: linear-gradient(90deg, #0d7a6b, #14b8a6);
}

.home-system-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(69, 23, 69, 0.12);
    border-color: rgba(69, 23, 69, 0.14);
    color: inherit;
}

.home-system-card__step {
    position: absolute;
    top: 1.15rem;
    inset-inline-end: 1.15rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(69, 23, 69, 0.35);
}

.home-system-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 1.1rem;
    color: var(--hp-primary);
    background: linear-gradient(135deg, rgba(69, 23, 69, 0.1) 0%, rgba(241, 180, 76, 0.12) 100%);
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.home-system-card--delivery .home-system-card__icon {
    color: #c45c00;
    background: linear-gradient(135deg, rgba(196, 92, 0, 0.12), rgba(241, 180, 76, 0.15));
}

.home-system-card--inventory .home-system-card__icon {
    color: #0d7a6b;
    background: linear-gradient(135deg, rgba(13, 122, 107, 0.12), rgba(20, 184, 166, 0.14));
}

.home-system-card:hover .home-system-card__icon {
    transform: scale(1.06);
    background: var(--hp-gradient);
    color: #fff;
}

.home-system-card--delivery:hover .home-system-card__icon {
    background: linear-gradient(135deg, #c45c00, #f1b44c);
}

.home-system-card--inventory:hover .home-system-card__icon {
    background: linear-gradient(135deg, #0d7a6b, #14b8a6);
}

.home-system-card__title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--hp-dark);
    margin: 0 0 0.65rem;
    line-height: 1.3;
}

.home-system-card__text {
    flex: 1;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--hp-muted);
}

.home-system-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hp-secondary);
    transition: gap 0.25s ease, color 0.25s ease;
}

.home-system-card:hover .home-system-card__cta {
    gap: 0.65rem;
    color: var(--hp-primary);
}

.home-icon-wrap {
    position: relative;
    z-index: 1;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(69, 23, 69, 0.1) 0%, rgba(97, 40, 97, 0.06) 100%);
    color: var(--hp-primary);
    margin-bottom: 1.35rem;
    font-size: 1.65rem;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s;
}

.home-service-card:hover .home-icon-wrap,
.home-system-card:hover .home-icon-wrap {
    transform: scale(1.1) rotate(-4deg);
    background: linear-gradient(135deg, var(--hp-primary) 0%, var(--hp-secondary) 100%);
    color: #fff;
}

.home-card-title {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    color: var(--hp-dark);
}

.home-card-text {
    position: relative;
    z-index: 1;
    color: var(--hp-muted);
    line-height: 1.75;
    margin: 0;
    font-size: 0.95rem;
}

.home-card-arrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-top: 1rem;
    color: var(--hp-secondary);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s, transform 0.3s;
}

[dir="rtl"] .home-card-arrow {
    transform: translateX(8px);
}

[dir="rtl"] .home-btn-light ion-icon,
[dir="rtl"] .home-btn-secondary ion-icon,
[dir="rtl"] .home-card-arrow ion-icon {
    transform: scaleX(-1);
}

[dir="rtl"] .home-service-card:hover .home-card-arrow {
    transform: scaleX(-1) translateX(0);
}

.home-service-card:hover .home-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Feature timeline */
.home-timeline {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.home-timeline::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    inset-inline-start: 1.15rem;
    width: 2px;
    background: linear-gradient(180deg, var(--hp-accent), var(--hp-secondary));
    opacity: 0.35;
}

.home-timeline li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    position: relative;
}

.home-timeline__dot {
    flex-shrink: 0;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--hp-accent);
    color: var(--hp-primary);
    font-size: 1.1rem;
    z-index: 1;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.home-timeline li:hover .home-timeline__dot {
    background: var(--hp-gradient);
    color: #fff;
    border-color: transparent;
    transform: scale(1.12);
}

.home-timeline__text {
    flex: 1;
    padding: 0.75rem 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(69, 23, 69, 0.08);
    border-radius: 0.85rem;
    color: #3d3d50;
    font-weight: 500;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.home-timeline li:hover .home-timeline__text {
    border-color: rgba(69, 23, 69, 0.2);
    box-shadow: 0 8px 24px rgba(69, 23, 69, 0.08);
    transform: translateX(4px);
}

[dir="rtl"] .home-timeline li:hover .home-timeline__text {
    transform: translateX(-4px);
}

/* Marquee removed — use home-trust-bar in home-footer.css */

/* Contact */
.home-contact-shell {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-radius: var(--hp-radius-lg);
    border: 1px solid rgba(69, 23, 69, 0.1);
    box-shadow: var(--hp-shadow);
    overflow: hidden;
}

.home-contact-banner {
    position: relative;
    background: var(--hp-gradient);
    color: #fff;
    padding: 2.5rem 2rem;
    overflow: hidden;
}

.home-contact-banner::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(241, 180, 76, 0.2);
    filter: blur(40px);
    top: -50px;
    inset-inline-end: -30px;
    animation: hpGlowPulse 5s ease-in-out infinite;
}

.home-contact-banner .home-kicker {
    color: rgba(255, 255, 255, 0.6);
}

.home-contact-banner .home-kicker::before {
    background: var(--hp-accent);
}

.home-contact-banner .home-title {
    color: #fff;
}

.home-contact-form {
    padding: 2.25rem;
}

.home-contact-form .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--hp-dark);
}

.home-contact-form .form-control {
    border-radius: 0.75rem;
    border-color: #e4e0ea;
    padding: 0.85rem 1rem;
    background: #faf9fc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.home-contact-form .form-control:focus {
    border-color: var(--hp-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(69, 23, 69, 0.1);
}

.home-submit-btn {
    border: none;
    border-radius: 999px;
    padding: 0.9rem 2.25rem;
    background: var(--hp-gradient);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 8px 24px rgba(69, 23, 69, 0.3);
}

.home-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(69, 23, 69, 0.4);
    color: #fff;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .home-hero {
        min-height: auto;
        padding-top: calc(var(--home-nav-h, 72px) + 1.25rem);
        padding-bottom: 3.5rem;
    }

    .home-hero__inner .row {
        row-gap: 2rem !important;
    }

    .home-hero-title {
        max-width: none;
        font-size: clamp(1.85rem, 7vw, 2.75rem);
    }

    .home-hero-text {
        font-size: 1rem;
    }

    .home-hero-badge {
        display: none;
    }

    .home-hero-visual__ring {
        display: none;
    }

    .home-section {
        padding: 4rem 0;
    }

    .home-timeline::before {
        display: none;
    }

    .home-trust-bar__item {
        font-size: 0.75rem;
        padding: 0.85rem 0.65rem;
    }
}

@media (max-width: 575.98px) {
    .home-hero-actions {
        flex-direction: column;
    }

    .home-hero-actions .home-btn-light,
    .home-hero-actions .home-btn-outline {
        width: 100%;
        justify-content: center;
    }

    .home-hero-stats {
        gap: 0.5rem;
    }

    .home-stat-pill {
        font-size: 0.75rem;
        padding: 0.45rem 0.75rem;
    }
}
