/* ── Design tokens ───────────────────────────────────────────────── */
:root {
    --orange:        #f5a623;
    --orange-dark:   #e09510;
    --dark:          #1a1a1a;
    /* backward-compat aliases */
    --accent:        #f5a623;
    --accent-2:      #e09510;
    --light:         #f5f5f3;
    --text:          #1a1a1a;
    --muted:         #666;
    --radius:        12px;
    --shadow:        0 18px 40px rgba(0,0,0,.12);
    --bs-font-sans-serif: 'Nunito Sans', Helvetica, sans-serif;
}

body {
    font-family: 'Nunito Sans', Helvetica, sans-serif;
    background: #f5f5f3;
    color: #1a1a1a;
}

.container { max-width: 1200px; }

/* ── TOPBAR ─────────────────────────────────────────────────────── */
.topbar { background: var(--dark); }
.topbar .nav-link {
    color: #c8c8c8; font-size: 13px; font-weight: 600;
    letter-spacing: .03em; padding: 10px 14px;
    border-left: 1px solid rgba(255,255,255,.07);
    transition: color .15s, background .15s;
}
.topbar .nav-link:first-child { border-left: none; }
.topbar .nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.topbar .nav-link.active { color: var(--orange); }

/* ── MAIN HEADER ─────────────────────────────────────────────────── */
#site-header { position: sticky; top: 0; z-index: 1030; }
.mainheader {
    background: #fff;
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 2px 14px rgba(0,0,0,.09);
}
.mainheader .logo img { width: 180px; height: auto; }
.contact-icon-wrap {
    width: 42px; height: 42px; border-radius: 50%;
    background: #fff7ea; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange); font-size: 18px;
}
.contact-label {
    font-size: 10px; font-weight: 700; color: #aaa;
    text-transform: uppercase; letter-spacing: .07em; line-height: 1;
}
.contact-value {
    font-size: 14px; font-weight: 800; color: var(--dark);
    text-decoration: none; transition: color .15s; white-space: nowrap;
}
a.contact-value:hover { color: var(--orange); }
.social-btn {
    width: 36px; height: 36px; border-radius: 50%; background: var(--dark);
    display: flex; align-items: center; justify-content: center; text-decoration: none;
    transition: background .18s, transform .15s; flex-shrink: 0;
    border: none; cursor: pointer; color: #fff; font-size: 15px;
}
.social-btn:hover { background: var(--orange); transform: translateY(-2px); color: #fff; }

/* ── Mobile nav ──────────────────────────────────────────────────── */
.mobile-nav { background: var(--dark); border-top: 1px solid rgba(255,255,255,.07); display: none; }
.mobile-nav.open { display: block; }
.mobile-nav-link {
    display: block; padding: 14px 0; color: #c8c8c8; text-decoration: none;
    font-size: 15px; font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: color .15s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--orange); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-orange {
    background: var(--orange); color: #fff; font-weight: 800; font-size: 15px;
    padding: 14px 28px; border-radius: 6px; border: none; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 20px rgba(245,166,35,.35);
    transition: background .18s, transform .15s;
}
.btn-orange:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); }
/* backward compat */
.btn-accent {
    background: var(--orange); color: #fff; border: 0; font-weight: 700;
    box-shadow: 0 12px 24px rgba(245,166,35,.22);
}
.btn-accent:hover { background: var(--orange-dark); color: #fff; }
.btn-outline-white {
    border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45);
}

/* ── Sections ────────────────────────────────────────────────────── */
.section    { padding: 72px 0; }
.section-sm { padding: 56px 0; }
.section-white { background: #fff; }
.section-dark  { background: var(--dark); }
.section-label {
    font-size: 11px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: var(--orange);
}
.section-title { font-size: clamp(26px, 4vw, 36px); font-weight: 900; line-height: 1.15; }

/* ── Home hero ───────────────────────────────────────────────────── */
.site-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.site-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.88) 38%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.1) 100%),
        url("../images/photos/gear6.jpg") center/cover no-repeat;
}
.site-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 80px 0;
}
.site-hero h1 {
    color: #fff;
    font-weight: 900;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.1;
}
.site-hero h1 span { color: var(--orange); }
.site-hero p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 640px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(245,166,35,.15); border: 1px solid rgba(245,166,35,.4);
    color: var(--orange); font-size: 11px; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 4px; margin-bottom: 1rem;
}
.hero-usps { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.5rem; }
.hero-usp {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600;
}
.hero-usp::before {
    content: ''; width: 6px; height: 6px;
    border-radius: 50%; background: var(--orange); flex-shrink: 0;
}

/* ── Page hero (inner pages) ─────────────────────────────────────── */
.page-hero {
    background: var(--dark);
    color: #fff;
    padding: 56px 0;
    border-bottom: 3px solid var(--orange);
}
.page-hero h1 { font-weight: 900; margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.7); }

/* ── FAQ / Why cards ─────────────────────────────────────────────── */
.faq-card {
    background: #fff; border-radius: 12px; padding: 28px 24px;
    border-top: 4px solid var(--orange);
    box-shadow: 0 2px 12px rgba(0,0,0,.06); height: 100%;
    transition: transform .18s, box-shadow .18s;
}
.faq-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.faq-card__q { font-size: 16px; font-weight: 900; margin-bottom: 12px; }
.faq-card__a { font-size: 14px; color: #555; line-height: 1.7; }

.why-card {
    background: #fff; border-radius: 12px; padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06); height: 100%;
    transition: transform .18s, box-shadow .18s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.why-icon {
    width: 52px; height: 52px; background: #fff7ea; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange); margin-bottom: 16px; font-size: 24px;
}
.why-card__title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.why-card__text  { font-size: 14px; color: #666; line-height: 1.7; }

/* Feature card (compat alias) */
.feature-card {
    background: #fff; border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 2rem 1.5rem; height: 100%;
    transition: transform .18s, box-shadow .18s;
}
.feature-card:hover { transform: translateY(-4px); }

/* ── Icon wrap ───────────────────────────────────────────────────── */
.icon-wrap {
    width: 52px; height: 52px; border-radius: 12px;
    display: grid; place-items: center;
    background: #fff7ea; color: var(--orange);
    border: 1px solid rgba(245,166,35,.2);
    font-size: 1.35rem; flex-shrink: 0;
}

/* ── Service / machine cards ─────────────────────────────────────── */
.service-card {
    border-radius: 12px; overflow: hidden; position: relative;
    min-height: 300px; display: flex; align-items: flex-end;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    text-decoration: none; color: #fff;
    transition: transform .18s, box-shadow .18s;
    height: 100%;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.18); color: #fff; }
.service-card__bg   { position: absolute; inset: 0; background-size: cover; background-position: center; }
.service-card img   { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 55%); }
.service-card__body { position: relative; z-index: 2; padding: 24px; }
.service-card-label { position: relative; z-index: 2; padding: 1.5rem 1.25rem 1rem; font-weight: 700; font-size: 1rem; color: #fff; width: 100%; background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 100%); text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.service-card__title { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 4px; }
.service-card__text  { font-size: 14px; color: rgba(255,255,255,.75); }

/* ── Check list ──────────────────────────────────────────────────── */
.check-list { padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .9rem; color: var(--muted); }
.check-list li::before {
    content: "\F26E"; font-family: "bootstrap-icons";
    position: absolute; left: 0; top: 1px; color: #16a34a; font-size: 1rem;
}

/* ── Process steps ───────────────────────────────────────────────── */
.process-step {
    display: flex; align-items: flex-start; gap: 20px;
    padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.process-step:last-child { border-bottom: none; }
.process-step-num, .process-num {
    width: 40px; height: 40px; border-radius: 50%; background: var(--orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 900; color: #fff; flex-shrink: 0; margin-top: 2px;
}
.process-title { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.process-text, .process-step-text { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; }
.process-text a { color: var(--orange); text-decoration: none; font-weight: 700; }

/* ── Reviews ─────────────────────────────────────────────────────── */
.reviews-section { background: var(--dark); }
.review-card {
    background: #222; border-radius: 12px; padding: 24px;
    border: 1px solid rgba(255,255,255,.07); height: 100%;
}
.review-card p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; font-style: italic; }
.review-stars  { color: var(--orange); }
.review-author { font-size: 13px; font-weight: 700; color: #fff; }
.review-source { font-size: 11px; color: #666; }

/* ── CTA banner ──────────────────────────────────────────────────── */
.cta-banner { background: var(--orange); }
.cta-banner .btn-white {
    background: #fff; color: var(--dark); font-weight: 800; font-size: 15px;
    padding: 14px 32px; border-radius: 6px; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    transition: transform .15s, box-shadow .15s;
}
.cta-banner .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }

/* ── Glass / card helpers ────────────────────────────────────────── */
.glass-box {
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
}
.card-soft { border: 0; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.12); }

/* ── Objection cards ─────────────────────────────────────────────── */
.objection-card {
    background: #fff; border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.07); padding: 2rem 1.5rem; height: 100%;
}
.objection-card .objection-q { font-weight: 700; font-size: 1.05rem; color: var(--orange); margin-bottom: .75rem; }
.objection-card p { color: var(--muted); margin-bottom: 0; }

/* ── Team cards ──────────────────────────────────────────────────── */
.team-card { background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.08); overflow: hidden; height: 100%; }
.team-card img { width: 100%; height: 260px; object-fit: cover; object-position: top; display: block; }
.team-card-body { padding: 1.5rem; }
.team-card-name { font-weight: 800; font-size: 1.1rem; margin-bottom: .25rem; }
.team-card-role { color: var(--orange); font-weight: 600; font-size: .9rem; margin-bottom: .75rem; }

/* ── Join form ───────────────────────────────────────────────────── */
.join-form-wrap {
    background: #fff; border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.12); padding: 2rem; margin-top: 2rem;
}

/* ── Gallery ─────────────────────────────────────────────────────── */
.gallery-grid { columns: 3 260px; gap: 1rem; }
.gallery-grid-item {
    break-inside: avoid; margin-bottom: 1rem;
    border-radius: 12px; overflow: hidden; display: block; cursor: pointer;
}
.gallery-grid-item img { width: 100%; display: block; transition: transform .25s; }
.gallery-grid-item:hover img { transform: scale(1.03); }

/* ── Gallery lightbox nav ────────────────────────────────────────── */
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.45); border: none; color: #fff;
    font-size: 2.5rem; line-height: 1; padding: .1rem .6rem .2rem;
    border-radius: 8px; z-index: 10; transition: background .2s;
}
.gallery-nav:hover { background: rgba(0,0,0,.72); }
.gallery-nav-prev { left: .5rem; }
.gallery-nav-next { right: .5rem; }

/* ── Subpage gallery ─────────────────────────────────────────────── */
.subpage-gallery { columns: 3 220px; gap: .75rem; }
.subpage-gallery-item { break-inside: avoid; margin-bottom: .75rem; border-radius: 10px; overflow: hidden; display: block; }
.subpage-gallery-item img { width: 100%; display: block; transition: transform .25s; }
.subpage-gallery-item:hover img { transform: scale(1.04); }

/* ── Map ─────────────────────────────────────────────────────────── */
.map-embed { border-radius: 12px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.10); }
.map-embed iframe { display: block; border: 0; width: 100%; height: 380px; }

/* ── Contact form ────────────────────────────────────────────────── */
.contact-section .form-control {
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.15);
    padding: .75rem 1rem;
}
.contact-section .form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}

/* ── Toast ───────────────────────────────────────────────────────── */
.toast-container { z-index: 1060; }
.toast { border-radius: 12px; border: none; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.toast-success { background: #10b981; color: #fff; }
.toast-error   { background: #ef4444; color: #fff; }

/* ── Footer ──────────────────────────────────────────────────────── */
footer { background: #111; border-top: 3px solid var(--orange); }
footer h5 { font-size: 11px; font-weight: 800; color: #888; text-transform: uppercase; letter-spacing: .08em; }
footer a  { color: #999; text-decoration: none; font-size: 14px; transition: color .15s; }
footer a:hover { color: var(--orange); }
footer p  { color: #999; font-size: 13px; }
.footer-logo img { width: 160px; height: auto; }
.footer-social a {
    width: 32px; height: 32px; border-radius: 50%; background: #222;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; transition: background .15s; font-size: 13px;
}
.footer-social a:hover { background: var(--orange); }
.footer-social a i { color: #fff; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .mainheader .logo img { width: 150px; }
}
@media (max-width: 767.98px) {
    .site-hero { min-height: 420px; }
    .site-hero-content { padding: 60px 0; }
    .site-hero h1 { font-size: 2rem; }
}
@media (max-width: 575.98px) {
    .section    { padding: 56px 0; }
    .gallery-grid   { columns: 2 180px; }
    .subpage-gallery { columns: 2 160px; }
}
