/* PMI HomeV2 — hero.css */
/* Measurements: min-height 520px, bg dark photo + overlay, headline 48-56px 800, btn radius 4px */

.v2-hero, .v2-hero *, .v2-hero *::before, .v2-hero *::after { box-sizing: border-box; margin: 0; padding: 0; }

.elementor-widget-pmiv2_hero .elementor-widget-container { padding: 0 !important; margin: 0 !important; }
.elementor-section:has(.v2-hero), .e-con:has(.v2-hero) {
    padding: 0 !important;
    --padding-top: 0 !important; --padding-bottom: 0 !important;
    --padding-left: 0 !important; --padding-right: 0 !important;
}

.v2-hero {
    position: relative;
    min-height: 540px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.v2-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, #0d1530 0%, #0f2d58 55%, rgba(15,45,88,0.55) 100%);
    z-index: 1;
}

.v2-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 100px;
    width: 100%;
}

.v2-hero__content {
    max-width: 520px;
    animation: heroFadeIn 0.7s ease both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.v2-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249,115,22,0.18);
    border: 1px solid rgba(249,115,22,0.45);
    color: #f97316;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.v2-hero__headline {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v2-hero__hl-white  { color: #ffffff; display: block; }
.v2-hero__hl-orange { color: #f97316; display: block; }

.v2-hero__sub {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.82);
    line-height: 1.65;
    margin-bottom: 30px;
    max-width: 460px;
}

.v2-hero__btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.v2-hero__btn-primary {
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
}

.v2-hero__btn-primary:hover {
    background: #ea6c0a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}

.v2-hero__btn-primary:active { transform: translateY(0); }
.v2-hero__btn-primary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.v2-hero__btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.65);
    border-radius: 4px;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.v2-hero__btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.v2-hero__btn-outline:focus-visible { outline: 2px solid #f97316; outline-offset: 3px; }

@media (max-width: 900px) {
    .v2-hero { min-height: 460px; }
    .v2-hero__headline { font-size: 40px; }
    .v2-hero__content { max-width: 100%; }
}

@media (max-width: 640px) {
    .v2-hero__inner { padding: 60px 20px 80px; }
    .v2-hero__headline { font-size: 32px; }
    .v2-hero__btns { flex-direction: column; align-items: flex-start; }
    .v2-hero__btn-primary, .v2-hero__btn-outline { width: 100%; text-align: center; }
}

@media (max-width: 420px) {
    .v2-hero__headline { font-size: 28px; }
    .v2-hero__inner { padding: 50px 16px 70px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
