/* ==========================================================================
   NAKANO ESTUDIO — SISTEMA DE ESTILOS MODERNO & OPTIMIZADO
   ========================================================================== */

/* 1. VARIABLES GLOBALES Y SISTEMA DE DISEÑO */
:root {
    --red-nakano: #b92025;
    --red-nakano-hover: #d52a30;
    --red-nakano-dark: #91161a;

    --bg-cream: #f4f0e9;
    --bg-cream-dark: #e6ded3;
    --bg-cream-card: #ded8ce;
    --bg-dark: #171717;
    --bg-dark-secondary: #2a2323;

    --text-dark: #171717;
    --text-muted: #5d5953;
    --text-light: #f4f0e9;
    --text-light-muted: #aaa59d;

    --border-light: #d9d2c8;
    --border-dark: #403d39;
    --border-card: #cfc7bd;

    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: "Manrope", "DM Sans", sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.22);
}

/* 2. RESET Y BASES */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

img,
picture,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

.hidden-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* 3. BOTONES Y COMPONENTES REUTILIZABLES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn i {
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translate(2px, -2px);
}

.btn.red {
    background-color: var(--red-nakano);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(185, 32, 37, 0.25);
}

.btn.red:hover {
    background-color: var(--red-nakano-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(185, 32, 37, 0.35);
}

.under {
    font-size: 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--text-dark);
    padding-bottom: 4px;
}

.under:hover {
    color: var(--red-nakano);
    border-color: var(--red-nakano);
}

.kicker {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.19em;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.kicker span {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--red-nakano);
}

.kicker.light {
    color: var(--text-light);
    opacity: 0.85;
}

/* 4. ENCABEZADO Y NAVEGACIÓN */
header {
    height: 112px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    position: sticky;
    top: 0;
    background: rgba(244, 240, 233, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    transition: height var(--transition-fast);
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    width: auto;
    height: 78px;
    max-height: 80%;
    object-fit: contain;
    display: block;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

nav a {
    opacity: 0.8;
    position: relative;
}

nav a:hover {
    opacity: 1;
    color: var(--red-nakano);
}

.pill {
    border: 1px solid var(--text-dark);
    border-radius: 30px;
    padding: 10px 20px;
    opacity: 1 !important;
    font-weight: 700;
    transition: all var(--transition-fast) !important;
}

.pill:hover {
    background-color: var(--text-dark);
    color: var(--text-light) !important;
}

.hamb {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px;
}

/* Drawer Móvil */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
}

.mobile-overlay.active {
    display: block;
}

nav.mobile-active {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 30px 40px;
    gap: 24px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--border-light);
    transform: translateX(0);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* 5. FORMULARIO RÁPIDO SUPERIOR */
.quick-form {
    background: var(--bg-cream-dark);
    border-bottom: 1px solid var(--border-light);
    padding: 18px 6vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 34px;
}

.quick-form h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--text-dark);
    flex: 0 0 auto;
}

.quick-form form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    flex: 1;
    min-width: 0;
}

.quick-form label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 130px;
}

.quick-form input,
.quick-form select {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #b7ada0;
    padding: 6px 2px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    border-radius: 0;
    width: 100%;
    transition: border-color var(--transition-fast);
}

.quick-form input:focus,
.quick-form select:focus {
    border-color: var(--red-nakano);
}

.quick-form button {
    flex: 0 0 auto;
    padding: 13px 20px;
}

.quick-form small {
    flex: 0 0 100%;
    font-size: 10px;
    color: #8b8579;
}

/* 6. HERO SECTION */
.hero {
    min-height: calc(100vh - 112px);
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    padding: 5vw 7vw 4vw;
    align-items: center;
    gap: 4vw;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    align-self: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(52px, 6vw, 88px);
    line-height: 0.92;
    letter-spacing: -0.065em;
    margin: 0;
    color: var(--text-dark);
}

.hero h1 b {
    font-weight: 500;
}

.hero-content>p {
    max-width: 570px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 34px 0 40px;
}

.actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.photo-hero {
    position: relative;
    height: min(58vh, 620px);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticker-photo {
    width: min(640px, 100%);
    height: 100%;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.sticker-photo:hover {
    transform: scale(1.01);
}

.sticker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    border-radius: 20px;
}

/* 7. QUIÉNES SOMOS / INTRO */
.intro {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 9vw 11vw;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 10vw;
    align-items: start;
}

.intro h2,
.section-head h2,
.method h2,
.master h2,
.contact h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(45px, 5.8vw, 82px);
    line-height: 0.96;
    letter-spacing: -0.06em;
    margin: 0;
}

.intro h2 em,
.section-head h2 em,
.method h2 em,
.master h2 em,
.contact h2 em {
    font-style: normal;
    color: var(--red-nakano);
}

.intro-copy {
    align-self: end;
    color: #b6b1aa;
    font-size: 16px;
    line-height: 1.75;
}

.intro-copy strong {
    color: var(--text-light);
}

.intro-copy .red-copy {
    color: var(--red-nakano);
    font-size: 19px;
    margin-top: 24px;
}

/* 8. VALORES */
.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-cream);
}

.value {
    padding: 48px 6vw;
    border-right: 1px solid var(--border-light);
    transition: background-color var(--transition-fast);
}

.value:last-child {
    border-right: 0;
}

.value:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.value b {
    color: var(--red-nakano);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
}

.value h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.03em;
    margin: 12px 0 16px;
}

.value p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
    margin: 0;
}

/* 9. PROGRAMAS Y TARJETAS */
.programs,
.faq {
    padding: 9vw 8vw;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-end;
    margin-bottom: 65px;
}

.section-head>p {
    max-width: 340px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-card);
    border: 1px solid var(--border-card);
    border-radius: 4px;
    overflow: hidden;
}

.cards article {
    background: var(--bg-cream);
    padding: 38px 34px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.cards article:hover {
    background: #fcfaf7;
}

.cards .featured {
    background: var(--bg-cream-dark);
}

.cards .featured:hover {
    background: #ddd5c9;
}

.num {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 45px;
    color: var(--text-muted);
}

.cards label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red-nakano);
}

.cards h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    margin: 12px 0 22px;
}

.cards article>p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 330px;
    margin: 0 0 20px;
}

.meta {
    margin-top: auto;
    padding: 21px 0;
    border-top: 1px solid var(--border-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

.meta strong {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--text-dark);
}

.cards article>a {
    border-top: 1px solid var(--border-card);
    padding-top: 18px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.04em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.cards article>a:hover {
    color: var(--red-nakano);
}

/* 10. SLIDER DE PRÓXIMOS CURSOS */
.courses-slider {
    padding: 0 5vw 34px;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.courses-slider .slider-track {
    height: 590px;
    max-width: 1450px;
    margin: 0 auto;
    position: relative;
}

.courses-slider .slide {
    display: none;
    height: 590px;
    min-height: 0;
    padding: 48px 7.5%;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
    gap: 6vw;
    align-items: center;
    position: relative;
    border-radius: 4px;
}

.courses-slider .slide.active {
    display: grid;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.master-slide {
    background: var(--bg-dark);
}

.online-slide {
    background: var(--bg-dark-secondary);
}

.stamp {
    display: inline-block;
    border: 1px solid var(--red-nakano);
    color: var(--red-nakano);
    padding: 8px 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 0.16em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.online-slide .stamp {
    border-color: #d5c1a6;
    color: #d5c1a6;
}

.courses-slider .master-copy {
    max-width: 760px;
    min-width: 0;
}

.courses-slider .master-copy h2 {
    font-size: clamp(54px, 5.2vw, 82px);
    line-height: 0.92;
    margin-bottom: 26px;
    color: var(--text-light);
}

.online-slide .master-copy h2 em {
    color: #d5c1a6;
}

.courses-slider .master-copy>p {
    font-size: 17px;
    line-height: 1.55;
    max-width: 690px;
    margin: 0 0 25px;
    color: #b9b2aa;
}

.courses-slider .date {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 14px 0 0 18px;
    border-left: 2px solid var(--red-nakano);
}

.online-slide .date {
    border-color: #d5c1a6;
}

.courses-slider .date b {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 23px;
    color: var(--text-light);
}

.courses-slider .date span {
    font-size: 14px;
    color: #aaa39b;
}

.courses-slider .master-side {
    height: 100%;
    padding: 0 0 0 46px;
    border-left: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.online-slide .master-side {
    border-color: #514845;
}

.courses-slider .big-red {
    font-family: var(--font-heading);
    font-size: clamp(125px, 10vw, 170px);
    line-height: 0.75;
    margin: 0 0 16px;
    color: var(--red-nakano);
    font-weight: 800;
    letter-spacing: -0.08em;
}

.courses-slider .cream-number {
    color: #d5c1a6;
}

.courses-slider .master-side>p {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.16em;
    color: #aaa39b;
    margin: 0 0 34px;
    text-transform: uppercase;
}

.courses-slider .slider-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background-color: var(--red-nakano);
    color: #ffffff;
    padding: 17px 23px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    border-radius: 2px;
    min-width: 225px;
    box-shadow: 0 10px 28px rgba(185, 32, 37, 0.22);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.courses-slider .slider-cta i {
    font-style: normal;
    font-size: 18px;
}

.courses-slider .slider-cta:hover {
    transform: translateY(-2px);
    background-color: var(--red-nakano-hover);
    box-shadow: 0 14px 32px rgba(185, 32, 37, 0.3);
}

.online-slide .slider-cta {
    background-color: #d5c1a6;
    color: var(--text-dark);
    box-shadow: 0 10px 28px rgba(213, 193, 166, 0.12);
}

.online-slide .slider-cta:hover {
    background-color: #ead9c1;
    box-shadow: 0 14px 32px rgba(213, 193, 166, 0.2);
}

/* UI Botones del Slider */
.courses-slider .slider-ui {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2vw;
    z-index: 5;
}

.courses-slider .slider-ui .prev,
.courses-slider .slider-ui .next {
    pointer-events: auto;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--red-nakano);
    color: #ffffff;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.courses-slider .slider-ui .prev:hover,
.courses-slider .slider-ui .next:hover {
    transform: scale(1.08);
    background-color: var(--red-nakano-hover);
}

.courses-slider .slider-ui .dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    pointer-events: auto;
}

.courses-slider .slider-ui .dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #77716a;
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.courses-slider .slider-ui .dot.active {
    background: var(--red-nakano);
    transform: scale(1.3);
}

/* 11. SECCIÓN MÉTODO */
.method {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 700px;
    background-color: var(--bg-cream-card);
}

.method-art {
    background: #242321;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.photo-method {
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

.photo-method img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-overlay {
    position: absolute;
    left: 7%;
    bottom: 8%;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.photo-overlay strong {
    font-size: 26px;
    color: var(--red-nakano);
}

.method-copy {
    align-self: center;
    padding: 8vw;
}

.method-copy>p {
    max-width: 600px;
    color: #5c5750;
    line-height: 1.75;
    font-size: 16px;
    margin: 35px 0;
}

.steps {
    border-top: 1px solid #bdb6ac;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.steps div {
    padding: 18px 0;
    border-bottom: 1px solid #bdb6ac;
    display: flex;
    gap: 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
}

.steps b {
    color: var(--red-nakano);
}

/* 12. MANIFIESTO */
.manifesto {
    background-color: var(--red-nakano);
    color: #ffffff;
    text-align: center;
    padding: 10vw 6vw;
}

.manifesto>span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.manifesto h2 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(40px, 6vw, 78px);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 20px 0 0;
}

.manifesto strong {
    font-weight: 800;
}

/* 13. PREGUNTAS FRECUENTES (FAQ) */
.faq-list {
    max-width: 900px;
    margin-left: auto;
}

.faq details {
    border-top: 1px solid var(--border-card);
    transition: background-color var(--transition-fast);
}

.faq details:last-child {
    border-bottom: 1px solid var(--border-card);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 26px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--red-nakano);
    font-size: 24px;
    font-weight: 700;
    transition: transform var(--transition-fast);
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 15px;
    padding: 0 40px 26px 0;
    margin: 0;
}

/* 14. CONTACTO E INSCRIPCIONES */
.contact {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 10vw 8vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
}

.contact>div>p {
    color: var(--text-light-muted);
    max-width: 450px;
    line-height: 1.7;
    font-size: 16px;
    margin: 35px 0;
}

.social {
    display: flex;
    gap: 28px;
    font-size: 13px;
    font-weight: 600;
}

.social a {
    border-bottom: 1px solid #555;
    padding-bottom: 4px;
    color: var(--text-light);
}

.social a:hover {
    color: var(--red-nakano);
    border-color: var(--red-nakano);
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light-muted);
}

.contact input,
.contact select,
.contact textarea {
    display: block;
    width: 100%;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--border-dark);
    color: var(--text-light);
    padding: 14px 0 12px;
    margin-top: 7px;
    outline: none;
    font-family: var(--font-body);
    font-size: 15px;
    border-radius: 0;
    transition: border-color var(--transition-fast);
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
    border-color: var(--red-nakano);
}

.contact option {
    color: var(--text-dark);
    background-color: var(--bg-cream);
}

.contact textarea {
    resize: vertical;
}

.contact small {
    font-size: 11px;
    color: #706c66;
    line-height: 1.5;
}

/* 15. PIE DE PÁGINA (FOOTER) */
footer {
    padding: 32px 6vw;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-cream);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    font-size: 11px;
    color: #77716a;
}

footer img {
    width: 150px;
    height: auto;
}

footer p {
    margin: 0;
    text-align: center;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.edit-trigger-btn {
    background: transparent;
    border: 1px solid #bbb;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 10px;
    color: #666;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.edit-trigger-btn:hover {
    background-color: var(--text-dark);
    color: var(--text-light);
    border-color: var(--text-dark);
}

/* 16. MODAL PANEL DE EDICIÓN EN VIVO */
.live-editor-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.live-editor-modal.active {
    display: flex;
}

.editor-content {
    background: #ffffff;
    border-radius: 12px;
    width: min(800px, 95vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.editor-header {
    padding: 20px 24px;
    background: var(--bg-dark);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 18px;
}

.close-editor-btn {
    background: none;
    border: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.editor-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.editor-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.editor-field label {
    font-weight: 700;
    font-size: 12px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.editor-field input,
.editor-field textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
}

.editor-field textarea {
    min-height: 80px;
}

.editor-footer {
    padding: 16px 24px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-footer button {
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.save-config-btn {
    background: var(--red-nakano);
    color: #fff;
    border: 0;
}

/* 17. ADAPTABILIDAD RESPONSIVA (MEDIA QUERIES) */
@media (max-width: 1050px) {
    .hero {
        grid-template-columns: 1fr 0.95fr;
        padding: 6vw 5vw 4vw;
    }

    .photo-hero {
        height: 470px;
        min-height: 470px;
    }

    .courses-slider {
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .courses-slider .slider-track,
    .courses-slider .slide {
        height: 540px;
    }

    .courses-slider .slide {
        padding: 42px 7%;
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 35px;
    }

    .courses-slider .master-side {
        padding-left: 30px;
    }
}

@media (max-width: 850px) {
    header {
        height: 88px;
    }

    .logo img {
        height: 60px;
    }

    nav {
        display: none;
    }

    .hamb {
        display: block;
    }

    .quick-form {
        padding: 16px 7vw;
        gap: 12px 20px;
    }

    .quick-form form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .quick-form label {
        min-width: 0;
    }

    .quick-form button {
        width: 100%;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 10vw 7vw 8vw;
    }

    .hero h1 {
        font-size: clamp(44px, 12vw, 72px);
    }

    .photo-hero {
        height: 420px;
        min-height: 420px;
        padding: 0;
        margin-top: 20px;
    }

    .intro,
    .programs,
    .faq,
    .contact {
        padding: 14vw 7vw;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .value {
        border-right: 0;
        border-bottom: 1px solid var(--border-light);
        padding: 35px 7vw;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }

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

    .cards article {
        min-height: 420px;
    }

    .courses-slider {
        padding: 0 5vw 48px;
    }

    .courses-slider .slider-track,
    .courses-slider .slide {
        height: 600px;
    }

    .courses-slider .slide {
        padding: 42px 10% 72px;
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: flex-start;
    }

    .courses-slider .master-copy h2 {
        font-size: 44px;
    }

    .courses-slider .master-side {
        height: auto;
        border-left: 0;
        border-top: 1px solid var(--border-dark);
        padding: 22px 0 0;
        display: grid;
        grid-template-columns: 110px 1fr;
        column-gap: 18px;
        align-items: center;
        width: 100%;
    }

    .courses-slider .big-red {
        font-size: 88px;
        grid-row: span 2;
        margin: 0;
    }

    .courses-slider .master-side>p {
        margin: 0;
        font-size: 11px;
    }

    .courses-slider .slider-cta {
        grid-column: 1 / -1;
        min-width: 0;
        width: max-content;
        max-width: 100%;
        margin-top: 10px;
    }

    .courses-slider .slider-ui .prev,
    .courses-slider .slider-ui .next {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

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

    .photo-method {
        min-height: 430px;
    }

    .method-copy {
        padding: 14vw 7vw;
    }

    .manifesto {
        padding: 14vw 7vw;
    }

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

    footer {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    footer p {
        text-align: center;
    }

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

@media (max-width: 520px) {

    .courses-slider .slider-track,
    .courses-slider .slide {
        height: 660px;
    }

    .courses-slider .slide {
        padding: 34px 12% 72px;
    }

    .courses-slider .master-copy h2 {
        font-size: 38px;
    }

    .courses-slider .master-copy>p {
        font-size: 14px;
    }

    .courses-slider .date b {
        font-size: 18px;
    }

    .courses-slider .slider-ui .prev {
        left: 8px;
    }

    .courses-slider .slider-ui .next {
        right: 8px;
    }
}

/* =========================================================
   SERVICIO DE DOBLAJE LATINO
   ========================================================= */

/* =========================================================
   SERVICIO DE DOBLAJE LATINO
   ========================================================= */

.dubbing-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
    background: #171717;
    overflow: hidden;
}

/* FOTO — derecha */
.dubbing-service-image {
    grid-column: 2;
    grid-row: 1;
    min-height: 620px;
    overflow: hidden;
}

.dubbing-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* TEXTO — izquierda */
.dubbing-service-content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px clamp(40px, 7vw, 110px);
    background: #171717;
}

.dubbing-service-content .kicker {
    color: #f2eee5;
    margin-bottom: 26px;
}

.dubbing-service-content .kicker span {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: #d94b3d;
    margin-right: 10px;
    vertical-align: middle;
}

.dubbing-service-content h2 {
    color: #f2eee5;
    font-size: clamp(42px, 4.5vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 0 0 30px;
    max-width: 570px;
}

.dubbing-service-content p {
    color: rgba(242, 238, 229, 0.72);
    font-size: 18px;
    line-height: 1.65;
    max-width: 480px;
    margin: 0 0 38px;
}

.dubbing-service-content .btn {
    align-self: flex-start;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .dubbing-service {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .dubbing-service-image {
        order: 1;
        min-height: 390px;
        width: 100%;
    }

    .dubbing-service-content {
        order: 2;
        padding: 60px 28px 70px;
    }

    .dubbing-service-content h2 {
        font-size: clamp(38px, 10vw, 54px);
    }

    .dubbing-service-content p {
        font-size: 17px;
    }
}

.dubbing-service {
    grid-template-columns: 1fr;
}

.dubbing-service-image {
    min-height: 360px;
}

.dubbing-service-content {
    padding: 60px 28px 70px;
}

.dubbing-service-content h2 {
    font-size: clamp(36px, 10vw, 52px);
}
}