:root {
    color-scheme: dark;
    --red: #ed1c24;
    --red-deep: #b80f16;
    --black: #050505;
    --panel: #090909;
    --line: rgba(255,255,255,.13);
    --muted: #a9a9ad;
    --white: #f5f5f5;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--black); }
body.gpmw-page {
    min-height: 100%;
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }

.gpmw-shell {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(430px, .9fr);
    background: #050505;
    border: 5px solid var(--red);
    overflow: hidden;
}

.gpmw-visual {
    position: relative;
    min-height: calc(100svh - 10px);
    overflow: hidden;
    isolation: isolate;
    background: #030303;
}
.gpmw-slides, .gpmw-slide { position: absolute; inset: 0; }
.gpmw-slide {
    background-image: var(--image);
    background-size: cover;
    background-position: var(--position, center);
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1.25s ease, transform 8s ease;
    will-change: opacity, transform;
}
.gpmw-slide.is-active { opacity: 1; transform: scale(1.09); }
.gpmw-visual-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.14) 55%, rgba(0,0,0,.78) 100%),
        linear-gradient(0deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.08) 52%, rgba(0,0,0,.12) 100%);
    pointer-events: none;
}
.gpmw-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    box-shadow: inset -30px 0 60px rgba(0,0,0,.48), inset 0 0 0 1px rgba(255,255,255,.06);
    pointer-events: none;
}
.gpmw-visual-content {
    position: absolute;
    left: clamp(28px, 4vw, 72px);
    bottom: clamp(50px, 9vh, 110px);
    z-index: 3;
    max-width: 560px;
    text-shadow: 0 5px 22px rgba(0,0,0,.85);
}
.gpmw-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}
.gpmw-kicker::before {
    content: "";
    width: 42px;
    height: 3px;
    background: var(--red);
    box-shadow: 0 0 18px rgba(237,28,36,.7);
}
.gpmw-visual h1 {
    margin: 0;
    font-size: clamp(46px, 6.1vw, 104px);
    line-height: .88;
    letter-spacing: -.055em;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 950;
}
.gpmw-visual h1 span { color: var(--red); }
.gpmw-visual-content p {
    margin: 24px 0 0;
    color: rgba(255,255,255,.88);
    font-size: clamp(15px, 1.35vw, 21px);
    font-weight: 650;
}
.gpmw-dots {
    position: absolute;
    left: clamp(28px, 4vw, 72px);
    bottom: 24px;
    z-index: 4;
    display: flex;
    gap: 9px;
}
.gpmw-dots button {
    width: 30px;
    height: 4px;
    border: 0;
    border-radius: 99px;
    padding: 0;
    background: rgba(255,255,255,.28);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.gpmw-dots button.is-active { width: 54px; background: var(--red); }
.gpmw-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }

.gpmw-panel {
    position: relative;
    background:
        radial-gradient(circle at 100% 0, rgba(237,28,36,.12), transparent 28%),
        linear-gradient(145deg, #111 0%, #070707 48%, #020202 100%);
    border-left: 1px solid rgba(255,255,255,.08);
    overflow-y: auto;
}
.gpmw-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, #000, transparent 62%);
}
.gpmw-panel-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 650px);
    min-height: 100%;
    margin: 0 auto;
    padding: clamp(22px, 3.5vw, 58px) clamp(24px, 3.2vw, 58px) 32px;
    display: flex;
    flex-direction: column;
}
.gpmw-logo {
    display: block;
    width: min(100%, 430px);
    height: auto;
    margin: -8px auto 12px;
    mix-blend-mode: screen;
}
.gpmw-status {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    margin-top: 4px;
    color: #d7d7d7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.gpmw-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 6px rgba(237,28,36,.1), 0 0 20px rgba(237,28,36,.7);
    animation: gpmwPulse 2s infinite;
}
@keyframes gpmwPulse { 50% { box-shadow: 0 0 0 10px rgba(237,28,36,0), 0 0 24px rgba(237,28,36,.9); } }
.gpmw-panel h2 {
    margin: 15px 0 7px;
    font-size: clamp(39px, 4vw, 69px);
    line-height: .98;
    letter-spacing: -.045em;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 950;
}
.gpmw-panel h2::after {
    content: "";
    display: block;
    width: 76px;
    height: 4px;
    margin-top: 14px;
    background: var(--red);
    box-shadow: 0 0 22px rgba(237,28,36,.5);
}
.gpmw-intro {
    margin: 7px 0 21px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}
.gpmw-alert {
    margin-bottom: 16px;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
}
.gpmw-alert ul { margin: 7px 0 0 18px; padding: 0; }
.gpmw-alert-success { background: rgba(46,160,67,.14); border: 1px solid rgba(70,198,92,.45); color: #d7ffe0; }
.gpmw-alert-error { background: rgba(237,28,36,.1); border: 1px solid rgba(237,28,36,.48); color: #ffd9db; }

.gpmw-form { display: grid; gap: 12px; }
.gpmw-grid { display: grid; gap: 12px; }
.gpmw-grid-two { grid-template-columns: 1fr 1fr; }
.gpmw-form label { display: grid; gap: 6px; }
.gpmw-form label > span:not(.gpmw-consent span) {
    color: #c9c9cb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .105em;
    text-transform: uppercase;
}
.gpmw-form input:not([type="checkbox"]),
.gpmw-form select,
.gpmw-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255,255,255,.055);
    color: #fff;
    outline: none;
    padding: 11px 13px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.gpmw-form textarea { min-height: 92px; resize: vertical; }
.gpmw-form select { color-scheme: dark; }
.gpmw-form input::placeholder,
.gpmw-form textarea::placeholder { color: #77777c; }
.gpmw-form input:focus,
.gpmw-form select:focus,
.gpmw-form textarea:focus {
    border-color: rgba(237,28,36,.92);
    background: rgba(255,255,255,.075);
    box-shadow: 0 0 0 3px rgba(237,28,36,.11);
}
.gpmw-consent {
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 9px !important;
    color: #9d9da2;
    font-size: 11px;
    line-height: 1.45;
}
.gpmw-consent input { margin: 2px 0 0; accent-color: var(--red); }
.gpmw-submit {
    min-height: 51px;
    border: 0;
    border-radius: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f3252d, #c80d14);
    color: #fff;
    box-shadow: 0 12px 34px rgba(237,28,36,.24), inset 0 1px 0 rgba(255,255,255,.25);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.gpmw-submit svg { width: 21px; height: 21px; transition: transform .2s ease; }
.gpmw-submit:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 40px rgba(237,28,36,.34); }
.gpmw-submit:hover svg { transform: translateX(4px); }
.gpmw-submit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gpmw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gpmw-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin: 19px 0 13px;
    color: #8f8f94;
    font-size: 12px;
}
.gpmw-contact a { color: #fff; font-weight: 750; text-decoration: none; }
.gpmw-contact a:hover { color: var(--red); }
.gpmw-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 9px;
}
.gpmw-services span {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 99px;
    padding: 6px 10px;
    color: #8f8f94;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .gpmw-shell { grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr); }
    .gpmw-visual h1 { font-size: clamp(48px, 7vw, 76px); }
    .gpmw-panel-inner { padding-inline: 28px; }
}

@media (max-width: 840px) {
    .gpmw-shell { display: block; border-width: 4px; overflow: visible; }
    .gpmw-visual { min-height: 48svh; }
    .gpmw-visual-overlay { background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.08) 70%); }
    .gpmw-visual::after { box-shadow: inset 0 -35px 60px rgba(0,0,0,.58), inset 0 0 0 1px rgba(255,255,255,.05); }
    .gpmw-visual-content { bottom: 45px; }
    .gpmw-visual h1 { font-size: clamp(42px, 12vw, 72px); }
    .gpmw-visual-content p { margin-top: 14px; }
    .gpmw-dots { bottom: 17px; }
    .gpmw-panel { overflow: visible; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
    .gpmw-panel-inner { padding: 24px 20px 30px; }
    .gpmw-logo { width: min(100%, 390px); }
}

@media (max-width: 560px) {
    .gpmw-shell { border-width: 3px; }
    .gpmw-visual { min-height: 43svh; }
    .gpmw-visual-content { left: 20px; right: 20px; bottom: 38px; }
    .gpmw-kicker { margin-bottom: 12px; font-size: 9px; }
    .gpmw-visual h1 { font-size: clamp(38px, 13vw, 58px); }
    .gpmw-visual-content p { font-size: 13px; }
    .gpmw-dots { left: 20px; bottom: 13px; }
    .gpmw-grid-two { grid-template-columns: 1fr; }
    .gpmw-panel h2 { font-size: 43px; }
    .gpmw-logo { margin-bottom: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .gpmw-slide.is-active { transform: none; }
}
