/* =====================================================
   Horizon Médical – Global Widget Styles
   The Clinical Concierge Design System
   ===================================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    --hm-primary:               #2357ba;
    --hm-primary-container:     #4370d5;
    --hm-on-primary:            #ffffff;
    --hm-on-primary-container:  #fefcff;
    --hm-secondary:             #4a5f80;
    --hm-tertiary:              #676000;
    --hm-tertiary-fixed:        #f5e600;
    --hm-on-tertiary-fixed:     #1f1c00;
    --hm-surface:               #f9f9ff;
    --hm-surface-low:           #f0f3ff;
    --hm-surface-lowest:        #ffffff;
    --hm-surface-container:     #e7eeff;
    --hm-surface-highest:       #d5e3ff;
    --hm-on-surface:            #021c39;
    --hm-on-surface-variant:    #434653;
    --hm-outline-variant:       #c3c6d5;
    --hm-gold:                  #b8972a;
    --hm-gold-dark:             #9a7d23;
    --hm-dark-bg:               #0a1128;

    --hm-font-headline: 'Manrope', sans-serif;
    --hm-font-body:     'Inter', sans-serif;

    --hm-radius-md: 0.75rem;
    --hm-radius-lg: 1rem;
    --hm-radius-xl: 1.5rem;
    --hm-radius-2xl: 2rem;
    --hm-radius-3xl: 3rem;
}

/* --- Material Symbols --- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
}

/* =====================================================
   ELEMENTOR FULL-WIDTH OVERRIDE
   Force Hero et Valeurs à couvrir 100% de la largeur
   même si la colonne/section Elementor a un padding.
   ===================================================== */

/* 1. Supprime tout padding du widget-container Elementor */
.elementor-widget-hm_hero > .elementor-widget-container,
.elementor-widget-hm_values > .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

/* 2. Le widget lui-même prend toute la largeur disponible */
.elementor-widget-hm_hero,
.elementor-widget-hm_values {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 3. Les sections <section> internes débordent sur toute la largeur viewport
      en utilisant la technique negative margin compensée */
.hm-hero,
.hm-values {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 4. Si le thème ou Elementor applique un container avec max-width sur la ligne/colonne,
      on compense via margin négatif dynamique (fallback universel) */
.elementor-column .elementor-widget-hm_hero,
.elementor-column .elementor-widget-hm_values,
.e-con-inner .elementor-widget-hm_hero,
.e-con-inner .elementor-widget-hm_values {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
}

.elementor-column .elementor-widget-hm_hero > .elementor-widget-container,
.elementor-column .elementor-widget-hm_values > .elementor-widget-container,
.e-con-inner .elementor-widget-hm_hero > .elementor-widget-container,
.e-con-inner .elementor-widget-hm_values > .elementor-widget-container {
    width: 100% !important;
    padding: 0 !important;
}

/* =====================================================
   NAV WIDGET
   ===================================================== */
.hm-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.hm-nav.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.hm-nav.scrolled .hm-nav__logo,
.hm-nav.scrolled .hm-nav__link {
    color: var(--hm-on-surface) !important;
}
.hm-nav.scrolled .hm-nav__login { color: var(--hm-on-surface) !important; }
.hm-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hm-nav__logo {
    font-family: var(--hm-font-headline);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    text-decoration: none;
}
.hm-nav__menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hm-nav__link {
    font-family: var(--hm-font-headline);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}
.hm-nav__link:hover { color: #fff; }
.hm-nav__link--active {
    color: #fff;
    border-bottom: 2px solid var(--hm-gold);
    padding-bottom: 2px;
}
.hm-nav__actions { display: flex; gap: 1rem; align-items: center; }
.hm-nav__login {
    font-family: var(--hm-font-headline);
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1.25rem;
    border-radius: var(--hm-radius-md);
    transition: background 0.2s;
}
.hm-nav__login:hover { background: rgba(184,151,42,0.1); }
.hm-btn-gold {
    background: var(--hm-gold);
    color: #fff !important;
    font-family: var(--hm-font-headline);
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1.5rem;
    border-radius: var(--hm-radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(184,151,42,0.35);
}
.hm-btn-gold:hover {
    background: var(--hm-gold-dark);
    transform: translateY(-1px);
}

/* =====================================================
   HERO WIDGET
   ===================================================== */
.hm-hero {
    position: relative;
    min-height: 870px;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #2357ba 0%, #4370d5 100%);
}
.hm-hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}
.hm-hero__ring1 {
    position: absolute;
    top: 25%;
    right: 25%;
    width: 16rem;
    height: 16rem;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: ping 4s cubic-bezier(0,0,0.2,1) infinite;
}
.hm-hero__ring2 {
    position: absolute;
    bottom: 33%;
    left: 25%;
    width: 8rem;
    height: 8rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: bounce 6s ease-in-out infinite;
}
.hm-hero__inner {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}
.hm-hero__content { max-width: 48rem; }
.hm-hero__badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(12px);
    font-family: var(--hm-font-body);
}
.hm-hero__title {
    font-family: var(--hm-font-headline);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 2rem;
}
.hm-hero__subtitle {
    font-family: var(--hm-font-body);
    font-size: 1.2rem;
    color: rgba(219,234,254,0.9);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 42rem;
}
.hm-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hm-hero__btn-primary {
    background: var(--hm-gold);
    color: #fff;
    font-family: var(--hm-font-headline);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: var(--hm-radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}
.hm-hero__btn-primary:hover { background: var(--hm-gold-dark); transform: translateY(-1px); }
.hm-hero__btn-primary .material-symbols-outlined { transition: transform 0.2s; }
.hm-hero__btn-primary:hover .material-symbols-outlined { transform: translateX(4px); }
.hm-hero__btn-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-family: var(--hm-font-headline);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: var(--hm-radius-md);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.hm-hero__btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* =====================================================
   INTRO WIDGET
   ===================================================== */
.hm-intro {
    padding: 6rem 0;
    background: var(--hm-surface);
}
.hm-intro__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.hm-intro__gold-bar {
    width: 4rem;
    height: 4px;
    background: var(--hm-gold);
    margin-bottom: 2rem;
}
.hm-intro__title {
    font-family: var(--hm-font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hm-on-surface);
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}
.hm-intro__text {
    font-family: var(--hm-font-body);
    font-size: 1.1rem;
    color: var(--hm-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.hm-intro__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.hm-intro__list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--hm-font-body);
    font-weight: 500;
    color: var(--hm-on-surface);
}
.hm-intro__list-item .material-symbols-outlined { color: var(--hm-primary); font-size: 1.4rem; }
.hm-intro__image-wrap { position: relative; }
.hm-intro__image-bg {
    position: absolute;
    inset: -1rem;
    background: rgba(35,87,186,0.05);
    border-radius: var(--hm-radius-2xl);
    transform: rotate(-3deg);
}
.hm-intro__image {
    position: relative;
    border-radius: var(--hm-radius-2xl);
    box-shadow: 0 20px 60px rgba(2,28,57,0.15);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

/* =====================================================
   SERVICES WIDGET
   ===================================================== */
.hm-services {
    padding: 6rem 0;
    background: var(--hm-surface-low);
}
.hm-services__inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.hm-services__header { text-align: center; max-width: 48rem; margin: 0 auto 5rem; }
.hm-services__title {
    font-family: var(--hm-font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hm-on-surface);
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}
.hm-services__subtitle {
    font-family: var(--hm-font-body);
    color: var(--hm-secondary);
    font-size: 1rem;
}
.hm-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.hm-service-card {
    background: var(--hm-surface-lowest);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(2,28,57,0.04);
    border: 1px solid transparent;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.hm-service-card:hover {
    box-shadow: 0 20px 40px rgba(2,28,57,0.1);
    border-color: rgba(35,87,186,0.1);
    transform: translateY(-4px);
}
.hm-service-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--hm-radius-lg);
    background: rgba(35,87,186,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hm-primary);
    margin-bottom: 1.5rem;
    transition: background 0.3s, color 0.3s;
}
.hm-service-card__icon .material-symbols-outlined { font-size: 1.75rem; }
.hm-service-card:hover .hm-service-card__icon {
    background: var(--hm-primary);
    color: #fff;
}
.hm-service-card__title {
    font-family: var(--hm-font-headline);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hm-on-surface);
    margin: 0 0 1rem;
}
.hm-service-card__text {
    font-family: var(--hm-font-body);
    font-size: 0.875rem;
    color: var(--hm-secondary);
    line-height: 1.7;
    margin: 0;
}

/* =====================================================
   HOW IT WORKS WIDGET
   ===================================================== */
.hm-how {
    padding: 6rem 0;
    background: var(--hm-surface);
    overflow: hidden;
}
.hm-how__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 4rem;
    align-items: center;
}
.hm-how__gallery {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.hm-how__col1 { display: flex; flex-direction: column; gap: 1rem; padding-top: 3rem; }
.hm-how__col2 { display: flex; flex-direction: column; gap: 1rem; }
.hm-how__img-wrap {
    background: var(--hm-surface-highest);
    border-radius: var(--hm-radius-xl);
    padding: 4px;
    height: 250px;
    overflow: hidden;
}
.hm-how__img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--hm-radius-xl) - 4px); display: block; }
.hm-how__stat {
    background: rgba(35,87,186,0.1);
    border-radius: var(--hm-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}
.hm-how__stat span {
    font-family: var(--hm-font-headline);
    font-size: 3rem;
    font-weight: 700;
    color: var(--hm-primary);
}
.hm-how__icon-box {
    background: var(--hm-tertiary-fixed);
    border-radius: var(--hm-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}
.hm-how__icon-box .material-symbols-outlined { font-size: 3.5rem; color: var(--hm-on-tertiary-fixed, #1f1c00); }
.hm-how__content { flex: 1; }
.hm-how__title {
    font-family: var(--hm-font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hm-on-surface);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}
.hm-how__subtitle {
    font-family: var(--hm-font-body);
    font-size: 1.1rem;
    color: var(--hm-secondary);
    margin-bottom: 2.5rem;
}
.hm-how__steps { display: flex; flex-direction: column; gap: 2rem; }
.hm-how__step { display: flex; gap: 1.5rem; }
.hm-how__step-num {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid var(--hm-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hm-font-headline);
    font-weight: 700;
    color: var(--hm-gold);
    font-size: 0.9rem;
}
.hm-how__step-title {
    font-family: var(--hm-font-headline);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hm-on-surface);
    margin: 0 0 0.5rem;
}
.hm-how__step-text {
    font-family: var(--hm-font-body);
    font-size: 0.875rem;
    color: var(--hm-secondary);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   VALUES WIDGET
   ===================================================== */
.hm-values {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: var(--hm-dark-bg);
    color: #fff;
}
.hm-values__bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hm-values__bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: brightness(0.4);
}
.hm-values__bg-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(184,151,42,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(184,151,42,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    animation: float-grid 20s linear infinite;
}
.hm-values__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,17,40,0.8) 0%, transparent 50%, rgba(10,17,40,0.8) 100%);
    z-index: 0;
}
.hm-values__scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, rgba(35,87,186,0.4), transparent);
    filter: blur(2px);
    animation: scanline 10s ease-in-out infinite;
    z-index: 1;
}
.hm-values__svg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    width: 100%;
    height: 100%;
}
.hm-values__inner { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.hm-values__header { text-align: center; margin-bottom: 4rem; }
.hm-values__title {
    font-family: var(--hm-font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
}
.hm-values__bar { width: 6rem; height: 4px; background: var(--hm-gold); margin: 0 auto; }
.hm-values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.hm-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.hm-value-item__num {
    font-family: var(--hm-font-headline);
    font-size: 3.75rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    transition: color 0.5s;
}
.hm-value-item:hover .hm-value-item__num { color: rgba(184,151,42,0.2); }
.hm-value-item__title {
    font-family: var(--hm-font-headline);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.hm-value-item__text {
    font-family: var(--hm-font-body);
    font-size: 0.875rem;
    color: rgba(219,234,254,0.7);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   STATS WIDGET
   ===================================================== */
.hm-stats {
    padding: 5rem 0;
    background: var(--hm-surface-container);
}
.hm-stats__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}
.hm-stat__value {
    font-family: var(--hm-font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hm-primary);
    margin-bottom: 0.5rem;
    display: block;
}
.hm-stat__label {
    font-family: var(--hm-font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--hm-secondary);
}

/* =====================================================
   CTA WIDGET
   ===================================================== */
.hm-cta {
    padding: 6rem 0;
    background: var(--hm-surface);
}
.hm-cta__inner { max-width: 1000px; margin: 0 auto; padding: 0 2rem; }
.hm-cta__box {
    background: var(--hm-primary-container);
    border-radius: var(--hm-radius-3xl);
    padding: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(2,28,57,0.18);
}
.hm-cta__gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2357ba 0%, #4370d5 100%);
    opacity: 0.1;
}
.hm-cta__content { position: relative; z-index: 10; }
.hm-cta__title {
    font-family: var(--hm-font-headline);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--hm-on-primary-container);
    margin: 0 0 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.hm-cta__text {
    font-family: var(--hm-font-body);
    font-size: 1.1rem;
    color: rgba(254,252,255,0.8);
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.hm-cta__btn {
    background: var(--hm-gold);
    color: #fff;
    font-family: var(--hm-font-headline);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 1.25rem 3rem;
    border-radius: var(--hm-radius-xl);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(184,151,42,0.45);
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}
.hm-cta__btn:hover { background: var(--hm-gold-dark); transform: translateY(-2px); }

/* =====================================================
   FOOTER WIDGET
   ===================================================== */
.hm-footer {
    background: var(--hm-surface-low);
    border-radius: var(--hm-radius-3xl) var(--hm-radius-3xl) 0 0;
    margin-top: 5rem;
}
.hm-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.hm-footer__brand-name {
    font-family: var(--hm-font-headline);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--hm-on-surface);
    display: block;
    margin-bottom: 0.25rem;
}
.hm-footer__copy {
    font-family: var(--hm-font-headline);
    font-size: 0.85rem;
    color: var(--hm-secondary);
    margin: 0;
}
.hm-footer__links { display: flex; flex-wrap: wrap; gap: 2rem; }
.hm-footer__link {
    font-family: var(--hm-font-headline);
    font-size: 0.875rem;
    color: var(--hm-secondary);
    text-decoration: none;
    transition: color 0.2s, text-decoration-color 0.2s;
    text-decoration-color: transparent;
}
.hm-footer__link:hover {
    color: #4875DA;
    text-decoration: underline;
    text-decoration-color: var(--hm-gold);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.15; }
}
@keyframes ping {
    75%, 100% { transform: scale(1.5); opacity: 0; }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}
@keyframes float-grid {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}
@keyframes float-particle {
    0%, 100% { transform: translate(0,0); }
    25% { transform: translate(10px,-15px); }
    50% { transform: translate(-5px,10px); }
    75% { transform: translate(-15px,-5px); }
}
@keyframes pulse-line {
    0%, 100% { opacity: 0.1; stroke-width: 1; }
    50% { opacity: 0.3; stroke-width: 1.5; }
}
.hm-animate-float { animation: float-particle 20s ease-in-out infinite; }
.hm-animate-pulse-line { animation: pulse-line 8s ease-in-out infinite; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
    .hm-intro__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hm-services__grid { grid-template-columns: 1fr 1fr; }
    .hm-how__inner { flex-direction: column; }
    .hm-values__grid { grid-template-columns: 1fr 1fr; }
    .hm-stats__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hm-nav__menu { display: none; }
    .hm-cta__box { padding: 3rem 2rem; }
}
@media (max-width: 600px) {
    .hm-services__grid { grid-template-columns: 1fr; }
    .hm-values__grid { grid-template-columns: 1fr; }
    .hm-footer__inner { flex-direction: column; align-items: flex-start; }
}
