* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #1a1a1a;
            line-height: 1.6;
            overflow-x: hidden;
        }

        header {
            background: linear-gradient(135deg, white 0%, white 100%);
            color: #b39560;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        nav {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .logo-img {
            width: 45px;
            height: 45px;
            object-fit: contain;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        nav a {
            color: #b39560;
            text-decoration: none;
            transition: color 0.3s;
            font-weight: 500;
        }

        nav a:hover {
            color: #c5a572;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            outline: none;
        }

        .menu-toggle:focus {
            outline: none;
        }

        .menu-toggle:hover {
            background: none;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: white;
            margin: 3px 0;
            transition: all 0.3s;
            border-radius: 3px;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        .hero {
            padding: 80px 0 0;
            position: relative;
            overflow: hidden;
        }

        .carousel-container {
            position: relative;
            width: 100%;
            height: 600px;
            overflow: hidden;
        }

        .carousel-slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .carousel-slide.active {
            opacity: 1;
        }

        .carousel-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, #363636 0%, #242f407c 100%);
        }

        .carousel-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
            z-index: 2;
            max-width: 800px;
            width: 90%;
        }

        .carousel-content h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .carousel-content p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }

        .cta-button {
            display: inline-block;
            background: #c5a572;
            color: white;
            padding: 1rem 2.5rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            transition: all 0.3s;
        }

        .cta-button:hover {
            background: #b39560;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(197,165,114,0.3);
        }

        .carousel-nav {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 15px;
            z-index: 3;
        }

        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: all 0.3s;
        }

        .carousel-dot.active {
            background: #c5a572;
            width: 40px;
            border-radius: 6px;
        }

        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            font-size: 3rem;
            cursor: pointer;
            z-index: 3;
            transition: all 0.3s;
            outline: none;
        }

        .carousel-arrow:hover {
            color: #c5a572;
            transform: translateY(-50%) scale(1.2);
            background: transparent;
            outline: none;
        }

        .carousel-arrow:focus {
            outline: none;
        }

        .carousel-arrow.prev {
            left: 20px;
        }

        .carousel-arrow.next {
            right: 20px;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        section {
            padding: 20px 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        h2 {
            font-size: 2.5rem;
            margin-bottom: 3rem;
            text-align: center;
            color: #363636;
            position: relative;
        }

        h2::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: #c5a572;
            margin: 1rem auto 0;
        }

        .servicios-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .servicio-card {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s;
            border-top: 4px solid #c5a572;
            cursor: pointer;
        }

        .servicio-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }

        .servicio-card h3 {
            color: #363636;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .servicio-card p {
            color: #555;
        }

        /* ===== INDICADOR "ver más" en las cards ===== */
        .servicio-card .card-ver-mas {
            display: inline-block;
            margin-top: 1rem;
            font-size: 0.85rem;
            color: #c5a572;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: transform 0.2s;
        }
        .servicio-card:hover .card-ver-mas {
            transform: translateX(4px);
        }

        .sobre-mi {
            background: #f8f9fa;
        }

        .sobre-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        .sobre-imagen {
            width: 100%;
            height: 500px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .sobre-imagen img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .sobre-text h3 {
            color: #363636;
            margin-bottom: 1rem;
            font-size: 1.8rem;
        }

        .sobre-text p {
            margin-bottom: 1rem;
            color: #555;
            text-align: justify;
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }

        .stat-item {
            text-align: center;
            padding: 1.5rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #c5a572;
        }

        .stat-label {
            color: #363636;
            font-weight: 500;
        }

        .testimonios {
            background: white;
            padding: 80px 2rem;
        }

        .testimonios-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .testimonio-card {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            position: relative;
            transition: all 0.3s;
        }

        .testimonio-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .testimonio-card::before {
            content: '"';
            font-size: 4rem;
            color: #c5a572;
            position: absolute;
            top: 10px;
            left: 20px;
            opacity: 0.3;
        }

        .testimonio-texto {
            font-style: italic;
            color: #555;
            margin-bottom: 1.5rem;
            line-height: 1.8;
            text-align: justify;
        }

        .testimonio-autor {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .testimonio-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #c5a572;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .testimonio-info h4 {
            color: #363636;
            font-size: 1rem;
            margin-bottom: 0.2rem;
        }

        .testimonio-info p {
            color: #888;
            font-size: 0.9rem;
        }

        .estrellas {
            color: #c5a572;
            margin-bottom: 1rem;
        }

        .contacto {
            background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
            color: white;
        }

        .contacto h2 {
            color: white;
        }

        .contacto h2::after {
            background: #c5a572;
        }

        .contacto-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-top: 2rem;
        }

        .contacto-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .contacto-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            transition: all 0.3s;
        }

        .contacto-item:hover {
            background: rgba(255,255,255,0.15);
            transform: translateX(10px);
        }

        form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        input, textarea {
            padding: 1rem;
            border: none;
            border-radius: 5px;
            font-family: inherit;
            background: rgba(255,255,255,0.9);
        }

        textarea {
            min-height: 150px;
            resize: vertical;
        }

        button {
            background: #c5a572;
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
        }

        button:hover {
            background: #b39560;
            transform: translateY(-2px);
        }

        footer {
            background: #1a1a1a;
            color: white;
            text-align: center;
            padding: 2rem;
        }

        /* ================= WHATSAPP ================= */

        .whatsapp-float img {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background-color: #25d366;
            color: #ffffff;
            border-radius: 50%;
            text-align: center;
            line-height: 60px;
            font-size: 28px;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            z-index: 2000;
        }

        /* ================= MODAL ================= */
        .modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 2000;
            background: rgba(0, 0, 0, 0.50);
            backdrop-filter: blur(3px);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .modal-overlay.activo {
            opacity: 1;
            visibility: visible;
        }

        .modal-contenido {
            background: #fff;
            border-radius: 14px;
            border-top: 4px solid #c5a572;
            max-width: 560px;
            width: 92%;
            max-height: 85vh;
            overflow-y: auto;
            padding: 2.4rem 2.2rem 2rem;
            position: relative;
            box-shadow: 0 20px 60px rgba(0,0,0,0.22);
            transform: translateY(30px) scale(0.96);
            transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .modal-overlay.activo .modal-contenido {
            transform: translateY(0) scale(1);
        }

        /* Botón cierre */
        .modal-cerrar {
            position: absolute;
            top: 14px;
            right: 18px;
            background: none;
            border: none;
            font-size: 1.8rem;
            line-height: 1;
            cursor: pointer;
            color: #aaa;
            padding: 0;
            transition: color 0.2s, transform 0.2s;
        }

        .modal-cerrar:hover {
            color: #c5a572;
            transform: translateY(0) scale(1.15);
            background: none;
        }

        /* Título modal */
        .modal-titulo {
            font-size: 1.6rem;
            color: #363636;
            margin-bottom: 0.5rem;
        }

        /* Descripción breve */
        .modal-desc {
            color: #666;
            font-size: 0.95rem;
            margin-bottom: 1.2rem;
            line-height: 1.6;
        }

        .modal-divider {
            border: none;
            border-top: 1px solid #eee;
            margin-bottom: 1.2rem;
        }

        /* Subtítulo seccion servicios */
        .modal-subtitulo {
            font-size: 0.78rem;
            font-weight: 700;
            color: #c5a572;
            text-transform: uppercase;
            letter-spacing: 1.3px;
            margin-bottom: 0.9rem;
        }

        /* Lista puntos */
        .modal-lista {
            list-style: none;
            padding: 0;
            margin: 0 0 1.6rem;
        }

        .modal-lista li {
            position: relative;
            padding-left: 1.2rem;
            margin-bottom: 0.7rem;
            color: #444;
            font-size: 0.93rem;
            line-height: 1.55;
        }

        .modal-lista li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.58em;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #c5a572;
        }

        /* Banda CTA inferior */
        .modal-cta {
            background: linear-gradient(135deg, #faf6ee, #f0e8d4);
            border-left: 3px solid #c5a572;
            border-radius: 8px;
            padding: 1rem 1.1rem;
        }

        .modal-cta a {
            text-decoration: none;
        }

        .modal-cta p {
            margin: 0;
            color: #5a4a2a;
            font-size: 0.9rem;
            font-weight: 600;
            line-height: 1.5;
        }

        /* ================= RESPONSIVE ================= */
        @media (max-width: 768px) {
            .menu-toggle {
                display: flex;
            }

            nav ul {
                position: fixed;
                top: 70px;
                right: -100%;
                width: 70%;
                height: calc(100vh - 70px);
                background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
                flex-direction: column;
                padding: 2rem;
                gap: 1.5rem;
                transition: right 0.3s ease;
                box-shadow: -5px 0 15px rgba(0,0,0,0.2);
                z-index: 999;
            }

            nav ul.active {
                right: 0;
            }

            nav ul li {
                opacity: 0;
                animation: fadeInRight 0.3s ease forwards;
            }

            nav ul.active li:nth-child(1) { animation-delay: 0.1s; }
            nav ul.active li:nth-child(2) { animation-delay: 0.2s; }
            nav ul.active li:nth-child(3) { animation-delay: 0.3s; }
            nav ul.active li:nth-child(4) { animation-delay: 0.4s; }

            @keyframes fadeInRight {
                from { opacity: 0; transform: translateX(20px); }
                to   { opacity: 1; transform: translateX(0); }
            }

            .logo { font-size: 1.2rem; }

            .carousel-content h1 { font-size: 1.8rem; }
            .carousel-content p  { font-size: 1rem; }
            .carousel-container  { height: 400px; }

            .carousel-arrow      { width: 40px; height: 40px; font-size: 2rem; }
            .carousel-arrow.prev { left: 10px; }
            .carousel-arrow.next { right: 10px; }

            h2 { font-size: 2rem; }

            .servicios-grid { grid-template-columns: 1fr; }
            .sobre-content, .contacto-grid { grid-template-columns: 1fr; }
            .stats { grid-template-columns: 1fr; }
            .sobre-imagen { height: 350px; }
            .testimonios-grid { grid-template-columns: 1fr; }

            section { padding: 60px 1.5rem; }

            .cta-button { padding: 0.8rem 2rem; font-size: 0.9rem; }

            /* Modal responsive */
            .modal-contenido { padding: 2rem 1.4rem 1.6rem; }
        }

        @media (max-width: 480px) {
            .logo { font-size: 1rem; }
            .carousel-content h1 { font-size: 1.5rem; }
            .carousel-content p  { font-size: 0.9rem; }
            .carousel-container  { height: 350px; }
            h2 { font-size: 1.8rem; }
            .stat-number { font-size: 2rem; }
            .servicio-card, .testimonio-card { padding: 1.5rem; }
        }
        /* ================= MODAL DE VIDEO ================= */
        .video-modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 3000;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
            padding: 1rem;
        }

        .video-modal-overlay.activo {
            opacity: 1;
            visibility: visible;
        }

        .video-modal-contenido {
            background: #fff;
            border-radius: 16px;
            border-top: 4px solid #c5a572;
            width: 100%;
            max-width: 460px;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
            overflow: hidden;
            position: relative;
            transform: translateY(40px) scale(0.96);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .video-modal-overlay.activo .video-modal-contenido {
            transform: translateY(0) scale(1);
        }

        /* Botón cerrar */
        .video-modal-cerrar {
            position: absolute;
            top: 12px;
            right: 16px;
            background: rgba(255,255,255,0.9);
            border: none;
            font-size: 1.6rem;
            line-height: 1;
            cursor: pointer;
            color: #888;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: color 0.2s, background 0.2s, transform 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            padding: 0;
        }

        .video-modal-cerrar:hover {
            color: #c5a572;
            background: #fff;
            transform: scale(1.15);
        }

        /* Encabezado */
        .video-modal-header {
            padding: 1.6rem 1.8rem 1rem;
            background: linear-gradient(135deg, #faf6ee, #f0e8d4);
        }

        .video-modal-badge {
            display: inline-block;
            background: #c5a572;
            color: #fff;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.4px;
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            margin-bottom: 0.5rem;
        }

        .video-modal-titulo {
            font-size: 1.35rem;
            color: #363636;
            font-weight: 700;
            margin: 0;
        }

        /* Contenedor del video 16:9 */
        .video-wrapper {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 */
            background: #000;
        }

        .video-wrapper video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            display: block;
            object-fit: contain;
        }

        /* Footer con CTA */
        .video-modal-footer {
            padding: 1.2rem 1.8rem;
            background: #fff;
            display: flex;
            justify-content: center;
            border-top: 1px solid #f0e8d4;
        }

        .video-cta-button {
            display: inline-block;
            background: #c5a572;
            color: #fff;
            padding: 0.85rem 2.2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.95rem;
            transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
        }

        .video-cta-button:hover {
            background: #b39560;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(197, 165, 114, 0.35);
        }

        /* Responsive modal video */
        @media (max-width: 768px) {
            .video-modal-header {
                padding: 1.2rem 1.2rem 0.8rem;
            }
            .video-modal-titulo {
                font-size: 1.1rem;
            }
            .video-modal-footer {
                padding: 1rem 1.2rem;
            }
            .video-cta-button {
                width: 100%;
                text-align: center;
                padding: 0.85rem 1rem;
            }
        }

        @media (max-width: 480px) {
            .video-modal-cerrar {
                top: 8px;
                right: 10px;
                width: 32px;
                height: 32px;
                font-size: 1.3rem;
            }
            .video-modal-titulo {
                font-size: 1rem;
            }
        }

        /* ================= CARTA DE RECOMENDACIÓN / PDF ================= */
        .certificados {
            background: #f8f9fa;
            max-width: 100%;
            padding: 80px 2rem;
        }

        .certificados h2 {
            max-width: 1200px;
            margin: 0 auto 3rem;
        }

        .pdf-container {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0,0,0,0.12);
            border-top: 4px solid #c5a572;
            background: #fff;
            height: 600px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }

        @media (max-width: 768px) {
            .pdf-container { height: 450px; }
        }

        @media (max-width: 480px) {
            .pdf-container { height: 370px; }
        }