/* Orden del precio por idioma */
.price {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15em;
}

html:lang(en) .price .currency { order: 0; }
html:lang(en) .price .amount   { order: 1; }

html:not(:lang(en)) .price .amount   { order: 0; }
html:not(:lang(en)) .price .currency { order: 1; }
/* Ajuste visual para precios: <small> debe ser más pequeño y color secundario */
.price small {
    font-size: 0.72em !important;
    color: #4b5563 !important;
    font-weight: 600;
    margin-left: 4px;
}

/* Asegurar que los iconos Lucide en features sean visibles y no se sobrescriban */
.features i[data-lucide],
.features svg.lucide {
    width: 18px;
    height: 18px;
    color: #385723;
    margin-right: 6px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}
/* FAQ nueva integración */
.faq { margin: 40px 0; }
.faq h2 { margin: 0 0 16px; font-size: 2.2rem; color: #385723; font-weight: 700; }

.faq-item {
        background: #fff;
        border: 1px solid #e8ebf0;
        border-radius: 12px;
        margin: 10px 0;
        overflow: visible;
}
.faq-item summary {
        padding: 16px 18px;
        font-weight: 700;
        color: #242021;
        cursor: pointer;
        list-style: none; /* Remove marcador por defecto */
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    .faq-item summary::after {
        content: '+';
        color: #0067a5;
        font-size: 1.6rem;
        font-weight: 900;
        margin-left: 1rem;
        transition: transform 0.2s;
    }
    .faq-item[open] summary::after {
        content: '\2212'; /* Unicode menos largo */
        color: #0067a5;
        transform: rotate(0deg);
    }
.faq-item summary::-webkit-details-marker { display: none; } /* Sin iconos */
.faq-item summary:focus-visible { outline: 3px solid rgba(0,103,166,.35); outline-offset: 2px; }
.faq-item[open] summary { background: #f9fafb; border-bottom: 1px solid #edf1f6; }

.faq-answer { padding: 14px 18px 18px; color: #385723; line-height: 1.7; }
.faq-answer p { margin: 0; }

/* Uniformizar altura de tarjetas en sección TESTES para alinear botones */
#tab-testes .cards-grid {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
#tab-testes .price-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px; /* Ajusta según el contenido real */
    flex: 1 1 0;
}
#tab-testes .price-card header {
    margin-bottom: 1rem;
}
#tab-testes .price-card .features {
    margin-bottom: 1rem;
}
#tab-testes .btn {
    margin-top: auto;
    align-self: stretch;
    width: auto;
    min-width: 0;
    max-width: 100%;
}
/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hidden {
    display: none !important;
}

/* Navigation Styles */
.nav-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #242021;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-logo .logo {
    height: 2.5rem;
    width: auto;
}

.nav-menu-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #fbbf24;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    background-color: #1d4ed8;
    padding: 1rem 0.5rem;
}

.mobile-nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #fbbf24;
}



@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(56, 87, 35, 0.7)), url();
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 5rem;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 0;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #385723;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #242021;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.benefit-icon {
    color: #ce9e18;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 1.125rem;
    color: #242021;
}

.hero-cta {
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
    z-index: 10;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.image-decoration {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.2;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-family: inherit;
}

.btn:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-small {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.btn-medium {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: #ce9e18;
    color: #1f2937;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #FFC800;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #ce9e18;
    color: #1f2937;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: #FFC800;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Estado clicked para botones de planos - verde */
.btn-secondary.clicked {
    background-color: #385723 !important;
    color: white !important;
    box-shadow: 0 8px 12px rgba(56, 87, 35, 0.3) !important;
    transform: translateY(-2px);
}

.btn-secondary.clicked:hover {
    background-color: #2d4419 !important;
    box-shadow: 0 12px 18px rgba(56, 87, 35, 0.4) !important;
}

.btn-outline {
    border: 2px solid #d1d5db;
    color: #374151;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #f9fafb;
}

.btn-content {
    text-align: center;
}

.btn-main-text {
    font-weight: 600;
}

.btn-sub-text {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 87, 35, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: -1;
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.3);
}

.pricing .section-header {
    position: relative;
    z-index: 1;
}

.pricing .section-title {
    color: #242021;
}

.pricing-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.btn-pricing {
    background-color: #ce9e18;
    color: #242021;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-pricing:hover {
    background-color: #FFC800;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #385723;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #242021;
    line-height: 1.6;
    max-width: 64rem;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background-color: rgba(56, 87, 35, 0.7);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.8);
    transform: translateY(-8px);
}

.benefit-icon-container {
    color: #0067a5;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.benefit-card-icon {
    width: 2rem;
    height: 2rem;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #385723;
    margin-bottom: 1rem;
}

.benefit-description {
    color: #ffffff;
    line-height: 1.6;
}

.section-cta {
    text-align: center;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #385723;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-align: center; /* Añadido para centrar el título */
}

.about-text {
    font-size: 1.125rem;
    color: #242021;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
}

.image-decoration-green {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #385723, #385723);
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.2;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 87, 35, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: -1;
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.3);
}

.testimonials-container {
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 1rem;
    text-align: center;
    max-height: 340px;
    min-height: 340px;
    overflow: hidden;
    position: relative;
}

.testimonial-card.expanded {
    max-height: none;
    min-height: 340px;
    overflow: visible;
}

.testimonial-more-btn-inline {
    display: inline;
    background: none;
    color: #0067a5;
    border: none;
    padding: 0;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: underline;
    vertical-align: baseline;
    margin-left: 0.2em;
    margin-right: 0.2em;
}
.testimonial-more-btn-inline:hover {
    color: #004d7a;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 1);
}

.testimonial-quote {
    font-size: 1.25rem;
    color: #374151;
    font-style: roboto;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    margin-top: 0.5rem;
}

.author-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: #0067a5;
}

.author-role {
    color: #242021;
    margin-top: 0.5rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.testimonial-btn {
    padding: 0.5rem;
    border-radius: 50%;
    background-color: #0067a5;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.testimonial-btn:hover {
    background-color: #0067a5;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #d1d5db;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dot.active {
    background-color: #0067a5;
}

.dot:hover {
    background-color: #9ca3af;
}

.testimonial-image {
    text-align: center;
    margin-top: 4rem;
}

.family-img {
    max-width: 24rem;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.faq-container {
    max-width: 64rem;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #385723;
    margin: 0;
    padding-right: 1rem;
}

.faq-icon {
    color: #0067a5;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}


/* Footer mejorado y responsive */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.footer-content {
    background-color: #0067a5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

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

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-header-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-header-link:hover {
    color: #FFD700;
}

.footer-logo {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.footer-link:hover {
    color: #FFD700;
}

.footer-bottom {
    background-color: #242021;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #333;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

/* WhatsApp Button */
.whatsapp-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    z-index: 50;
}

.whatsapp-text {
    color: #242021;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: #ce9e18;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    order: -1; /* Esto asegura que el texto aparezca antes del botón */
}

.whatsapp-btn {
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 50;
    animation: bounce 2s infinite;
    width: 84px;
    height: 84px;
    background-image: url('images/logowhatsapp.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 84px;
    background-color: transparent;
    padding: 0;
    margin: 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    contain: layout style paint;
    appearance: none;
}

.whatsapp-btn::before,
.whatsapp-btn::after {
    display: none;
}

.whatsapp-btn:hover {
    animation: none;
    transform: scale(1.1);
}



@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* Reducir tamaño de WhatsApp en móvil para no interferir con enlaces del footer */
@media (max-width: 768px) {
    /* Reducir tamaño del hero-title en móvil para mejorar visibilidad del CTA */
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .whatsapp-btn {
        width: 59px;  /* 30% más pequeño: 84px * 0.7 = 58.8px ≈ 59px */
        height: 59px;
        background-size: 59px;
    }
    
    .whatsapp-container {
        bottom: 1rem;  /* Ajustar posición ligeramente */
        right: 1rem;
    }
    
    /* Solo para página principal - WhatsApp transparente durante navegación */
    body:not(.precos-page) .whatsapp-container {
        opacity: 0.5;
        transition: opacity 0.3s ease;
    }
    
    /* WhatsApp opaco cuando llega al footer */
    body:not(.precos-page) .whatsapp-container.at-footer {
        opacity: 1;
    }
    
    /* Ocultar referencias a WhatsApp en móvil para página de precios */
    body.precos-page .btn-sub-text,
    body.precos-page [data-i18n="card_whatsapp"],
    body.precos-page .whatsapp-container,
    body.precos-page .whatsapp-btn {
        display: none !important;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: white;
    padding: 1rem;
    z-index: 50;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cookie-text p {
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .benefit-item {
        justify-content: flex-start;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .cookie-text {
        flex: 1;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .nav-menu-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonial-card {
        padding: 3rem;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        color: #1f2937;
        margin: 1rem;
    }

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        background-color: rgba(255, 255, 255, 1);
    }
    
    .testimonial-quote {
        font-size: 1.5rem;
    }
}

/* Media queries responsive para el footer */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-nav {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-nav, .footer-links {
        flex-wrap: wrap;
    }
    
    /* Optimización tablet para testimonios */
    .testimonials {
        padding: 4rem 0;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0.75rem;
        max-height: 300px;
        min-height: 300px;
    }
    
    .testimonial-card.expanded {
        max-height: none;
        min-height: 300px;
    }
    
    .testimonial-quote {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        gap: 0.75rem;
    }
    
    .footer-links {
        gap: 0.75rem;
    }
    
    .footer-header-link, .footer-link {
        font-size: 0.9rem;
    }
    
    .footer-content {
        padding: 1.5rem 1rem;
    }
    
    /* Optimización móvil para testimonios - tarjetas más compactas */
    .testimonials {
        padding: 2.5rem 0;
    }
    
    .testimonial-card {
        padding: 1rem;
        margin: 0.25rem;
        max-height: 240px;
        min-height: 240px;
        border-radius: 0.625rem;
    }
    
    .testimonial-card.expanded {
        max-height: none;
        min-height: 240px;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .testimonial-author {
        margin-top: 0.125rem;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .testimonial-controls {
        gap: 0.75rem;
        margin-top: 1.25rem;
    }
    
    .testimonial-btn {
        padding: 0.35rem;
        width: 2.25rem;
        height: 2.25rem;
    }
    
    .dot {
        width: 0.5rem;
        height: 0.5rem;
    }
}

#testimonial-text {
    transition: opacity 0.3s ease;
}

.autor-azul { color: #0067a5; }
.autor-negrita { font-weight: bold; }
.tipo-negro { color: #242021; }

@media (max-width: 639px) {
    .hero-content {
        text-align: left;
    }
    .benefit-item {
        justify-content: flex-start;
        text-align: left;
    }
}

/* Centrar tarjetas únicas en la página de precios */
body .cards-grid.single-card {
    display: flex !important;
    justify-content: center;
    align-items: stretch;
}
body .cards-grid.single-card .price-card {
    margin: 0;
}
/* Contenedor de precio */
.price{
  display:inline-flex;
  align-items:baseline;
  gap:0;            /* sin huecos entre elementos */
}

/* Orden por defecto (PT/DE): 35 € /hora */
.price .amount{ order:0; }
.price .currency{ order:1; }
.price small{ order:2; margin-left:0; }  /* que vaya SIEMPRE al final */

/* EN: €35/hour */
html:lang(en) .price .currency{ order:0; }
html:lang(en) .price .amount{ order:1; }
/* small ya es order:2, no hace falta repetir */
