:root {
    --afp-bg: #0d0d0d;
    --afp-bg-deep: #0a0a0a;
    --afp-footer: #080808;
    --afp-brass: #b28a55;
    --afp-gold: #c49a5c;
    --afp-text: #f4f0ea;
    --afp-text-soft: #c9c5c0;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999999;
    padding: 12px 16px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* =========================================================
   PAGE
========================================================= */

.sonic-page {
    min-height: 100vh;
    background: var(--afp-bg);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */

.sonic-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 35px 5%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 1000;
}

.sonic-logo img {
    width: 220px;
    height: auto;
}

.sonic-desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 42px;
    list-style: none;
}

.sonic-desktop-nav a {
    color: var(--afp-text);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.sonic-desktop-nav a:hover,
.sonic-desktop-nav a:focus-visible {
    color: var(--afp-brass);
}

.quote-button {
    border: 1px solid var(--afp-brass);
    color: var(--afp-brass) !important;
    padding: 16px 26px;
}

/* =========================================================
   MOBILE MENU
========================================================= */

.sonic-menu-icon {
    width: 42px;
    height: 32px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002;
}

.sonic-menu-icon span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 999px;
    transition: 0.3s ease;
}

.sonic-menu-icon.active span:nth-child(1) {
    transform: translateY(14px) rotate(45deg);
}

.sonic-menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.sonic-menu-icon.active span:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg);
}

.sonic-mobile-menu {
    position: absolute;
    top: 95px;
    right: 5%;
    display: flex;
    flex-direction: column;
    gap: 22px;
    list-style: none;
    background: rgba(20, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 38px;
    border-radius: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    transition: 0.3s ease;
}

.sonic-mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.sonic-mobile-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================================
   PAGE WRAPPER
========================================================= */

.sonic-hero {
    min-height: 100vh;
    padding: 0 5% 60px;
    background: var(--afp-bg);
}

/* =========================================================
   HERO BANNER
========================================================= */

.afp-hero-banner {
    width: 100%;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 180px 5% 90px;
    background-image:
        linear-gradient(
            to bottom,
            var(--afp-bg) 0%,
            rgba(13, 13, 13, 0.96) 12%,
            rgba(13, 13, 13, 0.82) 20%,
            rgba(13, 13, 13, 0.58) 28%,
            rgba(13, 13, 13, 0.30) 36%,
            rgba(13, 13, 13, 0.10) 44%,
            rgba(13, 13, 13, 0) 52%
        ),
        linear-gradient(
            to bottom,
            rgba(13, 13, 13, 0) 58%,
            rgba(13, 13, 13, 0.12) 68%,
            rgba(13, 13, 13, 0.42) 79%,
            rgba(13, 13, 13, 0.78) 90%,
            var(--afp-bg) 100%
        ),
        linear-gradient(
            to right,
            rgba(13, 13, 13, 0.96) 0%,
            rgba(13, 13, 13, 0.94) 20%,
            rgba(13, 13, 13, 0.82) 36%,
            rgba(13, 13, 13, 0.58) 52%,
            rgba(13, 13, 13, 0.28) 68%,
            rgba(13, 13, 13, 0.08) 86%,
            rgba(13, 13, 13, 0) 100%
        ),
        linear-gradient(
            to left,
            rgba(13, 13, 13, 0.96) 0%,
            rgba(13, 13, 13, 0.94) 4%,
            rgba(13, 13, 13, 0.82) 12%,
            rgba(13, 13, 13, 0.58) 18%,
            rgba(13, 13, 13, 0.28) 23%,
            rgba(13, 13, 13, 0.08) 29%,
            rgba(13, 13, 13, 0) 100%
        ),
        linear-gradient(
            rgba(13, 13, 13, 0.16),
            rgba(13, 13, 13, 0.16)
        ),
        url("../img/audio-forensic-analysis.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.afp-hero-banner .sonic-hero-content {
    width: 100%;
    max-width: 760px;
    transform: translateY(45px);
}

.sonic-hero h1 {
    font-family: Garamond, Georgia, serif;
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1.08;
    color: #f7f3ee;
    margin-bottom: 28px;
}

.sonic-hero h1 span {
    color: var(--afp-brass);
}

.sonic-line {
    width: 78px;
    height: 2px;
    background: var(--afp-brass);
    margin-bottom: 34px;
}

.sonic-hero-content p {
    max-width: 620px;
    color: var(--afp-text-soft);
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.sonic-buttons {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.sonic-button {
    display: inline-block;
    min-width: 210px;
    padding: 18px 30px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    border-radius: 3px;
    transition: transform 0.25s ease;
}

.sonic-button.filled {
    background: var(--afp-brass);
    color: #111111;
}

.sonic-button.outline {
    border: 1px solid var(--afp-brass);
    color: var(--afp-brass);
}

.sonic-button:hover,
.sonic-button:focus-visible {
    transform: translateY(-2px);
}

/* =========================================================
   SERVICES
========================================================= */

.sonic-service-row {
    margin-top: 90px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.sonic-service-card {
    text-align: center;
    padding: 0 42px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.sonic-service-card:last-child {
    border-right: none;
}

.sonic-service-card img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin: 0 auto 24px;
}

.sonic-service-card h2 {
    color: var(--afp-text);
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sonic-service-card p {
    color: #b8b4af;
    font-size: 15px;
    line-height: 1.55;
}

/* =========================================================
   FORENSIC DETAIL SECTION
========================================================= */

.afp-detail-section {
    background: var(--afp-bg-deep);
    color: #f4f0e8;
    padding: 120px clamp(40px, 8vw, 130px);
    border-top: 1px solid rgba(196, 154, 92, 0.25);
}

.afp-detail-label {
    margin-bottom: 70px;
    color: var(--afp-gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.afp-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: clamp(60px, 9vw, 150px);
    max-width: 1400px;
    margin: 0 auto;
}

.afp-detail-content h2 {
    margin: 0;
    color: #f4f0e8;
    font-size: clamp(2.5rem, 3.7vw, 4.4rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
    overflow-wrap: normal;
}

.afp-detail-copy {
    max-width: 720px;
}

.afp-detail-copy p {
    margin: 0 0 28px;
    color: rgba(244, 240, 232, 0.76);
    font-size: 1.05rem;
    line-height: 1.8;
}

.afp-detail-copy p:first-child {
    color: #f4f0e8;
    font-size: 1.25rem;
    line-height: 1.65;
}

.afp-detail-copy .afp-detail-closing {
    margin-top: 48px;
    padding-top: 30px;
    border-top: 1px solid rgba(196, 154, 92, 0.35);
    color: var(--afp-gold);
    font-size: 1.15rem;
    font-weight: 600;
}

/* =========================================================
   TESTIMONIAL
========================================================= */

.afp-testimonial {
    background: var(--afp-bg);
    color: #f4f0e8;
    padding: 110px clamp(40px, 8vw, 130px);
    border-top: 1px solid rgba(196, 154, 92, 0.25);
    border-bottom: 1px solid rgba(196, 154, 92, 0.25);
}

.afp-testimonial-label {
    margin-bottom: 55px;
    color: var(--afp-gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.afp-testimonial blockquote {
    max-width: 1100px;
    margin: 0;
}

.afp-testimonial blockquote p {
    margin: 0 0 28px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.afp-testimonial-credit {
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.afp-testimonial-credit strong {
    color: #f4f0e8;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
}

.afp-testimonial-credit span {
    color: var(--afp-gold);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
}

/* =========================================================
   CTA
========================================================= */

.sonic-cta {
    margin-top: 80px;
    padding: 100px 8%;
    background: var(--afp-bg);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sonic-cta-eyebrow {
    margin: 0 0 18px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.7;
}

.sonic-cta h2 {
    margin: 0 0 24px;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    font-weight: 600;
}

.sonic-cta > p:not(.sonic-cta-eyebrow) {
    max-width: 620px;
    margin: 0 0 32px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.sonic-cta a {
    display: inline-block;
    padding: 15px 24px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    transition: background 0.25s ease, color 0.25s ease;
}

.sonic-cta a:hover,
.sonic-cta a:focus-visible {
    background: #ffffff;
    color: var(--afp-bg);
}

/* =========================================================
   FOOTER
========================================================= */

.sonic-footer {
    background: var(--afp-footer);
    color: #ffffff;
    padding: 45px 8%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sonic-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.sonic-footer-logo img {
    width: 150px;
    height: auto;
}

.sonic-footer-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.sonic-footer-links a,
.sonic-footer-cta {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sonic-footer-links a {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.sonic-footer-links a:hover,
.sonic-footer-links a:focus-visible {
    opacity: 1;
}

.sonic-footer-cta {
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: background 0.2s ease, color 0.2s ease;
}

.sonic-footer-cta:hover,
.sonic-footer-cta:focus-visible {
    background: #ffffff;
    color: var(--afp-footer);
}

/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1100px) {
    .sonic-desktop-nav {
        display: none;
    }

    .sonic-menu-icon {
        display: flex;
    }

    .sonic-header {
        padding: 28px 30px;
    }

    .sonic-logo img {
        width: 150px;
    }

    .afp-hero-banner {
        min-height: 600px;
        padding: 170px 30px 80px;
        background-position: 60% center;
    }

    .sonic-service-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 0;
    }

    .sonic-service-card:nth-child(2) {
        border-right: none;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 768px) {
    .afp-detail-section,
    .afp-testimonial {
        padding: 80px 24px;
    }

    .afp-detail-label {
        margin-bottom: 45px;
    }

    .afp-detail-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .afp-detail-content h2 {
        font-size: clamp(2.15rem, 10vw, 3.4rem);
        overflow-wrap: anywhere;
    }

    .afp-detail-copy p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .afp-detail-copy p:first-child {
        font-size: 1.12rem;
    }

    .sonic-service-row {
        padding-bottom: 70px;
    }

    .afp-testimonial-label {
        margin-bottom: 40px;
    }

    .afp-testimonial blockquote p {
        font-size: clamp(1.4rem, 7vw, 2rem);
        line-height: 1.45;
    }

    .afp-testimonial-credit {
        margin-top: 40px;
    }

    .sonic-cta {
        margin-top: 60px;
        padding: 70px 24px;
    }

    .sonic-cta h2 {
        font-size: clamp(2.2rem, 12vw, 3.6rem);
    }

    .sonic-footer {
        padding: 40px 24px;
    }

    .sonic-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .sonic-footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .sonic-footer-logo img {
        width: 130px;
    }
}

@media screen and (max-width: 700px) {
    .sonic-header {
        padding: 24px 20px;
    }

    .sonic-logo img {
        width: 115px;
    }

    .afp-hero-banner {
        min-height: 620px;
        padding: 150px 25px 70px;
        background-image:
            linear-gradient(
                to bottom,
                rgba(13, 13, 13, 0.35) 0%,
                rgba(13, 13, 13, 0.65) 38%,
                rgba(13, 13, 13, 0.96) 72%,
                var(--afp-bg) 100%
            ),
            url("../img/audio-forensic-analysis.jpg");
        background-position: center top;
    }

    .afp-hero-banner .sonic-hero-content {
        transform: none;
    }

    .sonic-hero h1 {
        font-size: 42px;
    }

    .sonic-hero-content p {
        font-size: 16px;
    }

    .sonic-buttons {
        flex-direction: column;
    }

    .sonic-button {
        width: 100%;
    }

    .sonic-service-row {
        grid-template-columns: 1fr;
        margin-top: 70px;
        gap: 45px;
    }

    .sonic-service-card {
        border-right: none;
        padding: 0;
    }

    .sonic-mobile-menu {
        top: 75px;
        right: 20px;
        max-width: calc(100vw - 40px);
    }
}


/* =========================================================
   AUDIO FORENSIC PROS — CONTACT PAGE
========================================================= */

.afp-contact-page {
    background: #0d0d0d;
    color: #f4f0e8;
}


/* =========================================================
   CONTACT HERO
========================================================= */

.afp-contact-hero {
    min-height: 720px;
    padding: 220px clamp(30px, 8vw, 130px) 110px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            #0d0d0d 0%,
            #111111 55%,
            #16130e 100%
        );

    border-bottom: 1px solid rgba(196, 154, 92, 0.25);
}

.afp-contact-hero-inner {
    width: 100%;
    max-width: 1200px;
}

.afp-contact-eyebrow {
    margin: 0 0 28px;

    color: #c49a5c;

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 0.22em;
}

.afp-contact-hero h1 {
    margin: 0;

    color: #f4f0e8;

    font-family: Garamond, Georgia, serif;
    font-size: clamp(4rem, 9vw, 9rem);
    font-weight: 500;

    line-height: 0.86;
    letter-spacing: -0.045em;
}

.afp-contact-hero h1 span {
    color: #c49a5c;
}

.afp-contact-intro {
    max-width: 720px;

    margin: 55px 0 0;

    color: rgba(244, 240, 232, 0.72);

    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.7;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.afp-contact-details {
    padding: 120px clamp(30px, 8vw, 130px);

    background: #0a0a0a;

    border-bottom: 1px solid rgba(196, 154, 92, 0.25);
}

.afp-contact-section-label {
    margin-bottom: 75px;

    color: #c49a5c;

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 0.22em;
}

.afp-contact-details-grid {
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(280px, 0.9fr)
        minmax(400px, 1.1fr);

    gap: clamp(60px, 9vw, 150px);
}

.afp-contact-heading h2 {
    margin: 0;

    color: #f4f0e8;

    font-size: clamp(2.5rem, 4.5vw, 5rem);
    font-weight: 500;

    line-height: 1.03;
    letter-spacing: -0.025em;
}

.afp-contact-info {
    border-top: 1px solid rgba(196, 154, 92, 0.3);
}

.afp-contact-info-item {
    min-height: 125px;

    padding: 28px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 10px;

    color: #f4f0e8;

    text-decoration: none;

    border-bottom: 1px solid rgba(196, 154, 92, 0.3);

    transition:
        padding-left 0.25s ease,
        color 0.25s ease;
}

.afp-contact-info-item:hover {
    padding-left: 12px;
    color: #c49a5c;
}

.afp-contact-info-label {
    color: #c49a5c;

    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 0.18em;
}

.afp-contact-info-value {
    overflow-wrap: anywhere;

    font-size: clamp(1rem, 2vw, 1.35rem);
}


/* =========================================================
   CONTACT FORM SECTION
========================================================= */

.afp-contact-form-section {
    padding: 120px clamp(30px, 8vw, 130px) 150px;

    background: #0d0d0d;
}

.afp-contact-form-grid {
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(280px, 0.85fr)
        minmax(400px, 1.15fr);

    gap: clamp(60px, 9vw, 150px);
}

.afp-contact-form-intro h2 {
    margin: 0 0 38px;

    color: #f4f0e8;

    font-size: clamp(2.5rem, 4.5vw, 5rem);
    font-weight: 500;

    line-height: 1.03;
    letter-spacing: -0.025em;
}

.afp-contact-form-intro p {
    max-width: 520px;

    margin: 0;

    color: rgba(244, 240, 232, 0.7);

    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   FORM
========================================================= */

.fcf-body {
    width: 100%;
}

.fcf-form-group {
    margin-bottom: 30px;
}

.fcf-label {
    display: block;

    margin-bottom: 10px;

    color: #c49a5c;

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fcf-label span {
    opacity: 0.6;
}

.fcf-form-control {
    width: 100%;

    padding: 16px 0;

    background: transparent;

    color: #f4f0e8;

    border: 0;
    border-bottom: 1px solid rgba(244, 240, 232, 0.3);

    border-radius: 0;

    font: inherit;
    font-size: 1rem;

    outline: none;

    transition:
        border-color 0.2s ease;
}

.fcf-form-control:focus {
    border-color: #c49a5c;
}

textarea.fcf-form-control {
    min-height: 180px;

    padding: 16px;

    border: 1px solid rgba(244, 240, 232, 0.3);

    resize: vertical;
}

textarea.fcf-form-control:focus {
    border-color: #c49a5c;
}

.fcf-form-control::placeholder {
    color: rgba(244, 240, 232, 0.38);
}

select.fcf-form-control {
    cursor: pointer;
}

select.fcf-form-control option {
    background: #111111;
    color: #ffffff;
}


/* =========================================================
   SEND BUTTON
========================================================= */

.fcf-btn {
    margin-top: 12px;

    padding: 17px 28px;

    background: #c49a5c;
    color: #0d0d0d;

    border: 1px solid #c49a5c;
    border-radius: 2px;

    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.fcf-btn span {
    margin-left: 8px;
}

.fcf-btn:hover,
.fcf-btn:focus-visible {
    background: transparent;
    color: #c49a5c;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media screen and (max-width: 900px) {

    .afp-contact-hero {
        min-height: 650px;
        padding: 180px 30px 90px;
    }

    .afp-contact-details,
    .afp-contact-form-section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .afp-contact-details-grid,
    .afp-contact-form-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}


@media screen and (max-width: 700px) {

    .afp-contact-hero {
        min-height: 600px;
        padding: 150px 24px 75px;
    }

    .afp-contact-hero h1 {
        font-size: clamp(3.3rem, 16vw, 5.5rem);
    }

    .afp-contact-intro {
        margin-top: 40px;
        font-size: 1rem;
    }

    .afp-contact-details,
    .afp-contact-form-section {
        padding:
            80px
            24px;
    }

    .afp-contact-section-label {
        margin-bottom: 50px;
    }

    .afp-contact-heading h2,
    .afp-contact-form-intro h2 {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .afp-contact-info-item {
        min-height: 105px;
    }

    .fcf-btn {
        width: 100%;
    }
}