:root {
    /* Palette-based tokens */
    --bg: #F4F5F7;
    /* light neutral background */
    --bg-alt: #FFFFFF;
    /* card / surface */
    --primary: #26415B;
    /* deep blue */
    --primary-soft: #3A6EA5;
    /* softer blue for hovers/focus */
    --accent: #FF8A65;
    /* warm accent for CTAs */
    --accent-soft: #D4A656;
    /* secondary warm accent */
    --mint: #A8E6CF;
    /* micro-accent */
    --neutral-warm: #D7CFC4;
    /* warm beige/taupe from palette */

    --text-main: #1C1F23;
    --text-muted: #5D6A78;
    --border-soft: #CED4DA;

    --radius: 14px;
    --shadow-soft: 0 18px 60px rgba(38, 65, 91, 0.08);
    --max-width: 960px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Soft, cool-neutral gradient using palette colours */
    /* Soft, warm-neutral gradient using new palette */
    background: radial-gradient(circle at top left,
            #FFFFFF 0%,
            var(--bg) 40%,
            var(--neutral-warm) 100%);
    background-attachment: fixed;
    /* Keeps gradient stable on scroll */
    color: var(--text-main);
    line-height: 1.5;
}

/* Preference: use Noto Serif for headings */
h1,
h2,
h3,
.brand-name {
    font-family: 'Noto Serif', 'Noto Sans', serif;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 18px 64px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--primary);
}

.brand-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pill {
    border-radius: 999px;
    padding: 6px 14px;
    border: 1px solid rgba(38, 65, 91, 0.12);
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--mint);
}

/* HERO */

.hero {
    background: linear-gradient(120deg, #FFFFFF 0%, var(--bg) 60%, var(--neutral-warm) 100%);
    border-radius: 26px;
    padding: 32px 26px 28px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 26px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.15;
    margin-bottom: 10px;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 30rem;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease, transform 0.08s ease,
        box-shadow 0.12s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 14px 30px rgba(38, 65, 91, 0.35);
}

.btn-primary:hover {
    background: var(--primary-soft);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(38, 65, 91, 0.16);
    color: var(--primary);
}

.btn-ghost:hover {
    background: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.hero-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb {
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle at 25% 20%,
            #F4F5F7 0,
            #FF8A65 32%,
            #26415B 80%);
    box-shadow:
        0 30px 60px rgba(38, 65, 91, 0.48),
        0 0 0 16px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.orb-wave {
    position: absolute;
    inset: 44% -30%;
    border-radius: 60%;
    background: linear-gradient(90deg,
            rgba(168, 230, 207, 0.25),
            rgba(255, 255, 255, 0.9),
            rgba(255, 138, 101, 0.25));
    mix-blend-mode: screen;
    opacity: 0.9;
}

.orb-line {
    position: absolute;
    left: 14%;
    right: 14%;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    transform-origin: center;
}

.orb-line:nth-child(1) {
    top: 30%;
    transform: scaleX(0.7);
    opacity: 0.85;
}

.orb-line:nth-child(2) {
    top: 48%;
    transform: scaleX(1);
    opacity: 1;
}

.orb-line:nth-child(3) {
    top: 66%;
    transform: scaleX(0.85);
    opacity: 0.9;
}

.orb-caption {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* SECTIONS */

section {
    margin-bottom: 40px;
}

.section-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.section-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 20px 76px 20px 20px;
    /* Extra right padding to clear icons */
    border: 1px solid var(--border-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(38, 65, 91, 0.12);
    border-color: rgba(38, 65, 91, 0.2);
}

.card h3 {
    margin: 0 0 6px;
    font-size: 0.98rem;
    color: var(--primary);
}

.card p {
    margin: 0;
    font-size: 0.87rem;
    color: var(--text-muted);
}

.pill-inline {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(168, 230, 207, 0.5);
    color: var(--primary);
    margin-bottom: 6px;
}

/* ABOUT */

.about {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.8fr);
    gap: 22px;
    align-items: flex-start;
}

.about p {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Helpers moved from inline HTML styles */
.compact-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mt-10 {
    margin-top: 10px;
}

.hidden {
    display: none;
}

.form-actions {
    margin-top: 8px;
}

/* CONTACT FORM */

.contact-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 18px 16px 16px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

form {
    display: grid;
    gap: 10px;
}

label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 3px;
    display: block;
}

input,
select,
textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #CED4DA;
    padding: 8px 10px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #F4F5F7;
    transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-soft);
    box-shadow: 0 0 0 1px rgba(58, 110, 165, 0.15);
    background: #FFFFFF;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.form-footnote {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 4px;
}

footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

footer a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

@media (max-width: 720px) {
    main {
        padding-top: 20px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 22px 18px 18px;
    }

    .hero-visual {
        order: -1;
        justify-content: center;
        padding-top: 8px;
    }

    .orb {
        width: 150px;
        height: 150px;
        box-shadow:
            0 22px 40px rgba(38, 65, 91, 0.4),
            0 0 0 12px rgba(255, 255, 255, 0.8);
    }

    .orb {
        margin: 0 auto;
    }

    .about {
        grid-template-columns: 1fr;
    }
}

/* ICONS & STEPS */
.card {
    position: relative;
    /* Ensure absolute children are relative to card */
}

.card-icon {
    color: var(--primary-soft);
    opacity: 0.15;
    /* Make them subtle background elements */
    position: absolute;
    top: 16px;
    right: 16px;
    pointer-events: none;
    /* Let clicks pass through */
}

.card-icon svg {
    width: 48px;
    /* Make them slightly larger as background elements */
    height: 48px;
}

.step-card {
    position: relative;
    overflow: hidden;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--neutral-warm);
    opacity: 0.25;
    position: absolute;
    top: -10px;
    right: 10px;
    font-family: 'Noto Serif', serif;
}

/* ========================================
   HERO: Split with Centered White Card
   ======================================== */

.hero {
    position: relative;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow-soft);
    min-height: 350px;
    margin-bottom: 40px;
    overflow: hidden;
}

.hero-split {
    position: absolute;
    inset: 0;
    display: flex;
}

.hero-panel {
    flex: 1;
}

.hero-panel-sound {
    background: linear-gradient(135deg, #4fd1c5 0%, #38b2ac 100%);
}

.hero-panel-systems {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    padding: 40px 50px;
    width: 90%;
    max-width: 700px;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    line-height: 1.1;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.hero-sound {
    color: #4fd1c5;
}

.hero-amp {
    color: var(--text-main);
    margin: 0 0.15em;
}

.hero-systems {
    color: #3b82f6;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Layout */
.about-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.about-text p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Color-Coded Service Sections */
.services-section {
    margin-bottom: 50px;
    padding: 30px;
    border-radius: 16px;
    background: var(--bg-alt);
    border: 2px solid transparent;
}

.music-section {
    border-color: rgba(79, 209, 197, 0.2);
    background: linear-gradient(to bottom, rgba(79, 209, 197, 0.03), transparent);
}

.tech-section {
    border-color: rgba(59, 130, 246, 0.2);
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.03), transparent);
}

.sound-label {
    color: #38b2ac;
}

.systems-label {
    color: #2563eb;
}

.sound-card {
    border-left: 3px solid #4fd1c5;
}

.systems-card {
    border-left: 3px solid #3b82f6;
}

.sound-icon {
    color: #4fd1c5;
}

.systems-icon {
    color: #3b82f6;
}

/* Enhanced Buttons */
.btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-sound {
    background: linear-gradient(135deg, #4fd1c5 0%, #38b2ac 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 6px 20px rgba(79, 209, 197, 0.35);
}

.btn-sound:hover {
    background: linear-gradient(135deg, #38b2ac 0%, #2c9c94 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(79, 209, 197, 0.45);
}

.btn-systems {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn-systems:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
}

.section-cta {
    margin-top: 24px;
    text-align: center;
}

/* Contact Time Fieldset */
.contact-time {
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 12px 0;
}

.contact-time legend {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0 8px;
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
}

.checkbox-group input[type=checkbox] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

/* reCAPTCHA Container */
.recaptcha-container {
    margin: 16px 0;
    min-height: 78px;
    display: flex;
    justify-content: center;
}

.sent-note {
    padding: 16px;
    background: rgba(79, 209, 197, 0.1);
    border: 1px solid #4fd1c5;
    border-radius: 10px;
    color: var(--primary);
    text-align: center;
}

/* Responsive */
@media (max-width: 800px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .hero {
        min-height: 300px;
    }

    .hero-content {
        padding: 30px 25px;
        width: 95%;
        height: 95%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .services-section {
        padding: 20px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* GALLERY */
.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.video-card {
    padding: 0;
    overflow: hidden;
    border: none;
    background: transparent;
    box-shadow: none;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}