/* ===========================================================
   VYRON PPF — Design System
   Palette: near-black base, racing red, metallic gold accent
   Type: Oswald (display, condensed/aggressive) + Inter (body)
   Signature: animated "shield sweep" light scan across the hero car
   =========================================================== */

:root {
    --black: #0a0a0c;
    --charcoal: #131316;
    --charcoal-2: #1c1c20;
    --steel: #2b2c31;
    --red: #e2001a;
    --red-deep: #a5000f;
    --gold: #c9a24b;
    --gold-soft: #e4c98a;
    --white: #f5f4f0;
    --muted: #9a9aa0;
    --success: #3fae5a;

    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius: 4px;
    --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 0%, rgba(226,0,26,0.08), transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(201,162,75,0.06), transparent 35%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
    line-height: 1.1;
}

.eyebrow {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 12px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--red);
}

.section {
    padding: 90px 0;
    position: relative;
}
.section-alt { background: var(--charcoal); }

.section-head {
    max-width: 620px;
    margin-bottom: 50px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 32px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
    background: var(--red);
    color: var(--white);
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-outline {
    border-color: var(--steel);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-gold {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #14140f;
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,10,12,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
}
.logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 4px;
}
.logo span { color: var(--red); }
.logo small {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--muted);
    text-transform: uppercase;
    margin-left: 6px;
}
.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-links a {
    font-family: var(--font-display);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    position: relative;
    padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--red);
}
.nav-cta { display: flex; gap: 14px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 26px; cursor: pointer; }

@media (max-width: 900px) {
    .nav-links { position: fixed; top: 82px; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--steel); transform: translateY(-140%); transition: transform 0.3s ease; }
    .nav-links.open { transform: translateY(0); }
    .nav-toggle { display: block; }
    .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 82px;
    background: linear-gradient(180deg, #0a0a0c 0%, #101012 60%, #0a0a0c 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}
@media (max-width: 900px) {
    .hero {
        min-height: 100vh;
        padding-top: 110px;
        padding-bottom: 60px;
        background:
            linear-gradient(180deg, rgba(8,8,10,0.78) 0%, rgba(8,8,10,0.5) 38%, rgba(8,8,10,0.94) 100%),
            url('../img/hero-mobile.jpg') center 22% / cover no-repeat;
    }
    .hero-grid { grid-template-columns: 1fr; gap: 0; }
    .hero-visual { display: none; }
    .hero p.lead { max-width: 100%; }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--steel);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
    font-size: clamp(40px, 6vw, 70px);
    margin-bottom: 22px;
}
.hero h1 .accent { color: var(--red); }
.hero p.lead {
    color: var(--muted);
    font-size: 17px;
    max-width: 480px;
    margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-badges-row { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-mini-badge { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.hero-mini-badge svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* Hero photo */
.hero-visual {
    position: relative;
    aspect-ratio: 3/2;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(160deg, #1a1a1d, #0c0c0e);
    border: 1px solid var(--steel);
}
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,12,0) 55%, rgba(10,10,12,0.85) 100%);
    pointer-events: none;
}
.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}
.hero-visual-caption {
    position: absolute;
    bottom: 18px; left: 18px; right: 18px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--muted);
}
.hero-visual-caption span:last-child { color: var(--gold); }

/* ---------- Feature badges (shield chips) ---------- */
.shield-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.shield-card {
    background: var(--charcoal);
    border: 1px solid var(--steel);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.shield-card:hover { border-color: var(--red); transform: translateY(-4px); }
.shield-card .icon { color: var(--gold); width: 34px; height: 34px; margin-bottom: 18px; }
.shield-card h3 { font-size: 18px; margin-bottom: 10px; }
.shield-card p { color: var(--muted); font-size: 14px; }

@media (max-width: 800px) { .shield-row { grid-template-columns: 1fr; } }

/* ---------- Stats strip ---------- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--steel);
    border-bottom: 1px solid var(--steel);
}
.stat-item {
    padding: 34px 20px;
    text-align: center;
    border-right: 1px solid var(--steel);
}
.stat-item:last-child { border-right: none; }
.stat-item .num { font-family: var(--font-display); font-size: 36px; color: var(--gold); }
.stat-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-top: 6px; }
@media (max-width: 700px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } .stat-item:nth-child(2) { border-right: none; } }

/* ---------- Process ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--steel);
}
.process-item:first-child { border-top: 1px solid var(--steel); }
.process-item .step-label { font-family: var(--font-display); color: var(--red); font-size: 15px; letter-spacing: 0.1em; }
.process-item h4 { font-size: 20px; margin-bottom: 8px; }
.process-item p { color: var(--muted); font-size: 14px; max-width: 620px; }

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-grid > div {
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    background: linear-gradient(150deg, #1c1c20, #0d0d0f);
    border: 1px solid var(--steel);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 13px; text-align: center; padding: 20px;
}
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Reviews ---------- */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--charcoal);
    border: 1px solid var(--steel);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 46px;
    flex-wrap: wrap;
}
.rating-summary .score { font-family: var(--font-display); font-size: 48px; color: var(--gold); }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 18px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review-card {
    background: var(--charcoal);
    border: 1px solid var(--steel);
    border-radius: var(--radius);
    padding: 26px;
}
.review-card .stars { margin-bottom: 14px; }
.review-card p.text { color: var(--white); font-size: 14.5px; margin-bottom: 18px; }
.review-card .meta { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.review-card .meta strong { color: var(--white); }

.star-picker { display: flex; gap: 8px; }
.star-picker input { display: none; }
.star-picker label { font-size: 30px; color: var(--steel); cursor: pointer; transition: color 0.15s ease; }
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: var(--gold); }
.star-picker { flex-direction: row-reverse; justify-content: flex-end; }

/* ---------- Forms ---------- */
.form-card {
    background: var(--charcoal);
    border: 1px solid var(--steel);
    border-radius: 6px;
    padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.field input, .field select, .field textarea {
    background: var(--black);
    border: 1px solid var(--steel);
    border-radius: var(--radius);
    padding: 13px 15px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14.5px;
    transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.file-field input { padding: 10px; }
.field-note { font-size: 12px; color: var(--muted); }

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 26px;
    font-size: 14.5px;
    border: 1px solid;
}
.alert-success { background: rgba(63,174,90,0.1); border-color: var(--success); color: #8fe0a4; }
.alert-error { background: rgba(226,0,26,0.1); border-color: var(--red); color: #ff8f9b; }

/* ---------- Warranty info panel ---------- */
.info-panel {
    background: linear-gradient(150deg, #191a1d, #0e0e10);
    border: 1px solid var(--steel);
    border-radius: 6px;
    padding: 34px;
}
.info-panel h3 { font-size: 20px; margin-bottom: 18px; color: var(--gold); }
.info-panel ul { display: flex; flex-direction: column; gap: 14px; }
.info-panel li { display: flex; gap: 12px; font-size: 14px; color: var(--muted); }
.info-panel li svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.claim-ref-box {
    margin-top: 18px;
    padding: 16px;
    background: rgba(201,162,75,0.08);
    border: 1px dashed var(--gold);
    border-radius: var(--radius);
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    text-align: center;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--steel); }
.contact-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.contact-item h4 { font-size: 15px; margin-bottom: 6px; text-transform: none; letter-spacing: normal; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 14.5px; }
.map-frame { border: 1px solid var(--steel); border-radius: 6px; overflow: hidden; height: 100%; min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.4) invert(0.92) contrast(0.9); }
.social-row { display: flex; gap: 14px; margin-top: 24px; }
.social-row a {
    width: 44px; height: 44px;
    border: 1px solid var(--steel);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.2s ease, color 0.2s ease;
    color: var(--muted);
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--red-deep), var(--red));
    border-radius: 8px;
    padding: 56px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-band .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #060607; border-top: 1px solid var(--steel); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 14px; margin-bottom: 18px; color: var(--gold); }
.footer-grid p { color: var(--muted); font-size: 14px; max-width: 340px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid var(--steel);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 999;
    transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }

/* ---------- Page header (sub pages) ---------- */
.page-hero {
    padding: 160px 0 60px;
    background: linear-gradient(180deg, #121214, #0a0a0c);
    border-bottom: 1px solid var(--steel);
}
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 560px; }
.breadcrumb { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.breadcrumb .accent { color: var(--red); }

/* ---------- Status badge (admin) ---------- */
.status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.status-submitted { background: rgba(154,154,160,0.15); color: var(--muted); }
.status-under_review { background: rgba(201,162,75,0.15); color: var(--gold); }
.status-approved, .status-resolved { background: rgba(63,174,90,0.15); color: var(--success); }
.status-rejected { background: rgba(226,0,26,0.15); color: #ff8f9b; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===========================================================
   MOBILE RESPONSIVE — refinements across breakpoints
   =========================================================== */

/* Tablet & below */
@media (max-width: 900px) {
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }
    .kpi-row { grid-template-columns: repeat(2, 1fr); }
}

/* Small tablet / large phone */
@media (max-width: 700px) {
    .container { padding: 0 18px; }
    .page-hero { padding: 130px 0 44px; }
    .cta-band { padding: 36px 26px; flex-direction: column; align-items: flex-start; text-align: left; }
    .form-card { padding: 26px 20px; }
    .info-panel { padding: 26px 20px; }
    .rating-summary { flex-direction: row; padding: 22px; }
    .rating-summary .score { font-size: 38px; }
    .process-item { grid-template-columns: 60px 1fr; gap: 16px; padding: 22px 0; }
    .process-item h4 { font-size: 17px; }
    .stat-item { padding: 24px 10px; }
    .stat-item .num { font-size: 28px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
}

/* Phones */
@media (max-width: 480px) {
    .nav-links { top: 70px; }
    .logo small { display: none; }
    .logo-img { width: 36px; height: 36px; }
    .header-row { height: 70px; }
    .hero { padding-top: 100px; }
    .hero h1 { font-size: 32px; }
    .hero-badge { font-size: 11px; padding: 7px 12px; }
    .hero-badges-row { gap: 14px 20px; }
    .section { padding: 50px 0; }
    .section-head h2 { font-size: 24px; }
    .btn { padding: 14px 22px; font-size: 13px; width: 100%; }
    .nav-cta { gap: 10px; }
    .wa-float { width: 50px; height: 50px; bottom: 18px; right: 18px; }
    .wa-float svg { width: 24px; height: 24px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cta-band .btn-outline { width: 100%; }
    .page-hero h1 { font-size: 28px; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Admin panel — responsive table + sidebar */
@media (max-width: 900px) {
    .admin-main { padding: 24px 18px; }
    .admin-topbar { flex-direction: column; align-items: flex-start; gap: 14px; }
    .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 6px; }
    .admin-table { min-width: 720px; }
}

