/* ════════════════════════════════════════════════════
   Mike Baier Designs - Main Stylesheet
   Aesthetic: Industrial Refined — Precision meets warmth
   ════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Nunito Sans', -apple-system, sans-serif;
    background: #fafaf7;
    color: #2c2c35;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-family: 'Nunito Sans', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; }

p { max-width: 70ch; }

/* ── Section Styling ── */
.section-label {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--primary);
    display: inline-block;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b6b78;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 3.5rem;
}

section {
    padding: 6rem 0;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: color-mix(in srgb, var(--primary) 85%, #000);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

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

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--secondary);
}

.btn-white:hover {
    background: #f5f5f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* ════════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════════ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    z-index: 1001;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    letter-spacing: -0.03em;
}

.logo-text {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--secondary);
    letter-spacing: -0.01em;
}

.nav-list {
    display: flex;
    gap: 0.25rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #555;
    border-radius: 6px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.open .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.open .hamburger span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.open .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ════════════════════════════════════════════════════
   HOME - HERO
   ════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: var(--secondary);
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(var(--primary-rgb), 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content { animation: heroFadeUp 0.8s ease both; }

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem 0.4rem 0.6rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.8);
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    position: relative;
}

.hero-badge .pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.3);
    animation: pingPulse 2s ease infinite;
}

@keyframes pingPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-text {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    animation: heroFadeUp 0.8s ease 0.2s both;
}

.hero-image-placeholder {
    aspect-ratio: 4/3;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Decorative elements */
.hero-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 16px;
    z-index: -1;
}

.hero-visual::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.15);
    border-radius: 12px;
    z-index: -1;
}

.hero-placeholder-icon {
    font-size: 4rem;
    opacity: 0.15;
}

/* ── Stats Bar ── */
.stats-bar {
    background: #fff;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-item .stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
}

/* ── Intro Section ── */
.intro-section {
    background: #fff;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-content .section-title {
    margin-bottom: 1.5rem;
}

.intro-text {
    color: #666;
    line-height: 1.85;
    font-size: 1.02rem;
}

.intro-visual {
    position: relative;
}

.intro-image-box {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}

.intro-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Services Preview ── */
.services-preview {
    background: #f5f5f0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 2.2rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 1.8;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #777;
    font-size: 0.92rem;
    line-height: 1.65;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.service-card:hover .card-link { gap: 0.7rem; }

/* ── CTA Banner ── */
.cta-banner {
    background: var(--secondary);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
}

.cta-banner h2 { color: #fff; margin-bottom: 1rem; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.6); margin: 0 auto 2rem; position: relative; }
.cta-banner .btn { position: relative; }

/* ════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════ */

.page-hero {
    padding: 10rem 0 5rem;
    background: var(--secondary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.15rem; max-width: 600px; }

.about-story { background: #fff; }

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-text {
    color: #555;
    line-height: 1.9;
    font-size: 1.02rem;
    white-space: pre-line;
}

.story-image-box {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.05));
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 100px;
}

.story-image-box img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder-text { color: #bbb; font-size: 0.85rem; font-weight: 500; }

/* Values Grid */
.values-section {
    background: #f5f5f0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

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

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.value-card p {
    color: #777;
    font-size: 0.92rem;
    line-height: 1.65;
}

.value-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(var(--primary-rgb), 0.15);
    margin-bottom: 0.75rem;
    line-height: 1;
}

/* ════════════════════════════════════════════════════
   SERVICES PAGE
   ════════════════════════════════════════════════════ */

.service-detail {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-detail:nth-child(even) { background: #f5f5f0; }

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-grid > * {
    direction: ltr;
}

.service-detail-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-detail-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.feature-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-check svg {
    width: 12px;
    height: 12px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2.5;
}

.service-image-box {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.05));
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-box img { width: 100%; height: 100%; object-fit: cover; }

/* ════════════════════════════════════════════════════
   PROJECTS PAGE
   ════════════════════════════════════════════════════ */

.projects-section { background: #fff; }

.project-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 100px;
    background: transparent;
    color: #666;
    transition: all 0.25s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: #f5f5f0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.35s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.project-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06), rgba(var(--secondary-rgb), 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.project-card-image img { width: 100%; height: 100%; object-fit: cover; }

.project-category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.project-card-body p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ════════════════════════════════════════════════════
   SUPPORT PAGE
   ════════════════════════════════════════════════════ */

.support-section { background: #fff; }

.support-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tv-card {
    background: var(--secondary);
    color: #fff;
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.tv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(var(--primary-rgb), 0.15), transparent 60%);
}

.tv-card > * { position: relative; z-index: 1; }

.tv-card h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.tv-card > p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.tv-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tv-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.tv-step-num {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.tv-step-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.tv-step-text strong {
    color: #fff;
    display: block;
    margin-bottom: 0.1rem;
    font-weight: 600;
}

.tv-download-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    margin-top: 1rem;
}

.support-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.support-contact-card {
    background: #f5f5f0;
    border-radius: 12px;
    padding: 1.8rem;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.support-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.support-contact-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.support-contact-card h4 {
    margin-bottom: 0.4rem;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
}

.support-contact-card p {
    color: #777;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* FAQ */
.faq-section {
    padding-top: 3rem;
}

.faq-list {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.3rem 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s;
}

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

.faq-arrow {
    transition: transform 0.3s ease;
    color: #aaa;
    font-size: 1.1rem;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

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

.faq-answer-inner {
    padding: 0 0 1.5rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.75;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

/* ════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════ */

.contact-section { background: #fff; }

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info-item h4 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 0.2rem;
}

.contact-info-item p, .contact-info-item a {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 500;
}

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

.contact-form {
    background: #f5f5f0;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--secondary);
    transition: all 0.25s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

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

.form-success-msg {
    display: none;
    text-align: center;
    padding: 2rem;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 12px;
    color: #16a34a;
    font-weight: 600;
}

.form-error-msg {
    display: none;
    text-align: center;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    color: #dc2626;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ════════════════════════════════════════════════════
   CUSTOM PAGE
   ════════════════════════════════════════════════════ */

.custom-page-content {
    background: #fff;
    padding: 5rem 0;
}

.custom-page-body {
    max-width: 800px;
    color: #555;
    line-height: 1.9;
    font-size: 1.02rem;
}

.custom-page-body h2 { margin: 2rem 0 1rem; }
.custom-page-body h3 { margin: 1.5rem 0 0.75rem; }
.custom-page-body p { margin-bottom: 1rem; }
.custom-page-body img { border-radius: 12px; margin: 1.5rem 0; }
.custom-page-body ul, .custom-page-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.custom-page-body li { margin-bottom: 0.4rem; }

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */

.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .logo-mark { background: var(--primary); }
.footer-logo .logo-text { color: #fff; }

.footer-tagline {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

.site-footer h4 {
    color: #fff;
    margin-bottom: 1.2rem;
}

.site-footer ul li {
    margin-bottom: 0.6rem;
}

.site-footer ul a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.site-footer ul a:hover { color: var(--accent); }

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all 0.25s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-visual { order: 2; max-width: 500px; margin: 0 auto; }
    .hero-text { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-grid { grid-template-columns: 1fr; }
    .about-story-grid { grid-template-columns: 1fr; }
    .story-image-box { position: static; }
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-detail:nth-child(even) .service-detail-grid { direction: ltr; }
    .support-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .container { padding: 0 1.25rem; }

    .mobile-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 250, 247, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
        z-index: 1000;
    }
    .main-nav.open { opacity: 1; visibility: visible; }
    .nav-list { flex-direction: column; align-items: center; gap: 0.5rem; }
    .nav-link { font-size: 1.4rem; padding: 0.75rem 1.5rem; }
    .nav-link.active::after { bottom: 0; }

    .hero { min-height: auto; padding: 7rem 0 4rem; }
    .hero-visual { display: none; }
    .hero-actions { flex-direction: column; align-items: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-item .stat-number { font-size: 1.8rem; }
    .form-row { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .tv-card { padding: 2rem; }

    .page-hero { padding: 7rem 0 3rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .hero-badge { font-size: 0.7rem; }
    .btn { padding: 0.8rem 1.5rem; font-size: 0.85rem; }
}

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
