/* ==========================================================
   1st Light Design — Red / Grey / Black theme
   ========================================================== */
:root {
    --black:     #0b0b0c;
    --black-2:   #141416;
    --grey-900:  #1c1c1f;
    --grey-800:  #26262a;
    --grey-700:  #34343a;
    --grey-500:  #6e6e76;
    --grey-400:  #9a9aa2;
    --grey-200:  #d4d4d8;
    --grey-100:  #ececef;
    --white:     #ffffff;
    --red:       #d7182a;
    --red-dark:  #a80f1e;
    --red-glow:  rgba(215, 24, 42, .35);

    --radius:    10px;
    --shadow:    0 10px 30px rgba(0,0,0,.45);
    --max:       1180px;
    --font-head: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--black);
    color: var(--grey-200);
    font: 16px/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: #ff3b4c; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--white); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-100); }
p  { margin: 0 0 1em; }
code { background: var(--grey-800); padding: 2px 6px; border-radius: 4px; color: var(--white); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.center { text-align: center; }
.red { color: var(--red); }
.muted { color: var(--grey-400); }
.lead { font-size: 1.18rem; color: var(--grey-200); max-width: 640px; }
.eyebrow {
    font-family: var(--font-head); text-transform: uppercase; letter-spacing: .25em;
    font-size: .85rem; color: var(--red); margin-bottom: .75em;
}
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 1000; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: 6px; border: 2px solid transparent;
    font: 600 .95rem var(--font-body); text-transform: uppercase; letter-spacing: .06em;
    cursor: pointer; transition: all .2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn-sm { padding: 9px 18px; font-size: .8rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 20px var(--red-glow); }
.btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--grey-500); color: var(--white); }
.btn-ghost:hover { border-color: var(--red); color: var(--white); background: rgba(215,24,42,.1); }
.btn-white { background: #fff; color: var(--black); }
.btn-white:hover { background: var(--black); color: #fff; }
.btn-outline-white { border-color: #fff; color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--red); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(11,11,12,.92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--grey-800);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.logo:hover { color: var(--white); }
.logo-mark {
    display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 8px;
    background: var(--red); color: #fff; font: 700 1.2rem var(--font-head); white-space: nowrap; line-height: 1;
    box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--grey-700);
}
.logo-mark sup { font-size: .55em; margin-left: 1px; vertical-align: super; line-height: 0; }
.logo-text { font: 500 1.35rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; }
.logo-text strong { color: var(--red); font-weight: 700; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
    color: var(--grey-200); font-weight: 500; text-transform: uppercase; font-size: .9rem; letter-spacing: .08em;
    position: relative; padding: 6px 0;
}
.site-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); transition: width .25s;
}
.site-nav a:not(.btn):hover, .site-nav a.active:not(.btn) { color: var(--white); }
.site-nav a:not(.btn):hover::after, .site-nav a.active:not(.btn)::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; padding: 130px 0 120px;
    background:
        linear-gradient(115deg, var(--black) 45%, transparent 45.2%),
        repeating-linear-gradient(135deg, var(--grey-900) 0 2px, transparent 2px 22px),
        var(--black-2);
    border-bottom: 1px solid var(--grey-800);
}
.hero-glow {
    position: absolute; right: -120px; top: -120px; width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle, var(--red-glow), transparent 65%);
}
.hero-inner { position: relative; }
.hero h1 { margin-bottom: .35em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

.page-hero {
    padding: 90px 0 70px; border-bottom: 1px solid var(--grey-800);
    background:
        radial-gradient(ellipse at 90% 0%, var(--red-glow), transparent 55%),
        linear-gradient(180deg, var(--black-2), var(--black));
}

/* ---------- Stats strip ---------- */
.stats { background: var(--red); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 26px 20px; border-right: 1px solid rgba(255,255,255,.2); text-align: center; }
.stats-grid div:last-child { border-right: 0; }
.stats strong { display: block; font: 700 1.6rem var(--font-head); text-transform: uppercase; }
.stats span { font-size: .85rem; opacity: .9; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--black-2); border-top: 1px solid var(--grey-800); border-bottom: 1px solid var(--grey-800); }
.section-head { margin-bottom: 44px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.card {
    background: var(--grey-900); border: 1px solid var(--grey-800); border-radius: var(--radius);
    padding: 32px 28px; transition: transform .25s, border-color .25s;
    position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .35s; }
.card:hover { transform: translateY(-5px); border-color: var(--grey-700); }
.card:hover::before { width: 100%; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
    display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 10px;
    background: rgba(215,24,42,.12); color: var(--red); margin-bottom: 18px; flex-shrink: 0;
}
.icon { width: 24px; height: 24px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist.cols { grid-template-columns: 1fr 1fr; }
.checklist li { display: flex; align-items: center; gap: 10px; color: var(--grey-100); }
.checklist .icon { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }

.split-art { position: relative; height: 380px; }
.art-card { position: absolute; border-radius: 12px; box-shadow: var(--shadow); }
.art-1 {
    width: 62%; height: 64%; left: 8%; top: 12%; z-index: 3;
    background: linear-gradient(135deg, var(--grey-800), var(--black));
    border: 1px solid var(--grey-700); display: grid; place-items: center;
    transform: rotate(-6deg);
}
.art-1 span {
    font: 700 5rem var(--font-head);
    background: linear-gradient(120deg, #8a6d2b, #f5d77a 40%, #b38b2e 60%, #fff2b8);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.art-2 { width: 55%; height: 58%; right: 4%; top: 2%; background: var(--red); transform: rotate(8deg); z-index: 2; }
.art-3 { width: 50%; height: 45%; right: 12%; bottom: 0; background: var(--grey-700); transform: rotate(-2deg); z-index: 1; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.gallery-item {
    position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
    background: var(--grey-900); border: 1px solid var(--grey-800); display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(.7); }
.gallery-caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-weight: 600;
    background: linear-gradient(transparent, rgba(0,0,0,.85)); transform: translateY(100%); transition: transform .3s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-item.is-hidden { display: none; }
.placeholder { display: grid; place-items: center; color: var(--grey-500); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .15em; }
.ph-1 { background: linear-gradient(135deg, var(--grey-900), var(--grey-800)); }
.ph-2 { background: linear-gradient(135deg, #2a0a0e, var(--red-dark)); color: #ffb3ba; }
.ph-3 { background: repeating-linear-gradient(45deg, var(--grey-900) 0 10px, var(--black-2) 10px 20px); }
.ph-4 { background: radial-gradient(circle at 30% 30%, var(--grey-700), var(--black)); }
.ph-5 { background: linear-gradient(135deg, var(--black), #3a0d13); color: #ff8a95; }
.ph-6 { background: linear-gradient(135deg, var(--grey-800), var(--grey-900)); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter {
    background: transparent; border: 1px solid var(--grey-700); color: var(--grey-200); border-radius: 30px;
    padding: 8px 20px; cursor: pointer; font: 500 .85rem var(--font-body); text-transform: uppercase; letter-spacing: .06em;
}
.filter:hover { border-color: var(--red); color: #fff; }
.filter.active { background: var(--red); border-color: var(--red); color: #fff; }

.lightbox {
    position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.94);
    display: flex; align-items: center; justify-content: center; padding: 40px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: 6px; margin: 0 auto; }
.lightbox figcaption { margin-top: 14px; color: var(--grey-200); }
.lightbox button {
    position: absolute; background: var(--grey-900); color: #fff; border: 1px solid var(--grey-700);
    width: 50px; height: 50px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: var(--red); border-color: var(--red); }
.lb-close { top: 20px; right: 20px; }
.lb-prev  { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Services page ---------- */
.service-list { display: grid; gap: 24px; }
.service {
    display: grid; grid-template-columns: 110px 1fr; gap: 30px;
    background: var(--grey-900); border: 1px solid var(--grey-800); border-radius: var(--radius);
    padding: 36px; border-left: 4px solid var(--red);
}
.service-num { font: 700 3.6rem/1 var(--font-head); color: var(--grey-700); }
.service-title { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.service-title .card-icon { margin: 0; }
.service-title h2 { margin: 0; font-size: 1.8rem; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: step; background: var(--grey-900); border: 1px solid var(--grey-800); border-radius: var(--radius); padding: 28px 24px; }
.steps li::before {
    content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--red); color: #fff; font: 700 1.2rem var(--font-head); margin-bottom: 16px;
}
.steps strong { display: block; color: #fff; font: 600 1.15rem var(--font-head); text-transform: uppercase; margin-bottom: 6px; }
.steps span { color: var(--grey-400); font-size: .95rem; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--red-dark), var(--red)); color: #fff; padding: 70px 0; }
.cta h2 { margin-bottom: .25em; }
.cta p { margin: 0; opacity: .92; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.panel { background: var(--grey-900); border: 1px solid var(--grey-800); border-radius: var(--radius); padding: 40px; }
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--grey-100); }
.form label .muted { font-weight: 400; }
.form input, .form select, .form textarea {
    width: 100%; padding: 13px 15px; border-radius: 6px;
    background: var(--black); border: 1px solid var(--grey-700); color: #fff;
    font: 1rem var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow);
}
.form textarea { resize: vertical; }
.money { display: flex; align-items: stretch; }
.money span {
    display: grid; place-items: center; padding: 0 14px; background: var(--grey-800);
    border: 1px solid var(--grey-700); border-right: 0; border-radius: 6px 0 0 6px; color: var(--grey-200);
}
.money input { border-radius: 0 6px 6px 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.fine { font-size: .85rem; color: var(--grey-400); margin: 0; text-align: center; }

.alert { padding: 16px 20px; border-radius: 6px; margin-bottom: 24px; border-left: 4px solid; }
.alert.success { background: rgba(46,160,67,.12); border-color: #2ea043; color: #b7f0c2; }
.alert.error   { background: rgba(215,24,42,.12); border-color: var(--red); color: #ffc2c7; }
.alert.info    { background: rgba(154,154,162,.12); border-color: var(--grey-400); color: var(--grey-100); }
.notice { background: var(--grey-900); border: 1px dashed var(--grey-700); padding: 18px 22px; border-radius: 8px; margin-bottom: 24px; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .card-icon { margin: 0; }
.info-item h4 { margin: 4px 0 2px; }
.info-item p { margin: 0; color: var(--grey-400); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-800); height: 240px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

.pay-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.pay-side { display: grid; gap: 20px; }
.success-badge {
    width: 90px; height: 90px; border-radius: 50%; background: var(--red); color: #fff;
    display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 0 0 10px rgba(215,24,42,.15);
}
.success-badge .icon { width: 44px; height: 44px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black-2); border-top: 3px solid var(--red); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-grid .logo { margin-bottom: 14px; }
.footer-links { display: grid; gap: 4px; }
.site-footer a:not(.logo) { color: var(--grey-400); }
.site-footer a:not(.logo):hover { color: var(--red); }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    border-top: 1px solid var(--grey-800); padding: 22px 20px; font-size: .85rem; color: var(--grey-500);
}
.social { display: flex; gap: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .card-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-grid, .pay-grid { grid-template-columns: 1fr; }
    .split-art { height: 300px; }
    .steps { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid div:nth-child(2) { border-right: 0; }
    .stats-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
}
@media (max-width: 780px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        background: var(--black); border-bottom: 1px solid var(--grey-800);
        max-height: 0; overflow: hidden; transition: max-height .35s ease;
    }
    .site-nav.open { max-height: 420px; }
    .site-nav a:not(.btn) { padding: 16px 20px; border-top: 1px solid var(--grey-900); }
    .site-nav a:not(.btn)::after { display: none; }
    .site-nav .btn { margin: 16px 20px 20px; }
    .service { grid-template-columns: 1fr; gap: 10px; padding: 28px 22px; }
    .service-num { font-size: 2.4rem; }
}
@media (max-width: 600px) {
    .section { padding: 64px 0; }
    .hero { padding: 90px 0 80px; }
    .card-grid, .gallery-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
    .form .row, .checklist.cols { grid-template-columns: 1fr; }
    .panel { padding: 26px 20px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .lightbox { padding: 20px 10px; }
    .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
    .logo-text { font-size: 1.1rem; }
}
