:root {
    --studio-blue: #2f3977;
    --studio-orange: #f45a3c;
    --studio-light: #efefef;
    --studio-text: #1b1b1b;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--studio-text);
    background: #ffffff;
}

a {
    text-decoration: none;
}

.studio-header .navbar {
    min-height: 84px;
}

.studio-logo {
    max-height: 42px;
    width: 100%;
}

.navbar-nav .nav-link {
    color: #111;
    font-weight: 600;
    font-size: 15px;
}

.navbar-nav .nav-link:hover {
    color: var(--studio-orange);
}

.btn-studio-primary, .btn-brand {
    background: var(--studio-orange);
    color: #fff;
    border: 2px solid var(--studio-orange);
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 5px 12px rgba(244, 90, 60, 0.25);
}

.btn-studio-primary:hover {
    background: #db4a2f;
    border-color: #db4a2f;
    color: #fff;
}

.btn-studio-secondary {
    background: var(--studio-blue);
    color: #fff;
    border: 2px solid var(--studio-blue);
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 5px 12px #2f39773d;
}

.btn-studio-secondary:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--studio-blue);
}

.btn-studio-outline {
    background: #fff;
    color: var(--studio-blue);
    border: 2px solid var(--studio-blue);
    border-radius: 12px;
    font-weight: 700;
}

.btn-studio-outline:hover {
    background: var(--studio-blue);
    color: #fff;
}

.hero-home {
    background: #f1f1f1;
}

.hero-copy {
    min-height: 470px;
    padding: 40px 28px;
}

.hero-copy-inner {
    max-width: 460px;
    margin: 0 auto;
}

.hero-copy h1 {
    color: var(--studio-blue);
    font-size: 3.5rem;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 28px;
}

.hero-copy p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 32px;
    color: #444;
}

.hero-image-wrap {
    height: 100%;
}

.hero-image {
    height: 100%;
    min-height: 470px;
    object-fit: cover;
}

.section-light {
    background: #efefef;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
}

.service-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px 18px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 14px;
}

.service-card p {
    font-weight: 500;
    font-size: 1rem;
}

.audience-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.audience-list {
    padding-left: 18px;
    margin-bottom: 0;
}

.audience-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.45;
}

.process-line {
    display: flex;
    align-items: center;
    margin-top: 34px;
    flex-wrap: nowrap;
    gap: 6px;
}

.process-step {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-dark {
    background: var(--studio-blue);
    color: #fff;
}

.step-orange {
    background: #fff;
    color: var(--studio-orange);
    border: 3px solid var(--studio-orange);
}

.step-light {
    background: #fff;
    color: var(--studio-blue);
    border: 3px solid #9ca3c7;
}

.step-orange-outline {
    background: #fff;
    color: var(--studio-orange);
    border: 3px solid var(--studio-orange);
}

.process-connector {
    height: 3px;
    background: #7c85b3;
    flex: 1;
    min-width: 28px;
}

.process-arrow {
    color: var(--studio-orange);
    font-size: 2rem;
    font-weight: 800;
    margin-left: 6px;
}

.process-labels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 14px;
    font-size: 0.95rem;
    color: #333;
    text-align: center;
}

.case-card {
    background: #fff;
    border: 1px solid #dcdcdc;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.case-tag {
    background: var(--studio-orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 14px;
    display: inline-block;
    position: absolute;
    z-index: 2;
    border-bottom-right-radius: 14px;
}

.case-card {
    position: relative;
}

.case-img {
    height: 230px;
    object-fit: cover;
}

.package-img {
    height: 500px;
    object-fit: cover;
    margin-bottom: 10px;
}


.case-body {
    padding: 16px 16px 18px;
}

.case-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
}

.case-body p {
    font-size: 0.92rem;
    line-height: 1.45;
    color: #444;
}

.case-body ul {
    padding-left: 18px;
    margin-bottom: 0;
}

.case-body ul li {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.studio-footer {
    background: var(--studio-blue);
}

.footer-logo {
    max-width: 230px;
    width: 100%;
    height: auto;
}

.social-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--studio-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.footer-link {
    color: #fff;
    font-weight: 500;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .hero-copy {
        min-height: auto;
        padding: 50px 22px;
    }

    .hero-copy h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        min-height: 320px;
    }

    .process-labels {
        font-size: 0.82rem;
    }
}

@media (max-width: 767.98px) {
    .hero-copy h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .audience-title {
        font-size: 1.4rem;
    }

    .process-line {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .process-labels {
        grid-template-columns: repeat(5, minmax(90px, 1fr));
        overflow-x: auto;
    }
}

.internal-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
}

.internal-badge {
    display: inline-block;
    background: rgba(47, 57, 119, 0.1);
    color: var(--studio-blue);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
}

.internal-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--studio-blue);
    margin-bottom: 18px;
}

.internal-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4b4b4b;
    margin-bottom: 0;
}

.internal-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.card-servicios {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.internal-card h3,
.package-card h3
.card-servicios h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #111;
}

.internal-card p,
.package-card p,
.card-servicios p {
    color: #4b4b4b;
    line-height: 1.55;
    margin-bottom: 0;
}

.text-card-servicios {
    padding: 0 24px 28px 24px;
    margin-top: -25px;
}

.package-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px 24px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.package-card.featured {
    border: 2px solid var(--studio-orange);
    transform: translateY(-4px);
}

.package-tag {
    display: inline-block;
    background: var(--studio-orange);
    color: #fff;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    margin-bottom: 16px;
}

.package-tag-2 {
    display: inline-block;
    background-color: #5b5b5b;
    border: #5b5b5b 2px solid;
    color: #fff;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    margin-bottom: 16px;
}

.package-tag-2:hover {
    background-color: var(--studio-orange);
}


.package-card ul {
    padding-left: 18px;
    margin-top: 18px;
    margin-bottom: 0;
}

.package-card ul li {
    margin-bottom: 8px;
}

@media (max-width: 767.98px) {
    .internal-title {
        font-size: 2.2rem;
    }

    .internal-text {
        font-size: 1rem;
    }
}

.service-check-list,
.service-list {
    padding-left: 18px;
    margin-bottom: 0;
}

.service-check-list li,
.service-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.service-number {
    display: inline-block;
    background: rgb(255 255 255);
    color: var(--studio-blue);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.service-number-2 {
    display: inline-block;
    background: var(--studio-blue);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.package-card .btn {
    border-radius: 12px;
    font-weight: 700;
    padding-top: 12px;
    padding-bottom: 12px;
}

.package-card ul li {
    line-height: 1.5;
}

.package-card p.small {
    line-height: 1.5;
}

.diagnostic-form-card .form-label {
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.diagnostic-form-card .form-control,
.diagnostic-form-card .form-select {
    border-radius: 14px;
    border: 1px solid #d9d9d9;
    padding-left: 16px;
    padding-right: 16px;
}

.diagnostic-form-card textarea.form-control {
    border-radius: 16px;
    resize: vertical;
}

.diagnostic-form-card .form-control:focus,
.diagnostic-form-card .form-select:focus {
    border-color: var(--studio-orange);
    box-shadow: 0 0 0 0.2rem rgba(244, 90, 60, 0.15);
}

.diagnostic-form-card {
    border-radius: 24px;
}

/* ===== HOME RESUMEN / BLOQUES INTRODUCTORIOS ===== */

.section-white {
    background: #ffffff;
}

.summary-block {
    margin-bottom: 1.5rem;
}

.summary-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--studio-orange);
    margin-bottom: 0.65rem;
}

.summary-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--studio-blue);
}

.summary-text {
    color: #5f6472;
    line-height: 1.7;
}

.home-resume-card {
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.img-tajeta {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 22px 22px 0 0;
    margin-bottom: 10px;
    box-shadow: #5c5c5c 2px 2px 14px 1px;
}

.bg-titulo {
    background-size: cover;
    background-position: center;
}

.section-title-sm {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--studio-blue);
    margin-bottom: 1rem;
}

.resume-list {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
    color: #5f6472;
}

.resume-list li {
    margin-bottom: 0.5rem;
    line-height: 1.55;
}

/* ===== CARRUSEL HORIZONTAL DE TARJETAS ===== */

.cards-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-bottom: 0.5rem;
}

.cards-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: scrollCards 28s linear infinite;
}

.cards-marquee:hover .cards-track {
    animation-play-state: paused;
}

.marquee-card {
    width: 320px;
    min-width: 320px;
    flex: 0 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

@keyframes scrollCards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 0.625rem));
    }
}

/* Ajuste visual opcional para las tarjetas existentes */
.case-card {
    border-radius: 20px;
    overflow: hidden;
}

.case-body {
    padding: 18px 18px 20px;
}

.case-body h3 {
    min-height: 60px;
}

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

@media (max-width: 991.98px) {
    .summary-title {
        font-size: 1.4rem;
    }

    .section-title-sm {
        font-size: 1.5rem;
    }

    .marquee-card {
        width: 280px;
        min-width: 280px;
    }

    .cards-track {
        animation-duration: 24s;
    }
}

@media (max-width: 575.98px) {
    .summary-title {
        font-size: 1.3rem;
    }

    .section-title-sm {
        font-size: 1.3rem;
    }

    .home-resume-card {
        padding: 1.5rem;
    }

    .img-tajeta {
        height: 250px;
    }

    .marquee-card {
        width: 260px;
        min-width: 260px;
    }
}

/* =========================================
   RECURSOS - EMPORIOSPORT STUDIO
========================================= */

.resource-feature-card,
.resource-preview-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(41, 49, 96, 0.08);
}

.resource-feature-card {
    position: relative;
    overflow: hidden;
}

.resource-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(41, 49, 96, 0.04), rgba(239, 75, 55, 0.03));
    pointer-events: none;
}

.resource-feature-content,
.resource-preview-inner {
    position: relative;
    z-index: 1;
}

.resource-tag,
.resource-category,
.resource-preview-label,
.resource-card-type {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    padding: 8px 14px;
}

.resource-tag {
    background: rgba(78, 202, 152, 0.14);
    color: #1f7f5d;
    margin-right: 8px;
}

.resource-category,
.resource-preview-label,
.resource-card-type {
    background: rgba(41, 49, 96, 0.08);
    color: #293160;
}

.resource-title {
    font-size: 2rem;
    line-height: 1.15;
    color: #293160;
    margin-bottom: 18px;
}

.resource-description {
    font-size: 1rem;
    color: #5f6472;
    margin-bottom: 22px;
}

.resource-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 220px;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
}

.resource-download-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.resource-meta {
    color: #7b8090;
    font-size: 0.9rem;
}

.resource-preview-card {
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
}

.resource-preview-sheet {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    max-width: 440px;
    margin: 0 auto;
    box-shadow: 0 18px 40px rgba(41, 49, 96, 0.10);
    border: 1px solid rgba(41, 49, 96, 0.08);
}

.resource-preview-sheet-top {
    width: 72px;
    height: 6px;
    border-radius: 999px;
    background: #ef4b37;
    margin-bottom: 18px;
}

.resource-preview-sheet h3 {
    color: #293160;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.resource-preview-sheet p {
    color: #5f6472;
    margin-bottom: 18px;
}

.resource-preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-preview-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(41, 49, 96, 0.08);
    color: #2b2f3a;
}

.resource-preview-list li span {
    width: 16px;
    height: 16px;
    border: 2px solid #293160;
    border-radius: 4px;
    flex-shrink: 0;
}

.resource-preview-footer {
    margin-top: 22px;
    font-size: 0.9rem;
    color: #7b8090;
    font-weight: 600;
}

.resource-group-title {
    color: #293160;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.resource-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(41, 49, 96, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .25s ease, box-shadow .25s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.resource-card-title {
    font-size: 1.25rem;
    line-height: 1.25;
    color: #293160;
    margin-top: 16px;
    margin-bottom: 12px;
}

.resource-card-text {
    color: #5f6472;
    font-size: .98rem;
    margin-bottom: 24px;
}

.resource-card-footer {
    margin-top: auto;
}

.btn-outline-brand {
    border: 1px solid #293160;
    color: #293160;
    background: transparent;
    border-radius: 999px;
    font-weight: 700;
    padding: 12px 18px;
    transition: all .25s ease;
}

.btn-outline-brand:hover {
    background: #293160;
    color: #fff;
}

.btn-outline-brand:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background: #f3f5f9;
    color: #7b8090;
    border-color: rgba(41, 49, 96, 0.12);
}

.resource-group + .resource-group {
    margin-top: 2.5rem;
}

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

@media (max-width: 991.98px) {
    .resource-title {
        font-size: 1.65rem;
    }

    .resource-feature-card,
    .resource-preview-card,
    .resource-card {
        padding: 24px;
    }

    .resource-group-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .resource-feature-card,
    .resource-preview-card,
    .resource-card {
        padding: 20px;
        border-radius: 18px;
    }

    .resource-title {
        font-size: 1.45rem;
    }

    .resource-preview-sheet {
        padding: 22px;
        border-radius: 16px;
    }

    .resource-card-title {
        font-size: 1.1rem;
    }

    .resource-download-btn,
    .btn-outline-brand {
        width: 100%;
        min-width: auto;
    }
}

.resource-modal-content {
    border-radius: 20px;
    border: 1px solid rgba(41, 49, 96, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.resource-modal-text {
    color: #5f6472;
}

.resource-form-message {
    border-radius: 14px;
    font-size: 0.95rem;
}

.icon-card {
    width: 50px;
    height: 50px;
    color: #f45a3c;
}

.hero-home {
    position: relative;
    overflow: hidden;
}

.hero-home .carousel-item {
    min-height: 640px;
}

.hero-slide-row {
    min-height: 640px;
}

.hero-copy-col {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-copy {
    padding: 4rem 3rem;
}

.hero-copy-inner {
    max-width: 540px;
    margin: 0 auto;
}

.hero-home h1 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.05;
    font-weight: 800;
    color: #293160;
    margin-bottom: 1.5rem;
}

.hero-home .package-tag-2 {
    display: inline-block;
    margin: 0 8px 12px 0;
}

.hero-home p {
    font-size: 1.35rem;
    line-height: 1.5;
    color: #222;
    margin: 1rem 0 2rem;
}

.hero-image-wrap {
    height: 100%;
    min-height: 640px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-control {
    width: 5%;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hero-home:hover .hero-control {
    opacity: 1;
}

.hero-control .carousel-control-prev-icon,
.hero-control .carousel-control-next-icon {
    background-color: rgba(41, 49, 96, 0.65);
    border-radius: 50%;
    background-size: 55% 55%;
    width: 42px;
    height: 42px;
}

.hero-indicators {
    margin-bottom: 1.25rem;
}

.hero-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background-color: #293160 !important;
    opacity: .35;
}

.hero-indicators .active {
    opacity: 1;
    background-color: #ef4b37 !important;
}

@media (max-width: 991.98px) {
    .hero-home .carousel-item,
    .hero-slide-row {
        min-height: auto;
    }

    .hero-copy {
        padding: 3rem 1.5rem 2rem;
    }

    .hero-copy-inner {
        max-width: 100%;
    }

    .hero-home h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-home p {
        font-size: 1.1rem;
    }

    .hero-image-wrap {
        min-height: auto;
        height: auto;
    }

    .hero-image {
        height: auto;
        object-fit: cover;
    }

    .hero-control {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-copy {
        padding: 2.5rem 1.25rem 1.75rem;
    }

    .hero-home .btn-lg {
        width: 100%;
    }
}