/* ===== PUBLIC PAGES — FILMABLE ===== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display&display=swap');

:root {
    --pub-bg:        #0c0f14;
    --pub-bg-alt:    #141820;
    --pub-bg-card:   #1a1f2a;
    --pub-surface:   #232936;
    --pub-border:    rgba(255,255,255,0.06);
    --pub-text:      #c8cdd6;
    --pub-heading:   #f0f2f5;
    --pub-muted:     #6b7280;
    --pub-accent:    #d4a84b;
    --pub-accent-soft: rgba(212,168,75,0.12);
    --pub-navy:      #2c3e50;
    --pub-white:     #fff;
    --pub-max:       1200px;
    --pub-font:      'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --pub-font-display: 'DM Serif Display', Georgia, serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.pub-page {
    font-family: var(--pub-font);
    background: var(--pub-bg);
    color: var(--pub-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---- Utility ---- */
.pub-container {
    max-width: var(--pub-max);
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== HEADER / NAV ===== */
.pub-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(12,15,20,0.85);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid var(--pub-border);
    transition: background 0.3s;
}
.pub-header-inner {
    max-width: var(--pub-max);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.pub-logo img {
    height: 40px;
    display: block;
}
.pub-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.pub-nav a {
    color: var(--pub-text);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.pub-nav a:hover,
.pub-nav a.active {
    color: var(--pub-accent);
    background: var(--pub-accent-soft);
}
.pub-nav-cta {
    background: var(--pub-accent) !important;
    color: var(--pub-bg) !important;
    font-weight: 600 !important;
    padding: 9px 20px !important;
    margin-left: 8px;
}
.pub-nav-cta:hover {
    background: #c49a3d !important;
    color: var(--pub-bg) !important;
}

/* Mobile menu */
.pub-burger {
    display: none;
    background: none;
    border: none;
    color: var(--pub-text);
    cursor: pointer;
    padding: 8px;
}
.pub-burger svg { display: block; }

@media (max-width: 860px) {
    .pub-burger { display: block; }
    .pub-nav {
        display: none;
        position: absolute;
        top: 72px; left: 0; right: 0;
        flex-direction: column;
        background: var(--pub-bg-alt);
        border-bottom: 1px solid var(--pub-border);
        padding: 12px 20px;
        gap: 2px;
    }
    .pub-nav.open { display: flex; }
    .pub-nav a { padding: 12px 14px; width: 100%; }
    .pub-nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* ===== HERO ===== */
.pub-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}
.pub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(212,168,75,0.08), transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 70%, rgba(44,62,80,0.15), transparent 60%);
    pointer-events: none;
}
.pub-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.pub-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}
.pub-hero-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pub-accent);
    border: 1px solid rgba(212,168,75,0.3);
    background: var(--pub-accent-soft);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}
.pub-hero h1 {
    font-family: var(--pub-font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--pub-heading);
    margin-bottom: 24px;
}
.pub-hero h1 em {
    font-style: italic;
    color: var(--pub-accent);
}
.pub-hero-sub {
    font-size: 1.1rem;
    color: var(--pub-muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 40px;
}
.pub-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Film-strip decoration */
.pub-hero-deco {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0.12;
    pointer-events: none;
}
.pub-hero-deco-strip {
    height: 80px;
    border-radius: 6px;
    background: var(--pub-accent);
}
.pub-hero-deco-strip:nth-child(2) { margin-left: 60px; width: 80%; }
.pub-hero-deco-strip:nth-child(3) { margin-left: 30px; width: 90%; }
.pub-hero-deco-strip:nth-child(4) { margin-left: 90px; width: 70%; }

@media (max-width: 860px) {
    .pub-hero-deco { display: none; }
}

/* ===== BUTTONS ===== */
.pub-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 8px;
    font-family: var(--pub-font);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.pub-btn:hover { transform: translateY(-1px); }
.pub-btn-primary {
    background: var(--pub-accent);
    color: var(--pub-bg);
}
.pub-btn-primary:hover {
    background: #c49a3d;
    box-shadow: 0 8px 24px rgba(212,168,75,0.25);
}
.pub-btn-outline {
    background: transparent;
    color: var(--pub-text);
    border: 1px solid rgba(255,255,255,0.15);
}
.pub-btn-outline:hover {
    border-color: var(--pub-accent);
    color: var(--pub-accent);
    background: var(--pub-accent-soft);
}

/* ===== SECTION SCAFFOLDING ===== */
.pub-section {
    padding: 100px 0;
}
.pub-section-alt {
    background: var(--pub-bg-alt);
}
.pub-section-header {
    text-align: center;
    margin-bottom: 60px;
}
.pub-section-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pub-accent);
    margin-bottom: 16px;
}
.pub-section-title {
    font-family: var(--pub-font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--pub-heading);
    margin-bottom: 16px;
}
.pub-section-sub {
    font-size: 1rem;
    color: var(--pub-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== PROCESS STEPS (Home) ===== */
.pub-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}
.pub-process-step {
    text-align: center;
    padding: 32px 16px;
    border-radius: 12px;
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border);
    transition: border-color 0.3s, transform 0.3s;
}
.pub-process-step:hover {
    border-color: rgba(212,168,75,0.2);
    transform: translateY(-4px);
}
.pub-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pub-accent-soft);
    color: var(--pub-accent);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.pub-step-title {
    font-weight: 600;
    color: var(--pub-heading);
    margin-bottom: 8px;
    font-size: 0.92rem;
}
.pub-step-text {
    font-size: 0.8rem;
    color: var(--pub-muted);
    line-height: 1.5;
}

/* ===== SERVICES GRID ===== */
.pub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.pub-service-card {
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border);
    border-radius: 14px;
    padding: 36px 32px;
    transition: border-color 0.3s, transform 0.3s;
}
.pub-service-card:hover {
    border-color: rgba(212,168,75,0.2);
    transform: translateY(-3px);
}
.pub-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pub-accent-soft);
    color: var(--pub-accent);
    margin-bottom: 20px;
}
.pub-service-icon svg { width: 24px; height: 24px; }
.pub-service-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--pub-heading);
    margin-bottom: 12px;
}
.pub-service-text {
    font-size: 0.88rem;
    color: var(--pub-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}
.pub-service-list {
    list-style: none;
    padding: 0;
}
.pub-service-list li {
    font-size: 0.82rem;
    color: var(--pub-text);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}
.pub-service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pub-accent);
    opacity: 0.5;
}

/* ===== STATS ROW ===== */
.pub-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    padding: 60px 0;
    border-top: 1px solid var(--pub-border);
    border-bottom: 1px solid var(--pub-border);
}
.pub-stat {
    text-align: center;
}
.pub-stat-val {
    font-family: var(--pub-font-display);
    font-size: 2.4rem;
    color: var(--pub-accent);
    line-height: 1;
    margin-bottom: 8px;
}
.pub-stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pub-muted);
}

/* ===== CTA BAND ===== */
.pub-cta-band {
    padding: 80px 0;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(212,168,75,0.06) 0%, transparent 50%),
        var(--pub-bg-alt);
}
.pub-cta-title {
    font-family: var(--pub-font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--pub-heading);
    margin-bottom: 16px;
}
.pub-cta-text {
    font-size: 1rem;
    color: var(--pub-muted);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ===== LIST-YOUR-VEHICLE PAGE ===== */
.pub-lv-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 60px 0 100px;
}
@media (max-width: 860px) {
    .pub-lv-layout { grid-template-columns: 1fr; gap: 40px; }
}
.pub-lv-info h2 {
    font-family: var(--pub-font-display);
    font-size: 2rem;
    color: var(--pub-heading);
    margin-bottom: 20px;
}
.pub-lv-info p {
    color: var(--pub-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}
.pub-lv-benefits {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.pub-lv-benefits li {
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    color: var(--pub-text);
    font-size: 0.92rem;
}
.pub-lv-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pub-accent-soft);
    border: 2px solid var(--pub-accent);
}
.pub-lv-benefits li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 19px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--pub-accent);
    border-bottom: 2px solid var(--pub-accent);
    transform: rotate(-45deg);
}
.pub-lv-card {
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border);
    border-radius: 16px;
    padding: 40px 36px;
}
.pub-lv-card h3 {
    font-family: var(--pub-font-display);
    font-size: 1.4rem;
    color: var(--pub-heading);
    margin-bottom: 8px;
}
.pub-lv-card p {
    color: var(--pub-muted);
    font-size: 0.88rem;
    margin-bottom: 28px;
    line-height: 1.6;
}
.pub-lv-steps {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}
.pub-lv-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--pub-border);
}
.pub-lv-steps li:last-child { border-bottom: none; }
.pub-lv-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pub-accent);
    color: var(--pub-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.pub-lv-step-text {
    font-size: 0.88rem;
    color: var(--pub-text);
    line-height: 1.5;
}
.pub-lv-step-text strong {
    color: var(--pub-heading);
    display: block;
    margin-bottom: 2px;
}

/* ===== GALLERY GRID (public) ===== */
.pub-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.pub-gallery-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border);
    text-decoration: none;
    display: block;
    transition: transform 0.25s, border-color 0.25s;
}
.pub-gallery-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,168,75,0.2);
}
.pub-gallery-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.pub-gallery-card-name {
    padding: 14px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pub-heading);
    border-top: 1px solid var(--pub-border);
}

/* ===== COMPOSITE FEATURE (public) ===== */
.pub-composite-feature {
    border-radius: 12px;
    overflow: hidden;
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border);
    transition: transform 0.25s, border-color 0.25s;
}
.pub-composite-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(212,168,75,0.2);
}
.pub-composite-link {
    display: block;
    text-decoration: none;
}
.pub-composite-link img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== FOOTER ===== */
.pub-footer {
    background: var(--pub-bg-alt);
    border-top: 1px solid var(--pub-border);
    padding: 60px 0 0;
}
.pub-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
@media (max-width: 700px) {
    .pub-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.pub-footer-brand img {
    height: 36px;
    margin-bottom: 16px;
}
.pub-footer-brand p {
    font-size: 0.85rem;
    color: var(--pub-muted);
    line-height: 1.65;
    max-width: 340px;
}
.pub-footer h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pub-heading);
    margin-bottom: 16px;
}
.pub-footer-links {
    list-style: none;
    padding: 0;
}
.pub-footer-links li { margin-bottom: 8px; }
.pub-footer-links a {
    color: var(--pub-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.pub-footer-links a:hover { color: var(--pub-accent); }
.pub-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--pub-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.pub-footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--pub-accent);
}
.pub-footer-bottom {
    border-top: 1px solid var(--pub-border);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.pub-footer-copy {
    font-size: 0.78rem;
    color: var(--pub-muted);
}
.pub-footer-socials {
    display: flex;
    gap: 12px;
}
.pub-footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pub-surface);
    color: var(--pub-muted);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.pub-footer-socials a:hover {
    background: var(--pub-accent-soft);
    color: var(--pub-accent);
}
.pub-footer-socials svg { width: 16px; height: 16px; }

/* ===== ANIMATIONS ===== */
@keyframes pubFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.pub-animate {
    animation: pubFadeUp 0.6s cubic-bezier(0.2,0.7,0.2,1) both;
}
.pub-delay-1 { animation-delay: 0.1s; }
.pub-delay-2 { animation-delay: 0.2s; }
.pub-delay-3 { animation-delay: 0.3s; }
.pub-delay-4 { animation-delay: 0.4s; }
.pub-delay-5 { animation-delay: 0.5s; }
.pub-delay-6 { animation-delay: 0.6s; }

/* ===== PAGE TOP SPACER (for non-hero pages) ===== */
.pub-page-top {
    padding-top: 120px;
    padding-bottom: 20px;
}
.pub-page-title {
    font-family: var(--pub-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--pub-heading);
    margin-bottom: 12px;
}
.pub-page-sub {
    font-size: 1rem;
    color: var(--pub-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ===== SERVICES PAGE — CATEGORY SECTIONS ===== */
.pub-svc-category {
    margin-bottom: 56px;
}
.pub-svc-category:last-child { margin-bottom: 0; }
.pub-svc-cat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pub-border);
}
.pub-svc-cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pub-accent-soft);
    color: var(--pub-accent);
    flex-shrink: 0;
}
.pub-svc-cat-icon svg { width: 20px; height: 20px; }
.pub-svc-cat-title {
    font-family: var(--pub-font-display);
    font-size: 1.4rem;
    color: var(--pub-heading);
}
.pub-svc-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.pub-svc-item {
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border);
    border-radius: 10px;
    padding: 20px 22px;
}
.pub-svc-item-title {
    font-weight: 600;
    color: var(--pub-heading);
    font-size: 0.92rem;
    margin-bottom: 6px;
}
.pub-svc-item-text {
    font-size: 0.82rem;
    color: var(--pub-muted);
    line-height: 1.6;
}
