@import url('https://fonts.googleapis.com/css2?family=Lily+Script+One&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');


* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Tinos", system-ui;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
            background: linear-gradient(188deg, #fffbfe, #e6cecd);
        }
.logo img {
    max-width: 155px;
    position: absolute;
    border: solid 9px #448397;
    border-radius: 86px;
    top: 3px;
    box-sizing: border-box;
    /* image-rendering: pixelated; */
    filter: saturate(1.2);
}
        /* Header fijo */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgb(61 199 209 / 51%);
            backdrop-filter: blur(4px);
            z-index: 1000;
            padding: 0.5rem 0;
            transition: all 0.3s ease;
        }

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            min-height: 60px;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: #2c5aa0;
            box-sizing: border-box;
            width: 86px;
        }

        .nav-links {
            display: none;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: #ffffff;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #2c5aa0;
        }

        .cta-header {
            background: linear-gradient(63deg, #e9c8c5, #fce5e2);
            color: #253359;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 50px;
            font-weight: bold;
            border: solid 2px #ffffff;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cta-header:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, rgb(56 53 89), rgb(8 19 24 / 19%)), url(../images/hero1.jpg);
            min-height: 100vh;
            display: flex;
            align-items: center;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="36" cy="42" r="2"/><circle cx="12" cy="18" r="2"/></g></svg>');
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 8rem 2rem 4rem;
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            margin-bottom: 1rem;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .hero-subtitle {
            font-size: 1.9rem;
            margin-bottom: 2rem;
            opacity: 0.95;
            font-weight: 300;
        }

        .hero-ctas {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary, .btn-secondary {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background: linear-gradient(-88deg, #33b5a2, #236267);
            color: #ffffff;
            border: solid 2px #53709b;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid #dabfa0;
        }

        .btn-secondary:hover {
            background: white;
            color: #2c5aa0;
        }

        /* Secciones principales */
        .section {
            padding: 5rem 2rem;
            max-width: 1300px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            color: #c5a684;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 2px;
        }

        /* Quiénes Somos */
        .about {
            background: linear-gradient(135deg, #f8f9ff, #e8efff);
            box-shadow: 1px 1px 22px #2431513d;
            border-radius: 24px;
            margin: 0 auto 51px;
        }

        .about-content {
            text-align: center;
            font-size: 1.2rem;
            line-height: 1.8;
            margin-bottom: 6rem;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .feature {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.1);
            text-align: center;
            transition: transform 0.3s ease;
        }

        .feature:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 2rem;
            margin-bottom: 0rem;
            margin: -90px 0 0 0;
        }

        /* Servicios */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .service-card {
            background: linear-gradient(-2deg, #144f56c7, #4b8289);
            border-radius: 16px;
            padding: 1.7rem;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            /* border-left: 5px solid transparent; */
            margin-top: 50px;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        }

        .service-card.corporate {
           border-top: #e5e5dd solid 135px;
        }

        .service-card.social {
            border-top: #bdbfa1 solid 135px;
        }

        .service-card.political {
           border-top: #e1b597 solid 135px;
        }

        .service-card.commemorative {
           border-top: #e3d8c5 solid 135px;
        }

        .service-card.cultural {
            border-top: #d6e3c6 solid 135px;
        }

        .service-icon {
            font-size: 2.5rem;
            margin-bottom: -0.4rem;
            margin-top: -153px;
            position: absolute;
            left: -30px;
            top: 2px;
            width: 100%;
        }

        .service-card h3 {
            font-size: 1.4rem;
            margin-bottom: 1.8rem;
            color: #011218;
            position: absolute;
            left: 0;
            top: 0;
            width: calc(100% - 0px);
            padding: 56px 0 0 186px;
            line-height: 1;
            box-sizing: border-box;
            /* font-family: "Lily Script One", cursive; */
        }

        .service-list {
            list-style: none;
            margin: 1rem 0;
        }

        .service-list li {
            padding: 0.3rem 0;
            padding-left: 1.5rem;
            position: relative;
            color: #fff;
        }

        .service-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: #dabfa0;
            font-weight: bold;
        }

        .service-tagline {
            font-style: italic;
            color: #ffffff;
            margin-top: 1rem;
            font-size: 0.9rem;
            font-weight: 700;
        }

        /* Compromiso */
        .commitment {
            background: linear-gradient(135deg, #cef3eb, #b4d3dd);
            background-image: url("../images/fondo2.jpg");
            color: #0e173b;
            text-align: center;
        }

        .commitment-features {
            display: flex;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
            margin: 3rem 0;
        }

        .commitment-feature {
            text-align: center;
        }

        .commitment-feature .icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .slogan {
            font-size: 2rem;
            font-weight: bold;
            font-family: "Lily Script One", cursive;
            color: #0b5f68;
            margin-top: 2rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Galería */
        .gallery {
            background: #f8f9fa;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
          .gallery-item:nth-child(1) {
           background-image: url("../images/galeria1.jpg"); 
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
       .gallery-item:nth-child(2) {
             background-image: url("../images/galeria3.jpg"); 
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
       .gallery-item:nth-child(3) {
             background-image: url(../images/galeria2.jpg); 
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
       .gallery-item:nth-child(4) {
             background-image: url(../images/libro.jpg); 
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
       .gallery-item:nth-child(1) {
             background-image: url(../images/galeria1.jpg); 
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
  .gallery-item:nth-child(5) {
             background-image: url(../images/xv.png); 
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
  .gallery-item:nth-child(6) {
             background-image: url(../images/galeria5.jpg); 
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
         .gallery-item {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
            height: 250px;
            background-size: cover;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            font-weight: bold;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
       

        .gallery-item:hover {
            transform: scale(1.05);
        }

        /* Contacto */
        .contact {
            background: linear-gradient(135deg, #f8f9ff, #e8efff);
        }

        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background: white;
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.1);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: bold;
            color: #2c5aa0;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #667eea;
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }

        .whatsapp-section {
            text-align: center;
            margin-top: 2rem;
            padding: 2rem;
            background: linear-gradient(135deg, #8db39b, #128c7e);
            color: white;
            border-radius: 15px;
            font-family:   sans-serif;
        }

        .whatsapp-btn {
            background: white;
            color: #25d366;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: bold;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            font-family: sans-serif;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .whatsapp-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }

        /* WhatsApp flotante */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: #3ab166;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            cursor: pointer;
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
        }

        /* Footer */
        .footer {
            background: #2c3e50;
            color: white;
            padding: 3rem 2rem 2rem;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-features {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: #667eea;
        }



.feature-icon img {
    max-width: 177px;
    width: 90%;
    border: solid 8px #fff;
    border-radius: 99px;
    box-shadow: 0 8px 14px #0d1c241a;
}

.service-icon img {
    width: 198px;
    border-radius: 9px;
}

.commitment-feature img {
    width: 229px;
    border-radius: 9px;
}


section#services {
    background: #ffffff;
}

section.section.commitment h2 {
    color: #20666c !important;
}
 .service-card {
    position: relative;
}
.hero-content.fade-in.visible h1 {
    font-family: "Lily Script One",cursive;
    anchor-name: none;
}

.fade-in.visible p {
    line-height: 1.2;
    max-width: 903px;
    margin: 0 auto 21px;
    width: 100% !important;
}

.feature h3 {
    line-height: 1;
    margin: 0 0 14px 0;
}



.gallery-item > div {
    text-shadow: 2px 3px 3px #000;
}

.whatsapp-float span {
    width: 82px;
    height: 87px;
    background: url("../images/whatsapp.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 42px;
}
.whatsapp-btn img {
    width: 25px;
    filter: invert(0.4) sepia(1.1) hue-rotate(
91deg);
}
  /* Indicadores del slideshow (opcional) */
        .slideshow-indicators {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 4;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .indicator.active {
            background: white;
        }

        /* Contenedor del slideshow */
        .hero-slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        /* Imágenes del slideshow */
        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .hero-slide.active {
            opacity: 1;
        }

        /* Overlay para mejor legibilidad del texto */
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 2;
        }

        /* Contenido del hero */
        .hero-content {
            position: relative;
            z-index: 3;
            text-align: center;
            max-width: 800px;
            padding: 0 20px;
        }
       /* ANIMACIONES ARREGLADAS */
        .fade-in {
            opacity: 1 !important;
            transform: translateY(0) !important;
            transition: all 0.8s ease;
        }

        .fade-in-animate {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .fade-in-animate.visible {
            opacity: 1;
            transform: translateY(0);
        }





 
.contact-info {
  margin: 0 auto;
  display: block;
  position: relative;
  width: 95%;
  max-width: 898px;
  /* background: #ddd; */
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #292222;
  text-align: center;
}

.contact-method {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  width: 32%;
  margin: 0 auto 44px;
  padding-left: 8%;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #5a8e92;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.2rem;
}

.contact-text h4 {
  margin-bottom: 0.2rem;
  color: #226073;
}

.contact-text p, .contact-text a {
  color: #242121;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1em;
}

.contact-text a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-3px);
}

.contact-method .contact-icon i img {
    width: 29px;
    margin: 7px 0px 0 0;
    text-align: center;
}

.contact-method:nth-child(2) .contact-icon i img {
    width: 21px !important;
}








        /* Responsive */
        @media (min-width: 768px) {
            .nav-links {
                display: flex;
            }
        }

        @media (max-width: 767px) {
            .hero-content {
                padding: 6rem 1rem 2rem;
            }
.contact-method {
    display: flex;
    width: 90%;
}
.logo img {
    max-width: 119px;
}
            .section {
                padding: 3rem 1rem;
            }

            .hero-ctas {
                flex-direction: column;
                align-items: center;
            }

            .btn-primary, .btn-secondary {
                width: 100%;
                max-width: 300px;
            }

            .commitment-features {
                gap: 2rem;
            }

            .whatsapp-float {
                bottom: 20px;
                right: 20px;
                width: 50px;
                height: 50px;
            }

            .contact-form {
                margin: 20px;
                padding: 25px;
            }
            
            .form-buttons {
                flex-direction: column;
            }
            
            .btn {
                min-width: auto;
                width: 100%;
            }
        }
 

 
        .ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            transform: scale(0);
            animation: ripple-animation 0.6s linear;
            pointer-events: none;
        }

        @keyframes ripple-animation {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }
 
        .btn-primary:focus,
        .btn-secondary:focus,
        .cta-header:focus {
            outline: 3px solid #667eea;
            outline-offset: 2px;
        }
 
        * {
            transition: all 0.3s ease;
        }
 
        body:not(.loaded) .fade-in {
            opacity: 0;
        }
 
        @media (max-width: 767px) {
            .mobile .hero {
                transform: none !important;  
            }
            
            .mobile .section {
                scroll-margin-top: 80px; 
            }
        }
 
        .gallery-item {
            position: relative;
            overflow: hidden;
        }

        .gallery-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.1);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-item:hover::before {
            opacity: 1;
        }

        /* Mejoras de performance */
        .hero, .section {
            will-change: transform;
        }

        /* Dark mode support (básico) */
        @media (prefers-color-scheme: dark) {
            :root {
                --text-color: #e0e0e0;
                --bg-color: #1a1a1a;
            }
        }

        /* Reducir movimiento para usuarios que lo prefieren */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

         /* ===== ESTILOS ADICIONALES PARA EL FORMULARIO DUAL ===== */

/* Animaciones para elementos fade-in */
.fade-in-initial {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos del formulario de contacto */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #27b6c0;
    box-shadow: 0 0 10px rgba(39, 182, 192, 0.3);
    transform: scale(1.02);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* Botones del formulario */
.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    flex: 1;
    min-width: 200px;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Botón de Email */
.btn-email {
    background: linear-gradient(135deg, #4c85af, #4553a0);
    color: white;
}

.btn-email:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
}

/* Botón de WhatsApp */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #20ba5a);
    color: white;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20ba5a, #1ca851);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .contact-form {
        margin: 20px;
        padding: 25px;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .btn {
        min-width: auto;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Estilos para validación visual */
.form-group input.valid {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.form-group input.invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.form-group input.warning {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.05);
}

/* Efectos de loading en botones */
.btn.loading {
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mejorar la sección de WhatsApp directo */
.whatsapp-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: rgb(32 130 68 / 12%);
    border-radius: 15px;
    border: 2px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-section h3 {
    color: #1c713c;
    margin-bottom: 10px;
    font-size: 24px;
}

.whatsapp-section p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: #228949;
    color: white;
    padding: 8px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-btn img {
    width: 35px;
    height: 36px;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}
 

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Ocultar el botón flotante en la sección de contacto */
#contact .whatsapp-float {
    opacity: 0.5;
    pointer-events: none;
}

/* Estilos adicionales para mejorar la experiencia */
.section-title {
    /* position: relative; */
    /* display: block; */
    /* margin: 0 auto; */
    /* margin-bottom: 30px; */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 96%;
    display: block;
    margin: 0 auto !important;
    height: 3px;
    background: linear-gradient(135deg, #27b6c0, #50888c);
    border-radius: 2px;
}

/* Mejorar los campos requeridos */
.form-group label[for="nombre"]::after,
.form-group label[for="telefono"]::after,
.form-group label[for="email"]::after {
    content: ' *';
    color: #dc3545;
    font-weight: bold;
}

/* Tooltip para campos requeridos */
.form-group input[required] {
    position: relative;
}

.form-group input[required]:invalid {
    border-color: #ffc107;
}

.form-group input[required]:valid {
    border-color: #28a745;
}

form {
    max-width: 667px;
    margin: 0 auto;
}
