:root {
            --primary-color: #3fd3ff;
            --primary-dark: #2bb8d9;
            --bg-dark: #0a0a0a;
            --bg-secondary: #1a1a1a;
            --bg-card: #2a2a2a;
            --text-light: #ffffff;
            --text-muted: #b0b0b0;
            --gradient-primary: linear-gradient(135deg, #3fd2ff95 0%, #2bb9d995 100%);
            --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Anton', sans-serif;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-light);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 4px;
        }

        /* Navigation */
        .custom-navbar {
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            padding: 1rem 0;
        }

        .navbar-brand {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-light) !important;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .navbar-brand .logo {
            height: 40px;
            width: auto;
            max-width: 50px;
            object-fit: contain;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .navbar-brand:hover .logo {
            transform: scale(1.1);
        }

        .navbar-brand .brand-text {
            display: inline-block;
            font-size: 1rem;
            color: white !important;
            vertical-align: middle;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nav-link {
            color: var(--text-muted) !important;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary-color) !important;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: var(--gradient-primary);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Buttons */
        .btn-primary {
            background: var(--gradient-primary);
            border: none;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 12px 30px;
            border-radius: 50px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(63, 211, 255, 0.3);
        }

        .cta-btn {
            position: relative;
            z-index: 1;
        }

        .cta-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
            z-index: -1;
        }

        .cta-btn:hover::before {
            left: 100%;
        }

        .pulse-btn {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(63, 211, 255, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(63, 211, 255, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(63, 211, 255, 0);
            }
        }

        /* Hero Section */
        .hero-section {
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-top: 80px;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 50%, rgba(63, 211, 255, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .hero-title {
            font-size: 4rem;
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 2rem;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: var(--text-muted);
            max-width: 500px;
        }

        .glow-text {
            text-shadow: 0 0 20px rgba(63, 211, 255, 0.5);
        }

        /* Video Styles */
        .video-container {
            position: relative;
            width: 100%;
            padding-top: 56.25%;
        }
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 20px;
            border: 2px solid rgba(63, 211, 255, 0.3);
            transition: all 0.3s ease;
        }

        .video-container iframe:hover {
            border-color: var(--primary-color);
            transform: scale(1.02);
            box-shadow: 0 10px 30px rgba(63, 211, 255, 0.3);
        }

        .video-frame {
            width: 100%;
            height: auto;
            border-radius: 20px;
            border: 2px solid rgba(63, 211, 255, 0.3);
            transition: all 0.3s ease;
        }

        .video-frame:hover {
            border-color: var(--primary-color);
            transform: scale(1.02);
            box-shadow: 0 10px 30px rgba(63, 211, 255, 0.3);
        }

        .video-testimonial-card {
            background: var(--bg-card);
            border-radius: 20px;
            overflow: hidden;
            transition: transform 0.3s ease;
            border: 1px solid rgba(63, 211, 255, 0.1);
        }

        .video-testimonial-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary-color);
            box-shadow: 0 20px 40px rgba(63, 211, 255, 0.2);
        }

        .video-testimonial-card iframe {
            width: 100%;
            height: 250px;
            border: none;
        }

        .video-testimonial-card h5 {
            padding: 1rem;
            margin: 0;
            color: var(--text-light);
            font-weight: 600;
        }

        /* Stats Section */
        .stats-section {
            padding: 4rem 0;
            background: rgba(23, 23, 23, 0.8);
            backdrop-filter: blur(10px);
        }

        .stat-card {
            padding: 2rem;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-10px);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 900;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 1.1rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* About Section */
        .about-section {
            padding: 6rem 0;
        }

        .section-title {
            font-size: 3rem;
            font-weight: 900;
            margin-bottom: 2rem;
        }

        .highlight-text {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .transformation-showcase {
            padding: 1rem;
        }

        .before-after-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0rem;
        }

        .transformation-card {
            max-width: 55%;
            flex: 1;
            position: relative;
        }

        .transformation-card,
            .testimonial-card {
            width: 100%;
            max-width: 420px; /* o el ancho que usas normalmente */
            margin: 0 auto;
            box-sizing: border-box;
        }

        /* Animated Labels for Before/After */
        .transformation-label {
            position: absolute;
            top: -40px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary-color);
            color: #000;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
            animation: blinkLabel 2s infinite;
            z-index: 10;
            box-shadow: 0 4px 15px rgba(63, 211, 255, 0.4);
        }

        @keyframes blinkLabel {
            0%, 50% {
                opacity: 1;
                transform: translateX(-50%) scale(1);
            }
            25% {
                opacity: 0.7;
                transform: translateX(-50%) scale(1.05);
            }
            75% {
                opacity: 0.8;
                transform: translateX(-50%) scale(0.95);
            }
        }
        
        .transformation-img {
            width: 350px;
            height: 350px;
            margin: 0 auto 1rem;
            overflow: hidden;
            border: 3px solid var(--primary-color);
            position: relative;
        }

        .image-placeholder img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .image-placeholder {
            background: var(--bg-card);
            border-radius: 15px;
            aspect-ratio: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border: 2px solid rgba(63, 211, 255, 0.2);
            transition: all 0.3s ease;
        }

        .image-placeholder:hover {
            border-color: var(--primary-color);
            transform: scale(1.05);
        }

        .transformation-description {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-top: 1rem;
        }

        .arrow-container {
            font-size: 2rem;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(0);
            }
            40% {
                transform: translateX(-10px);
            }
            60% {
                transform: translateX(-5px);
            }
        }

        .mini-stat h5 {
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        /* Results Section */
        .results-section {
            background: var(--bg-dark);
            padding: 6rem 0;
        }

        .testimonial-card {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(63, 211, 255, 0.1);
            height: 100%;
        }

        .testimonial-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary-color);
            box-shadow: 0 20px 40px rgba(63, 211, 255, 0.1);
        }

        .client-image {
            width: 100%;
            max-width: 320px;
            aspect-ratio: 1 / 1;
            margin: 0 auto 1rem;
            overflow: hidden;
            border: 3px solid var(--primary-color);
            position: relative;
            border-radius: 15px;
        }

        .client-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
            display: block;
        }

        .client-image:hover img {
            transform: scale(1.1);
        }

        .client-image i {
            font-size: 4rem;
            color: var(--primary-color);
            line-height: 80px;
        }

        .client-name {
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .client-age {
            color: var(--text-muted);
            margin-bottom: 1rem;
        }

        .testimonial-text {
            font-style: italic;
            line-height: 1.6;
        }

        /* Method Section */
        .method-section {
            background: var(--bg-secondary);
            padding: 6rem 0;
        }

        .method-card {
            background: var(--bg-card);
            padding: 2.5rem;
            border-radius: 20px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(63, 211, 255, 0.1);
            height: 100%;
        }

        .method-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary-color);
            box-shadow: 0 20px 40px rgba(63, 211, 255, 0.1);
        }

        .method-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
        }

        .method-icon i {
            font-size: 2rem;
            color: white;
        }

        .method-card h4 {
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .method-features {
            list-style: none;
            text-align: left;
            margin-top: 1.5rem;
        }

        .method-features li {
            padding: 0.5rem 0;
            display: flex;
            align-items: center;
        }

        .method-features i {
            margin-right: 0.5rem;
        }

        /* Apply Section */
        .apply-section {
            background: var(--gradient-dark);
            padding: 6rem 0;
            position: relative;
        }

        .apply-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, rgba(63, 211, 255, 0.1) 0%, transparent 70%);
            pointer-events: none;
        }

        .apply-content {
            position: relative;
            z-index: 1;
        }

        /* Footer */
        .footer {
            background: var(--bg-dark);
            border-top: 1px solid rgba(63, 211, 255, 0.2);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            justify-content: flex-end;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background: var(--bg-card);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }

        /* Animations */
        .animate-fade-in {
            animation: fadeIn 1s ease-out;
        }

        .animate-slide-in {
            animation: slideIn 1s ease-out 0.3s both;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .before-after-container {
                flex-direction: column;
                gap: 1rem;
            }

            .transformation-card {
                max-width: 80%;
            }

            .transformation-img{
                height: 300px;
            }
            
            .arrow-container {
                transform: rotate(90deg);
            }
            
            .stats-section {
                padding: 2rem 0;
            }
            
            .stat-number {
                font-size: 2rem;
            }
            
            .social-links {
                justify-content: center;
                margin-top: 1rem;
            }

            .video-testimonial-card iframe {
                height: 200px;
            }

            .navbar-brand {
                font-size: 1.3rem;
            }

            .navbar-brand .logo {
                height: 35px;
            }

            .brand-text {
                font-size: 0.85rem !important;
                max-width: 180px;
                display: inline-block !important;
            }

            .transformation-label {
                top: -25px;
                font-size: 0.8rem;
                padding: 6px 12px;
            }
        }

        @media (max-width: 599px) {
            .transformation-img img{
                width: 550px;
            }
            
            .brand-text {
                font-size: 0.8rem !important;
                max-width: 160px;
                display: inline-block !important;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .method-card,
            .testimonial-card {
                padding: 1.5rem;
            }
            
            .btn-lg {
                padding: 10px 20px;
                font-size: 0.9rem;
            }

            .video-testimonial-card iframe {
                height: 180px;
            }

            .navbar-brand {
                font-size: 1.1rem;
            }

            .navbar-brand .logo {
                height: 30px;
            }

            .brand-text {
                font-size: 0.75rem !important;
                max-width: 140px;
                display: inline-block !important;
            }

            .transformation-card {
                max-width: 90%;
            }
        }

        @media (max-width: 540px) {
            .brand-text {
                font-size: 0.7rem !important;
                max-width: 130px;
                display: inline-block !important;
            }
        }

        @media (max-width: 500px) {
            .hero-subtitle {
                font-size: 1rem;
                text-align: center;
            }

            .method-card,
            .testimonial-card {
                padding: 1.5rem;
            }

            .stat-number {
                font-size: 2rem;
            }

            .transformation-card {
                max-width: 90%;
            }

            .brand-text {
                font-size: 0.65rem !important;
                max-width: 120px;
                display: inline-block !important;
            }
        }

        @media (max-width: 428px) {
            .navbar-brand {
                font-size: 1rem;
                gap: 0.25rem;
            }
            
            .navbar-brand .logo {
                height: 28px;
            }
            
            .brand-text {
                font-size: 0.6rem !important;
                max-width: 110px;
                display: inline-block !important;
            }
        }

        @media (max-width: 410px) {
            .brand-text {
                font-size: 0.58rem !important;
                max-width: 105px;
                display: inline-block !important;
            }
        }

        @media (max-width: 390px) {
            .navbar-brand {
                font-size: 0.95rem;
                gap: 0.2rem;
            }
            
            .navbar-brand .logo {
                height: 26px;
            }
            
            .brand-text {
                font-size: 0.55rem !important;
                max-width: 100px;
                display: inline-block !important;
            }
        }

        @media (max-width: 375px) {
            .navbar-brand {
                font-size: 0.9rem;
                gap: 0.2rem;
            }
            
            .navbar-brand .logo {
                height: 24px;
            }
            
            .brand-text {
                font-size: 0.52rem !important;
                max-width: 95px;
                display: inline-block !important;
            }
        }

        @media (max-width: 360px) {
            .navbar-brand {
                font-size: 0.85rem;
                gap: 0.15rem;
                justify-content: flex-start;
            }
            
            .navbar-brand .logo {
                height: 22px;
            }
            
            .brand-text {
                font-size: 0.5rem !important;
                max-width: 90px;
                display: inline-block !important;
            }
        }

        @media (max-width: 320px) {
            .navbar-brand {
                font-size: 0.8rem;
                gap: 0.1rem;
            }
            
            .navbar-brand .logo {
                height: 20px;
            }
            
            .brand-text {
                font-size: 0.48rem !important;
                max-width: 85px;
                display: inline-block !important;
            }

            
        }

        @media (max-width: 992px) {
            .hero-title {
                font-size: 2.2rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .transformation-img,
            .client-image {
                height: 50px;
            }

            .method-card {
                padding: 2rem;
            }

            .btn-lg {
                padding: 10px 24px;
                font-size: 0.95rem;
            }
        }

        @media (max-width: 400px) {
            .hero-title {
                font-size: 1.8rem;
            }

            .video-testimonial-card iframe {
                height: 160px;
            }

            .stat-number {
                font-size: 1.8rem;
            }

            .client-image,
            .transformation-img {
                height: 400px;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .method-features li {
                font-size: 0.9rem;
            }

            .hero-title {
                font-size: 1.6rem;
                text-align: center;
            }

            .btn-lg {
                padding: 8px 16px;
                font-size: 0.85rem;
            }

            .transformation-img,
            .client-image {
                height: 200px;
            }

            .section-title {
                font-size: 1.6rem;
            }
        }

        @media (min-width: 412px) and (max-width: 499px) {
            .hero-title {
                font-size: 1.6rem;
            }

            .btn-lg {
                font-size: 0.85rem;
                padding: 8px 18px;
            }

            .transformation-img,
            .client-image {
                height: 400px;
                width: 900px;
            }

            .nav-link {
                font-size: 0.9rem;
            }

            .video-testimonial-card iframe {
                height: 170px;
            }
        }

        @media (min-width: 540px) and (max-width: 599px) {
            .hero-title {
                font-size: 1.8rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .transformation-card {
                max-width: 85%;
            }

            .cta-btn {
                font-size: 0.9rem;
                padding: 10px 22px;
            }

            .video-testimonial-card iframe {
                height: 180px;
            }
        }

        @media (min-width: 700px) and (max-width: 799px) {
            .section-title {
                font-size: 2.2rem;
            }

            .hero-title {
                font-size: 2.3rem;
            }

            .before-after-container {
                flex-direction: column;
                gap: 1.5rem;
            }

            .transformation-card {
                max-width: 75%;
            }

            .method-card,
            .testimonial-card {
                padding: 2rem;
            }

            .video-testimonial-card iframe {
                height: 220px;
            }
        }

        @media (min-width: 812px) and (max-width: 899px) {
            .section-title {
                font-size: 2.5rem;
            }

            .hero-title {
                font-size: 2.6rem;
            }

            .transformation-img,
            .client-image {
                height: 300px;
            }

            .btn-lg {
                font-size: 1rem;
                padding: 12px 28px;
            }

            .video-testimonial-card iframe {
                height: 240px;
            }
        }

        @media (max-width: 912px) {
            .hero-title {
                font-size: 2rem;
            }

            .hero-section {
                padding-top: 90px; /* para evitar solapamiento con navbar */
            }

            .arrow-container {
                transform: rotate(90deg);
            }

            .video-testimonial-card iframe {
                height: 180px;
            }
        }

        /* Resolución 920px y alrededores */
        @media (min-width: 900px) and (max-width: 950px) {
            .testimonial-card {
                padding: 2.5rem 2rem;
                max-width: 350px;
                margin: 0 auto;
            }
            
            .client-image {
                max-width: 280px;
                height: 280px;
            }
            
            .testimonial-text {
                font-size: 0.95rem;
                line-height: 1.7;
            }
            
            .client-name {
                font-size: 1.2rem;
            }
            
            .client-age {
                font-size: 1rem;
            }
        }

        /* Resolución 800px y alrededores */
        @media (min-width: 780px) and (max-width: 820px) {
            .testimonial-card {
                padding: 2.2rem 1.8rem;
                max-width: 320px;
                margin: 0 auto;
            }
            
            .client-image {
                max-width: 250px;
                height: 250px;
            }
            
            .testimonial-text {
                font-size: 0.9rem;
                line-height: 1.6;
            }
            
            .client-name {
                font-size: 1.1rem;
            }
            
            .client-age {
                font-size: 0.95rem;
            }
            
            /* Ajustar el grid para que las tarjetas se vean mejor */
            .results-section .row {
                justify-content: center;
            }
            
            .results-section .col-lg-4 {
                flex: 0 0 auto;
                width: 100%;
                max-width: 350px;
                margin-bottom: 2rem;
            }
        }

        /* Resolución 768px */
        @media (min-width: 750px) and (max-width: 780px) {
            .testimonial-card {
                padding: 2rem 1.5rem;
                max-width: 300px;
                margin: 0 auto;
            }
            
            .client-image {
                max-width: 220px;
                height: 220px;
            }
            
            .testimonial-text {
                font-size: 0.85rem;
                line-height: 1.5;
            }
            
            .client-name {
                font-size: 1rem;
            }
            
            .client-age {
                font-size: 0.9rem;
            }
            
            /* Layout en una sola columna para mejor legibilidad */
            .results-section .col-lg-4 {
                flex: 0 0 auto;
                width: 100%;
                max-width: 320px;
                margin: 0 auto 2rem auto;
            }
        }

        /* Resolución 540px y alrededores */
        @media (min-width: 520px) and (max-width: 560px) {
            .testimonial-card {
                padding: 2rem 1.8rem;
                max-width: 400px;
                margin: 0 auto;
            }
            
            .client-image {
                max-width: 200px;
                height: 200px;
            }
            
            .testimonial-text {
                font-size: 0.9rem;
                line-height: 1.6;
                text-align: left;
                padding: 0 0.5rem;
            }
            
            .client-name {
                font-size: 1.1rem;
            }
            
            .client-age {
                font-size: 0.95rem;
            }
            
            /* Una sola columna para mejor legibilidad */
            .results-section .col-lg-4 {
                flex: 0 0 auto;
                width: 100%;
                margin-bottom: 2.5rem;
            }
        }

        /* Mejoras generales para resoluciones intermedias */
        @media (min-width: 500px) and (max-width: 991px) {
            /* Espaciado mejorado entre tarjetas */
            .results-section .row {
                gap: 1.5rem;
                justify-content: center;
            }
            
            /* Mejor alineación del texto */
            .testimonial-text {
                text-align: left;
                padding: 0 0.5rem;
                margin-top: 1rem;
            }
            
            /* Espaciado consistente */
            .client-name {
                margin-bottom: 0.3rem;
                margin-top: 1rem;
            }
            
            .client-age {
                margin-bottom: 1rem;
            }
        }

        /* Para tablets en modo portrait (768px) */
        @media (min-width: 768px) and (max-width: 991px) {
            .results-section .container {
                max-width: 720px;
            }
            
            .testimonial-card {
                min-height: 400px;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }
            
            .testimonial-text {
                flex-grow: 1;
                display: flex;
                align-items: center;
                text-align: center;
            }
        }

        /* Layout especial para 3 columnas en pantallas medianas */
        @media (min-width: 992px) and (max-width: 1199px) {
            .results-section .col-lg-4 {
                flex: 0 0 auto;
                width: 31%;
                margin: 0 1% 2rem 1%;
            }
            
            .testimonial-card {
                padding: 2rem 1.5rem;
                min-height: 450px;
            }
            
            .client-image {
                max-width: 240px;
                height: 240px;
            }
            
            .testimonial-text {
                font-size: 0.9rem;
                line-height: 1.6;
            }
        }

        /* Ajustes adicionales para mejorar la experiencia visual */
        @media (max-width: 991px) {
            /* Centrar todo el contenido */
            .results-section .text-center {
                margin-bottom: 3rem;
            }
            
            /* Mejorar el espaciado vertical */
            .testimonial-card {
                margin-bottom: 2rem;
            }
            
            /* Asegurar que las imágenes mantengan su aspecto */
            .client-image {
                margin: 0 auto 1.5rem auto;
            }
            
            /* Mejor legibilidad del texto */
            .testimonial-text {
                line-height: 1.7;
                margin-top: 1rem;
            }
        }

        /* Resetear las reglas anteriores y usar un enfoque diferente */
        @media (max-width: 991px) {
            .client-image {
                width: 100%;
                max-width: 320px;
                height: auto; /* Altura automática */
                margin: 0 auto 1rem;
                overflow: hidden;
                border: 3px solid var(--primary-color);
                position: relative;
                border-radius: 15px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .client-image img {
                width: 100%;
                height: auto; /* Altura automática basada en el aspecto real de la imagen */
                object-fit: cover; /* Volver a cover pero con altura automática */
                object-position: center;
                display: block;
                max-height: none; /* Sin restricción de altura máxima */
            }
        }

        /* Dispositivos móviles grandes (768px - 576px) */
        @media (max-width: 768px) {
            .client-image {
                max-width: 280px;
            }
        }

        /* Dispositivos móviles medianos (576px y menos) */
        @media (max-width: 576px) {
            .client-image {
                max-width: 260px;
            }
        }

        /* Dispositivos móviles pequeños (480px y menos) */
        @media (max-width: 480px) {
            .client-image {
                max-width: 240px;
            }
        }

        /* Dispositivos muy pequeños (400px y menos) */
        @media (max-width: 400px) {
            .client-image {
                max-width: 220px;
            }
        }

        /* Aplicar lo mismo para las imágenes de transformación */
        @media (max-width: 768px) {
            .transformation-img {
                width: 300px;
                height: auto; /* Altura automática */
                margin: 0 auto 1rem;
                overflow: hidden;
                border: 3px solid var(--primary-color);
                position: relative;
                border-radius: 15px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .image-placeholder img {
                width: 100%;
                height: auto; /* Altura automática */
                object-fit: cover;
                transition: transform 0.3s ease;
                display: block;
            }
        }

        @media (max-width: 576px) {
            .transformation-img {
                width: 260px;
            }
        }

        @media (max-width: 400px) {
            .transformation-img {
                width: 240px;
            }
        }

        /* Ajustar las tarjetas para que se adapten al contenido dinámico */
        @media (max-width: 768px) {
            .testimonial-card {
                padding: 2rem 1.5rem;
                min-height: auto; /* Sin altura mínima fija */
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            
            /* Asegurar espaciado consistente */
            .client-name {
                margin-top: 1rem;
                margin-bottom: 0.5rem;
            }
            
            .client-age {
                margin-bottom: 1rem;
            }
            
            .testimonial-text {
                margin-top: 0;
                flex-grow: 1;
            }
        }

        @media (max-width: 576px) {
            .testimonial-card {
                padding: 1.8rem 1.3rem;
            }
        }

        @media (max-width: 400px) {
            .testimonial-card {
                padding: 1.5rem 1rem;
            }
        }

        /* Alternativa: Si las imágenes siguen teniendo espacios, usar esta solución más agresiva */
        @media (max-width: 768px) {
            .client-image-alternative {
                width: 100%;
                max-width: 280px;
                margin: 0 auto 1rem;
                border: 3px solid var(--primary-color);
                border-radius: 15px;
                overflow: hidden;
                position: relative;
            }
            
            .client-image-alternative img {
                width: 100%;
                height: auto;
                display: block;
                object-fit: contain;
                background: var(--bg-card); /* Fondo que coincida con la tarjeta en lugar de blanco */
            }
        }

        /* Centrar el botón del hero en dispositivos móviles */
        /* Para tablets y dispositivos medianos */
        @media (max-width: 991px) {
            .hero-content {
                text-align: center;
            }
            
            .hero-content .btn {
                display: inline-block;
                margin: 0 auto;
            }
        }

        /* Dispositivos móviles grandes (768px y menos) */
        @media (max-width: 768px) {
            .hero-content {
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }
            
            .hero-title {
                text-align: center;
                margin-bottom: 1.5rem;
            }
            
            .hero-subtitle {
                text-align: center;
                margin: 0 auto 2rem auto;
                max-width: 400px;
            }
            
            .hero-content .cta-btn {
                align-self: center;
                margin: 0 auto;
                display: block;
                width: fit-content;
            }
        }

        /* Dispositivos móviles medianos (576px y menos) */
        @media (max-width: 576px) {
            .hero-content {
                padding: 0 1rem;
                text-align: center;
            }
            
            .hero-title {
                font-size: 2rem;
                text-align: center;
                line-height: 1.2;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
                text-align: center;
                max-width: 350px;
                margin: 0 auto 2rem auto;
            }
            
            .cta-btn {
                font-size: 1rem; 
                padding: 12px 24px; 
                margin: 0 auto !important;
                display: block !important;
                width: fit-content;
                text-align: center;
            }
        }

        /* Dispositivos móviles pequeños (480px y menos) */
        @media (max-width: 480px) {
            .hero-content {
                padding: 0 0.5rem;
            }
            
            .hero-title {
                font-size: 1.8rem;
                margin-bottom: 1rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
                max-width: 320px;
                margin-bottom: 1.5rem;
            }
            
            .cta-btn {
                font-size: 0.95rem; 
                padding: 12px 24px; 
                margin: 0 auto !important;
                display: block !important;
                width: fit-content;
            }
        }

        /* Dispositivos muy pequeños (400px y menos) */
        @media (max-width: 400px) {
            .hero-content {
                padding: 0 0.3rem;
            }
            
            .hero-title {
                font-size: 1.6rem;
                line-height: 1.1;
            }
            
            .hero-subtitle {
                font-size: 0.95rem;
                max-width: 300px;
            }
            
            .cta-btn {
                font-size: 0.9rem; 
                padding: 10px 22px; 
                margin: 0 auto !important;
                display: block !important;
                width: fit-content;
                white-space: nowrap;
            }
        }

        /* Asegurar que el contenedor del hero también esté centrado */
        @media (max-width: 768px) {
            .hero-section .row {
                justify-content: center;
                text-align: center;
            }
            
            .hero-section .col-lg-6:first-child {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
            }
        }

        /* Para pantallas muy pequeñas, ajustar el padding del hero */
        @media (max-width: 360px) {
            .hero-content {
                padding: 0 0.2rem;
            }
            
            .hero-title {
                font-size: 1.5rem;
            }
            
            .hero-subtitle {
                font-size: 0.9rem;
                max-width: 280px;
            }
            
            .cta-btn {
                font-size: 0.85rem; 
                padding: 10px 20px; 
                margin: 0 auto !important;
                display: block !important;
                width: fit-content;
            }
        }

        /* Resolución específica para 320px */
        @media (max-width: 320px) {
            .hero-title {
                font-size: 1.4rem;
                line-height: 1.1;
            }
            
            .hero-subtitle {
                font-size: 0.85rem;
                max-width: 260px;
            }
            
            .cta-btn {
                font-size: 0.8rem; 
                padding: 8px 18px; 
                margin: 0 auto !important;
                display: block !important;
                width: fit-content;
            }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }