/* ==========================================================================
   CS&E Systems — Custom Sound & Entertainment
   Simple, static, single-page site. No frameworks.
   ========================================================================== */

:root {
    --green: #9ac53a;
    --green-dark: #7ba32b;
    --ink: #1c1f24;
    --charcoal: #23272e;
    --slate: #4a5058;
    --muted: #6b7280;
    --line: #e6e8eb;
    --bg: #ffffff;
    --bg-alt: #f6f7f8;
    --maxw: 1080px;
    --radius: 12px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------- Header -- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
}
.brand:hover { text-decoration: none; }

.brand-logo {
    height: 46px;
    width: auto;
    display: block;
}

.nav a {
    color: #cfd3d8;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-left: 28px;
}
.nav a:hover { color: var(--green); text-decoration: none; }

@media (max-width: 480px) {
    .nav a { margin-left: 18px; font-size: 0.78rem; }
    .brand { font-size: 1rem; }
}

/* ----------------------------------------------------------------- Hero -- */
.hero {
    position: relative;
    border-bottom: 1px solid var(--line);
    text-align: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: #23272e url("../assets/img/hero.jpg") center 38% / cover no-repeat;
}
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 31, 36, 0.55), rgba(28, 31, 36, 0.72));
}

.hero-inner {
    position: relative;
    padding: 84px 24px 92px;
    display: flex;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.60);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 16px;
    padding: 44px 40px 40px;
    max-width: 620px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    margin: 0;
    color: var(--green-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.hero-title {
    margin: 10px 0 0;
    color: var(--ink);
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.hero-tagline {
    max-width: 520px;
    margin: 20px 0 0;
    font-size: 1.15rem;
    color: var(--slate);
}

.badge {
    display: inline-block;
    margin-top: 26px;
    padding: 9px 20px;
    border: 2px solid var(--green);
    border-radius: 999px;
    color: var(--green-dark);
    background: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* -------------------------------------------------------------- Sections -- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-title {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.section-title::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    background: var(--green);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
    margin: 18px auto 0;
    max-width: 620px;
}
.section-subtitle.light { color: #b8bec6; }

.section-lead {
    max-width: 720px;
    margin: 24px auto 0;
    text-align: center;
    color: var(--slate);
}

/* --------------------------------------------------------------- Cards -- */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(28, 31, 36, 0.08);
}

.card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 3px solid var(--green);
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-body { padding: 26px 26px 32px; }
.card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* -------------------------------------------------------------- Brands -- */
.brands {
    list-style: none;
    padding: 0;
    margin: 48px auto 0;
    max-width: 760px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 40px;
}
@media (max-width: 520px) { .brands { grid-template-columns: 1fr; } }

.brands li {
    border-bottom: 1px solid var(--line);
    padding: 12px 4px;
}
.brands a {
    color: var(--ink);
    font-weight: 600;
    font-size: 1.05rem;
}
.brands a:hover { color: var(--green-dark); text-decoration: none; }

/* -------------------------------------------------------------- Contact -- */
.section-dark { background: var(--charcoal); }
.section-dark .section-title { color: #fff; }

.contact-inner { text-align: center; }

.contact-area {
    color: #cfd3d8;
    margin: 24px 0 40px;
    font-size: 1.05rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    padding: 22px 28px;
    background: #2c313a;
    border: 1px solid #3a4049;
    border-radius: var(--radius);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.contact-link:hover { border-color: var(--green); transform: translateY(-3px); text-decoration: none; }

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green);
    font-weight: 700;
}
.contact-value { color: #fff; font-size: 1.3rem; font-weight: 700; }

/* -------------------------------------------------------------- Footer -- */
.site-footer {
    background: var(--ink);
    color: #9aa0a8;
    font-size: 0.85rem;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 26px 24px;
    flex-wrap: wrap;
}
@media (max-width: 520px) { .footer-inner { justify-content: center; text-align: center; } }
