/* ===================================================
   Clear Choice Hearing Aids — V2 Stylesheet
   Light / Cream / Serif Editorial Design
   =================================================== */

/* Screen-reader only — visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- CSS Variables --- */
:root {
    --color-bg: #F8F7F5;
    --color-bg-secondary: #F0EEEB;
    --color-bg-white: #FFFFFF;
    --color-text: #1a1a1a;
    --color-text-muted: #6b6560;
    --color-primary: #1a1a1a;
    --color-primary-light: #3a3a3a;
    --color-accent: #8B7355;
    --color-card-bg: #FFFFFF;
    --color-border: #DDD5CC;
    --color-footer-bg: #1a1a1a;
    --color-footer-text: #F5F0EB;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--color-text);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.7;
    margin-top: 24px;
}

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

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    color: var(--color-text);
    font-style: italic;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    white-space: nowrap;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border: 1.5px solid var(--color-text);
    color: var(--color-text);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-bg-secondary);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-border);
    transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: rgba(248, 247, 245, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav.scrolled {
    background: rgba(248, 247, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 0 48px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    z-index: 1001;
    color: var(--color-text);
}

.nav-logo span {
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
    color: var(--color-text-muted);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: 32px;
    background: #C4A882;
    color: #000000;
    border: 2.5px solid #000000;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.nav-cta:hover {
    background: #b8966e;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    z-index: 1001;
    transition: var(--transition);
    cursor: pointer;
}

.nav-hamburger:hover {
    border-color: var(--color-text);
}

.nav-hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--color-text);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-hamburger span:nth-child(1) {
    margin-bottom: 5px;
}

.nav-hamburger span:nth-child(2) {
    margin-bottom: 5px;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    font-style: italic;
    margin: 10px 0;
    opacity: 0;
    transform: translateX(40px);
    transition: var(--transition-slow);
    color: var(--color-text);
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.35s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.4s; }
.mobile-menu.active a:nth-child(7) { transition-delay: 0.45s; }

.mobile-menu a:hover {
    color: var(--color-accent);
}

.mobile-menu-contact {
    margin-top: 40px;
    text-align: center;
    opacity: 0;
    transition: var(--transition-slow);
    transition-delay: 0.5s;
}

.mobile-menu.active .mobile-menu-contact {
    opacity: 1;
}

.mobile-menu-contact a {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-style: normal !important;
    font-weight: 500 !important;
    margin: 4px 0;
}

/* --- Editorial Hero (Homepage) --- */
.hero-ed {
    width: 100%;
    padding-top: var(--nav-height);
    background: var(--color-bg);
}

/* Top: display heading */
.hero-ed-top {
    padding: 16px 48px 0;
    overflow: hidden;
}

.hero-ed-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    padding-top: 10px;
    margin-bottom: 6px;
    animation: heroEdIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-ed-heading {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: clamp(2.8rem, 9.5vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-transform: uppercase;
    margin: 0;
    animation: heroEdIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

@keyframes heroEdIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Ruled lines */
.hero-ed-rules {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    margin: 0 48px;
    animation: heroEdIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-ed-rules b {
    display: block;
    height: 1px;
    background: var(--color-text);
}

.hero-ed-rules b:nth-child(1) { opacity: 0.28; }
.hero-ed-rules b:nth-child(2) { opacity: 0.20; }
.hero-ed-rules b:nth-child(3) { opacity: 0.14; }
.hero-ed-rules b:nth-child(4) { opacity: 0.10; }
.hero-ed-rules b:nth-child(5) { opacity: 0.07; }
.hero-ed-rules b:nth-child(6) { opacity: 0.04; }
.hero-ed-rules b:nth-child(7) { opacity: 0.02; }

/* Dark band (decorative stripe) */
.hero-ed-band {
    background: var(--color-text);
    height: 10px;
    animation: heroEdIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

/* Lower: warm beige section */
.hero-ed-lower {
    background: #C4BAA8;
    position: relative;
    padding: 24px 48px 32px;
    animation: heroEdIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

.hero-ed-num {
    position: absolute;
    top: 16px;
    left: 48px;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(26, 26, 26, 0.12);
    user-select: none;
    pointer-events: none;
}

.hero-ed-lower-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 16px;
}

/* EQ frequency bars */
.hero-eq {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 100px;
    flex-shrink: 0;
    width: 240px;
}

.eq-bar {
    flex: 1;
    min-width: 0;
    border-radius: 2px 2px 0 0;
    background: rgba(26, 26, 26, 0.85);
    transform-origin: bottom;
    animation: eqPulse var(--dur, 1s) ease-in-out infinite var(--delay, 0s);
}

@keyframes eqPulse {
    0%, 100% { transform: scaleY(0.1); opacity: 0.5; }
    50%       { transform: scaleY(1);   opacity: 1; }
}

/* Body text + CTA */
.hero-ed-body {
    flex: 1;
}

.hero-ed-subhead {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.7rem);
    font-weight: 700;
    line-height: 1.22;
    color: #111;
    margin-bottom: 10px;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
}

.hero-ed-subhead em {
    font-style: italic;
}

.hero-ed-desc {
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.65);
    margin-bottom: 20px;
    max-width: 400px;
    line-height: 1.65;
}

.hero-ed-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-outline-tan {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1.5px solid rgba(26, 26, 26, 0.4);
    color: #111;
    background: transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-outline-tan:hover {
    background: rgba(26, 26, 26, 0.09);
    transform: translateY(-2px);
}

/* Shared hero entrance keyframe (used by page-hero) */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.page-hero .section-label {
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.page-hero .hero-title {
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.page-hero .section-subtitle {
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* Soundwave (used by inner page page-hero sections) */
.soundwave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.soundwave-container svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 80%;
    opacity: 0.22;
}

.soundwave-container .wave {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.soundwave-container .wave-1 { stroke: var(--color-accent); animation: waveMove1 4s ease-in-out infinite; }
.soundwave-container .wave-2 { stroke: var(--color-border); animation: waveMove2 5s ease-in-out infinite; }
.soundwave-container .wave-3 { stroke: var(--color-accent); opacity: 0.7; animation: waveMove3 6s ease-in-out infinite; }
.soundwave-container .wave-4 { stroke: var(--color-border); opacity: 0.6; animation: waveMove4 7s ease-in-out infinite; }
.soundwave-container .wave-5 { stroke: var(--color-accent); opacity: 0.4; animation: waveMove5 8s ease-in-out infinite; }

@keyframes waveMove1 { 0%, 100% { transform: translateY(0); opacity: 0.8; }  50% { transform: translateY(-15px); opacity: 1; } }
@keyframes waveMove2 { 0%, 100% { transform: translateY(0); opacity: 0.6; }  50% { transform: translateY(10px);  opacity: 0.9; } }
@keyframes waveMove3 { 0%, 100% { transform: translateY(5px); opacity: 0.5; } 50% { transform: translateY(-12px); opacity: 0.8; } }
@keyframes waveMove4 { 0%, 100% { transform: translateY(-5px); opacity: 0.4; } 50% { transform: translateY(8px); opacity: 0.7; } }
@keyframes waveMove5 { 0%, 100% { transform: translateY(0); opacity: 0.25; }  50% { transform: translateY(-8px); opacity: 0.5; } }

/* --- Page Hero (inner pages) --- */
.page-hero {
    padding: 160px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
}

.page-hero .hero-title {
    font-size: clamp(2.4rem, 7vw, 5rem);
    line-height: 0.95;
    margin-bottom: 0;
}

.page-hero .section-subtitle {
    margin-top: 56px;
}

.page-hero .soundwave-container svg {
    height: 60%;
    opacity: 0.22;
}

/* --- Why Choose Us / Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--color-accent);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--color-accent);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    flex-grow: 1;
}

.service-card .btn {
    margin-top: 20px;
    align-self: flex-start;
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* --- About Preview --- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
}

.about-image-placeholder {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.about-image-placeholder i {
    font-size: 4rem;
    color: var(--color-border);
}

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

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-style: italic;
}

.about-text .credential {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* --- Brand Marquee --- */
.marquee-section {
    padding: 50px 0;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}

.marquee-track {
    display: flex;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    padding: 0 48px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    color: var(--color-text);
    white-space: nowrap;
    opacity: 0.3;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.marquee-item:hover {
    opacity: 0.7;
}

.marquee-separator {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    margin: 0 24px;
    align-self: center;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 24px;
    text-align: center;
    background: var(--color-text);
    color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.1) 0%, transparent 60%);
    animation: ctaGlow 6s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    font-style: italic;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

.cta-banner .btn {
    position: relative;
    z-index: 1;
    background: var(--color-bg);
    color: var(--color-text);
    font-weight: 600;
}

.cta-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-phone {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-phone a {
    transition: var(--transition);
}

.cta-phone a:hover {
    opacity: 0.7;
}

/* --- Footer --- */
.footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 60px 0 30px;
}

.footer .nav-logo {
    color: var(--color-footer-text);
}

.footer .nav-logo span {
    color: var(--color-footer-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.95rem;
    opacity: 0.6;
    max-width: 300px;
    line-height: 1.6;
}

.footer h4 {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.4;
}

.footer-links a {
    display: block;
    font-size: 0.95rem;
    padding: 4px 0;
    opacity: 0.6;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 4px;
}

.footer-contact-info p {
    font-size: 0.95rem;
    opacity: 0.6;
    margin-bottom: 8px;
}

.footer-contact-info a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.4;
}

.footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 0 0;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: rgba(245, 240, 235, 0.55);
    flex-wrap: wrap;
}

.footer-credit img {
    height: 54px;
    filter: invert(1);
    opacity: 0.8;
    vertical-align: middle;
}
.footer-credit-lux {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: rgba(245, 240, 235, 0.8);
}
.footer-credit-designs {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: rgba(245, 240, 235, 0.8);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* --- About Page --- */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.about-full-bio p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.credentials-list {
    margin-top: 24px;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.credential-item i {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-top: 4px;
}

.credential-item h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.credential-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.mission-section {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 48px;
    margin-top: 60px;
}

.mission-section blockquote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-text-muted);
    border-left: 2px solid var(--color-accent);
    padding-left: 24px;
}

/* --- Hearing Aids / Brands Page --- */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.brand-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 28px;
    transition: var(--transition);
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.brand-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.brand-logo-placeholder {
    width: 120px;
    height: 52px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    flex-shrink: 0;
}

.brand-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    font-style: italic;
}

.brand-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- Brand Comparison Table --- */
.comparison-table-wrap {
    overflow-x: auto;
    margin-top: 48px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: var(--color-card-bg);
}

.comparison-table thead tr {
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-border);
}

.comparison-table th {
    padding: 14px 20px;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.comparison-table td {
    padding: 14px 20px;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    line-height: 1.5;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: var(--color-bg);
}

.comparison-table .brand-cell {
    color: var(--color-text);
    white-space: nowrap;
}

.comparison-table .brand-cell strong {
    font-weight: 700;
}

/* --- FAQ / Resources --- */
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-text);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question i {
    font-size: 0.9rem;
    transition: var(--transition);
    color: var(--color-accent);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Guide Section */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.guide-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 28px;
    transition: var(--transition);
}

.guide-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.guide-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-card h3 i {
    color: var(--color-accent);
}

.guide-card ul {
    list-style: none;
}

.guide-card ul li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.guide-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 5px;
    height: 5px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-info-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-info-item h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-info-item a:hover {
    color: var(--color-accent);
}

/* Contact Form */
.contact-form {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* Map Placeholder */
.map-container {
    margin-top: 48px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    height: 400px;
    background: var(--color-card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.3) brightness(1.05);
}

/* Insurance & Payment */
.payment-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.payment-badge {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-badge i {
    color: var(--color-accent);
}

/* Hours Table */
.hours-table {
    width: 100%;
    margin-top: 16px;
}

.hours-table tr {
    border-bottom: 1px solid var(--color-border);
}

.hours-table td {
    padding: 10px 0;
    font-size: 0.95rem;
}

.hours-table td:first-child {
    font-weight: 500;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--color-text-muted);
}

/* --- Blog Placeholder --- */
.blog-placeholder {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 60px 36px;
    text-align: center;
    margin-top: 48px;
}

.blog-placeholder i {
    font-size: 3rem;
    color: var(--color-border);
    margin-bottom: 20px;
}

.blog-placeholder h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-style: italic;
}

.blog-placeholder p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* --- Reviews Page --- */
.star-rating-input {
    display: flex;
    gap: 4px;
    margin: 8px 0;
}

.star-btn {
    font-size: 2.2rem;
    color: var(--color-border);
    cursor: pointer;
    transition: color 0.15s, transform 0.1s;
    background: none;
    border: none;
    padding: 2px;
    line-height: 1;
    font-family: inherit;
}

.star-btn.active {
    color: #C4A882;
}

.star-rating-input:hover .star-btn {
    color: #C4A882;
}

.star-rating-input .star-btn:hover ~ .star-btn {
    color: var(--color-border);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
    align-items: start;
}

.reviews-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: var(--color-text-muted);
}

.review-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 28px;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.review-card-stars {
    color: #C4A882;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.review-card-text {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 18px;
    font-style: italic;
}

.review-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.review-card-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
}

.review-card-service {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    background: var(--color-bg-secondary);
    padding: 3px 10px;
    border-radius: 50px;
}

.review-card-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* Rating Summary Box */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 36px 48px;
    margin-bottom: 8px;
}

.rating-summary-left {
    text-align: center;
    flex-shrink: 0;
}

.rating-big-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-text);
}

.rating-stars-large {
    font-size: 1.4rem;
    color: #C4A882;
    letter-spacing: 2px;
    margin: 8px 0;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.rating-summary-divider {
    width: 1px;
    height: 80px;
    background: var(--color-border);
    flex-shrink: 0;
}

.rating-bars {
    flex: 1;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-bar-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    width: 28px;
    flex-shrink: 0;
}

.rating-bar-track {
    flex: 1;
    height: 6px;
    background: var(--color-bg-secondary);
    border-radius: 3px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: #C4A882;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.rating-bar-num {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    width: 20px;
    text-align: right;
    flex-shrink: 0;
}

/* Review Submission Form */
.review-form-wrap {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.review-form-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 48px;
}

.review-form-card .btn {
    width: 100%;
    justify-content: center;
}

/* --- Animations (GSAP targets) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

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

    .about-preview {
        gap: 40px;
    }

    .about-hero-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Editorial hero mobile */
    .hero-ed-top {
        padding: 24px 20px 0;
    }

    .hero-ed-meta-mid {
        display: none;
    }

    .hero-ed-meta {
        font-size: 0.58rem;
        gap: 8px;
    }

    .hero-ed-rules {
        margin: 0 20px;
        gap: 5px;
    }

    .hero-ed-band {
        padding: 16px 20px;
    }

    .hero-ed-lower {
        padding: 28px 20px 44px;
    }

    .hero-ed-num {
        left: 20px;
        font-size: 4rem;
    }

    .hero-ed-lower-content {
        flex-direction: column;
        gap: 24px;
        margin-top: 20px;
    }

    .hero-eq {
        width: 100%;
        height: 80px;
    }

    .hero-ed-cta {
        flex-direction: column;
    }

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

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

    .about-preview {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .mission-section {
        padding: 32px 24px;
    }

    .mission-section blockquote {
        font-size: 1.1rem;
    }

    .rating-summary {
        flex-direction: column;
        padding: 28px 24px;
        gap: 20px;
        text-align: center;
    }

    .rating-summary-divider {
        width: 80%;
        height: 1px;
    }

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

    .review-form-card {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .marquee-item {
        font-size: 1.4rem;
        padding: 0 32px;
    }
}
