/* ==========================================================================
   Je-Fire Brand House — main.css
   Design system: reset · tokens · nav · hero · services · portfolio ·
   about · testimonials · contact · footer · lightbox · animations · a11y
   ========================================================================== */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; color: var(--text-body); }
h1 { font-size: clamp(44px, 7vw, 80px); }
h2 { font-size: clamp(30px, 4.5vw, 48px); }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 13px; font-weight: 700; }
p  { color: var(--text-muted); line-height: 1.75; }

.section-label {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--fire-red);
    margin-bottom: 12px;
    font-weight: 600;
}
.section-title { color: var(--text-body); margin-bottom: 0; }
.section-title .fire,
.fire { color: var(--fire-red); }

.fire-text {
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 50%, transparent);
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--fire-gradient);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    box-shadow: var(--shadow-fire);
    transition: transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(230, 60, 42, 0.5);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: border-color var(--transition), background var(--transition), color var(--transition);
    white-space: nowrap;
}
.btn-outline:hover {
    border-color: var(--fire-red);
    background: rgba(230, 60, 42, 0.1);
    color: #fff;
}

/* ── Scroll fade-in animations ── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ── Focus ── */
:focus-visible {
    outline: 2px solid var(--fire-red);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ── Navigation ── */
.site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
    position: fixed;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-nav {
    display: flex;
    align-items: center;
    height: 72px;
    padding: 0 60px;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo-flame { font-size: 20px; line-height: 1; }
.nav-logo-text {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-body);
    display: block;
    line-height: 1.1;
}
.nav-logo-text .fire { color: var(--fire-red); }
.nav-logo-sub {
    display: block;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}
.nav-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
    align-items: center;
}
.nav-links a,
.nav-links li a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}
.nav-links a:hover,
.nav-links li a:hover { color: var(--fire-red); }

/* Style nav-cta class on menu items */
.nav-links .nav-cta a,
.nav-links li a.nav-cta {
    background: var(--fire-red) !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-sm) !important;
}

.nav-cta {
    background: var(--fire-red);
    color: #fff;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: background var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-cta:hover { background: var(--fire-orange); color: #fff; }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: 4px;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    height: 2px;
    background: var(--text-body);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}
.nav-open .nav-overlay { transform: translateX(0); }
.nav-overlay[hidden] { display: flex; }  /* CSS transition needs display:flex even when hidden attr present */
.nav-overlay-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.nav-overlay-links a,
.nav-overlay-links li a {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    transition: color var(--transition);
}
.nav-overlay-links a:hover,
.nav-overlay-links li a:hover { color: var(--fire-red); }

/* Inner pages */
.inner-page { padding-top: 120px; min-height: 60vh; background: var(--bg-dark); }
.inner-page .container { padding-top: 40px; padding-bottom: 80px; }
.page-title { font-size: clamp(28px, 5vw, 48px); margin-bottom: 40px; }
.page-content { color: var(--text-muted); line-height: 1.8; }

/* Blog cards */
.post-card { border-bottom: 1px solid var(--border); padding: 32px 0; }
.post-card:last-of-type { border-bottom: none; }
.post-card h2 a { color: var(--text-body); font-size: 22px; font-weight: 700; transition: color var(--transition); }
.post-card h2 a:hover { color: var(--fire-red); }
.post-meta { font-size: 12px; color: var(--text-dim); margin: 8px 0 12px; }
.post-excerpt p { color: var(--text-muted); font-size: 14px; }

/* Pagination */
.pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a,
.pagination span {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
    transition: border-color var(--transition), color var(--transition);
}
.pagination a:hover { border-color: var(--fire-red); color: var(--fire-red); }
.pagination .current { background: var(--fire-red); border-color: var(--fire-red); color: #fff; }

/* ── Hero ── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-fallback-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(230, 60, 42, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(200, 80, 20, 0.1) 0%, transparent 50%),
        linear-gradient(160deg, #0d0d0d 0%, #141414 50%, #0a0a0a 100%);
    z-index: 0;
}
.hero-fallback-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(230, 60, 42, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.38) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.72) 100%
    );
    z-index: 1;
}
.hero-video-indicator {
    position: absolute;
    top: 90px;
    right: 60px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.rec-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fire-red);
    flex-shrink: 0;
    animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}
.hero-mute {
    position: absolute;
    bottom: 32px;
    left: 60px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}
.hero-mute:hover { border-color: rgba(255, 255, 255, 0.3); color: rgba(255, 255, 255, 0.8); }

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 120px 40px 80px;
    max-width: 920px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 60, 42, 0.12);
    border: 1px solid rgba(230, 60, 42, 0.3);
    color: #ff8070;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}
.hero-content h1 {
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 24px;
}
.hero-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 56px;
    justify-content: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.stat-num {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--fire-red), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ── Services ── */
.services-section {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-surface));
    padding: 100px 80px;
}
.services-header {
    text-align: center;
    margin-bottom: 64px;
}
.services-header p { max-width: 480px; margin: 16px auto 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #1a1a1a;
}
.service-card {
    background: var(--bg-card);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: background var(--transition);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--fire-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover { background: #141414; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(230, 60, 42, 0.1);
    border: 1px solid rgba(230, 60, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p  { font-size: 13px; line-height: 1.7; }

/* ── Portfolio ── */
.portfolio-section { background: #0a0a0a; padding: 100px 80px; }
.portfolio-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.view-all-link {
    color: var(--fire-red);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity var(--transition);
}
.view-all-link:hover { opacity: 0.75; }

/* Filter tabs */
.portfolio-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--fire-red);
    border-color: var(--fire-red);
    color: #fff;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.portfolio-grid--home .portfolio-item:first-child {
    grid-column: span 2;
    min-height: 320px;
    aspect-ratio: auto;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4 / 3;
    background: #1a1a1a;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform var(--transition);
}
.portfolio-item:hover,
.portfolio-item:focus { transform: scale(1.02); outline: none; }
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(230, 60, 42, 0.88) 0%, transparent 65%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.portfolio-item:hover .portfolio-overlay,
.portfolio-item:focus .portfolio-overlay { opacity: 1; }
.portfolio-item-title { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.2; }
.portfolio-item-cat   { font-size: 12px; color: rgba(255, 255, 255, 0.75); margin-top: 2px; }

/* Empty state */
.no-projects {
    color: var(--text-muted);
    text-align: center;
    padding: 60px 20px;
    display: none;
    font-size: 15px;
}

/* ── Lightbox ── */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox-inner {
    display: grid;
    grid-template-columns: 60% 40%;
    max-width: 1100px;
    width: 100%;
    max-height: 88vh;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lightbox-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}
.lightbox-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}
.lightbox-close {
    align-self: flex-end;
    background: var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-body);
    flex-shrink: 0;
    transition: background var(--transition);
    cursor: pointer;
}
.lightbox-close:hover { background: var(--fire-red); }
.lightbox-title  { font-size: 26px; font-weight: 900; line-height: 1.1; }
.lightbox-client { color: var(--text-muted); font-size: 14px; }
.lightbox-cat {
    display: inline-block;
    background: rgba(230, 60, 42, 0.12);
    border: 1px solid rgba(230, 60, 42, 0.3);
    color: var(--fire-red);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}
.lightbox-link {
    color: var(--fire-red);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition);
}
.lightbox-link:hover { opacity: 0.75; }

/* Single project */
.single-project { max-width: 900px; }
.single-project .project-hero-img {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}
.single-project h1 { margin: 16px 0 24px; }
.single-project .project-content { color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; }
.single-project .project-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.single-project .project-client { color: var(--text-muted); font-size: 13px; }
.single-project .project-back { margin-top: 40px; }
.single-project .project-back a { color: var(--fire-red); font-weight: 600; font-size: 14px; }
.single-project .project-back a:hover { text-decoration: underline; }

/* ── About ── */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 80px;
    background: linear-gradient(160deg, var(--bg-dark), var(--bg-surface));
}
.about-image-wrap { position: relative; }
.about-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: block;
}
.about-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--fire-red);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 24px rgba(230, 60, 42, 0.4);
}
.about-badge-num { font-size: 28px; font-weight: 900; line-height: 1; }
.about-badge-lbl { font-size: 10px; letter-spacing: 1px; opacity: 0.85; margin-top: 2px; text-transform: uppercase; }

.about-content-col h2 { margin-bottom: 20px; }
.about-content-col p  { margin-bottom: 16px; }

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}
.pillar {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: border-color var(--transition);
}
.pillar:hover { border-color: rgba(230, 60, 42, 0.3); }
.pillar h4 { font-size: 13px; color: var(--fire-red); margin-bottom: 4px; }
.pillar p  { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ── Testimonials ── */
.testimonials-section { background: #0a0a0a; padding: 100px 80px; }
.testimonials-header  { text-align: center; margin-bottom: 48px; }
.testimonials-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: rgba(230, 60, 42, 0.25); }
.testimonial-quote {
    font-size: 44px;
    color: var(--fire-red);
    line-height: 1;
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 8px;
}
.testimonial-text {
    font-size: 14px;
    color: #aaa;
    line-height: 1.75;
    margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--fire-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    flex-shrink: 0;
}
.author-name { font-size: 13px; font-weight: 700; color: var(--text-body); }
.author-role { font-size: 11px; color: var(--text-muted); margin-top: 1px; }

/* ── Contact ── */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 100px 80px;
    background: var(--bg-dark);
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 0; }
.contact-items {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(230, 60, 42, 0.1);
    border: 1px solid rgba(230, 60, 42, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-value { font-size: 14px; font-weight: 600; color: #ddd; margin-top: 1px; }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--wa-green);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    margin-top: 8px;
    transition: background var(--transition), transform var(--transition);
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); color: #fff; }

.social-links { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    transition: border-color var(--transition), color var(--transition);
}
.social-link:hover { border-color: var(--fire-red); color: var(--fire-red); }

/* CF7 notice */
.cf7-notice {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* CF7 style overrides */
.wpcf7-form p { margin-bottom: 0; color: var(--text-body); }
.wpcf7-form label { display: block; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.wpcf7-form input:not([type="submit"]),
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--text-body);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition);
    margin-bottom: 16px;
    display: block;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: var(--fire-red);
    outline: none;
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.wpcf7-form .wpcf7-submit {
    width: 100%;
    background: var(--fire-gradient);
    color: #fff;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: opacity var(--transition), transform var(--transition);
    box-shadow: var(--shadow-fire);
}
.wpcf7-form .wpcf7-submit:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Footer ── */
.site-footer {
    background: var(--bg-footer);
    border-top: 1px solid #1a1a1a;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding: 60px 80px 40px;
    align-items: start;
}
.footer-logo {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-body);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.footer-logo .fire { color: var(--fire-red); }
.footer-tagline { font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.5; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 13px;
    color: var(--text-dim);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--fire-red); }

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }

.footer-bar {
    border-top: 1px solid var(--border);
    padding: 20px 80px;
    text-align: center;
}
.footer-bar p { font-size: 12px; color: var(--text-dim); margin: 0; }

/* ── Floating WhatsApp ── */
.floating-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    background: var(--wa-green);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: var(--shadow-wa);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}
.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

/* ── Responsive Breakpoints ── */

/* Tablet: 768px–1024px */
@media (max-width: 1024px) {
    .site-nav { padding: 0 40px; }
    section { padding: 80px 40px !important; }
    .footer-inner { padding: 48px 40px 32px; gap: 32px; }
    .footer-bar { padding: 20px 40px; }

    /* Services */
    .services-grid { grid-template-columns: repeat(2, 1fr); }

    /* Portfolio */
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid--home .portfolio-item:first-child { grid-column: span 2; }

    /* About */
    .about-section { gap: 48px; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

    /* Contact */
    .contact-section { gap: 48px; }

    /* Lightbox */
    .lightbox-overlay { padding: 20px; }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
    .site-nav { padding: 0 20px; height: 64px; }
    .nav-links, .site-nav > .nav-cta { display: none; }
    .nav-hamburger { display: flex; }

    section { padding: 60px 24px !important; }
    .footer-inner { grid-template-columns: 1fr; padding: 40px 24px 24px; gap: 28px; }
    .footer-bar { padding: 16px 24px; }

    /* Hero */
    .hero-video-indicator { top: 74px; right: 16px; font-size: 10px; }
    .hero-mute { bottom: 72px; left: 16px; }
    .hero-content { padding: 100px 20px 60px; }
    .hero-stats { gap: 28px; }

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

    /* Portfolio */
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-grid--home .portfolio-item:first-child {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
        min-height: unset;
    }

    /* About */
    .about-section { grid-template-columns: 1fr; }
    .about-badge { bottom: -16px; right: 16px; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card:last-child:nth-child(odd) { grid-column: auto; }

    /* Contact */
    .contact-section { grid-template-columns: 1fr; }

    /* Lightbox */
    .lightbox-overlay { padding: 0; align-items: flex-end; }
    .lightbox-inner {
        grid-template-columns: 1fr;
        max-height: 95vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    .lightbox-image { max-height: 40vh; }
    .lightbox-image-placeholder { min-height: 200px; }

    /* Footer */
    .floating-wa { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 22px; }
}
