/* ============================================================
   TREETONE — SECTION-SPECIFIC STYLES
   Estilos custom de cada sección (no Tailwind)
   ============================================================ */

/* === WORDPRESS / ASTRA OVERRIDES === */
html,
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-color: #0a0a0a !important;
}

/* Barrera visual: asegura que nunca se vea fondo blanco arriba */
body.treetone-landing {
    background: #0a0a0a !important;
    color: white;
}

#wpadminbar {
    display: none !important;
}

.ast-header-break-point .site-header,
.site-header,
#masthead,
.ast-above-header-wrap,
.ast-below-header-wrap,
.ast-mobile-header-wrap {
    display: none !important;
}

/* Prevent Astra from overriding buttons */
a,
a:hover,
a:focus,
a:active,
button,
button:hover,
button:focus,
button:active {
    outline: none !important;
    box-shadow: none !important;
}

/* ============================
   NAVIGATION
   ============================ */
.hd-nav {
    transition: all 0.3s ease;
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hd-nav.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hd-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.logo-container img {
    height: 40px !important;
    width: auto !important;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .logo-container img {
        height: 50px !important;
    }
}

.nav-link {
    color: white;
    transition: color 0.3s;
    text-decoration: none;
}

.hd-nav.scrolled .nav-link {
    color: #1a1a1a !important;
}

.nav-link:hover {
    color: #ECA72C !important;
}

#mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.hd-nav.mobile-menu-active {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Access portals - secondary navigation for returning students and teachers */
.tt-primary-links {
    gap: clamp(0.8rem, 1.6vw, 1.5rem) !important;
}

.tt-desktop-actions {
    flex-shrink: 0;
}

.tt-access-menu {
    position: relative;
}

.tt-access-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(10, 10, 10, 0.18) !important;
    border-radius: 999px;
    background: transparent;
    color: #0A0A0A;
    font-family: 'Inter', sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.tt-access-toggle:hover,
.tt-access-toggle[aria-expanded="true"] {
    color: #0A0A0A;
    border-color: #ECA72C !important;
    background: rgba(236, 167, 44, 0.12);
}

.tt-access-user-icon,
.tt-access-chevron {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.tt-access-chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.tt-access-toggle[aria-expanded="true"] .tt-access-chevron {
    transform: rotate(180deg);
}

.tt-access-dropdown {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    z-index: 10001;
    width: 230px;
    padding: 0.45rem;
    border: 1px solid rgba(236, 167, 44, 0.35);
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 18px 45px rgba(10, 10, 10, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.tt-access-dropdown.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.tt-access-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    color: #0A0A0A !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.tt-access-link:hover {
    color: #0A0A0A !important;
    background: rgba(236, 167, 44, 0.16);
}

.tt-access-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: #ECA72C;
    color: #0A0A0A;
}

.tt-access-link-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tt-access-toggle:focus-visible,
.tt-access-link:focus-visible,
#mobile-toggle:focus-visible,
#close-mobile:focus-visible,
.tt-mobile-access-link:focus-visible {
    outline: 3px solid #ECA72C !important;
    outline-offset: 3px !important;
}

#mobile-menu {
    z-index: 10000 !important;
    overflow-y: auto;
    padding: 5rem 1.5rem 2rem;
}

#close-mobile {
    z-index: 10001;
}

.tt-mobile-access-section {
    width: min(100%, 330px);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
}

.tt-mobile-access-title {
    display: block;
    margin-bottom: 0.65rem;
    color: #ECA72C;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.tt-mobile-access-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

.tt-mobile-access-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(236, 167, 44, 0.55);
    border-radius: 999px;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
}

.tt-mobile-access-link:hover {
    color: #0A0A0A !important;
    background: #ECA72C;
}

@media (max-width: 1180px) and (min-width: 1024px) {
    .tt-access-toggle {
        padding-inline: 0.55rem;
    }

    .tt-desktop-actions {
        gap: 0.45rem !important;
    }
}

@media (max-width: 1023px) {
    #mobile-menu {
        gap: clamp(0.9rem, 2.4vh, 1.6rem) !important;
    }
}

@media (max-height: 720px) and (max-width: 1023px) {
    #mobile-menu {
        justify-content: flex-start !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tt-access-dropdown,
    .tt-access-chevron {
        transition: none;
    }
}

/* ================================================================
   V3 COMPACTA — corrección posterior a la prueba completa en WordPress
   ================================================================ */
@media (min-width: 1025px) {
    .tt2-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .tt2-section-head {
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .tt2-section-head h2,
    .tt2-method-intro h2 {
        font-size: clamp(3rem, 5.6vw, 5.4rem);
    }

    .tt2-instrument-card-1,
    .tt2-instrument-card-2 {
        min-height: 400px;
    }

    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) {
        min-height: 240px;
    }

    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) .tt2-instrument-content strong {
        font-size: 1.85rem;
    }

    .tt2-method-intro {
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .tt2-method-layout {
        gap: 4rem;
    }

    .tt2-method-video {
        min-height: 360px;
    }

    .tt2-method-steps li {
        padding: 1.25rem 0;
    }

    .tt2-founder {
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 4.5rem;
        margin-bottom: 5rem;
    }

    .tt2-founder-photo {
        width: 100%;
        max-width: 380px;
    }

    .tt2-team-heading {
        gap: 3rem;
        margin-bottom: 2rem;
    }

    .tt2-team-heading h3 {
        font-size: clamp(2.6rem, 4vw, 4rem);
    }

    .tt2-team-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1.1rem;
    }

    .tt2-teacher-photo {
        margin-bottom: .8rem;
    }

    .tt2-teacher h4 {
        font-size: 1.18rem;
    }

    .tt2-teacher p {
        font-size: .56rem;
        letter-spacing: .09em;
    }

    .tt2-testimonial-grid {
        gap: 1.25rem;
    }

    .tt2-faq {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .tt2-prefooter {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .tt2-prefooter h2 {
        font-size: clamp(2.7rem, 4.8vw, 4.8rem);
    }

    #treetone-footer.tt2-footer {
        padding-top: 4rem;
    }
}

/* El selector heredado de la versión anterior forzaba los botones a 9:16. */
.tt2-testimonial-card.testimonial-video-trigger {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* La regla heredada de FAQ anulaba el padding con !important. */
.tt2-faq-item > button {
    min-height: 54px;
    padding: 1rem 0 !important;
}

.tt2-faq-item.active .faq-title {
    color: var(--tt-gold-dark) !important;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .tt2-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .tt2-instrument-card,
    .tt2-instrument-card-1,
    .tt2-instrument-card-2 {
        min-height: 340px;
    }

    .tt2-method-video {
        min-height: 350px;
    }

    .tt2-founder {
        grid-template-columns: 340px minmax(0, 1fr);
        gap: 3rem;
        margin-bottom: 4.5rem;
    }

    .tt2-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem 1rem;
    }
}

@media (max-width: 767px) {
    .tt2-section {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .tt2-section-head,
    .tt2-method-intro {
        margin-bottom: 2.25rem;
    }

    .tt2-instrument-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .tt2-instrument-card-1,
    .tt2-instrument-card-2 {
        grid-column: 1 / -1;
        min-height: 320px;
    }

    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) {
        grid-column: auto;
        min-height: 190px;
    }

    .tt2-instrument-content {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
    }

    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) .tt2-instrument-content strong {
        margin-bottom: .35rem;
        font-size: 1.45rem;
    }

    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) .tt2-instrument-content > span {
        font-size: .5rem;
    }

    .tt2-method-video {
        min-height: 300px;
    }

    .tt2-method-steps li {
        padding: 1.15rem 0;
    }

    .tt2-founder {
        gap: 2rem;
        margin-bottom: 3.75rem;
    }

    .tt2-founder-photo img {
        aspect-ratio: 4 / 4.3;
    }

    .tt2-founder-story blockquote {
        margin-top: 2rem;
        font-size: 1.35rem;
    }

    .tt2-team-heading {
        margin-bottom: 2rem;
    }

    .tt2-team-grid,
    .tt2-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem .75rem;
    }

    .tt2-teacher-photo img {
        aspect-ratio: 4 / 5;
    }

    .tt2-teacher h4 {
        font-size: 1.15rem;
    }

    .tt2-teacher p {
        font-size: .52rem;
        letter-spacing: .07em;
    }

    .tt2-testimonial-grid {
        gap: 2.5rem;
    }

    .tt2-faq-item > button {
        min-height: 58px;
        padding: 1.05rem 0 !important;
    }

    .tt2-faq {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .tt2-prefooter {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .tt2-prefooter h2 {
        font-size: clamp(2.55rem, 11vw, 3.8rem);
    }
}

@media (max-width: 420px) {
    .tt2-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tt-footer-access {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tt-footer-access h5 {
    margin: 0 0 0.15rem;
    color: #ECA72C;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tt-footer-access a {
    width: fit-content;
    color: #9CA3AF;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tt-footer-access a:hover {
    color: #ECA72C;
}

/* ============================
   HERO
   ============================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0a0a0a;
    color: white;
    font-family: 'Inter', sans-serif;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #000;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-video.is-ready {
    opacity: 1;
}

/* Video now loads deferred on all screens (poster visible first, video fades in) */

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.5) 80%, #0a0a0a 100%);
}

.hero-poster-bg {
    background-size: cover;
    background-position: center;
    background-image: url('https://treetonemusic.online/wp-content/uploads/2026/01/guitar.webp');
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    padding: 0 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
}

@media (min-width: 640px) {
    .hero-content {
        padding-top: 0;
    }
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #ECA72C;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1rem;
    }
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 2.5rem;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

.word-wrapper {
    display: inline !important;
    white-space: nowrap !important;
}

.hero-dynamic-text {
    color: #ECA72C;
    display: inline !important;
    text-align: center;
    transition: opacity 0.3s, transform 0.3s;
}

.hero-dynamic-text.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.word-wrapper>span:not(.hero-dynamic-text)::before {
    content: "\00a0" !important;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hb-icon {
    width: 16px;
    height: 16px;
    color: #ECA72C;
}

.word-wrapper {
    display: inline !important;
    white-space: nowrap !important;
}

/* Override WPCode snippet's ::before that adds extra space */
.word-wrapper>span:not(.hero-dynamic-text)::before {
    content: none !important;
}

.hero-dynamic-text {
    display: inline-block;
    min-width: 4ch;
    transition: opacity 0.3s ease;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-btns {
        flex-direction: row;
        max-width: none;
        width: auto;
    }
}

.btn-primary {
    background-color: #ECA72C;
    color: #0a0a0a;
    border: none;
    height: 3.5rem;
    padding: 0 2rem;
    border-radius: 99px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    background-color: #D48F18 !important;
    color: #0a0a0a !important;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    height: 3.5rem;
    padding: 0 2rem;
    border-radius: 99px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-color: white !important;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
}

.ht-stars {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 6px;
    border-radius: 4px;
}

.ht-text {
    text-align: left;
    line-height: 1;
}

.ht-score {
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 2px;
}

.ht-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(5px);
}

.hero-modal.active {
    display: flex;
}

.hm-content {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: black;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
}

.hm-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hm-close:hover {
    background: #ECA72C;
    color: black;
}

/* ============================
   INSTRUMENTOS
   ============================ */
.inst-section {
    padding: 4rem 1rem;
    background: white;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.inst-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.inst-pretitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #ECA72C;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.inst-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: #0a0a0a;
    font-size: 2.5rem;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    letter-spacing: -1px;
}

@media (min-width: 640px) {
    .inst-title {
        font-size: 3.5rem;
    }
}

.inst-title span {
    color: #ECA72C;
}

.inst-desc {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.inst-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .inst-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.inst-card {
    position: relative !important;
    display: block !important;
    aspect-ratio: 3/4 !important;
    min-height: 240px !important;
    border-radius: 1rem;
    overflow: hidden !important;
    background: #000;
    text-decoration: none;
    transform: translateZ(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.inst-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.inst-card:hover .inst-img {
    transform: scale(1.1);
}

.inst-card:nth-child(1) .inst-img {
    object-position: center 30% !important;
}

.inst-card:nth-child(2) .inst-img {
    object-position: center 65% !important;
}

.inst-card:nth-child(3) .inst-img {
    object-position: center 15% !important;
}

.inst-card:nth-child(4) .inst-img {
    object-position: center 30% !important;
}

.inst-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
}

.inst-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
    width: 100%;
    padding: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (min-width: 640px) {
    .inst-content {
        padding: 1.5rem;
    }
}

.inst-name {
    font-family: 'Oswald', sans-serif;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
    .inst-name {
        font-size: 2rem;
    }
}

.inst-btn {
    font-family: 'Oswald', sans-serif;
    color: #ECA72C;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inst-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
}

.inst-card:hover .inst-arrow {
    transform: translateX(5px);
}

@media (max-width: 767px) {
    .inst-grid {
        gap: 12px !important;
    }
}

/* ============================
   METODOLOGÍA
   ============================ */
#metodo-section {
    background-color: #0a0a0a;
    background-image: radial-gradient(circle at 10% 30%, rgba(236, 167, 44, 0.15) 0%, transparent 60%);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .benefit-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-top: 3rem;
    }
}

.benefit-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

@media (max-width: 640px) {
    .benefit-card-premium {
        padding: 15px;
    }
}

.benefit-card-premium:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(236, 167, 44, 0.4);
    transform: translateY(-5px);
}

.play-pulse {
    position: relative;
}

.play-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #ECA72C;
    opacity: 0;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ============================
   ABOUT / NOSOTROS
   ============================ */
.staff-dark-section {
    background-color: #111;
    background-image: radial-gradient(circle at 50% 50%, rgba(245, 181, 62, 0.03) 0%, transparent 50%), radial-gradient(#333 1px, transparent 1px);
    background-size: 100% 100%, 24px 24px;
    border-radius: 20px;
    padding: 35px 0;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes scrollProfesInfinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.profes-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 10px 0;
}

.profes-scroll-container {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollProfesInfinite 40s linear infinite;
    padding-left: 20px;
    will-change: transform;
}

.profes-scroll-container:hover {
    animation-play-state: paused;
}

.profe-card {
    text-align: center;
    width: 110px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.profe-img-container {
    width: 90px;
    height: 90px;
    margin-bottom: 12px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: brightness(0.9) grayscale(20%);
    background-color: #222;
}

.profe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.profe-card:hover .profe-img-container {
    box-shadow: 0 10px 25px rgba(245, 181, 62, 0.3);
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.1) grayscale(0%);
    border: 2px solid rgba(245, 181, 62, 0.8);
}

.profe-card:hover .profe-img {
    transform: scale(1.1);
}

.profe-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 4px 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profe-instrument {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    color: #f5b53e;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.25;
    opacity: 0.95;
    max-width: 100px;
}

@media (min-width: 640px) {
    .profe-img-container {
        width: 120px;
        height: 120px;
    }

    .profe-card {
        width: 140px;
    }

    .profe-name {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .profe-instrument {
        font-size: 0.7rem;
        max-width: 100%;
    }

    .profes-scroll-container {
        gap: 3.5rem;
    }
}

/* ============================
   TESTIMONIOS
   ============================ */
#testimonios-section h2 {
    color: #fff !important;
}

#testimonios-section .text-musora-brand {
    color: #ECA72C !important;
}

.testimonial-video-trigger {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16 !important;
    border-radius: 1.25rem;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    z-index: 1;
}

.testimonial-video-trigger:hover {
    border-color: rgba(236, 167, 44, 0.5);
}

.testimonial-video-trigger img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.video-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%) !important;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.videos-wrapper {
    display: flex;
    gap: 1rem;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    position: relative;
}

.videos-wrapper::-webkit-scrollbar {
    display: none;
}

.video-item {
    min-width: 70% !important;
    max-width: 70% !important;
    scroll-snap-align: start;
    flex-shrink: 0;
    position: relative;
}

@media (min-width: 1024px) {
    .video-item {
        min-width: 0 !important;
        max-width: 320px !important;
        flex: 1;
    }

    .videos-wrapper {
        overflow: visible;
        justify-content: center;
    }

    .video-nav-container {
        display: none !important;
    }
}

.nav-btn {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
    z-index: 50 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
    background-color: #ECA72C !important;
    color: #000 !important;
    border-color: #ECA72C !important;
}

.video-nav-container {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 10px;
    z-index: 40;
}

.video-nav-container .nav-btn {
    pointer-events: auto;
}

.reviews-box-container {
    background-color: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.reviews-content-wrapper {
    display: grid;
    grid-template-areas: "stack";
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: 1rem;
}

.review-slide {
    grid-area: stack;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease;
    pointer-events: none;
    user-select: none;
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    user-select: auto;
    z-index: 10;
}

.text-nav-controls {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    align-items: center;
    position: relative;
    z-index: 20;
}

.text-nav-controls .nav-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
}

.trustpilot-watermark {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 140px;
    height: auto;
    opacity: 0.05;
    filter: grayscale(100%);
    pointer-events: none;
    z-index: 1;
    transform: rotate(-10deg);
}

.btn-testi-cta {
    background-color: #ECA72C;
    color: #0a0a0a;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 167, 44, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.btn-testi-cta:hover {
    background-color: #D48F18 !important;
    color: #0a0a0a !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(236, 167, 44, 0.5);
}

/* ============================
   FAQs
   ============================ */
.faq-item button {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
    cursor: pointer;
    text-align: left;
}

.faq-item button:hover,
.faq-item button:focus,
.faq-item button:active {
    background: transparent !important;
    background-color: transparent !important;
    color: inherit !important;
    outline: none !important;
    box-shadow: none !important;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    will-change: max-height;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.5rem;
}

.faq-icon-wrapper {
    transition: transform 0.3s ease;
    transform-origin: center;
    flex-shrink: 0;
}

.faq-item.active .faq-icon-wrapper {
    transform: rotate(45deg);
}

.faq-item.active .faq-title {
    color: #ECA72C;
}

.faq-border {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ============================
   FOOTER
   ============================ */
#treetone-footer {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: white;
}

#treetone-footer input,
#treetone-footer textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    outline: none;
    width: 100%;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

#treetone-footer input:focus,
#treetone-footer textarea:focus {
    border-color: #ECA72C;
    box-shadow: 0 0 0 1px #ECA72C;
}

#treetone-footer button[type="submit"] {
    background-color: #ECA72C;
    color: #0a0a0a;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 0.625rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: 100%;
}

#treetone-footer button[type="submit"]:hover {
    background-color: #D48F18;
}

#treetone-footer button[type="submit"]:active {
    transform: scale(0.98);
}

#treetone-footer a {
    text-decoration: none;
    color: #9ca3af;
    transition: color 0.2s ease;
}

#treetone-footer a:hover {
    color: #ECA72C;
}

.social-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon-box:hover {
    background-color: #ECA72C;
    color: #000;
    transform: translateY(-3px);
}

.social-icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.form-success-msg {
    background-color: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #bbf7d0;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    font-size: 0.875rem;
    display: none;
    margin-bottom: 1rem;
}

#treetone-footer .iti {
    width: 100%;
    display: block;
    margin-bottom: 0.75rem;
}

#treetone-footer .iti__country-list {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: white;
    z-index: 100;
}

#treetone-footer .iti__country.iti__highlight {
    background-color: #333;
}

#treetone-footer .iti--separate-dial-code input {
    padding-left: 95px !important;
}

#treetone-footer .iti__flag-container {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.03);
}

#treetone-footer .iti__selected-flag {
    padding: 0 6px 0 8px;
}

#treetone-footer .iti--separate-dial-code .iti__selected-dial-code {
    margin-left: 4px;
    color: #9ca3af;
    font-size: 0.75rem;
}

/* ============================
   FLOATING UI & POPUP
   ============================ */
#treetone-floating-ui {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 2147483647;
    pointer-events: none;
    font-family: sans-serif;
}

.tt-float-btn {
    pointer-events: auto;
    position: fixed !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, opacity 0.3s ease, visibility 0.3s !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.tt-float-btn:hover {
    transform: scale(1.1) !important;
}

.tt-float-btn svg {
    display: block !important;
}

.tt-float-whatsapp {
    bottom: 24px !important;
    right: 24px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25D366 !important;
    color: white !important;
}

.tt-float-whatsapp:hover {
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5) !important;
}

.tt-wa-icon {
    width: 32px !important;
    height: 32px !important;
    fill: currentColor !important;
}

.tt-back-to-top {
    bottom: 24px !important;
    left: 24px !important;
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(10, 10, 10, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    backdrop-filter: blur(4px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
}

.tt-back-to-top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.tt-back-to-top:hover {
    background-color: #ECA72C !important;
    border-color: #ECA72C !important;
    color: #0a0a0a !important;
    box-shadow: 0 6px 16px rgba(236, 167, 44, 0.4) !important;
}

.tt-arrow-icon {
    width: 24px !important;
    height: 24px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

@media (max-width: 768px) {
    .tt-float-whatsapp {
        bottom: 20px !important;
        right: 20px !important;
        width: 54px !important;
        height: 54px !important;
    }

    .tt-wa-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .tt-back-to-top {
        bottom: 20px !important;
        left: 20px !important;
        width: 44px !important;
        height: 44px !important;
    }

    .tt-arrow-icon {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Popup Modal */
.tt-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tt-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tt-popup-modal {
    background: #0a0a0a;
    width: 95%;
    max-width: 450px;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    font-family: 'Inter', sans-serif;
}

.tt-popup-header h3 {
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin: 0 0 10px 0;
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
}

.tt-description {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tt-popup-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* Scoped popup form inputs - override all WP/Astra styles */
.tt-popup-modal input[type="text"],
.tt-popup-modal input[type="email"],
.tt-popup-modal input[type="tel"],
.tt-popup-modal select,
.tt-popup-modal textarea {
    height: 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 0 15px !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', sans-serif !important;
    margin: 0 !important;
    transition: border-color 0.2s;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    line-height: normal !important;
    min-height: 0 !important;
    max-height: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.tt-popup-modal input[type="text"]:focus,
.tt-popup-modal input[type="email"]:focus,
.tt-popup-modal input[type="tel"]:focus,
.tt-popup-modal select:focus {
    border-color: #ECA72C !important;
    background-color: #222 !important;
    box-shadow: none !important;
    outline: none !important;
}

.tt-popup-modal select {
    cursor: pointer;
    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='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 30px !important;
}

.tt-popup-modal select option {
    background-color: #000 !important;
    color: white !important;
}

.tt-popup-modal .phone-grid-container {
    display: grid !important;
    grid-template-columns: 140px 1fr !important;
    gap: 10px !important;
}

.tt-popup-modal .tt-popup-submit {
    width: 100% !important;
    height: 50px !important;
    margin-top: 5px !important;
    background-color: #ECA72C !important;
    color: #000 !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    padding: 0 !important;
    line-height: 50px !important;
}

.tt-popup-modal .tt-popup-submit:hover {
    background-color: #D48F18 !important;
    transform: translateY(-2px);
}

.tt-popup-modal .tt-popup-submit:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed;
    transform: none;
}

.tt-input {
    height: 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 0 15px !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.tt-input:focus {
    border-color: #ECA72C !important;
    outline: none !important;
    background-color: #222 !important;
}

select.tt-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer;
    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='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 30px !important;
}

select.country-select option {
    background-color: #000 !important;
    color: white !important;
}

.phone-grid-container {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
}

.tt-popup-submit {
    width: 100%;
    height: 50px;
    margin-top: 5px;
    background-color: #ECA72C;
    color: #000;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.tt-popup-submit:hover {
    background-color: #D48F18;
    transform: translateY(-2px);
}

.tt-popup-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.tt-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s;
}

.tt-popup-close:hover {
    color: white;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.custom-check {
    width: 18px;
    height: 18px;
    accent-color: #ECA72C;
    cursor: pointer;
}

.check-label {
    color: #ccc;
    font-size: 0.85rem;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 480px) {
    .phone-grid-container {
        grid-template-columns: 110px 1fr;
    }

    .tt-popup-modal {
        padding: 1.5rem;
        width: 90%;
    }

    .tt-popup-header h3 {
        font-size: 1.7rem;
    }
}

/* Background gradient for about section */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-black\/90 {
    --tw-gradient-from: rgba(0, 0, 0, 0.9);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.via-black\/20 {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(0, 0, 0, 0.2), var(--tw-gradient-to, transparent);
}

.to-transparent {
    --tw-gradient-to: transparent;
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-gray-50 {
    --tw-gradient-from: #f9fafb;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.to-gray-100 {
    --tw-gradient-to: #f1f5f9;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

/* === FOOTER: Mobile touch targets === */
#treetone-footer ul li a {
    display: block;
    padding: 8px 0;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

#treetone-footer ul li a:hover,
#treetone-footer ul li a:active {
    color: #ECA72C;
}

/* ================================================================
   TREE TONE — REDISEÑO EDITORIAL 2026-08-10
   ================================================================ */
:root {
    --tt-black: #0A0A0A;
    --tt-gold: #ECA72C;
    --tt-gold-dark: #C98716;
    --tt-white: #FFFFFF;
    --tt-paper: #F7F4EE;
    --tt-ink-soft: #5D5B56;
    --tt-line: rgba(10, 10, 10, 0.16);
    --tt-line-light: rgba(255, 255, 255, 0.18);
    --tt-radius: 4px;
}

.treetone-landing,
.treetone-landing button,
.treetone-landing input,
.treetone-landing select,
.treetone-landing textarea {
    font-family: 'Inter', Arial, sans-serif;
}

.treetone-landing .font-heading,
.treetone-landing .font-condensed {
    font-family: 'Oswald', Arial Narrow, sans-serif !important;
}

.treetone-landing button:focus-visible,
.treetone-landing a:focus-visible,
.treetone-landing input:focus-visible,
.treetone-landing select:focus-visible {
    outline: 2px solid var(--tt-gold);
    outline-offset: 3px;
}

.tt2-section {
    position: relative;
    padding: clamp(5.5rem, 9vw, 8.5rem) 1.5rem;
    font-family: 'Inter', Arial, sans-serif;
}

.tt2-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tt2-eyebrow {
    margin: 0 0 1.15rem;
    color: var(--tt-gold-dark);
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tt2-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(250px, .7fr);
    gap: 4rem;
    align-items: end;
    padding-top: 1.5rem;
    margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
    border-top: 1px solid var(--tt-line);
}

.tt2-section-head h2,
.tt2-method-intro h2,
.tt2-faq-heading h2,
.tt2-prefooter h2 {
    margin: 0;
    color: var(--tt-black);
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: clamp(3rem, 6.8vw, 6.4rem);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.tt2-section-head h2 span,
.tt2-method-intro h2 span,
.tt2-faq-heading h2 span,
.tt2-team-heading h3 span {
    color: var(--tt-gold-dark);
}

.tt2-section-intro {
    max-width: 31rem;
    margin: 0 0 .4rem;
    color: var(--tt-ink-soft);
    font-size: .98rem;
    line-height: 1.75;
}

/* Hero: prueba social sobria y tipografía de marca */
.hero-subtitle,
.hb-item,
.btn-primary,
.btn-secondary {
    font-family: 'Inter', Arial, sans-serif !important;
}

.hero-subtitle {
    font-weight: 700;
    text-shadow: none;
}

.hero-title {
    font-family: 'Oswald', Arial Narrow, sans-serif !important;
    font-weight: 600;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .36);
}

.hero-benefits {
    gap: .8rem 1.75rem;
}

.hb-item {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .09em;
}

.btn-primary,
.btn-secondary {
    border-radius: 2px !important;
    letter-spacing: .08em;
}

.tt2-hero-proof {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .25rem 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tt2-hero-proof span {
    width: 28px;
    height: 1px;
    background: var(--tt-gold);
}

/* Instrumentos */
.tt2-instruments {
    background: var(--tt-paper);
    color: var(--tt-black);
}

.tt2-instrument-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.tt2-instrument-card {
    position: relative;
    grid-column: span 3;
    min-height: 390px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--tt-radius);
    background: #242424;
    color: var(--tt-white);
    text-align: left;
    cursor: pointer;
    isolation: isolate;
}

.tt2-instrument-card-1,
.tt2-instrument-card-2 {
    grid-column: span 6;
    min-height: 520px;
}

.tt2-instrument-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .55s ease;
}

.tt2-instrument-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .06) 35%, rgba(0, 0, 0, .86) 100%);
}

.tt2-instrument-number {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: rgba(255, 255, 255, .8);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.tt2-instrument-content {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.tt2-instrument-content strong {
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: clamp(2rem, 3.5vw, 3.9rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) .tt2-instrument-content {
    display: block;
}

.tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) .tt2-instrument-content strong {
    display: block;
    margin-bottom: .75rem;
    font-size: 2.25rem;
}

.tt2-instrument-content > span {
    flex: 0 0 auto;
    padding-bottom: .25rem;
    color: rgba(255, 255, 255, .82);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tt2-instrument-card:hover img {
    transform: scale(1.025);
    filter: saturate(1.04);
}

.tt2-instrument-card:hover .tt2-instrument-content > span {
    color: var(--tt-gold);
}

/* Metodología */
.tt2-method {
    overflow: hidden;
    background: var(--tt-black);
    color: var(--tt-white);
}

.tt2-method-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 5rem;
    align-items: end;
    padding-top: 1.5rem;
    margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
    border-top: 1px solid var(--tt-line-light);
}

.tt2-method-intro h2,
.tt2-method-intro h2 span {
    color: var(--tt-white);
}

.tt2-method-copy {
    margin: 0 0 .4rem;
    color: rgba(255, 255, 255, .65);
    font-size: 1rem;
    line-height: 1.75;
}

.tt2-method-copy strong {
    color: var(--tt-white) !important;
    font-weight: 600 !important;
}

.tt2-method-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: clamp(3rem, 6vw, 6.5rem);
    align-items: stretch;
}

.tt2-method-video {
    position: relative;
    min-height: 500px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--tt-radius);
    background: #191919;
    color: var(--tt-white);
    cursor: pointer;
}

.tt2-method-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.tt2-method-video-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .18) 100%);
}

.tt2-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: var(--tt-gold);
    color: var(--tt-black);
    transform: translate(-50%, -50%);
    transition: transform .25s ease, background .25s ease;
}

.tt2-play svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
    fill: currentColor;
}

.tt2-method-video-caption {
    position: absolute;
    right: 1.75rem;
    bottom: 1.75rem;
    left: 1.75rem;
}

.tt2-method-video-caption small,
.tt2-testimonial-meta small {
    display: block;
    margin-bottom: .5rem;
    color: var(--tt-gold);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tt2-method-video-caption strong {
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 500;
    text-transform: uppercase;
}

.tt2-method-video:hover img {
    transform: scale(1.02);
}

.tt2-method-video:hover .tt2-play,
.tt2-testimonial-card:hover .tt2-play {
    background: var(--tt-white);
    transform: translate(-50%, -50%) scale(1.05);
}

.tt2-method-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--tt-line-light);
}

.tt2-method-steps li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    padding: 1.65rem 0;
    border-bottom: 1px solid var(--tt-line-light);
}

.tt2-method-steps > li > span {
    padding-top: .2rem;
    color: var(--tt-gold);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.tt2-method-steps h3 {
    margin: 0 0 .45rem;
    color: var(--tt-white);
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: 1.55rem;
    font-weight: 500;
    text-transform: uppercase;
}

.tt2-method-steps p {
    margin: 0;
    color: rgba(255, 255, 255, .55);
    font-size: .86rem;
    line-height: 1.55;
}

/* Historia y equipo */
.tt2-about {
    background: var(--tt-white);
    color: var(--tt-black);
}

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

.tt2-founder {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    margin-bottom: clamp(6rem, 10vw, 10rem);
}

.tt2-founder-photo {
    position: relative;
    margin: 0;
}

.tt2-founder-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--tt-radius);
    object-fit: cover;
}

.tt2-founder-photo figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82));
    color: var(--tt-white);
}

.tt2-founder-photo figcaption span {
    display: block;
    margin-bottom: .35rem;
    color: var(--tt-gold);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tt2-founder-photo figcaption strong {
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: 2.35rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.tt2-founder-story > p {
    margin: 0 0 1.4rem;
    color: var(--tt-ink-soft);
    font-size: 1rem;
    line-height: 1.8;
}

.tt2-founder-story strong {
    color: var(--tt-black) !important;
    font-weight: 600 !important;
}

.tt2-founder-story blockquote {
    margin: 2.75rem 0 0;
    padding: .25rem 0 .25rem 1.5rem;
    border-left: 3px solid var(--tt-gold);
    color: var(--tt-black);
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: clamp(1.45rem, 2.3vw, 2.15rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
}

.tt2-team-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: 4rem;
    align-items: end;
    padding-top: 1.5rem;
    margin-bottom: 3rem;
    border-top: 1px solid var(--tt-line);
}

.tt2-team-heading h3 {
    margin: 0;
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.9rem);
    font-weight: 600;
    line-height: .95;
    text-transform: uppercase;
}

.tt2-team-heading > p {
    margin: 0;
    color: var(--tt-ink-soft);
    font-size: .92rem;
    line-height: 1.7;
}

.tt2-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 1.25rem;
}

.tt2-teacher-photo {
    overflow: hidden;
    margin-bottom: 1.1rem;
    border-radius: var(--tt-radius);
    background: #ECE9E2;
}

.tt2-teacher-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .45s ease;
}

.tt2-teacher:hover img {
    transform: scale(1.018);
}

.tt2-teacher h4 {
    margin: 0 0 .3rem;
    color: var(--tt-black);
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: .01em;
}

.tt2-teacher p {
    margin: 0;
    color: var(--tt-ink-soft);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Testimonios reales */
.tt2-testimonials {
    overflow: hidden;
    background: var(--tt-black);
    color: var(--tt-white);
}

.tt2-section-head-light {
    border-color: var(--tt-line-light);
}

.tt2-section-head-light h2,
.tt2-section-head-light h2 span {
    color: var(--tt-white);
}

.tt2-section-head-light .tt2-section-intro {
    color: rgba(255, 255, 255, .62);
}

.tt2-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.tt2-testimonial-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tt-white);
    text-align: left;
    cursor: pointer;
}

.tt2-testimonial-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--tt-radius);
    background: #171717;
}

.tt2-testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.tt2-testimonial-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .15);
}

.tt2-testimonial-card:hover img {
    transform: scale(1.018);
}

.tt2-testimonial-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem 0 0;
}

.tt2-testimonial-meta > span:last-child {
    text-align: right;
}

.tt2-testimonial-meta strong {
    display: block;
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: 1.55rem;
    font-weight: 500;
    text-transform: uppercase;
}

.tt2-testimonial-meta small {
    color: rgba(255, 255, 255, .48);
}

.tt2-testimonial-meta b {
    color: var(--tt-gold);
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Preguntas frecuentes */
.tt2-faq {
    background: var(--tt-paper);
    color: var(--tt-black);
}

.tt2-faq-layout {
    display: grid;
    grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
    gap: clamp(4rem, 9vw, 8.5rem);
    align-items: start;
}

.tt2-faq-heading {
    position: sticky;
    top: 7rem;
}

.tt2-faq-heading h2 {
    font-size: clamp(3rem, 5.4vw, 5.2rem);
}

.tt2-faq-heading > p:last-child {
    max-width: 24rem;
    margin: 2rem 0 0;
    color: var(--tt-ink-soft);
    line-height: 1.7;
}

.tt2-faq-list {
    border-top: 1px solid var(--tt-line);
}

.tt2-faq-item {
    padding: 0 !important;
    border-bottom: 1px solid var(--tt-line) !important;
}

.tt2-faq-item > button {
    display: grid !important;
    grid-template-columns: 2.5rem minmax(0, 1fr) 1.25rem;
    gap: 1rem;
    align-items: start !important;
    width: 100%;
    padding: 1.65rem 0;
    border: 0;
    background: transparent;
    color: var(--tt-black);
    text-align: left;
    cursor: pointer;
}

.tt2-faq-number {
    padding-top: .2rem;
    color: var(--tt-gold-dark);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.tt2-faq-item .faq-title {
    color: var(--tt-black) !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: .98rem !important;
    font-weight: 600 !important;
    line-height: 1.45;
}

.tt2-faq-icon {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
    margin-top: .25rem;
}

.tt2-faq-icon::before,
.tt2-faq-icon::after {
    position: absolute;
    top: 6px;
    left: 0;
    width: 14px;
    height: 1px;
    background: currentColor;
    content: '';
    transition: transform .25s ease;
}

.tt2-faq-icon::after {
    transform: rotate(90deg);
}

.tt2-faq-item.active .tt2-faq-icon::after {
    transform: rotate(0);
}

.tt2-faq-item .faq-answer p {
    margin: 0;
    padding: 0 2.25rem 1.65rem 3.5rem;
    color: var(--tt-ink-soft);
    font-size: .9rem;
    line-height: 1.75;
}

/* Cierre y pie */
.tt2-prefooter {
    padding: clamp(4.5rem, 8vw, 7rem) 1.5rem;
    background: var(--tt-gold);
    color: var(--tt-black);
}

.tt2-prefooter-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4rem;
    align-items: end;
}

.tt2-prefooter .tt2-eyebrow {
    color: rgba(10, 10, 10, .62);
}

.tt2-prefooter h2 {
    max-width: 880px;
    font-size: clamp(2.8rem, 5.8vw, 5.7rem);
}

.tt2-prefooter-layout > div > p:last-child {
    max-width: 650px;
    margin: 1.75rem 0 0;
    color: rgba(10, 10, 10, .68);
    font-size: .96rem;
    line-height: 1.7;
}

.tt2-prefooter-button {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 54px;
    padding: 0 1.5rem;
    border: 1px solid var(--tt-black);
    border-radius: 2px;
    background: var(--tt-black);
    color: var(--tt-white);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.tt2-prefooter-button:hover {
    background: transparent;
    color: var(--tt-black);
}

#treetone-footer.tt2-footer {
    padding: clamp(4rem, 7vw, 6.5rem) 1.5rem 2rem;
    border: 0;
    background: var(--tt-black);
    color: var(--tt-white);
}

.tt2-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr .8fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
}

.tt2-footer-brand img {
    width: 190px;
    height: auto;
    max-height: 67px;
    object-fit: contain;
}

.tt2-footer-brand > p {
    max-width: 20rem;
    margin: 1.75rem 0;
    color: rgba(255, 255, 255, .52);
    font-size: .82rem;
    line-height: 1.7;
}

.tt2-socials {
    display: flex;
    gap: .65rem;
}

#treetone-footer .tt2-socials a {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--tt-line-light);
    border-radius: 50%;
    color: var(--tt-white);
}

.tt2-socials svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

#treetone-footer .tt2-socials a:hover {
    border-color: var(--tt-gold);
    background: var(--tt-gold);
    color: var(--tt-black);
}

.tt2-footer h3 {
    margin: .3rem 0 1.4rem;
    color: var(--tt-white);
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#treetone-footer .tt2-footer-nav a,
#treetone-footer .tt2-footer-links a,
#treetone-footer .tt2-footer-contact > a {
    display: block;
    padding: .38rem 0;
    color: rgba(255, 255, 255, .58);
    font-size: .78rem;
    line-height: 1.5;
    text-decoration: none;
}

#treetone-footer .tt2-footer-nav a:hover,
#treetone-footer .tt2-footer-links a:hover,
#treetone-footer .tt2-footer-contact > a:hover {
    color: var(--tt-gold);
}

.tt2-footer-links a span {
    margin-left: .2rem;
    color: var(--tt-gold);
}

.tt2-language {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, .38);
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#treetone-footer .tt2-language a {
    display: inline-block;
    padding: .25rem .45rem;
    border: 1px solid var(--tt-line-light);
    color: rgba(255, 255, 255, .62);
    line-height: 1;
    text-decoration: none;
}

#treetone-footer .tt2-language a[aria-current="page"] {
    border-color: var(--tt-gold);
    color: var(--tt-gold);
}

.tt2-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: clamp(4rem, 8vw, 7rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--tt-line-light);
}

.tt2-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .35);
    font-size: .63rem;
    line-height: 1.6;
}

/* Modales de video */
.tt2-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, .9);
}

.tt2-video-modal.hidden {
    display: none !important;
}

.tt2-video-dialog {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--tt-radius);
    background: #000;
}

.tt2-video-dialog-landscape {
    max-width: 1000px;
    aspect-ratio: 16 / 9;
}

.tt2-video-dialog-portrait {
    max-width: 360px;
    aspect-ratio: 9 / 16;
}

.tt2-video-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(0, 0, 0, .7);
    color: var(--tt-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.tt2-video-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* Popup de contacto */
.tt-popup-overlay {
    z-index: 10040;
    padding: 1.25rem;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(6px);
}

.tt-popup-modal.tt2-lead-modal {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    width: min(940px, 96vw);
    max-width: 940px;
    max-height: min(760px, 94vh);
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    background: var(--tt-black);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
    text-align: left;
}

.tt2-popup-intro {
    padding: clamp(3rem, 5vw, 4.5rem);
    background: var(--tt-black);
}

.tt2-popup-intro h3 {
    margin: 0 0 1.5rem;
    color: var(--tt-white);
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.tt2-popup-intro h3 span {
    display: block;
    color: var(--tt-gold);
}

.tt2-popup-intro .tt-description {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: .9rem;
    line-height: 1.7;
}

.tt2-popup-intro .tt-description strong {
    color: var(--tt-white);
    font-weight: 600;
}

.tt2-popup-benefits {
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--tt-line-light);
}

.tt2-popup-benefits li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--tt-line-light);
    color: rgba(255, 255, 255, .76);
    font-size: .78rem;
}

.tt2-popup-benefits li span {
    color: var(--tt-gold);
    font-size: .6rem;
    font-weight: 700;
}

.tt2-popup-form-panel {
    display: flex;
    min-height: 100%;
    padding: clamp(2.25rem, 4vw, 3.5rem);
    align-items: center;
    background: var(--tt-white);
}

.tt-popup-form {
    width: 100%;
    gap: .85rem;
}

.tt-popup-form > h4 {
    margin: 0 0 .5rem;
    color: var(--tt-black);
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.tt2-field {
    display: block;
    margin: 0;
}

.tt2-field > span,
.tt2-field legend {
    display: block;
    margin: 0 0 .35rem;
    color: #55514A;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tt2-phone-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.tt-popup-modal.tt2-lead-modal input[type="text"],
.tt-popup-modal.tt2-lead-modal input[type="email"],
.tt-popup-modal.tt2-lead-modal input[type="tel"],
.tt-popup-modal.tt2-lead-modal select {
    width: 100%;
    height: 46px;
    padding: 0 .85rem;
    border: 1px solid #D8D4CC;
    border-radius: 2px;
    background: #FAF9F6;
    color: var(--tt-black);
    font-family: 'Inter', Arial, sans-serif;
    font-size: .82rem;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tt-popup-modal.tt2-lead-modal input:focus,
.tt-popup-modal.tt2-lead-modal select:focus {
    border-color: var(--tt-gold-dark);
    box-shadow: 0 0 0 3px rgba(236, 167, 44, .14);
}

.tt-popup-modal.tt2-lead-modal select option {
    background: var(--tt-white);
    color: var(--tt-black);
}

.tt-popup-modal.tt2-lead-modal .phone-grid-container {
    grid-template-columns: minmax(145px, .9fr) minmax(0, 1.1fr);
    gap: .65rem;
}

.tt-popup-modal.tt2-lead-modal .checkbox-wrapper {
    margin: .15rem 0;
}

.tt-popup-modal.tt2-lead-modal .check-label {
    color: #55514A;
    font-size: .76rem;
}

.tt-popup-modal.tt2-lead-modal .tt-popup-submit {
    min-height: 49px;
    border: 1px solid var(--tt-black);
    border-radius: 2px;
    background: var(--tt-black);
    color: var(--tt-white);
    font-family: 'Inter', Arial, sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .09em;
}

.tt-popup-modal.tt2-lead-modal .tt-popup-submit:hover {
    background: var(--tt-gold);
    color: var(--tt-black);
    transform: none;
}

.tt2-popup-secure {
    margin: 0;
    color: #827D74;
    font-size: .62rem;
    text-align: center;
}

.tt-popup-modal.tt2-lead-modal .tt-popup-close {
    top: .9rem;
    right: .9rem;
    z-index: 4;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(10, 10, 10, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--tt-black);
    font-size: 1.35rem;
}

.tt-popup-modal.tt2-lead-modal .tt-popup-close:hover {
    border-color: var(--tt-gold-dark);
    color: var(--tt-black);
}

.tt2-popup-success {
    width: 100%;
    color: var(--tt-black);
    text-align: center;
}

.tt2-popup-success > span {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 50%;
    background: var(--tt-gold);
    font-size: 1.5rem;
}

.tt2-popup-success h4 {
    margin: 0;
    color: var(--tt-black);
    font-family: 'Oswald', Arial Narrow, sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.tt2-popup-success p {
    color: var(--tt-ink-soft);
}

@media (max-width: 1024px) {
    .tt2-section-head,
    .tt2-method-intro,
    .tt2-team-heading {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .tt2-instrument-card {
        grid-column: span 6;
        min-height: 390px;
    }

    .tt2-instrument-card-1,
    .tt2-instrument-card-2 {
        min-height: 470px;
    }

    .tt2-method-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .tt2-method-video {
        min-height: 440px;
    }

    .tt2-footer-grid {
        grid-template-columns: 1.5fr .8fr .9fr;
    }

    .tt2-footer-contact {
        grid-column: 2 / -1;
    }
}

@media (max-width: 767px) {
    .tt2-section {
        padding: 5rem 1rem;
    }

    .tt2-section-head,
    .tt2-method-intro,
    .tt2-team-heading,
    .tt2-founder,
    .tt2-method-layout,
    .tt2-faq-layout,
    .tt2-prefooter-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tt2-section-head h2,
    .tt2-method-intro h2,
    .tt2-faq-heading h2 {
        font-size: clamp(2.8rem, 14vw, 4.7rem);
    }

    .tt2-section-intro {
        font-size: .9rem;
    }

    .hero-content {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .hero-benefits {
        gap: .65rem 1rem;
    }

    .tt2-hero-proof {
        max-width: 290px;
        font-size: .58rem;
        line-height: 1.5;
        text-align: left;
    }

    .tt2-instrument-grid {
        grid-template-columns: 1fr;
    }

    .tt2-instrument-card,
    .tt2-instrument-card-1,
    .tt2-instrument-card-2 {
        grid-column: auto;
        min-height: 390px;
    }

    .tt2-instrument-card-1,
    .tt2-instrument-card-2 {
        min-height: 440px;
    }

    .tt2-instrument-content strong,
    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) .tt2-instrument-content strong {
        font-size: 2.4rem;
    }

    .tt2-method-video {
        min-height: 420px;
    }

    .tt2-method-layout {
        gap: 3rem;
    }

    .tt2-founder {
        margin-bottom: 6rem;
    }

    .tt2-founder-photo img {
        aspect-ratio: 4 / 4.8;
    }

    .tt2-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem .85rem;
    }

    .tt2-team-heading {
        gap: 1rem;
    }

    .tt2-testimonial-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tt2-testimonial-meta {
        grid-template-columns: 1.15fr .85fr;
    }

    .tt2-faq-heading {
        position: static;
        margin-bottom: 1.25rem;
    }

    .tt2-faq-item > button {
        grid-template-columns: 2rem minmax(0, 1fr) 1rem;
        gap: .75rem;
    }

    .tt2-faq-item .faq-answer p {
        padding-left: 2.75rem;
    }

    .tt2-prefooter {
        padding: 4.5rem 1rem;
    }

    .tt2-prefooter h2 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }

    .tt2-prefooter-button {
        width: 100%;
        justify-content: space-between;
    }

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

    .tt2-footer-brand {
        grid-column: 1 / -1;
    }

    .tt2-footer-contact {
        grid-column: 1 / -1;
    }

    .tt2-footer-bottom {
        flex-direction: column;
        margin-top: 4rem;
    }

    .tt-popup-overlay {
        align-items: flex-start;
        padding: .75rem;
        overflow-y: auto;
    }

    .tt-popup-modal.tt2-lead-modal {
        grid-template-columns: 1fr;
        width: 100%;
        max-height: none;
        margin: .5rem auto;
        overflow: visible;
    }

    .tt2-popup-intro {
        padding: 3.25rem 1.5rem 2.25rem;
    }

    .tt2-popup-intro h3 {
        font-size: 3.25rem;
    }

    .tt2-popup-benefits {
        margin-top: 1.75rem;
    }

    .tt2-popup-form-panel {
        padding: 2rem 1.25rem;
    }

    .tt-popup-modal.tt2-lead-modal .tt-popup-close {
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 420px) {
    .tt2-team-grid {
        grid-template-columns: 1fr;
    }

    .tt2-teacher-photo img {
        aspect-ratio: 4 / 4.6;
    }

    .tt-popup-modal.tt2-lead-modal .phone-grid-container {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tt2-instrument-card img,
    .tt2-method-video img,
    .tt2-teacher-photo img,
    .tt2-testimonial-image img,
    .tt2-play {
        transition: none !important;
    }
}

/* V3 COMPACTA — bloque final de prioridad */
.tt2-testimonial-card.testimonial-video-trigger {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.tt2-faq-item > button {
    min-height: 54px;
    padding: 1rem 0 !important;
}

.tt2-faq-item.active .faq-title {
    color: var(--tt-gold-dark) !important;
}

@media (min-width: 1025px) {
    .tt2-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .tt2-section-head {
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .tt2-section-head h2,
    .tt2-method-intro h2 {
        font-size: clamp(3rem, 5.6vw, 5.4rem);
    }

    .tt2-instrument-card-1,
    .tt2-instrument-card-2 {
        min-height: 400px;
    }

    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) {
        min-height: 240px;
    }

    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) .tt2-instrument-content strong {
        font-size: 1.85rem;
    }

    .tt2-method-intro {
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .tt2-method-layout {
        gap: 4rem;
    }

    .tt2-method-video {
        min-height: 360px;
    }

    .tt2-method-steps li {
        padding: 1.25rem 0;
    }

    .tt2-founder {
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 4.5rem;
        margin-bottom: 5rem;
    }

    .tt2-founder-photo {
        width: 100%;
        max-width: 380px;
    }

    .tt2-team-heading {
        gap: 3rem;
        margin-bottom: 2rem;
    }

    .tt2-team-heading h3 {
        font-size: clamp(2.6rem, 4vw, 4rem);
    }

    .tt2-team-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1.1rem;
    }

    .tt2-teacher-photo {
        margin-bottom: .8rem;
    }

    .tt2-teacher h4 {
        font-size: 1.18rem;
    }

    .tt2-teacher p {
        font-size: .56rem;
        letter-spacing: .09em;
    }

    .tt2-faq {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .tt2-prefooter {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .tt2-prefooter h2 {
        font-size: clamp(2.7rem, 4.8vw, 4.8rem);
    }

    #treetone-footer.tt2-footer {
        padding-top: 4rem;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .tt2-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .tt2-instrument-card,
    .tt2-instrument-card-1,
    .tt2-instrument-card-2 {
        min-height: 340px;
    }

    .tt2-method-video {
        min-height: 350px;
    }

    .tt2-founder {
        grid-template-columns: 340px minmax(0, 1fr);
        gap: 3rem;
        margin-bottom: 4.5rem;
    }

    .tt2-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem 1rem;
    }
}

@media (max-width: 767px) {
    .tt2-section {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .tt2-section-head,
    .tt2-method-intro {
        margin-bottom: 2.25rem;
    }

    .tt2-instrument-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .tt2-instrument-card-1,
    .tt2-instrument-card-2 {
        grid-column: 1 / -1;
        min-height: 320px;
    }

    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) {
        grid-column: auto;
        min-height: 190px;
    }

    .tt2-instrument-content {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
    }

    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) .tt2-instrument-content strong {
        margin-bottom: .35rem;
        font-size: 1.45rem;
    }

    .tt2-instrument-card:not(.tt2-instrument-card-1):not(.tt2-instrument-card-2) .tt2-instrument-content > span {
        font-size: .5rem;
    }

    .tt2-method-video {
        min-height: 300px;
    }

    .tt2-method-steps li {
        padding: 1.15rem 0;
    }

    .tt2-founder {
        gap: 2rem;
        margin-bottom: 3.75rem;
    }

    .tt2-founder-photo img {
        aspect-ratio: 4 / 4.3;
    }

    .tt2-founder-story blockquote {
        margin-top: 2rem;
        font-size: 1.35rem;
    }

    .tt2-team-heading {
        margin-bottom: 2rem;
    }

    .tt2-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem .75rem;
    }

    .tt2-teacher-photo img {
        aspect-ratio: 4 / 5;
    }

    .tt2-teacher h4 {
        font-size: 1.15rem;
    }

    .tt2-teacher p {
        font-size: .52rem;
        letter-spacing: .07em;
    }

    .tt2-testimonial-grid {
        gap: 2.5rem;
    }

    .tt2-faq-item > button {
        min-height: 58px;
        padding: 1.05rem 0 !important;
    }

    .tt2-faq,
    .tt2-prefooter {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .tt2-prefooter h2 {
        font-size: clamp(2.55rem, 11vw, 3.8rem);
    }
}

@media (max-width: 420px) {
    .tt2-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tt2-teacher-photo img {
        aspect-ratio: 4 / 5;
    }
}

@media (max-width: 767px) {
    .tt2-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem .5rem;
    }

    .tt2-teacher-photo {
        margin-bottom: .6rem;
    }

    .tt2-teacher h4 {
        font-size: .95rem;
    }

    .tt2-teacher p {
        font-size: .43rem;
        letter-spacing: .04em;
        line-height: 1.45;
    }
}

/* Aviso de cookies: conserva las tres decisiones, ocupa menos pantalla. */
@media (max-width: 767px) {
    .cky-consent-container.cky-banner-bottom {
        right: .75rem !important;
        bottom: .75rem !important;
        left: .75rem !important;
        width: auto !important;
    }

    .cky-consent-container .cky-consent-bar {
        padding: 1rem !important;
        border: 1px solid rgba(255, 255, 255, .14) !important;
        border-radius: 4px !important;
    }

    .cky-consent-container .cky-title:empty {
        display: none !important;
    }

    .cky-consent-container .cky-notice-des {
        max-height: none !important;
        overflow: visible !important;
        font-size: .76rem !important;
        line-height: 1.5 !important;
    }

    .cky-consent-container .cky-notice-btn-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: .5rem !important;
        margin-top: .85rem !important;
    }

    .cky-consent-container .cky-btn {
        min-height: 40px !important;
        margin: 0 !important;
        padding: .55rem .25rem !important;
        font-size: .66rem !important;
    }

    .cky-consent-container .cky-consent-bar > div:last-child {
        padding: .5rem 0 0 !important;
    }
}
