/* Kraft Detailing – main stylesheet */

:root {
    --ink: #121212;
    --panel: #1c1f1b;
    --line: #2c302a;
    --lime: #b4d345;
    --lime-dark: #9bb835;
    --teal: #108474;
    --light: #f5f5f5;
    --white: #ffffff;
    --text: #1d211c;
    --muted: #8a918a;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ol, ul { padding-left: 1.2em; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--white); padding: 8px; z-index: 99; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-dark); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(18, 18, 18, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 92px;
}
.site-brand img, .custom-logo { width: 76px; height: 76px; max-width: 100%; object-fit: contain; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; color: var(--white); }
.brand-text:hover { text-decoration: none; }
.brand-main { font-size: 1.45rem; font-weight: 900; letter-spacing: .12em; color: var(--lime); }
.brand-sub { font-size: .72rem; letter-spacing: .35em; text-transform: uppercase; color: var(--white); margin-top: 4px; }

.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.primary-nav a { color: var(--white); font-weight: 600; font-size: .95rem; }
.primary-nav a:hover { color: var(--lime); text-decoration: none; }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.bars, .bars::before, .bars::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    position: relative;
}
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(180, 211, 69, .18), transparent 60%),
        linear-gradient(160deg, #0d0d0d 0%, #1a1d18 100%);
    color: var(--white);
    padding: clamp(72px, 12vw, 140px) 0;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lead { color: #c9cfc8; font-size: 1.15rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero-text { min-width: 0; }
.hero h1 { max-width: 18ch; }
.hero-visual { display: flex; justify-content: center; }
.hero-logo { width: min(100%, 440px); height: auto; aspect-ratio: 1 / 1; max-width: 100%; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .55)); }

/* Hero with background video */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-inner { position: relative; z-index: 1; }
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(10, 10, 10, .88) 0%, rgba(10, 10, 10, .6) 55%, rgba(10, 10, 10, .4) 100%);
}
.hero--video .hero-visual { display: none; }
@media (prefers-reduced-motion: reduce) {
    .hero-bg { display: none; }
}

.eyebrow {
    display: inline-block;
    color: var(--lime);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Features ---------- */
.features { background: var(--light); padding: 40px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--lime); }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin: 0; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.card {
    background: var(--white);
    border: 1px solid #e6e8e3;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16 / 10; background: var(--ink); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder {
    display: flex; align-items: center; justify-content: center;
    height: 100%; font-size: 3.5rem; font-weight: 900; color: var(--lime);
    background: linear-gradient(135deg, #1a1d18, #2b3328);
}
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.2rem; margin-bottom: 8px; }
.card-title a { color: var(--ink); }
.card-excerpt { color: var(--muted); font-size: .95rem; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.card-link { font-weight: 700; font-size: .9rem; }

/* ---------- Trust strip ---------- */
.trust-strip { background: #0c0c0c; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding: 18px 0; color: #c9cfc8; font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.trust-inner span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: 10px; vertical-align: middle; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; }
.checklist li { position: relative; padding: 8px 0 8px 30px; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 7px; color: var(--teal); font-weight: 900; }
.split-panel {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--ink), #1f2a2e 60%, var(--teal));
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    color: var(--white); text-align: center; padding: 24px;
}
.split-badge { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 900; letter-spacing: .18em; color: var(--lime); }
.split-panel p { margin: 0; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; color: #d6ece8; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: none; }
.steps li { border-left: 2px solid var(--lime); padding: 6px 0 6px 22px; }
.steps h3 { color: var(--white); margin-bottom: 6px; }
.steps p { color: #b9bfb8; margin: 0; font-size: .95rem; }
.step-num { display: block; color: var(--lime); font-weight: 900; font-size: 1.6rem; letter-spacing: .05em; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--teal), #0b5e53); color: var(--white); padding: 56px 0; }
.cta h2 { color: var(--white); margin-bottom: 6px; }
.cta .muted { color: #d6ece8; margin: 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .lead { color: #c9cfc8; }

.single-media { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.entry-content { font-size: 1.05rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.booking-box {
    margin-top: 48px;
    padding: 32px;
    background: var(--light);
    border-radius: var(--radius);
    border-left: 4px solid var(--lime);
}
.booking-box h2 { font-size: 1.5rem; }

.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 3px; border-radius: 8px; border: 1px solid #dfe3dc; color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9cfc8; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-col h4 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #c9cfc8; }
.footer-col a:hover { color: var(--lime); }
.footer-col .muted { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; font-size: .85rem; color: var(--muted); }

/* ---------- WhatsApp bubble ---------- */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); color: #fff; text-decoration: none; }
.whatsapp-float:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .menu-toggle { display: block; }
    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        background: var(--ink);
        padding: 20px 16px 24px;
        border-top: 1px solid var(--line);
        display: none;
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav ul { flex-direction: column; gap: 14px; }
    .footer-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hero-visual { order: -1; }
    .hero-logo { width: 180px; height: 180px; }
    .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
