/* Goodcar login page — loaded only by goodcar_login_template */

@font-face {
    font-family: "Exo 2";
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url("../fonts/exo2-latin.woff2") format("woff2");
}

:root {
    --gc-bg: #0d0d0f;
    --gc-surface: rgba(24, 24, 28, .94);
    --gc-surface-solid: #18181c;
    --gc-line: rgba(255, 255, 255, .09);
    --gc-line-strong: rgba(255, 255, 255, .16);
    --gc-text: #f4f4f5;
    --gc-muted: #a1a1aa;
    --gc-orange: #ff6a2b;
    --gc-orange-2: #f05a22;
    --gc-red: #b3261e;
    --gc-grad: linear-gradient(100deg, #b3261e 0%, #e2481f 45%, #ff7a36 100%);
    --gc-radius: 20px;
    --gc-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px var(--gc-line);
    --gc-font-display: "Exo 2", "Segoe UI", system-ui, sans-serif;
    --gc-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --gc-delay: 5.5s;
}

*, *::before, *::after { box-sizing: border-box; }

html { height: auto; scroll-behavior: smooth; }

body.gc-body {
    margin: 0;
    min-height: 100vh;
    background: var(--gc-bg);
    color: var(--gc-text);
    font-family: var(--gc-font);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.gc-body a { color: inherit; }
.gc-body h1, .gc-body h2, .gc-body h3 { font-family: var(--gc-font-display); margin: 0; line-height: 1.1; }

.gc-ico {
    width: 1.15em; height: 1.15em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Background ---------- */
.gc-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.gc-bg__grid {
    position: absolute; inset: -50%;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    transform: perspective(900px) rotateX(58deg);
    transform-origin: 50% 100%;
    will-change: transform;
    animation: gc-grid 3s linear infinite;
    mask-image: linear-gradient(to top, #000 10%, transparent 70%);
    -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 70%);
}
.gc-bg__glow { position: absolute; border-radius: 50%; will-change: transform; }
.gc-bg__glow--a { width: 620px; height: 620px; left: 28%; top: -320px; background: radial-gradient(closest-side, rgba(179, 38, 30, .45), transparent); animation: gc-float 16s ease-in-out infinite; }
.gc-bg__glow--b { width: 520px; height: 520px; right: -120px; bottom: -160px; background: radial-gradient(closest-side, rgba(255, 106, 43, .22), transparent); animation: gc-float 20s ease-in-out infinite reverse; }
.gc-bg__sparks i {
    position: absolute; bottom: -10px;
    width: 3px; height: 3px; border-radius: 50%;
    background: #ffb37a; box-shadow: 0 0 10px 2px rgba(255, 122, 54, .8);
    animation: gc-rise 9s linear infinite;
    will-change: transform, opacity;
    opacity: 0;
}
.gc-bg__sparks i:nth-child(1)  { left: 6%;  animation-delay: 0s;   animation-duration: 10s; }
.gc-bg__sparks i:nth-child(2)  { left: 14%; animation-delay: 3s;   animation-duration: 12s; }
.gc-bg__sparks i:nth-child(3)  { left: 23%; animation-delay: 6s;   animation-duration: 9s; }
.gc-bg__sparks i:nth-child(4)  { left: 31%; animation-delay: 1.5s; animation-duration: 13s; }
.gc-bg__sparks i:nth-child(5)  { left: 42%; animation-delay: 4.5s; animation-duration: 11s; }
.gc-bg__sparks i:nth-child(6)  { left: 51%; animation-delay: 7s;   animation-duration: 10s; }
.gc-bg__sparks i:nth-child(7)  { left: 60%; animation-delay: 2s;   animation-duration: 14s; }
.gc-bg__sparks i:nth-child(8)  { left: 68%; animation-delay: 5s;   animation-duration: 9s; }
.gc-bg__sparks i:nth-child(9)  { left: 77%; animation-delay: 8s;   animation-duration: 12s; }
.gc-bg__sparks i:nth-child(10) { left: 85%; animation-delay: .8s;  animation-duration: 11s; }
.gc-bg__sparks i:nth-child(11) { left: 92%; animation-delay: 3.6s; animation-duration: 13s; }
.gc-bg__sparks i:nth-child(12) { left: 97%; animation-delay: 6.4s; animation-duration: 10s; }

/* ---------- Layout ---------- */
.gc-page {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    grid-template-areas:
        "hero login"
        "main login"
        "foot foot";
    gap: 32px 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 40px 32px;
}
.gc-hero  { grid-area: hero; }
.gc-login { grid-area: login; }
.gc-main  { grid-area: main; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; min-width: 0; }
.gc-footer { grid-area: foot; text-align: center; color: var(--gc-muted); font-size: 13px; padding: 8px 0 12px; }

.gc-card {
    background: var(--gc-surface);
    border-radius: var(--gc-radius);
    box-shadow: var(--gc-shadow);
}

/* ---------- Buttons ---------- */
.gc-btn {
    --gc-btn-h: 48px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--gc-btn-h); padding: 0 22px;
    border-radius: 999px; border: 0;
    font: 600 15px/1 var(--gc-font);
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .2s ease, box-shadow .25s ease, background-color .25s ease, color .2s ease;
}
.gc-btn:active { transform: translateY(1px) scale(.98); }
.gc-btn:focus-visible { outline: 2px solid var(--gc-orange); outline-offset: 3px; }
.gc-btn--primary {
    position: relative; overflow: hidden;
    color: #fff; background: var(--gc-grad);
    box-shadow: 0 10px 30px -8px rgba(240, 90, 34, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.gc-btn--primary::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
    transform: translateX(-120%);
}
.gc-hero__cta .gc-btn--primary::after,
.gc-form .gc-btn--primary::after { animation: gc-shine 4.5s ease-in-out infinite; }
.gc-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(240, 90, 34, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.gc-btn--ghost { color: var(--gc-text); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--gc-line-strong); }
.gc-btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.gc-btn--sm { --gc-btn-h: 40px; padding: 0 18px; font-size: 14px; }
.gc-btn--block { width: 100%; }
.gc-btn--fb { color: #fff; background: #1877f2; }
.gc-btn--fb:hover { background: #2d88ff; }
.gc-btn--ig { color: #fff; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.gc-btn--ig:hover { filter: brightness(1.1); }

/* ---------- Hero ---------- */
.gc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 460px;
}
.gc-logo { position: relative; max-width: 460px; margin-bottom: 26px; }
.gc-logo img {
    display: block; width: 100%; height: auto;
    filter: drop-shadow(0 10px 28px rgba(240, 90, 34, .45));
    animation: gc-logo-in 1.4s cubic-bezier(.2, .8, .2, 1) both;
}
/* light sweep clipped to the logo silhouette */
.gc-logo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 42%, rgba(255, 236, 220, .75) 50%, transparent 58%) no-repeat;
    background-size: 250% 100%;
    background-position: 150% 0;
    -webkit-mask: url("../img/goodcar_logo.png") center / contain no-repeat;
    mask: url("../img/goodcar_logo.png") center / contain no-repeat;
    animation: gc-logo-shine 5s ease-in-out 1.6s infinite;
}
.gc-hero__title {
    font-size: clamp(32px, 4.2vw, 54px);
    font-weight: 800;
    letter-spacing: -.01em;
    animation: gc-up .9s .35s cubic-bezier(.2, .8, .2, 1) both;
}
.gc-hero__title span {
    font-style: italic;
    background: var(--gc-grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.gc-hero__lead {
    max-width: 46ch; margin: 16px 0 26px;
    color: var(--gc-muted); font-size: 17px;
    animation: gc-up .9s .5s cubic-bezier(.2, .8, .2, 1) both;
}
.gc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; animation: gc-up .9s .65s cubic-bezier(.2, .8, .2, 1) both; }
.gc-hero__chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    list-style: none; margin: 24px 0 0; padding: 0;
    animation: gc-up .9s .8s cubic-bezier(.2, .8, .2, 1) both;
}
.gc-hero__chips li {
    padding: 6px 12px; border-radius: 999px;
    font-size: 12.5px; color: #e4e4e7;
    background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--gc-line);
}
.gc-hero__chips li::before { content: "●"; color: var(--gc-orange); margin-right: 6px; font-size: 9px; vertical-align: 2px; }

/* ---------- Mechanic scene ---------- */
.gc-scene { position: relative; animation: gc-fade 1.2s .2s both; }
.gc-scene svg { display: block; width: 100%; height: auto; overflow: visible; }
/* the scene stops animating while it is scrolled out of view */
.gc-scene.is-offscreen *, .gc-scene.is-offscreen { animation-play-state: paused !important; }

.gc-gear { transform-box: fill-box; transform-origin: center; }
.gc-gear--big   { animation: gc-spin 14s linear infinite; }
.gc-gear--small { animation: gc-spin 7s linear infinite reverse; }
.gc-gear__teeth { fill: none; stroke: rgba(255, 106, 43, .35); stroke-width: 12; stroke-dasharray: 8.64 8.64; }
.gc-gear__teeth--small { stroke-width: 9; stroke-dasharray: 6.91 6.91; }
.gc-gear__rim  { fill: none; stroke: rgba(255, 106, 43, .28); stroke-width: 6; }
.gc-gear__hub  { fill: rgba(255, 106, 43, .4); }

.gc-scanner { animation: gc-hover 4s ease-in-out infinite; }
.gc-scanner__frame { fill: rgba(20, 20, 24, .85); stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; }
.gc-scanner__pulse {
    fill: none; stroke: #4ade80; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 150; stroke-dashoffset: 150;
    animation: gc-pulse 2.4s linear infinite;
}
.gc-scanner__led { fill: #4ade80; animation: gc-blink 1.2s steps(2, jump-none) infinite; }
.gc-scanner__label { fill: #d4d4d8; font: 700 11px var(--gc-font-display); letter-spacing: .12em; }
.gc-scanner__stand { stroke: rgba(255, 255, 255, .18); stroke-width: 3; stroke-linecap: round; fill: none; }

.gc-floor { stroke: rgba(255, 255, 255, .25); stroke-width: 2; stroke-dasharray: 14 10; animation: gc-dash 1.6s linear infinite; }
.gc-lift__base { fill: #2a2a30; stroke: rgba(255, 255, 255, .12); }
.gc-lift__deck { fill: #3a3a42; stroke: rgba(255, 255, 255, .2); }
.gc-lift__piston {
    fill: url(#gcSteel); opacity: .85;
    transform-box: fill-box; transform-origin: 50% 100%;
    animation: gc-piston 8s cubic-bezier(.65, 0, .35, 1) infinite;
}
.gc-lift { animation: gc-lift 8s cubic-bezier(.65, 0, .35, 1) infinite; }

.gc-car__body {
    fill: rgba(240, 90, 34, .08);
    stroke: url(#gcOrange); stroke-width: 4.5; stroke-linejoin: round;
    stroke-dasharray: 1200; stroke-dashoffset: 1200;
    animation: gc-draw 2.4s .3s cubic-bezier(.6, 0, .3, 1) forwards;
}
.gc-car__halo { fill: none; stroke: #ff6a2b; stroke-width: 14; stroke-linejoin: round; opacity: 0; animation: gc-halo 1s 2.4s forwards; }
.gc-car__glass { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 106, 43, .6); stroke-width: 2; opacity: 0; animation: gc-fade .6s 2s forwards; }
.gc-car__line { fill: none; stroke: rgba(255, 106, 43, .45); stroke-width: 2; stroke-linecap: round; opacity: 0; animation: gc-fade .6s 2.2s forwards; }
.gc-car__headlight { fill: #ffd6a8; }
.gc-car__taillight { fill: #ef4444; }
.gc-beam { opacity: 0; animation: gc-beam 8s 2.6s ease-in-out infinite; }

.gc-wheel__tire { fill: #141417; stroke: #3f3f46; stroke-width: 6; }
.gc-wheel__rim { fill: none; stroke: url(#gcOrange); stroke-width: 3; }
.gc-wheel__spokes { stroke: rgba(255, 106, 43, .75); stroke-width: 2; stroke-linecap: round; }
.gc-wheel__nut { fill: #d4d4d8; }
.gc-wheel--rear { transform-box: fill-box; transform-origin: center; animation: gc-spin 1.6s linear infinite; }

.gc-wrench { animation: gc-wrench 1.1s ease-in-out infinite; }
.gc-wrench__ring { fill: none; stroke: url(#gcSteel); stroke-width: 6; }
.gc-sparks line { stroke: #ffd27a; stroke-width: 2; stroke-linecap: round; opacity: 0; animation: gc-spark 1.1s ease-out infinite; }
.gc-sparks line:nth-child(2) { animation-delay: .08s; }
.gc-sparks line:nth-child(3) { animation-delay: .16s; }
.gc-sparks line:nth-child(4) { animation-delay: .04s; }
.gc-sparks line:nth-child(5) { animation-delay: .12s; }

/* ---------- Login card ---------- */
.gc-login { position: sticky; top: 40px; align-self: start; animation: gc-slide-in 1s .15s cubic-bezier(.2, .8, .2, 1) both; }
.gc-card--login { position: relative; padding: 32px 30px 24px; }
.gc-card--login::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: linear-gradient(140deg, rgba(255, 122, 54, .8), rgba(255, 255, 255, .05) 40%, rgba(179, 38, 30, .7));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.gc-login__head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.gc-login__badge {
    width: 52px; height: 52px; flex: none;
    display: grid; place-items: center; font-size: 24px; color: #fff;
    border-radius: 16px; background: var(--gc-grad);
    box-shadow: 0 10px 24px -8px rgba(240, 90, 34, .8);
}
.gc-login__badge .gc-ico { animation: gc-wrench-badge 3s ease-in-out infinite; }
.gc-login__head h2 { font-size: 22px; font-weight: 700; }
.gc-login__head p { margin: 2px 0 0; color: var(--gc-muted); font-size: 13.5px; }

.gc-form { display: grid; gap: 16px; }
.gc-field { position: relative; }
.gc-field input {
    width: 100%; height: 56px;
    padding: 20px 48px 6px 46px;
    border-radius: 14px; border: 1px solid var(--gc-line-strong);
    background: rgba(0, 0, 0, .35); color: var(--gc-text);
    font: 500 15px var(--gc-font);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.gc-field--db input { padding-left: 16px; }
.gc-field input:hover { border-color: rgba(255, 255, 255, .28); }
.gc-field input:focus { border-color: var(--gc-orange); box-shadow: 0 0 0 4px rgba(255, 106, 43, .18); background: rgba(0, 0, 0, .5); }
.gc-field input:-webkit-autofill {
    -webkit-text-fill-color: var(--gc-text);
    -webkit-box-shadow: 0 0 0 100px #1d1d22 inset;
    caret-color: var(--gc-text);
}
.gc-field label {
    position: absolute; left: 46px; top: 18px;
    color: var(--gc-muted); font-size: 15px;
    pointer-events: none; transform-origin: 0 0;
    transition: transform .18s ease, color .18s ease;
}
.gc-field--db label { left: 16px; }
.gc-field input:focus + label,
.gc-field input:not(:placeholder-shown) + label,
.gc-field input:-webkit-autofill + label { transform: translateY(-10px) scale(.78); color: #ffb37a; }
.gc-field__icon { position: absolute; left: 16px; top: 18px; color: var(--gc-muted); transition: color .2s ease; }
.gc-field:focus-within .gc-field__icon { color: var(--gc-orange); }
.gc-field__action {
    position: absolute; right: 8px; top: 8px; height: 40px; min-width: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 10px; border: 0; border-radius: 10px;
    background: transparent; color: var(--gc-muted);
    font: 600 13px var(--gc-font); text-decoration: none; cursor: pointer;
}
.gc-field__action:hover { color: var(--gc-text); background: rgba(255, 255, 255, .06); }
.gc-field__eye.is-on { color: var(--gc-orange); }

.gc-alert { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.gc-alert--error { background: rgba(239, 68, 68, .14); color: #fecaca; box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .35); animation: gc-shake .45s ease; }
.gc-alert--ok { background: rgba(74, 222, 128, .12); color: #bbf7d0; box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .3); }

.gc-form .gc-btn--primary { --gc-btn-h: 54px; margin-top: 4px; font-size: 16px; border-radius: 14px; }
.gc-form .gc-btn--primary .gc-ico { transition: transform .25s ease; }
.gc-form .gc-btn--primary:hover .gc-ico { transform: translateX(4px); }
.gc-link { background: none; border: 0; padding: 0; color: var(--gc-muted); font: 500 13.5px var(--gc-font); cursor: pointer; }
.gc-link--center { justify-self: center; }
.gc-form__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.gc-form__links:empty { display: none; }
.gc-form__links a { color: var(--gc-muted); text-decoration: none; }
.gc-form__links a:hover, .gc-link:hover { color: #ffb37a; }
.gc-form__links a:only-child { margin-left: auto; }

.gc-login__client {
    display: block; width: 100%; margin-top: 22px; padding: 14px 16px;
    border: 1px dashed rgba(255, 106, 43, .45); border-radius: 14px;
    background: rgba(255, 106, 43, .06); color: #e4e4e7;
    font: 400 14px var(--gc-font); text-align: center; cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.gc-login__client strong { color: #ffb37a; font-weight: 600; }
.gc-login__client:hover { background: rgba(255, 106, 43, .12); border-color: var(--gc-orange); }
.gc-login__foot {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 6px;
    margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gc-line);
    color: #71717a; font-size: 12px;
}
.gc-login__foot a { text-decoration: none; }
.gc-login__foot a:hover { color: var(--gc-text); }

/* ---------- Sections ---------- */
.gc-section__head { margin-bottom: 18px; }
.gc-section__head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
.gc-kicker {
    display: inline-block; margin-bottom: 6px;
    font: 700 12px var(--gc-font-display); letter-spacing: .18em; text-transform: uppercase;
    color: var(--gc-orange);
}
.gc-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.gc-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Carousel ---------- */
.gc-carousel { position: relative; border-radius: var(--gc-radius); outline: none; }
.gc-carousel:focus-visible { box-shadow: 0 0 0 2px var(--gc-orange); }
.gc-carousel__viewport { overflow: hidden; border-radius: var(--gc-radius); box-shadow: var(--gc-shadow); touch-action: pan-y; }
.gc-carousel__track { display: flex; will-change: transform; transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
.gc-slide {
    position: relative; flex: 0 0 100%;
    min-height: 340px; overflow: hidden;
    display: flex; align-items: flex-end;
    user-select: none;
}
.gc-slide--service {
    align-items: center;
    background:
        radial-gradient(120% 140% at 100% 50%, rgba(240, 90, 34, .35), transparent 55%),
        linear-gradient(120deg, #1a1a1f, #111114);
}
.gc-slide--service:nth-child(even) { background: radial-gradient(120% 140% at 100% 50%, rgba(179, 38, 30, .4), transparent 55%), linear-gradient(120deg, #1c1a1a, #111114); }
.gc-slide__icon {
    position: absolute; right: 6%; top: 50%;
    width: min(38%, 230px); height: auto;
    fill: none; stroke: var(--gc-orange); stroke-width: 2.4;
    stroke-linecap: round; stroke-linejoin: round;
    transform: translateY(-50%) scale(.85) rotate(-8deg); opacity: 0;
    filter: drop-shadow(0 0 18px rgba(255, 106, 43, .55));
    transition: transform 1s cubic-bezier(.2, .8, .2, 1) .25s, opacity .8s ease .25s;
}
.gc-slide.is-active .gc-slide__icon { transform: translateY(-50%) scale(1) rotate(0); opacity: .95; }
.gc-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s ease-out; }
.gc-slide.is-active .gc-slide__img { transform: scale(1); }
.gc-slide--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .2) 55%, transparent); }
.gc-slide__body { position: relative; z-index: 1; max-width: 56%; padding: 36px 40px 64px; }
.gc-slide--photo .gc-slide__body { max-width: 100%; }
.gc-slide__body > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.gc-slide.is-active .gc-slide__body > * { opacity: 1; transform: none; }
.gc-slide.is-active .gc-slide__body > :nth-child(2) { transition-delay: .1s; }
.gc-slide.is-active .gc-slide__body > :nth-child(3) { transition-delay: .2s; }
.gc-slide.is-active .gc-slide__body > :nth-child(4) { transition-delay: .3s; }
.gc-slide__kicker { display: inline-block; font: 700 12px var(--gc-font-display); letter-spacing: .2em; text-transform: uppercase; color: #ffb37a; }
.gc-slide__title { margin: 8px 0 10px !important; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; }
.gc-slide__text { margin: 0 0 20px; color: #d4d4d8; max-width: 44ch; }

.gc-carousel__nav {
    position: absolute; top: calc(50% - 20px); transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    display: grid; place-items: center;
    color: #fff; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px var(--gc-line-strong);
    cursor: pointer; opacity: 0; transition: opacity .25s ease, background-color .2s ease;
}
.gc-carousel:hover .gc-carousel__nav, .gc-carousel:focus-within .gc-carousel__nav { opacity: 1; }
.gc-carousel__nav:hover { background: var(--gc-orange-2); }
.gc-carousel__nav--prev { left: 14px; }
.gc-carousel__nav--next { right: 14px; }
.gc-carousel__footer {
    position: absolute; left: 40px; right: 40px; bottom: 22px; z-index: 2;
    display: flex; align-items: center; gap: 18px;
}
.gc-carousel__dots { display: flex; gap: 8px; }
.gc-carousel__dots button {
    width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .3); cursor: pointer;
    transition: width .35s ease, background-color .35s ease;
}
.gc-carousel__dots button[aria-selected="true"] { width: 28px; background: var(--gc-orange); }
.gc-carousel__progress { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.gc-carousel__progress span { display: block; height: 100%; width: 100%; background: var(--gc-grad); transform-origin: 0 50%; animation: gc-progress var(--gc-delay) linear forwards; }
.gc-carousel.is-paused .gc-carousel__progress span { animation-play-state: paused; }
.gc-carousel.is-single .gc-carousel__nav, .gc-carousel.is-single .gc-carousel__footer { display: none; }

/* ---------- Follow us ---------- */
.gc-follow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gc-follow__card {
    --gc-brand: #1877f2;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    padding: 26px; border-radius: var(--gc-radius);
    background: var(--gc-surface); box-shadow: var(--gc-shadow);
    text-decoration: none;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.gc-follow__card--ig { --gc-brand: #dc2743; }
.gc-follow__card::before {
    content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px;
    border-radius: 50%; background: radial-gradient(closest-side, var(--gc-brand), transparent); opacity: .3;
    transition: opacity .3s ease, transform .5s ease;
}
.gc-follow__card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px var(--gc-brand); }
.gc-follow__card:hover::before { opacity: .55; transform: scale(1.2); }
.gc-follow__card:focus-visible { outline: 2px solid var(--gc-brand); outline-offset: 3px; }
.gc-follow__icon {
    position: relative; width: 60px; height: 60px; border-radius: 18px;
    display: grid; place-items: center; color: #fff;
    background: #1877f2; box-shadow: 0 12px 26px -10px var(--gc-brand);
    transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.gc-follow__card--ig .gc-follow__icon { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.gc-follow__icon svg { width: 30px; height: 30px; fill: currentColor; }
.gc-follow__card--ig .gc-follow__icon svg { fill: none; }
.gc-follow__card:hover .gc-follow__icon { transform: rotate(-8deg) scale(1.08); }
.gc-follow__text { position: relative; display: grid; gap: 2px; }
.gc-follow__text strong { font: 700 22px var(--gc-font-display); color: var(--gc-text); }
.gc-follow__text small { color: #ffb37a; font-weight: 600; font-size: 14px; word-break: break-all; }
.gc-follow__text span { margin-top: 6px; color: var(--gc-muted); font-size: 14px; }
.gc-follow__card .gc-btn { position: relative; margin-top: auto; }

/* ---------- Location ---------- */
.gc-location { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.4fr); overflow: hidden; }
.gc-location__info { padding: 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.gc-location__pin {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center; font-size: 22px; color: #fff;
    background: var(--gc-grad); box-shadow: 0 10px 24px -8px rgba(240, 90, 34, .8);
    margin-bottom: 6px;
}
.gc-location__info h3 { font-size: 20px; font-weight: 700; }
.gc-location address { font-style: normal; color: var(--gc-muted); }
.gc-location__phone { display: inline-flex; align-items: center; gap: 8px; color: #ffb37a !important; text-decoration: none; font-weight: 600; }
.gc-location__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.gc-location__map { position: relative; min-height: 300px; background: #1b1b20; }
.gc-location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Dark map only on mouse devices: mobile browsers (iOS Safari above all) can leave a filtered cross-origin iframe blank */
@media (hover: hover) and (pointer: fine) {
    .gc-location__map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.9) contrast(.95); transition: filter .5s ease; }
    .gc-location__map:hover iframe { filter: none; }
}
.gc-location__open {
    position: absolute; right: 10px; top: 10px; z-index: 2; display: none;
    padding: 8px 12px; border-radius: 999px;
    background: rgba(13, 13, 15, .88); color: #fff !important;
    font-size: 12.5px; font-weight: 600; text-decoration: none;
    box-shadow: inset 0 0 0 1px var(--gc-line-strong);
}
.gc-location__map.is-live .gc-location__open { display: inline-block; }
.gc-map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.gc-location__marker {
    position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -36px 0 0 -20px;
    fill: var(--gc-orange); stroke: #16161a; stroke-width: 1.5; pointer-events: none;
}
.gc-location__load { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(13, 13, 15, .85); }
.gc-location__load:hover { transform: translateX(-50%) translateY(-2px); }
.gc-location__map.is-live .gc-map-art,
.gc-location__map.is-live .gc-location__marker,
.gc-location__map.is-live .gc-location__ping,
.gc-location__map.is-live .gc-location__load { display: none; }
.gc-location__ping {
    position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
    border-radius: 50%; pointer-events: none;
    border: 2px solid var(--gc-orange);
    animation: gc-ping 2s ease-out infinite;
}

/* ---------- FAB / mobile bar ---------- */
.gc-fab {
    position: fixed; right: 24px; bottom: 24px; z-index: 20;
    width: 60px; height: 60px; border-radius: 50%; border: 0;
    display: grid; place-items: center;
    color: #fff; background: #25d366; cursor: pointer;
    box-shadow: 0 12px 28px -6px rgba(37, 211, 102, .6);
    transition: transform .2s ease;
}
.gc-fab::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #25d366; animation: gc-ping-wa 2.2s ease-out infinite; }
.gc-fab:hover { transform: scale(1.08); }
.gc-fab svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gc-mobilebar { display: none; }

/* ---------- Quote dialog ---------- */
.gc-dialog {
    width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
    padding: 0; border: 0; border-radius: 24px;
    background: var(--gc-surface-solid); color: var(--gc-text);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px var(--gc-line-strong);
}
.gc-dialog[open] { animation: gc-pop .35s cubic-bezier(.2, .9, .3, 1.2); }
.gc-dialog::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gc-quote { position: relative; display: grid; gap: 14px; padding: 30px; margin: 0; }
.gc-quote h2 { font-size: 26px; font-weight: 800; }
.gc-quote__hint { margin: -4px 0 4px; color: var(--gc-muted); font-size: 14px; }
.gc-quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gc-quote__field { display: grid; gap: 6px; }
.gc-quote__field > span { font-size: 13px; color: var(--gc-muted); font-weight: 500; }
.gc-quote__field input, .gc-quote__field select, .gc-quote__field textarea {
    width: 100%; padding: 12px 14px;
    border-radius: 12px; border: 1px solid var(--gc-line-strong);
    background: rgba(0, 0, 0, .35); color: var(--gc-text);
    font: 500 15px var(--gc-font); outline: none; resize: vertical;
}
.gc-quote__field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #a1a1aa 50%), linear-gradient(135deg, #a1a1aa 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.gc-quote__field select option { background: #18181c; }
.gc-quote__field input:focus, .gc-quote__field select:focus, .gc-quote__field textarea:focus { border-color: var(--gc-orange); box-shadow: 0 0 0 4px rgba(255, 106, 43, .18); }
.gc-quote__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.gc-quote__actions .gc-btn--primary { flex: 1; }
.gc-dialog__close {
    position: absolute; right: 16px; top: 16px; width: 36px; height: 36px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--gc-text);
    font-size: 22px; line-height: 1; cursor: pointer;
}
.gc-dialog__close:hover { background: rgba(255, 255, 255, .16); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .gc-page { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding: 32px 28px; }
    .gc-hero { grid-template-columns: 1fr; min-height: 0; }
    .gc-scene { max-width: 560px; }
}

@media (max-width: 900px) {
    .gc-page {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "hero" "login" "main" "foot";
        padding: 24px 16px calc(96px + env(safe-area-inset-bottom));
        gap: 28px;
    }
    .gc-login { position: static; max-width: 520px; width: 100%; justify-self: center; }
    .gc-hero { text-align: center; justify-items: center; gap: 8px; }
    .gc-logo { margin: 0 auto 18px; max-width: 340px; }
    .gc-hero__lead { margin-left: auto; margin-right: auto; }
    .gc-hero__cta, .gc-hero__chips { justify-content: center; }
    .gc-scene { width: 100%; order: -1; max-width: 460px; margin-bottom: -10px; }
    .gc-hero__copy { display: flex; flex-direction: column; align-items: center; }
    .gc-location { grid-template-columns: 1fr; }
    .gc-location__map { min-height: 260px; }
    .gc-fab { display: none; }
    .gc-mobilebar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
        display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(13, 13, 15, .97);
        border-top: 1px solid var(--gc-line);
    }
}

@media (max-width: 640px) {
    body.gc-body { font-size: 14.5px; }
    .gc-hero__title { font-size: 32px; }
    .gc-hero__lead { font-size: 15.5px; }
    .gc-hero__cta { width: 100%; }
    .gc-hero__cta .gc-btn { flex: 1 1 100%; }
    .gc-card--login { padding: 26px 20px 20px; }
    .gc-follow { grid-template-columns: 1fr; }
    .gc-follow__card { padding: 22px 20px; }
    .gc-slide { min-height: 380px; align-items: flex-start; }
    .gc-slide__body { max-width: 100%; padding: 28px 22px 70px; }
    .gc-slide--photo .gc-slide__body { margin-top: auto; }
    .gc-slide__icon { top: auto; bottom: 54px; right: 18px; width: 110px; opacity: .25 !important; transform: none !important; }
    .gc-carousel__nav { display: none; }
    .gc-carousel__footer { left: 22px; right: 22px; }
    .gc-quote { padding: 24px 20px; }
    .gc-quote__row { grid-template-columns: 1fr; }
    .gc-location__info { padding: 24px 20px; }
}

/* ---------- Keyframes ---------- */
@keyframes gc-grid { from { transform: perspective(900px) rotateX(58deg) translateY(0); } to { transform: perspective(900px) rotateX(58deg) translateY(56px); } }
@keyframes gc-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(60px, 40px); } }
@keyframes gc-rise {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(-105vh) translateX(40px); opacity: 0; }
}
@keyframes gc-spin { to { transform: rotate(360deg); } }
@keyframes gc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gc-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes gc-slide-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes gc-logo-in {
    /* negative insets leave room for the drop-shadow glow */
    from { opacity: 0; clip-path: inset(-60px 100% -60px -60px); transform: translateX(-20px); }
    to { opacity: 1; clip-path: inset(-60px -60px -60px -60px); transform: none; }
}
@keyframes gc-logo-shine { 0% { background-position: 150% 0; } 45%, 100% { background-position: -50% 0; } }
@keyframes gc-shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes gc-draw { to { stroke-dashoffset: 0; } }
@keyframes gc-halo { to { opacity: .16; } }
@keyframes gc-lift { 0%, 12%, 88%, 100% { transform: translateY(0); } 38%, 62% { transform: translateY(-38px); } }
@keyframes gc-piston { 0%, 12%, 88%, 100% { transform: scaleY(1); } 38%, 62% { transform: scaleY(2.19); } }
@keyframes gc-beam { 0%, 30% { opacity: 0; } 40%, 60% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes gc-wrench { 0%, 100% { transform: rotate(-58deg); } 50% { transform: rotate(-18deg); } }
@keyframes gc-spark {
    0%, 40% { opacity: 0; transform: scale(.4); }
    50% { opacity: 1; transform: scale(1); }
    80%, 100% { opacity: 0; transform: scale(1.5); }
}
@keyframes gc-wrench-badge { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-25deg); } 90% { transform: rotate(10deg); } }
@keyframes gc-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes gc-pulse { to { stroke-dashoffset: -150; } }
@keyframes gc-blink { 50% { opacity: .25; } }
@keyframes gc-dash { to { stroke-dashoffset: -24; } }
@keyframes gc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes gc-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }
@keyframes gc-ping-wa { from { transform: scale(1); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }
@keyframes gc-pop { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes gc-shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .gc-carousel__progress { display: none; }
    .gc-reveal { opacity: 1; transform: none; }
}
