.trust-badge:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}/* ========================================
   1. IMPORTS
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ========================================
   2. VARIABLES CSS
======================================== */
:root {
    --color-principal: #0A932C;
    --color-principal-hover: #087a24;
    --color-secundario: #9DE795;
    --color-texto: #000000;
    --color-fondo: #f8f9fa;
    --fuente-titulos: "Fredoka", sans-serif;
    --fuente-texto: "Open Sans", sans-serif;
    --radio-borde: 30px;
}

/* ========================================
   3. ESTILOS GLOBALES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
/* Agregar al final del archivo, en UTILIDADES (sección 13) */

section[id] {
    scroll-margin-top: 110px;
}

/* O específicamente para cada sección: */
#hero,
#sobre-nosotros,
#modulos,
#precios,
#equipo {
    scroll-margin-top: 110px;
}
body {
    font-family: var(--fuente-texto);
    color: var(--color-texto);
    background: linear-gradient(135deg, #ffffff 0%, #f5fff5 100%);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--fuente-titulos);
    color: var(--color-principal);
}


/* Ocultar scrollbar pero mantener funcionalidad */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--color-principal);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-principal-hover);
}

/* ========================================
   4. NAVBAR
======================================== */
.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #fff;
    border-radius: 0 0 var(--radio-borde) var(--radio-borde);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand img {
    width: 180px;
    height: auto;
}

.nav-link {
    color: var(--color-texto);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-principal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-principal);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar .btn-success {
    background-color: var(--color-principal);
    border: 2px solid var(--color-principal);
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.navbar .btn-success:hover {
    background-color: transparent;
    color: var(--color-principal);
    transform: translateY(-2px);
}

/* hero o la parte de la cara */
#hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

#hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(157, 231, 149, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 25s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 147, 44, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite reverse;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-texto-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-texto-light);
}

.trust-badge i {
    color: var(--color-principal);
    font-size: 1.2rem;
}

/* Carrusel Premium */
.carousel-container {
    position: relative;
    border-radius: var(--radio-borde);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: fadeInRight 0.8s ease 0.2s backwards;
    z-index: 2;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

.carousel-item {
    height: 480px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    padding: 3rem 2.5rem 2.5rem;
    color: white;
    transform: translateY(10px);
    opacity: 0;
    animation: none;
    transition: all 0.4s ease;
}

.carousel-item.active .carousel-overlay {
    animation: slideUpFade 0.6s ease 0.3s forwards;
}

@keyframes slideUpFade {
    0% {
        transform: translateY(15px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.carousel-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.carousel-overlay p {
    font-size: 1.05rem;
    opacity: 0.98;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.carousel-indicators {
    margin-bottom: 1.5rem;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0.5;
    transition: all 0.4s ease;
    border: 2px solid white;
    cursor: pointer;
}

.carousel-indicators [data-bs-target]:hover {
    opacity: 0.8;
    transform: scale(1.15);
    background-color: rgba(255, 255, 255, 0.7);
}

.carousel-indicators .active {
    opacity: 1;
    width: 28px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

/* Stats Premium */
.stats-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-principal);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-texto-light);
    font-weight: 500;
}

.section-tag {
    display: inline-block;
    background: rgba(10, 147, 44, 0.1);
    color: var(--color-principal);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}


/* 6. SECCIÓN SOBRE NOSOTROS */
.sobre-nosotros {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fdfb, #ffffff);
}

.sobre-img {
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  max-width: 90%;
}

.sobre-nosotros .badge {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-radius: 20px;
}

.sobre-nosotros h2 span {
  font-weight: 700;
}

.sobre-nosotros .btn {
  border-radius: 30px;
}

/*7. SECCIÓN MÓDULOS */
#modulos {
    padding: 5rem 0;
    background: #3f6992;
}
#modulos h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 2.5rem;
}
#modulos .lead{
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.modulo-card {
    background: white;
    border-radius: var(--radio-borde);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    padding: 2rem;
}

.modulo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(10, 147, 44, 0.12);
    border-color: var(--color-principal);
}

.modulo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(10, 147, 44, 0.1) 0%, rgba(157, 231, 149, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.modulo-card:hover .modulo-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--color-principal) 0%, #15b13b 100%);
}

.modulo-icon i {
    font-size: 1.8rem;
    color: var(--color-principal);
    transition: all 0.3s ease;
}

.modulo-card:hover .modulo-icon i {
    color: white;
}

.modulo-card h5 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.modulo-card p {
    font-size: 0.95rem;
    color: var(--color-texto-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ========================================
   8. SECCIÓN PRECIOS
======================================== */
#precios {
    padding: 100px 0;
    background: var(--color-fondo);
}

#precios h2 {
    color: var(--color-principal);
    font-weight: 700;
}

.plan {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.plan:hover {
    border-color: var(--color-principal);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(10, 147, 44, 0.2);
}

.plan.border-success {
    border-color: var(--color-principal);
    box-shadow: 0 10px 30px rgba(10, 147, 44, 0.15);
}

.plan h5 {
    color: var(--color-principal);
}

.plan h3 {
    color: var(--color-principal);
}

.plan i {
    font-size: 1.1rem;
}

.plan .btn {
    transition: all 0.3s ease;
    font-weight: 400;
    border-radius: 10px !important;
}

.plan .btn-outline-success:hover {
    background: var(--color-principal);
    color: #fff;
    transform: scale(1.05);
    border-radius: 10px;
}

.plan .btn-success {
    background: var(--color-principal);
    border-color: var(--color-principal);
    border-radius: 10px !important;
}

.btn-group-lg>.btn,
.btn-lg {
    font-size: 0.95rem;
}

.plan .btn-success:hover {
    background: var(--color-principal-hover);
    transform: scale(1.05);
}

/* Badge POPULAR */
.badge.bg-success {
    background: var(--color-principal);
}

/* ========================================
   9. SECCIÓN EQUIPO
======================================== */
#equipo {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-principal) 0%, #087a24 100%);
}

#equipo h2 {
    color: #fff;
    font-weight: 700;
}

.card-equipo {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 5s ease;
    max-width: 250px;
    margin: 0 auto;
}

.card-equipo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-equipo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-equipo .info {
    padding: 20px;
    text-align: center;
}

.card-equipo h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-principal);
    margin-bottom: 5px;
}

.card-equipo p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-equipo .social-icons {
    display: flex;
    gap: 10px;
}

.card-equipo .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--color-secundario);
    color: var(--color-principal);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.card-equipo .social-icons a:hover {
    background: var(--color-principal);
    color: #fff;
    transform: scale(1.1);
}

/* ========================================
   10. FOOTER
======================================== */
#footer {
    background: #fff;
    padding: 60px 0 30px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-logo {
    width: 150px;
    height: auto;
}

#footer h4 {
    color: var(--color-principal);
    font-weight: 700;
    margin-bottom: 20px;
}

#footer ul {
    padding: 0;
    list-style: none;
}

#footer ul li {
    margin-bottom: 10px;
    color: var(--color-texto);
}

#footer p {
    color: var(--color-texto);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

#footer i {
    font-size: 1.2rem;
}

#footer .social-icons a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-principal);
    color: var(--color-principal);
    transition: all 0.3s ease;
}

#footer .social-icons a:hover {
    background: var(--color-principal);
    color: #fff;
    transform: scale(1.1);
}

#footer hr {
    border-color: rgba(10, 147, 44, 0.2);
}

/* ========================================
   11. ANIMACIONES
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   12. MEDIA QUERIES - RESPONSIVE
======================================== */

/* Tablets */
@media (max-width: 992px) {
    .navbar-brand img {
        width: 150px;
    }

    .custom-navbar {
        height: auto;
        padding: 15px 0;
    }

    .navbar-toggler {
        border: 2px solid var(--color-principal);
        color: var(--color-principal);
    }

    .navbar-collapse {
        background: #fff;
        padding: 20px;
        margin-top: 15px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    #hero,
    #sobre-nosotros {
        padding: 100px 0 60px;
        text-align: center;
    }

    #hero h1 {
        font-size: 2rem;
    }

    .carousel-item img {
        height: 300px;
    }
}

/* Móviles */
@media (max-width: 768px) {
    section-tag{
        position: relative;
        top: -10px;
    }
    .custom-navbar {
        border-radius: 0 0 20px 20px;
    }

    #hero {
        padding: 100px 0 40px;
    }

    #hero h1 {
        font-size: 1.75rem;
    }

    #hero .lead {
        font-size: 1rem;
    }

    #hero .d-flex {
        flex-direction: column;
    }

    #hero .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .carousel-item img {
        height: 250px;
    }

    #modulos,
    #sobre-nosotros,
    #precios,
    #equipo {
        padding: 60px 0;
    }

    .modulo-card {
        margin-bottom: 20px;
    }

    .card-equipo {
        max-width: 200px;
    }

    #footer {
        text-align: center;
    }

    #footer .social-icons {
        justify-content: center;
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .navbar-brand img {
        width: 120px;
    }

    #hero h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .plan {
        margin-bottom: 20px;
    }
}

/* ========================================
   13. UTILIDADES
======================================== */
.bg-success {
    background-color: var(--color-principal) !important;
}

.text-success {
    color: var(--color-principal) !important;
}

.border-success {
    border-color: var(--color-principal) !important;
}

.btn-success {
    background-color: var(--color-principal);
    border-color: var(--color-principal);
    border-radius: 10px;
}

.btn-success:hover,
.btn-success:focus {
    background-color: var(--color-principal-hover);
    border-color: var(--color-principal-hover);
}

.btn-outline-success {
    color: var(--color-principal);
    border-color: var(--color-principal);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    background-color: var(--color-principal);
    border-color: var(--color-principal);
    color: #fff;
}

/* ========================================
   14. ANIMACIONES DEL CARRUSEL - HUELLAS
======================================== */

/* Wrapper para posicionar las huellas */
.carousel-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* Overlay de huellas */
.paws-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active .paws-overlay {
    opacity: 1;
}

/* Huellas individuales */
.paw,
.hoof {
    position: absolute;
    font-size: 30px;
    opacity: 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Animación de huellas de perro */
.paws-dog .paw-1 {
    top: 10%;
    left: 10%;
    animation: pawWalk 2s ease-in-out 0.2s forwards;
}

.paws-dog .paw-2 {
    top: 25%;
    right: 15%;
    animation: pawWalk 2s ease-in-out 0.4s forwards;
}

.paws-dog .paw-3 {
    bottom: 35%;
    left: 20%;
    animation: pawWalk 2s ease-in-out 0.6s forwards;
}

.paws-dog .paw-4 {
    bottom: 20%;
    right: 25%;
    animation: pawWalk 2s ease-in-out 0.8s forwards;
}

.paws-dog .paw-5 {
    bottom: 10%;
    left: 50%;
    animation: pawWalk 2s ease-in-out 1s forwards;
}

/* Animación de huellas de gato (más delicadas) */
.paws-cat .paw-1 {
    top: 15%;
    left: 15%;
    animation: catPawWalk 2.5s ease-in-out 0.2s forwards;
}

.paws-cat .paw-2 {
    top: 30%;
    right: 10%;
    animation: catPawWalk 2.5s ease-in-out 0.4s forwards;
}

.paws-cat .paw-3 {
    top: 50%;
    left: 25%;
    animation: catPawWalk 2.5s ease-in-out 0.6s forwards;
}

.paws-cat .paw-4 {
    bottom: 30%;
    right: 20%;
    animation: catPawWalk 2.5s ease-in-out 0.8s forwards;
}

.paws-cat .paw-5 {
    bottom: 15%;
    left: 40%;
    animation: catPawWalk 2.5s ease-in-out 1s forwards;
}

.paws-cat .paw-6 {
    bottom: 10%;
    right: 35%;
    animation: catPawWalk 2.5s ease-in-out 1.2s forwards;
}

/* Animación de pezuñas de vaca */
.paws-cow .hoof-1 {
    top: 20%;
    left: 20%;
    animation: hoofWalk 3s ease-in-out 0.3s forwards;
}

.paws-cow .hoof-2 {
    top: 40%;
    right: 15%;
    animation: hoofWalk 3s ease-in-out 0.6s forwards;
}

.paws-cow .hoof-3 {
    bottom: 30%;
    left: 30%;
    animation: hoofWalk 3s ease-in-out 0.9s forwards;
}

.paws-cow .hoof-4 {
    bottom: 15%;
    right: 25%;
    animation: hoofWalk 3s ease-in-out 1.2s forwards;
}

/* Keyframes para las animaciones */
@keyframes pawWalk {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(0deg);
    }

    100% {
        opacity: 0.8;
        transform: scale(1) rotate(10deg);
    }
}

@keyframes catPawWalk {
    0% {
        opacity: 0;
        transform: scale(0) translateY(-20px) rotate(-30deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.1) translateY(0) rotate(0deg);
    }

    100% {
        opacity: 0.7;
        transform: scale(0.9) translateY(5px) rotate(15deg);
    }
}

@keyframes hoofWalk {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(-30px);
    }

    40% {
        opacity: 1;
        transform: scale(1.3) translateY(0);
    }

    100% {
        opacity: 0.9;
        transform: scale(1) translateY(5px);
    }
}

/* Efecto fade para el carrusel */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* ========================================
   15. FLIP CARDS DEL EQUIPO
======================================== */

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 500px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 2.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Frente de la tarjeta */
.flip-card-front {
    background: #fff;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 147, 44, 0.95) 0%, transparent 100%);
    padding: 30px 20px 20px;
    color: #fff;
}

.card-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.card-overlay p {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.flip-hint {
    display: block;
    font-size: 0.85rem;
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Reverso de la tarjeta */
.flip-card-back {
    background: linear-gradient(135deg, #0A932C 0%, #087a24 100%);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.back-content {
    color: #fff;
    width: 100%;
}

.back-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.back-content .role {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.experience {
    text-align: left;
    margin-bottom: 25px;
}

.experience h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #9DE795;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.experience ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
}

.experience li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9DE795;
    font-weight: bold;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: #fff;
    color: var(--color-principal);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   16. RESPONSIVE PARA FLIP CARDS
======================================== */

@media (max-width: 768px) {
    .flip-card {
        height: 450px;
    }

    .card-overlay h3 {
        font-size: 1.3rem;
    }

    .back-content h3 {
        font-size: 1.3rem;
    }

    .experience h5 {
        font-size: 1rem;
    }

    .experience li {
        font-size: 0.85rem;
    }

    /* En móvil, hacer tap para voltear */
    .flip-card:active .flip-card-inner {
        transform: rotateY(180deg);
    }
}

@media (max-width: 576px) {
    .flip-card {
        height: 400px;
        margin-bottom: 30px;
    }

    .paw,
    .hoof {
        font-size: 20px;
    }

    .carousel-item img {
        height: 280px;
    }
}
@media (max-width: 768px) {
    .trust-badges {
        justify-content: space-around;
        gap: 0;
    }

    .trust-badge span {
        display: none;
    }

    .trust-badge i {
        font-size: 1.4rem;
    }
}
