/* Lunamovas - main styles
   Layout concept: a long, single scroll. Sticky header, a night-sky hero with a
   large crescent moon, then repeating bands of blank image cards under their headings.
   Dark black and blood-red only. */

:root {
    --ink: #090405;          /* page background */
    --surface: #130a0c;      /* alternate band */
    --surface-2: #1c0d11;    /* cards, inputs */
    --maroon: #5a0f1b;       /* deep maroon, glows and fills */
    --blood: #9b111e;        /* buttons, rules */
    --blood-bright: #d3303d; /* hover, small highlights */
    --bone: #efe2dc;         /* main text */
    --muted: #a89690;        /* secondary text */
    --line: #3a1a20;         /* borders */

    --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
    --font-body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-label: "Jost", "Helvetica Neue", Arial, sans-serif;

    --gutter: 20px;
    --maxw: 1180px;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    background: var(--ink);
    color: var(--bone);
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.sr {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--blood-bright); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    background: var(--blood);
    color: var(--bone);
    border: 1px solid var(--blood);
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--blood-bright); border-color: var(--blood-bright); }
.btn-ghost { background: transparent; border-color: var(--blood); }
.btn-ghost:hover { background: var(--blood); }

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(9, 4, 5, 0.94);
    border-bottom: 1px solid var(--line);
}
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-moon { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.22em; }

.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.5rem; }
.site-nav a {
    font-family: var(--font-label);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--bone); border-bottom-color: var(--blood-bright); }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--bone);
    cursor: pointer;
    padding: 0 11px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.nav-toggle i { display: block; height: 2px; background: var(--bone); }

/* ---------- hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3rem, 8vw, 6rem) 3.5rem;
    background:
        radial-gradient(ellipse 60% 70% at 82% 20%, rgba(155, 17, 30, 0.38), transparent 70%),
        radial-gradient(ellipse 50% 60% at 10% 100%, rgba(90, 15, 27, 0.5), transparent 70%),
        var(--ink);
    border-bottom: 1px solid var(--line);
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars span {
    position: absolute;
    width: 2px; height: 2px;
    border-radius: 50%;
    background: var(--bone);
    opacity: 0.7;
    animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.95; } }

.hero-moon {
    position: absolute;
    right: -2%;
    top: -4%;
    width: min(46vw, 520px);
    height: auto;
    filter: drop-shadow(0 0 50px rgba(211, 48, 61, 0.45));
    pointer-events: none;
}
.hero-inner { position: relative; padding-bottom: 3rem; }
.eyebrow {
    font-family: var(--font-label);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--blood-bright);
    margin-bottom: 1.1rem;
}
.hero h1 {
    max-width: 17ch;
    font-size: clamp(2rem, 5.2vw, 3.7rem);
    letter-spacing: 0.02em;
}
.motto {
    margin-top: 1.4rem;
    font-style: italic;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    color: var(--bone);
}
.motto.small { font-size: 1.15rem; color: var(--muted); margin-top: 0.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-cards { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }

/* ---------- help bar ---------- */
.help-bar { background: var(--maroon); border-bottom: 1px solid var(--blood); }
.help-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.4rem; }
.help-title { font-size: 1.35rem; letter-spacing: 0.05em; }
.search { display: flex; flex: 1 1 320px; max-width: 520px; }
.search input { flex: 1; min-width: 0; border-right: 0; }
.search .btn { flex: none; background: var(--ink); border-color: var(--ink); }
.search .btn:hover { background: var(--blood-bright); border-color: var(--blood-bright); }

/* ---------- blocks / section heads ---------- */
.block { padding-block: clamp(3rem, 6vw, 4.5rem); }
.block.alt { background: var(--surface); border-block: 1px solid var(--line); }

.block-head { margin-bottom: 2rem; }
.block-head h2 {
    display: inline-block;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    letter-spacing: 0.06em;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--blood);
}
.desc-line { margin-top: 1rem; }
.desc-line i { display: block; width: min(100%, 560px); height: 10px; background: var(--surface-2); border-radius: 2px; }

.more-row { display: flex; justify-content: center; margin-top: 2rem; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 1.2rem; }
.g6 { grid-template-columns: repeat(6, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }

/* ---------- blank image slots and text lines ---------- */
.slot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(135deg, #1d0e12, #0f0709);
    border: 1px dashed #55252d;
    overflow: hidden;
}
.slot span {
    padding: 0.2rem 0.5rem;
    font-family: var(--font-label);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    color: #7c5a5f;
}
/* real pictures fill the frame and drop the dashed placeholder border */
.slot.has-img { border-style: solid; border-color: var(--line); }
.slot img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover .slot { border-color: var(--blood-bright); }
.card-title {
    margin-top: 0.8rem;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}
.card-text { margin-top: 0.5rem; color: var(--muted); font-size: 1.05rem; }
.service .card-title, .service h3 { text-align: left; }

/* optional pictures */
.brand-logo { height: 38px; width: auto; max-width: 140px; flex: none; object-fit: contain; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; pointer-events: none; }
.banner-box .slot.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(9,4,5,0.55), rgba(9,4,5,0.7)); }

/* service pictures are 1000x537 (white edge trimmed): this frame matches them, so nothing is cropped */
.r-wide { aspect-ratio: 1000 / 537; }
.r-11 { aspect-ratio: 1 / 1; }
.r-43 { aspect-ratio: 4 / 3; }
.r-34 { aspect-ratio: 3 / 4; }
.r-23 { aspect-ratio: 2 / 3; }
.r-fill { height: 100%; min-height: 100%; }

.card { min-width: 0; }
.lines { display: grid; gap: 0.5rem; margin-top: 0.8rem; }
.lines i { display: block; height: 10px; background: var(--surface-2); border-radius: 2px; }
.lines i:first-child { width: 92%; }
.lines i:nth-child(2) { width: 64%; }
.lines i:nth-child(3) { width: 78%; }
.block.alt .lines i, .block.alt .desc-line i { background: #26121a; }

/* ---------- start here ---------- */
.start-title {
    text-align: center;
    font-size: clamp(2.6rem, 8vw, 5.2rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 2.5rem;
}
.start-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.start-grid .feature {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}
.start-grid .feature .slot { flex: 1; min-height: 260px; }
/* when the card is a link, the link becomes the column that fills the card */
.start-grid .feature .card-link { display: flex; flex-direction: column; flex: 1; min-height: 0; }

/* ---------- banner ---------- */
.banner { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.banner-box { position: relative; min-height: 260px; display: flex; }
.banner-box .slot { position: absolute; inset: 0; }
.banner-copy {
    position: relative;
    margin: auto;
    padding: 2.4rem 1.5rem;
    text-align: center;
    display: grid;
    gap: 1.4rem;
    justify-items: center;
}
.banner-copy h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); letter-spacing: 0.05em; text-shadow: 0 2px 18px #000; }

/* ---------- services ---------- */
/* 5 services: three across on the first row, two wider cards below */
.services-grid { grid-template-columns: repeat(6, 1fr); gap: 1.8rem 1.6rem; }
.services-grid .service { grid-column: span 2; }
.services-grid .service:nth-child(n+4) { grid-column: span 3; }

.service h3 { margin-top: 1.1rem; font-size: 1.2rem; letter-spacing: 0.05em; }
.service .more {
    display: inline-block;
    margin-top: 1.1rem;
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--blood-bright);
    border-bottom: 1px solid var(--blood);
    padding-bottom: 2px;
}
.service .more:hover { color: var(--bone); }

/* ---------- as seen in ---------- */
.seen { padding-block: 2.5rem; border-block: 1px solid var(--line); background: var(--surface); }
.seen-title { text-align: center; font-size: 1.1rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.seen-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.logo-slot {
    display: flex; align-items: center; justify-content: center;
    height: 56px;
    border: 1px dashed #55252d;
    background: #0f0709;
}
.logo-slot span { font-family: var(--font-label); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: #7c5a5f; }

/* ---------- signup ---------- */
.signup-box {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(2.2rem, 5vw, 3.5rem) 1.5rem;
    background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(155, 17, 30, 0.35), transparent 70%), var(--surface);
    border: 1px solid var(--blood);
}
.signup-moon { width: 56px; height: 56px; margin-bottom: 0.8rem; }
.signup-box h2 { font-size: clamp(1.4rem, 3.4vw, 2.1rem); letter-spacing: 0.05em; margin-bottom: 1.6rem; }
.inline-form { display: flex; justify-content: center; max-width: 520px; margin-inline: auto; }
.inline-form input { flex: 1; min-width: 0; border-right: 0; }

/* ---------- forms ---------- */
input, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--surface-2);
    color: var(--bone);
    border: 1px solid var(--line);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
}
input::placeholder, textarea::placeholder { color: #7f6c68; }
input:focus, textarea:focus { border-color: var(--blood-bright); outline: none; }
textarea { resize: vertical; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info h3 { font-size: 1.4rem; letter-spacing: 0.05em; margin-bottom: 1.4rem; }
.contact-info dt {
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 1.1rem;
}
.contact-info dd { margin: 0.2rem 0 0; font-size: 1.7rem; font-family: var(--font-display); letter-spacing: 0.06em; overflow-wrap: anywhere; }
.contact-info a { text-decoration: none; border-bottom: 1px solid var(--blood); }
.contact-info a:hover { color: var(--blood-bright); }
.muted { color: var(--muted); font-family: var(--font-body); font-size: 1.3rem; font-style: italic; letter-spacing: 0; }

.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact-form .btn { justify-self: start; }

.notice { margin-top: 1rem; padding: 0.7rem 1rem; font-size: 1.05rem; border-left: 3px solid var(--blood-bright); background: var(--surface-2); text-align: left; }
.notice.ok { border-left-color: #6fae7e; }
.signup-box .notice { max-width: 520px; margin-inline: auto; }

/* ---------- footer ---------- */
.site-footer { background: #050203; border-top: 2px solid var(--blood); padding-block: 3rem 1.6rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.footer-col h3 { font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; color: var(--blood-bright); }
.footer-col li + li { margin-top: 0.5rem; }
.footer-col a { text-decoration: none; color: var(--muted); font-size: 1.1rem; }
.footer-col a:hover { color: var(--bone); }
.foot-phone { margin-top: 1rem; font-family: var(--font-display); letter-spacing: 0.08em; }
.foot-phone a { text-decoration: none; }
.copyright { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; text-align: center; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .stars span { animation: none; }
}
