/* =============================================================
   COSME LEITES — CINEMATIC GOLD DESIGN SYSTEM
   Dark Cinematic + Elegant Gold
   ============================================================= */

/* ===================== DESIGN TOKENS ======================== */
:root {
    /* Colors */
    --bg: #0B0B0D;
    --bg2: #141418;
    --card: #18181D;
    --card2: #1E1E24;
    --gold: #C6A45C;
    --gold-light: #D7BC80;
    --gold-dim: rgba(198, 164, 92, 0.18);
    --gold-border: rgba(198, 164, 92, 0.22);
    --gold-glow: rgba(198, 164, 92, 0.12);
    --text: #F1EFE9;
    --muted: #99999F;
    --muted2: #6B6B72;
    --border: rgba(255, 255, 255, 0.07);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Sora', var(--font-sans);
}

/* Light theme overrides */
[data-theme="light"] {
    --bg: #F7F5F0;
    --bg2: #FFFFFF;
    --card: #FFFFFF;
    --card2: #F3F1EC;
    --gold: #A07830;
    --gold-light: #C49A44;
    --gold-dim: rgba(160, 120, 48, 0.1);
    --gold-border: rgba(160, 120, 48, 0.2);
    --gold-glow: rgba(160, 120, 48, 0.08);
    --text: #1A1816;
    --muted: #5A5856;
    --muted2: #888480;
    --border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.14);
}

/* ===================== RESET & BASE ========================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    transition: background 0.35s, color 0.35s;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.1;
    font-weight: 700;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
}

/* ===================== LAYOUT =============================== */
.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg2);
}

.section-header {
    max-width: 640px;
    margin-bottom: 60px;
}

/* ===================== TYPOGRAPHY COMPONENTS ================ */
.kicker {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    letter-spacing: 0.03em;
    margin-bottom: 16px;
    color: var(--text);
}

.lead {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 580px;
}

/* ===================== SCROLL REVEAL ======================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    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;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===================== BUTTONS ============================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: #0B0B0D;
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(198, 164, 92, 0.25);
}

.btn-gold {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-dim);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-ghost {
    border-color: var(--border);
    color: var(--text);
    background: var(--card);
}

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

.btn-lg {
    padding: 15px 36px;
    font-size: 0.9rem;
}

.btn-channel {
    gap: 10px;
}

.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ===================== NAVIGATION =========================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: baseline;
    gap: 0;
    flex-shrink: 0;
}

.logo-first {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 0.03em;
}

.logo-last {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text);
    letter-spacing: 0.03em;
}

.logo:hover .logo-first,
.logo:hover .logo-last {
    color: var(--gold-light);
    transition: color 0.2s;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.25s ease;
}

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

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

.nav-links a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Controls */
.controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pill-btn {
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, border-color 0.2s, transform 0.15s;
}

.pill-btn.icon-only {
    padding: 8px 10px;
}

.pill-btn:hover {
    color: var(--gold);
    border-color: var(--gold-border);
    transform: translateY(-1px);
}

.pill-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.burger {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 7px;
    line-height: 0;
    transition: border-color 0.2s;
}

.burger:hover {
    border-color: var(--gold-border);
    color: var(--gold);
}

.burger:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ===================== HERO ================================= */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 68px;
    position: relative;
    overflow: hidden;
}

.hero-bg-noise {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 900px 600px at 70% -10%, rgba(198, 164, 92, 0.055), transparent 65%),
        radial-gradient(ellipse 600px 400px at -10% 80%, rgba(198, 164, 92, 0.04), transparent 65%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 25px 0;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero-name {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 11vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 36px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 18px;
    letter-spacing: 0.01em;
    max-width: 600px;
}

.hero-sub {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 44px;
    line-height: 1.75;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--muted2);
    animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-50%) translateY(6px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-hint {
        animation: none;
    }
}

/* ===================== ABOUT ================================ */
.about-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 72px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1;
    border: 1px solid var(--gold-border);
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-img-wrap:hover img {
    transform: scale(1.03);
}

.about-cta {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

.stat b {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.stat span {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

/* ===================== VIDEO GALLERY ======================== */
.video-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-btn {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    color: var(--text);
    border-color: var(--gold-border);
}

.filter-btn.active {
    background: var(--gold-dim);
    color: var(--gold-light);
    border-color: var(--gold);
    box-shadow: 0 0 16px var(--gold-glow);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.video-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}

.video-card.filtered-out {
    display: none;
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--gold-border);
}

/* Featured Tracks styling */
.video-card-featured {
    border-color: rgba(198, 164, 92, 0.35);
    background: linear-gradient(180deg, rgba(198, 164, 92, 0.04) 0%, var(--card) 100%);
}

.video-card-featured:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 24px var(--gold-glow);
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 11, 13, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 2;
    pointer-events: none;
}

.video-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumb {
    transform: scale(1.04);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
    cursor: pointer;
}

.video-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(198, 164, 92, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B0B0D;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.play-btn:hover,
.video-overlay:hover .play-btn {
    transform: scale(1.1);
    background: var(--gold-light);
}

.play-btn:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

.play-btn svg {
    margin-left: 3px;
    /* optical centering for play triangle */
}

.video-info {
    padding: 16px 20px 20px;
}

.video-cat {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 7px;
}

.video-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
}

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

/* ===================== COMMISSIONS ========================== */
#commissions {
    position: relative;
}

.workflow-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 60px 0 72px;
    position: relative;
}

/* Horizontal connecting line behind steps */
.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 1px;
    background: linear-gradient(90deg, var(--gold-border), var(--gold-border));
    pointer-events: none;
    z-index: 0;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.workflow-step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 20px;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px var(--bg);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.workflow-step:hover .workflow-step-icon {
    background: var(--gold-dim);
    border-color: var(--gold);
    box-shadow: 0 0 0 6px var(--bg), 0 0 24px var(--gold-glow);
}

.workflow-step-number {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    letter-spacing: 0.14em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.75;
}

.workflow-step-content h3 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.workflow-step-content p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
}

.commissions-cta {
    text-align: center;
    padding: 56px 32px;
    background: var(--card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.commissions-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 300px at 50% 100%, var(--gold-glow), transparent 70%);
    pointer-events: none;
}

.commissions-cta-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.commissions-cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

/* ===================== TESTIMONIALS ========================= */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.testi-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testi-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-border);
    box-shadow: var(--shadow);
}

.testi-game-img {
    height: 130px;
    overflow: hidden;
    background: var(--card2);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.testi-game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.testi-card:hover .testi-game-img img {
    transform: scale(1.05);
}

.testi-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.testi-quote-mark {
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.testi-body>p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.testi-who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.testi-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
    font-style: normal;
}

.testi-meta b {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.testi-meta span {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 1px;
}

.testi-link {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--gold);
    margin-top: 3px;
    font-weight: 500;
    transition: color 0.2s;
}

.testi-link:hover {
    color: var(--gold-light);
}

/* ===================== CONTACT ============================= */
#contacto {
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 72px;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 14px;
}

.contact-info .lead {
    margin-bottom: 28px;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.contact-email svg {
    color: var(--gold);
    flex-shrink: 0;
}

.contact-email a {
    color: var(--text);
    transition: color 0.2s;
}

.contact-email a:hover {
    color: var(--gold);
}

.contact-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: color 0.2s, border-color 0.2s, transform 0.15s;
}

.contact-socials a:hover {
    color: var(--gold);
    border-color: var(--gold-border);
    transform: translateY(-2px);
}

.contact-socials a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Form */
.field {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--muted);
}

input,
select,
textarea {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold-border);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2399999F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

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

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 0.88rem;
    margin-top: 4px;
}

.form-ok {
    display: none;
    margin-top: 16px;
    background: rgba(198, 164, 92, 0.1);
    border: 1px solid rgba(198, 164, 92, 0.3);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--gold-light);
}

.form-err {
    display: none;
    margin-top: 16px;
    background: rgba(220, 60, 60, 0.1);
    border: 1px solid rgba(220, 60, 60, 0.3);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: #f07070;
}

/* ===================== FOOTER ============================== */
footer {
    border-top: 1px solid var(--border);
    padding: 44px 0;
    background: var(--bg);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

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

.footer-logo {
    font-size: 1.1rem;
}

.footer-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted2);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: color 0.2s, border-color 0.2s, transform 0.15s;
}

.footer-socials a:hover {
    color: var(--gold);
    border-color: var(--gold-border);
    transform: translateY(-2px);
}

.footer-socials a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--muted2);
    text-align: right;
    justify-self: end;
}

/* ===================== RESPONSIVE ========================== */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 320px 1fr;
        gap: 48px;
    }

    .workflow-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
        position: relative;
    }

    .workflow-timeline::before {
        display: none;
    }

    .workflow-step {
        padding: 24px 20px;
        background: rgba(24, 24, 29, 0.4);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        transition: border-color 0.2s ease;
    }

    .workflow-step:hover {
        border-color: var(--gold-border);
    }

    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet: ≤ 860px */
@media (max-width: 860px) {
    section {
        padding: 72px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 540px;
        margin: 0 auto;
    }

    .about-img-wrap {
        max-width: 420px;
        margin: 0 auto;
    }

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

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile nav */
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: color-mix(in srgb, var(--bg) 97%, transparent);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 11px 0;
        border-bottom: 1px solid var(--border);
        font-size: 0.88rem;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .burger {
        display: flex;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-copy {
        text-align: center;
        justify-self: center;
    }
}

/* Mobile: ≤ 600px */
@media (max-width: 600px) {
    section {
        padding: 60px 0;
    }

    .hero-name {
        font-size: clamp(3rem, 16vw, 5rem);
        margin-bottom: 24px;
    }

    .hero-headline {
        font-size: 1.15rem;
    }

    .hero-sub {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

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

    .workflow-timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .workflow-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 20px;
        padding: 0 0 36px 0;
        position: relative;
    }

    /* Vertical connector line */
    .workflow-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 35px;
        top: 72px;
        bottom: 0;
        width: 1px;
        background: var(--gold-border);
    }

    .workflow-step-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .workflow-step-number {
        margin-bottom: 6px;
    }

    .workflow-step-content {
        text-align: left;
    }

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

    .commissions-cta {
        padding: 40px 24px;
    }

    .btn-lg {
        padding: 13px 28px;
    }
}

/* ===================== UTILITY ============================ */
.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;
}