/* ==========================================================================
   theValentino — Dark Bold Creative Theme
   Custom CSS per JupiterX Child Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */

:root {
    --tv-black:        #0A0A0A;
    --tv-dark:         #111113;
    --tv-card:         #161618;
    --tv-border:       #2A2A2C;
    --tv-gray:         #7A7A80;
    --tv-gray-light:   #A0A0A6;
    --tv-white:        #F5F5F0;
    --tv-cream:        #E8E8E0;
    --tv-accent:       #E85D24;
    --tv-accent-hover: #FF7A42;
    --tv-accent-dark:  #C24A1A;
    --tv-accent-rgb:   232, 93, 36;

    --tv-font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --tv-font-display: 'Inter', system-ui, sans-serif;

    --tv-radius:       0px;
    --tv-transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */

body.tv-dark {
    background-color: var(--tv-black) !important;
    color: var(--tv-white);
    font-family: var(--tv-font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.tv-dark *::selection {
    background: var(--tv-accent);
    color: var(--tv-white);
}

body.tv-dark img {
    max-width: 100%;
    height: auto;
}

body.tv-dark a {
    color: var(--tv-accent);
    text-decoration: none;
    transition: color var(--tv-transition);
}

body.tv-dark a:hover {
    color: var(--tv-accent-hover);
}


/* --------------------------------------------------------------------------
   2. TYPOGRAPHY
   -------------------------------------------------------------------------- */

.tv-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--tv-accent);
    margin-bottom: 8px;
    display: block;
}

.tv-heading-xl {
    font-family: var(--tv-font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.05;
    color: var(--tv-white);
    margin: 0 0 16px;
}

.tv-heading-lg {
    font-family: var(--tv-font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--tv-white);
    margin: 0 0 16px;
}

.tv-heading-md {
    font-family: var(--tv-font-display);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--tv-white);
    margin: 0 0 8px;
}

.tv-text {
    font-size: 17px;
    color: var(--tv-gray-light);
    line-height: 1.7;
    max-width: 520px;
}

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


/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */

.tv-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

.tv-section {
    padding: 80px 0;
}

.tv-section--bordered {
    border-top: 1px solid var(--tv-border);
}

.tv-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tv-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tv-flex {
    display: flex;
    gap: 16px;
}

.tv-flex--between {
    justify-content: space-between;
    align-items: baseline;
}


/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */

.tv-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--tv-font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all var(--tv-transition);
    text-decoration: none;
    line-height: 1;
}

.tv-btn--primary {
    background: var(--tv-accent);
    color: var(--tv-white);
}

.tv-btn--primary:hover {
    background: var(--tv-accent-hover);
    color: var(--tv-white);
}

.tv-btn--ghost {
    background: transparent;
    color: var(--tv-white);
    border: 1px solid var(--tv-border);
}

.tv-btn--ghost:hover {
    border-color: var(--tv-accent);
    color: var(--tv-accent);
}

.tv-btn--dark {
    background: var(--tv-black);
    color: var(--tv-white);
}

.tv-btn--dark:hover {
    background: var(--tv-white);
    color: var(--tv-black);
}


/* --------------------------------------------------------------------------
   5. HEADER / NAV
   -------------------------------------------------------------------------- */

.tv-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--tv-black);
    border-bottom: 1px solid var(--tv-border);
    padding: 0 40px;
}

.tv-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    max-width: 1240px;
    margin: 0 auto;
}

.tv-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
}

.tv-logo span:first-child { color: var(--tv-white); }
.tv-logo span:last-child  { color: var(--tv-accent); }

.tv-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tv-nav__link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--tv-gray);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all var(--tv-transition);
}

.tv-nav__link:hover,
.tv-nav__link--active {
    color: var(--tv-accent);
    border-bottom-color: var(--tv-accent);
}

/* Mobile hamburger */
.tv-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.tv-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--tv-white);
    transition: all var(--tv-transition);
}


/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */

.tv-hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.tv-hero__bg-letter {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: clamp(140px, 18vw, 240px);
    font-weight: 900;
    color: var(--tv-dark);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.tv-hero__content {
    position: relative;
    z-index: 1;
}

.tv-hero__subtitle {
    font-size: 18px;
    color: var(--tv-gray);
    max-width: 480px;
    margin-top: 28px;
    line-height: 1.7;
}

.tv-hero__actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.tv-hero__stats {
    display: flex;
    gap: 48px;
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid var(--tv-border);
}

.tv-stat__number {
    font-size: 36px;
    font-weight: 800;
    color: var(--tv-accent);
    line-height: 1;
}

.tv-stat__label {
    font-size: 12px;
    color: var(--tv-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}


/* --------------------------------------------------------------------------
   7. PORTFOLIO GRID
   -------------------------------------------------------------------------- */

.tv-portfolio-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tv-filter-btn {
    background: transparent;
    color: var(--tv-gray);
    border: 1px solid var(--tv-border);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--tv-font-body);
    cursor: pointer;
    transition: all var(--tv-transition);
}

.tv-filter-btn:hover,
.tv-filter-btn--active {
    background: var(--tv-accent);
    color: var(--tv-white);
    border-color: var(--tv-accent);
}

.tv-portfolio-card {
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    text-decoration: none;
    color: var(--tv-white);
}

.tv-portfolio-card:hover {
    border-color: var(--tv-accent);
    color: var(--tv-white);
}

.tv-portfolio-card--large {
    grid-column: span 2;
    min-height: 320px;
}

.tv-portfolio-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.tv-portfolio-card:hover .tv-portfolio-card__image {
    opacity: 0.5;
}

.tv-portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--tv-black) 0%, transparent 60%);
}

.tv-portfolio-card__number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 72px;
    font-weight: 900;
    opacity: 0.05;
    line-height: 1;
}

.tv-portfolio-card__body {
    position: relative;
    z-index: 1;
    padding: 28px;
}

.tv-portfolio-card__category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--tv-accent);
}

.tv-portfolio-card__title {
    font-size: 24px;
    font-weight: 700;
    margin: 6px 0 4px;
    letter-spacing: -0.5px;
}

.tv-portfolio-card__excerpt {
    font-size: 14px;
    color: var(--tv-gray);
    margin: 0;
}

.tv-portfolio-card__link {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tv-gray);
    transition: color var(--tv-transition);
}

.tv-portfolio-card:hover .tv-portfolio-card__link {
    color: var(--tv-accent);
}


/* --------------------------------------------------------------------------
   8. SINGLE PORTFOLIO (CASE STUDY)
   -------------------------------------------------------------------------- */

.tv-case-hero {
    padding: 80px 0 60px;
}

.tv-case-meta {
    display: flex;
    gap: 32px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid var(--tv-border);
    border-bottom: 1px solid var(--tv-border);
}

.tv-case-meta__item {
    display: flex;
    flex-direction: column;
}

.tv-case-meta__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tv-accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.tv-case-meta__value {
    font-size: 15px;
    color: var(--tv-white);
}

.tv-case-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 40px 0;
}

.tv-case-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.tv-case-gallery--full img {
    grid-column: span 2;
}

.tv-case-content {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--tv-gray-light);
}

.tv-case-content h2,
.tv-case-content h3 {
    color: var(--tv-white);
    margin-top: 48px;
}

.tv-case-result {
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    padding: 32px;
    margin: 48px 0;
}

.tv-case-nav {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    border-top: 1px solid var(--tv-border);
}

.tv-case-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--tv-gray);
    text-decoration: none;
}

.tv-case-nav a:hover {
    color: var(--tv-accent);
}


/* --------------------------------------------------------------------------
   9. SERVICES LIST
   -------------------------------------------------------------------------- */

.tv-service-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--tv-border);
    cursor: pointer;
    transition: all var(--tv-transition);
}

.tv-service-item__num {
    font-size: 14px;
    font-weight: 600;
    color: var(--tv-gray);
    min-width: 32px;
    transition: color var(--tv-transition);
}

.tv-service-item__title {
    font-size: 22px;
    font-weight: 700;
    min-width: 200px;
    color: var(--tv-white);
    transition: color var(--tv-transition);
    letter-spacing: -0.5px;
}

.tv-service-item__tagline {
    font-size: 14px;
    color: var(--tv-gray);
    margin: 4px 0 0;
}

.tv-service-item__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--tv-accent);
    margin-left: auto;
}

.tv-service-item__toggle {
    font-size: 24px;
    color: var(--tv-gray);
    transition: transform var(--tv-transition);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.tv-service-item__toggle--open {
    transform: rotate(45deg);
}

.tv-service-item:hover .tv-service-item__num,
.tv-service-item:hover .tv-service-item__title {
    color: var(--tv-accent);
}

.tv-service-detail {
    display: none;
    padding: 0 0 28px 56px;
}

.tv-service-detail--open {
    display: block;
    animation: tvFadeIn 0.3s ease;
}

.tv-service-detail__text {
    font-size: 15px;
    color: var(--tv-gray-light);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 20px;
}

.tv-service-detail__includes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tv-service-tag {
    font-size: 13px;
    color: var(--tv-white);
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    padding: 6px 14px;
}


/* --------------------------------------------------------------------------
   10. FAQ ACCORDION
   -------------------------------------------------------------------------- */

.tv-faq-item {
    border-bottom: 1px solid var(--tv-border);
    padding: 20px 0;
}

.tv-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 0;
    font-family: var(--tv-font-body);
}

.tv-faq-question__text {
    font-size: 16px;
    font-weight: 600;
    color: var(--tv-white);
}

.tv-faq-question__icon {
    font-size: 20px;
    color: var(--tv-accent);
    transition: transform var(--tv-transition);
    flex-shrink: 0;
}

.tv-faq-item--open .tv-faq-question__icon {
    transform: rotate(45deg);
}

.tv-faq-answer {
    display: none;
    font-size: 14px;
    color: var(--tv-gray);
    line-height: 1.7;
    margin-top: 12px;
    padding-right: 40px;
}

.tv-faq-item--open .tv-faq-answer {
    display: block;
    animation: tvFadeIn 0.3s ease;
}


/* --------------------------------------------------------------------------
   11. ABOUT PAGE — TEAM & VALUES
   -------------------------------------------------------------------------- */

.tv-team-card {
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.tv-team-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 0;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(var(--tv-accent-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--tv-accent);
}

.tv-team-card__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--tv-white);
    margin: 0 0 2px;
}

.tv-team-card__role {
    font-size: 13px;
    color: var(--tv-accent);
    font-weight: 600;
    margin: 0 0 8px;
}

.tv-team-card__bio {
    font-size: 14px;
    color: var(--tv-gray);
    line-height: 1.5;
    margin: 0;
}

/* Values grid */
.tv-value-card {
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    padding: 28px;
}

.tv-value-card__icon {
    font-size: 28px;
    color: var(--tv-accent);
    margin-bottom: 16px;
    display: block;
}

.tv-value-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--tv-white);
    margin: 0 0 8px;
}

.tv-value-card__text {
    font-size: 14px;
    color: var(--tv-gray);
    line-height: 1.6;
    margin: 0;
}

/* Timeline */
.tv-timeline {
    display: flex;
    gap: 0;
    margin-top: 40px;
}

.tv-timeline__item {
    flex: 1;
    padding: 0 20px;
    border-left: 1px solid var(--tv-border);
}

.tv-timeline__item:first-child {
    border-left: none;
}

.tv-timeline__year {
    font-size: 28px;
    font-weight: 800;
    color: var(--tv-accent);
    margin-bottom: 8px;
}

.tv-timeline__text {
    font-size: 14px;
    color: var(--tv-gray);
    line-height: 1.6;
    margin: 0;
}


/* --------------------------------------------------------------------------
   12. TESTIMONIALS
   -------------------------------------------------------------------------- */

.tv-testimonials {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.tv-testimonial__text {
    font-size: 20px;
    line-height: 1.7;
    font-style: italic;
    color: var(--tv-white);
    min-height: 80px;
}

.tv-testimonial__author {
    font-weight: 700;
    font-size: 14px;
    color: var(--tv-white);
}

.tv-testimonial__role {
    color: var(--tv-gray);
    font-size: 13px;
    margin-left: 8px;
}

.tv-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.tv-dot {
    width: 8px;
    height: 8px;
    background: var(--tv-border);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--tv-transition);
    border: none;
    padding: 0;
}

.tv-dot--active {
    width: 28px;
    background: var(--tv-accent);
}


/* --------------------------------------------------------------------------
   13. CTA BANNER
   -------------------------------------------------------------------------- */

.tv-cta-banner {
    background: var(--tv-accent);
    padding: 80px 0;
    text-align: center;
}

.tv-cta-banner .tv-heading-lg {
    color: var(--tv-white);
}

.tv-cta-banner .tv-text {
    color: rgba(255, 255, 255, 0.85);
    max-width: 100%;
    margin: 0 auto 32px;
}


/* --------------------------------------------------------------------------
   14. CONTACT FORM
   -------------------------------------------------------------------------- */

.tv-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.tv-form-group {
    flex: 1;
    margin-bottom: 16px;
}

.tv-form-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tv-gray);
    display: block;
    margin-bottom: 8px;
}

.tv-form-input,
.tv-form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    color: var(--tv-white);
    font-size: 15px;
    font-family: var(--tv-font-body);
    outline: none;
    transition: border-color var(--tv-transition);
    box-sizing: border-box;
}

.tv-form-input:focus,
.tv-form-textarea:focus {
    border-color: var(--tv-accent);
}

.tv-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.tv-form-input::placeholder,
.tv-form-textarea::placeholder {
    color: var(--tv-gray);
}

.tv-service-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tv-service-selector__btn {
    background: transparent;
    color: var(--tv-gray);
    border: 1px solid var(--tv-border);
    padding: 8px 16px;
    font-size: 13px;
    font-family: var(--tv-font-body);
    cursor: pointer;
    transition: all var(--tv-transition);
}

.tv-service-selector__btn:hover,
.tv-service-selector__btn--active {
    background: var(--tv-accent);
    color: var(--tv-white);
    border-color: var(--tv-accent);
}

/* Contact sidebar */
.tv-contact-card {
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    padding: 28px;
    margin-bottom: 16px;
}

.tv-contact-card__title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tv-accent);
    font-weight: 600;
    margin: 0 0 16px;
}

.tv-contact-card__item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--tv-gray-light);
}

.tv-contact-card__icon {
    font-size: 18px;
    color: var(--tv-accent);
    width: 24px;
    text-align: center;
}


/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */

.tv-footer {
    background: var(--tv-black);
    border-top: 1px solid var(--tv-border);
    padding: 48px 0 32px;
}

.tv-footer__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.tv-footer__description {
    font-size: 14px;
    color: var(--tv-gray);
    max-width: 300px;
    line-height: 1.6;
    margin-top: 16px;
}

.tv-footer__columns {
    display: flex;
    gap: 64px;
}

.tv-footer__col-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tv-accent);
    margin-bottom: 16px;
    font-weight: 600;
}

.tv-footer__col-link {
    display: block;
    font-size: 14px;
    color: var(--tv-gray);
    margin-bottom: 8px;
    text-decoration: none;
    transition: color var(--tv-transition);
}

.tv-footer__col-link:hover {
    color: var(--tv-accent);
}

.tv-footer__bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--tv-border);
    padding-top: 20px;
    font-size: 12px;
    color: var(--tv-gray);
}


/* --------------------------------------------------------------------------
   16. ANIMATIONS
   -------------------------------------------------------------------------- */

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

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

.tv-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tv-animate--visible {
    opacity: 1;
    transform: translateY(0);
}

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


/* --------------------------------------------------------------------------
   17. JUPITERX OVERRIDES
   -------------------------------------------------------------------------- */

/* Override JupiterX background & text */
body.tv-dark #jupiterx-main,
body.tv-dark .jupiterx-main,
body.tv-dark .jupiterx-site,
body.tv-dark .elementor-section,
body.tv-dark .elementor-widget-wrap {
    background-color: transparent !important;
}

/* Hide JupiterX default header/footer when using custom */
body.tv-dark .jupiterx-header,
body.tv-dark .jupiterx-site-header {
    display: none !important;
}

body.tv-dark .jupiterx-footer,
body.tv-dark .jupiterx-site-footer {
    display: none !important;
}

/* Override Elementor defaults */
body.tv-dark .elementor-heading-title {
    color: var(--tv-white);
}

body.tv-dark .elementor-widget-text-editor {
    color: var(--tv-gray-light);
}


/* --------------------------------------------------------------------------
   18. RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .tv-grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .tv-hero__stats {
        gap: 32px;
    }

    .tv-footer__columns {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .tv-container {
        padding: 0 20px;
    }

    .tv-section {
        padding: 48px 0;
    }

    /* Mobile nav */
    .tv-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--tv-black);
        flex-direction: column;
        padding: 20px 40px;
        border-bottom: 1px solid var(--tv-border);
        gap: 16px;
    }

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

    .tv-hamburger {
        display: flex;
    }

    /* Grid */
    .tv-grid-2,
    .tv-grid-3 {
        grid-template-columns: 1fr;
    }

    .tv-portfolio-card--large {
        grid-column: span 1;
    }

    /* Hero */
    .tv-hero {
        padding: 60px 0 48px;
    }

    .tv-hero__bg-letter {
        font-size: 120px;
        right: 20px;
    }

    .tv-hero__stats {
        flex-direction: column;
        gap: 20px;
    }

    .tv-hero__actions {
        flex-direction: column;
    }

    /* Services */
    .tv-service-item {
        flex-wrap: wrap;
    }

    .tv-service-item__title {
        min-width: auto;
    }

    /* Contact form */
    .tv-form-row {
        flex-direction: column;
    }

    /* Footer */
    .tv-footer__top {
        flex-direction: column;
        gap: 32px;
    }

    .tv-footer__columns {
        flex-direction: column;
        gap: 24px;
    }

    .tv-footer__bottom {
        flex-direction: column;
        gap: 8px;
    }

    /* Timeline */
    .tv-timeline {
        flex-direction: column;
        gap: 24px;
    }

    .tv-timeline__item {
        border-left: none;
        border-top: 1px solid var(--tv-border);
        padding: 20px 0 0;
    }

    .tv-timeline__item:first-child {
        border-top: none;
    }

    /* Case study */
    .tv-case-meta {
        flex-wrap: wrap;
        gap: 20px;
    }

    .tv-case-gallery {
        grid-template-columns: 1fr;
    }
}
