/* ============================================= */
/* VARIABLES Y CONFIGURACIÓN BASE (COLORES DEL LOGO) */
/* ============================================= */
:root {
    --brand-blue-vibrant: #007BFF;  /* Azul vibrante del icono */
    --brand-blue-dark: #0056b3;    /* Azul más oscuro y corporativo */
    --bg-dark-navy: #0D1B2A;       /* Un fondo muy oscuro para máximo contraste */
    --bg-light-navy: #1B263B;      /* Color para las tarjetas y secciones secundarias */
    
    --text-lightest: #E0E1DD;     /* Un blanco suave para títulos */
    --text-light: #A8B2D1;        /* Un gris azulado para párrafos */
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --container-width: 1280px; 
    --border-radius: 6px;
    --transition-speed: 0.25s ease-in-out;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark-navy);
}

/* ============================================= */
/* COMPONENTES REUTILIZABLES            */
/* ============================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}
.section--light-bg {
    background-color: var(--bg-light-navy);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section__header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-lightest);
    margin-bottom: 0.5rem;
}

.section, .hero, .footer {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed);
    border: 1px solid var(--brand-blue-vibrant);
    color: var(--brand-blue-vibrant);
    background-color: transparent;
}
.btn:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-3px);
}
.btn--primary {
    font-size: 0.9rem;
}

/* ============================================= */
/* HEADER & NAVBAR             */
/* ============================================= */
.header {
    position: sticky; top: 0; width: 100%;
    background-color: rgba(13, 27, 42, 0.85); /* Actualizado al nuevo color de fondo */
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.7);
}

.navbar {
    display: flex; justify-content: space-between; align-items: center; height: 80px;
}
.navbar__logo img { height: 40px; display: block; }
.navbar__menu { display: flex; list-style: none; gap: 2.5rem; align-items: center; }
.navbar__menu a { text-decoration: none; color: var(--text-light); font-weight: 500; transition: color var(--transition-speed); }
.navbar__menu a:hover { color: var(--brand-blue-vibrant); }
.navbar__toggle { display: none; background: none; border: none; cursor: pointer; color: var(--brand-blue-vibrant); }
.navbar__toggle svg { stroke: var(--brand-blue-vibrant); }

/* ============================================= */
/* HERO                     */
/* ============================================= */
.hero {
    position: relative;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
    background-image: url('https://images.pexels.com/photos/209224/pexels-photo-209224.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
}
.hero__overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(13, 27, 42, 0.95) 20%, rgba(13, 27, 42, 0.8) 60%, rgba(13, 27, 42, 0.6) 100%);
}
.hero__content {
    position: relative; z-index: 2;
    max-width: 800px;
}
.hero__content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    color: var(--text-lightest);
    margin-bottom: 1.5rem;
}
.hero__content p {
    font-size: 1.1rem; margin-bottom: 2.5rem; color: var(--text-light); max-width: 600px;
}
.hero__actions .btn { padding: 1rem 2rem; font-size: 1rem; }


/* ============================================= */
/* CAPABILITIES GRID              */
/* ============================================= */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.capability-box {
    padding: 1.5rem;
    transition: all var(--transition-speed);
}
.capability-box:hover {
    background-color: rgba(0, 123, 255, 0.05);
    transform: translateY(-5px);
    border-radius: var(--border-radius);
}

.capability-box__icon {
    color: var(--brand-blue-vibrant);
    margin-bottom: 1rem;
}
.capability-box__icon svg {
    width: 40px;
    height: 40px;
}
.capability-box h3 {
    color: var(--text-lightest);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.capability-box p {
    font-size: 0.9rem;
    transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
    overflow: hidden;
}

.capability-box__hover-text {
    opacity: 0;
    max-height: 0;
}

.capability-box:hover .capability-box__default-text {
    opacity: 0;
    max-height: 0;
}

.capability-box:hover .capability-box__hover-text {
    opacity: 1;
    max-height: 100px;
}

/* ============================================= */
/* ABOUT US (CON IMAGEN)         */
/* ============================================= */
.split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}
.split-layout__item {
    flex: 1;
    min-width: 300px;
}
.split-layout__item--image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
}
.split-layout__item--text h3 {
    font-family: var(--font-heading);
    color: var(--brand-blue-vibrant);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.split-layout__item--text p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* ============================================= */
/* CARD                     */
/* ============================================= */
.card {
    background-color: var(--bg-light-navy);
    border-radius: var(--border-radius);
    /* --- INICIO DE LA MODIFICACIÓN --- */
    /* Quitamos padding para que la imagen toque los bordes */
    padding: 0; 
    /* --- FIN DE LA MODIFICACIÓN --- */
    transition: all var(--transition-speed);
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.7);
    height: 100%;
    display: flex; /* Para controlar mejor el contenido interno */
    flex-direction: column; /* Apila imagen y contenido */
    overflow: hidden; /* Asegura que la imagen no se salga */
}
.card:hover { transform: translateY(-7px); box-shadow: 0 20px 30px -15px rgba(0,0,0,0.7); }

/* --- INICIO DE LA NUEVA SECCIÓN: Estilos para Imagen de Tarjeta --- */
.card__image {
    width: 100%;
    height: 200px; /* Altura fija para la imagen */
    object-fit: cover; /* Asegura que la imagen cubra el área sin deformarse */
    display: block; /* Elimina espacio extra */
}
/* --- FIN DE LA NUEVA SECCIÓN --- */

.card__content {
    padding: 2rem; /* Añadimos el padding aquí para el texto */
    flex-grow: 1; /* Hace que esta sección ocupe el espacio restante */
    display: flex;
    flex-direction: column;
}

.card__title { font-family: var(--font-heading); color: var(--text-lightest); margin-bottom: 1rem; font-size: 1.4rem; }
.card__excerpt { 
    margin-bottom: 1.5rem; 
    color: var(--text-light); 
    flex-grow: 1; /* Empuja el enlace hacia abajo */
}
.card__link { 
    color: var(--brand-blue-vibrant); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.9rem; 
    margin-top: auto; /* Se alinea al final */
}


/* ============================================= */
/* TESTIMONIAL SECTION        */
/* ============================================= */
.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.testimonial blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-lightest);
    margin-bottom: 1.5rem;
    position: relative;
}
.testimonial blockquote::before {
    content: '“';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: var(--brand-blue-vibrant);
    opacity: 0.3;
    font-family: serif;
}
.testimonial__author {
    display: block;
    font-weight: 700;
    color: var(--text-lightest);
}
.testimonial__company {
    display: block;
    font-size: 0.9rem;
    color: var(--brand-blue-vibrant);
}

/* ============================================= */
/* CTA PARA EL ASISTENTE DE DIAGNÓSTICO          */
/* ============================================= */
.cta-box--assistant {
    border: 1px solid var(--brand-blue-dark);
    background: linear-gradient(145deg, var(--bg-light-navy), var(--bg-dark-navy));
}

.cta-box--assistant h2 {
    color: var(--brand-blue-vibrant);
}


/* ============================================= */
/* CTA                      */
/* ============================================= */
.section--cta { background-color: transparent; }
.cta-box {
    background-color: var(--bg-light-navy); padding: 4rem; text-align: center; border-radius: var(--border-radius);
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.7);
}
.cta-box h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.2rem); color: var(--text-lightest); margin-bottom: 1rem; }
.cta-box p { color: var(--text-light); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-box .btn { padding: 1rem 2.5rem; font-size: 1.1rem; }
.cta-box__secondary-link a { color: var(--brand-blue-vibrant); text-decoration: none; }


/* ============================================= */
/* FOOTER                    */
/* ============================================= */
.footer { color: var(--text-light); text-align: center; padding: 2rem 0; font-size: 0.85rem; }

/* ============================================= */
/* ESTILOS PARA PÁGINAS INTERIORES (page.php)    */
/* ============================================= */
.page-content {
    padding: 6rem 0;
}

.container--narrow {
    max-width: 800px;
}

.post__header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--bg-light-navy);
    padding-bottom: 2rem;
}

.post__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-lightest);
    line-height: 1.2;
}

.post__content {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.post__content h2,
.post__content h3,
.post__content h4 {
    font-family: var(--font-heading);
    color: var(--text-lightest);
    margin: 2.5rem 0 1rem 0;
}

.post__content a {
    color: var(--brand-blue-vibrant);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-speed);
}

.post__content a:hover {
    border-color: var(--brand-blue-vibrant);
}

.post__content ul,
.post__content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post__content li {
    margin-bottom: 0.5rem;
}

/* ============================================= */
/* FORMULARIO DE CONTACTO       */
/* ============================================= */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-lightest);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--bg-light-navy);
    border: 1px solid var(--brand-blue-dark);
    border-radius: var(--border-radius);
    color: var(--text-lightest);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue-vibrant);
}
.form-group .wpcf7-submit {
    width: auto;
    cursor: pointer;
}

/* ============================================= */
/* ASISTENTE DE DIAGNÓSTICO     */
/* ============================================= */
.diagnostic-assistant {
    background-color: var(--bg-light-navy);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--brand-blue-dark);
}

.question-step {
    display: none; /* Oculto por defecto */
    text-align: center;
}

.question-step.active {
    display: block; /* Se muestra el paso activo */
}

.question-step h2 {
    color: var(--text-lightest);
    font-family: var(--font-heading);
    margin-bottom: 2rem;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.option-btn {
    background-color: transparent;
    border: 1px solid var(--brand-blue-dark);
    color: var(--text-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 1rem;
    width: 100%;
    text-align: center;
}

.option-btn:hover {
    background-color: rgba(0, 123, 255, 0.1);
    border-color: var(--brand-blue-vibrant);
    color: var(--text-lightest);
}

.response-area {
    display: none; /* Oculto por defecto */
    text-align: center;
    padding: 2rem;
    border: 1px dashed var(--brand-blue-vibrant);
    border-radius: var(--border-radius);
}

.response-area.active {
    display: block; /* Se muestra al final */
}

.response-message {
    color: var(--text-lightest);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.response-cta {
    display: inline-block;
}

/* ============================================= */
/* PLANTILLA DE CASO DE ÉXITO (single-post.php)  */
/* ============================================= */

/* 1. Sección Hero */
.case-study-hero {
    padding: 4rem 0; /* Reducimos el padding vertical */
    text-align: center;
    background-color: var(--bg-light-navy);
}

.case-study-hero .post__title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 2rem;
}

.case-study-hero__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0.8;
}

.case-study-hero__logos img {
    max-height: 80px;
    max-width: 200px;
    width: auto;
}

/* Imagen Destacada Ajustada (single-post.php) */
.post-featured-image {
    margin-top: -3rem; 
    margin-bottom: 3rem;
    text-align: center; 
}

.post-featured-image img {
    max-width: 100%; 
    height: auto;    
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.4);
    display: block; 
    margin: 0 auto; 
}

@media (min-width: 768px) {
    .post-featured-image img {
        max-width: 700px; 
    }
}


/* Estilos específicos para el contenido del post */
.single .post__content h2 {
    font-size: 1.8rem;
    color: var(--brand-blue-vibrant);
    border-bottom: 1px solid var(--bg-light-navy);
    padding-bottom: 0.5rem;
    margin: 3rem 0 1.5rem 0;
}

/* 3. Iconos para la lista de Solución Estratégica */
.single .post__content ul.solution-list {
    list-style: none;
    padding-left: 0;
}
.single .post__content ul.solution-list li {
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 1.5rem;
}
.single .post__content ul.solution-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px; /* Ajuste vertical */
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.single .post__content ul.solution-list li:nth-child(1)::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23007BFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 0 2l-.15.08a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.38a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1 0-2l.15-.08a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"/><circle cx="12" cy="12" r="3"/></svg>'); } /* Implementación */
.single .post__content ul.solution-list li:nth-child(2)::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23007BFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 10v6M2 10l10-5 10 5-10 5z"/><path d="M6 12v5c3 3 9 3 12 0v-5"/></svg>'); } /* Capacitación */
.single .post__content ul.solution-list li:nth-child(3)::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23007BFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>'); } /* Soporte */


/* 4. Sección Resultados Clave (formato de tarjetas de impacto) */
.single .post__content ul.results-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.single .post__content ul.results-list li {
    background-color: var(--bg-light-navy);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--brand-blue-vibrant);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-lightest);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.single .post__content ul.results-list li::before {
    content: '';
    display: block;
    width: 40px; /* Tamaño del icono */
    height: 40px; /* Tamaño del icono */
    margin-bottom: 1rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.single .post__content ul.results-list li:nth-child(1)::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23007BFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>'); }
.single .post__content ul.results-list li:nth-child(2)::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23007BFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.3.05-3.11.63-.42 1.68-.34 2.38.38.7.72.64 1.76.04 2.38.85.63 2.27.63 3.11.05.71-.84.7-2.3.05-3.11.63-.42 1.68-.34 2.38.38.7.72.64 1.76.04 2.38.85.63 2.27.63 3.11.05s.65-2.27.05-3.11c.63-.42 1.68-.34 2.38.38l.38.38c.7.72.64 1.76.04 2.38.85.63 2.27.63 3.11.05s.65-2.27.05-3.11l-15-15c-.84-.7-2.27-.64-3.11.05s-.63 2.27.05 3.11l.38.38c.7.72 1.76.64 2.38.04.6-.6 1.66-.7 2.38.04z"/></svg>'); }
.single .post__content ul.results-list li:nth-child(3)::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23007BFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>'); }


/* 5. Sección Testimonios (tarjetas con foto y logo) */
.testimonial-card {
    background-color: var(--bg-light-navy);
    padding: 2rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    margin-bottom: 2rem; /* Separación entre tarjetas de testimonio */
}

.testimonial-card__text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-lightest);
    border-left: 4px solid var(--brand-blue-vibrant);
    padding-left: 1.5rem;
    margin: 0;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card__photo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card__author-info {
    font-style: normal;
}

.testimonial-card__name {
    display: block;
    font-weight: 700;
    color: var(--text-lightest);
}

.testimonial-card__title {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-card__logo {
    margin-top: 1rem;
    opacity: 0.7;
}
.testimonial-card__logo img {
    max-height: 40px;
    width: auto;
}

/* ============================================= */
/* RESPONSIVE (MOBILE-FIRST)     */
/* ============================================= */
@media (max-width: 992px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {
    body { font-size: 15px; }
    .section { padding: 4rem 0; }
    
    .navbar__menu {
        display: none; position: absolute; top: 80px; left: 0; width: 100%;
        background-color: var(--bg-light-navy); flex-direction: column;
        padding: 1rem 0; box-shadow: 0 10px 10px rgba(0,0,0,0.7);
    }
    .navbar__menu.active { display: flex; }
    .navbar__menu li { width: 100%; text-align: center; padding: 1rem 0; }
    .navbar__toggle { display: block; }

    .hero { min-height: 60vh; padding: 6rem 0; text-align: center; }
    .hero__overlay { background: linear-gradient(180deg, var(--bg-dark-navy) 0%, rgba(13, 27, 42, 0.7) 50%, var(--bg-dark-navy) 100%); }
    .hero__actions { justify-content: center; }
    
    .testimonial { padding: 2rem; }
    .testimonial blockquote { font-size: 1.1rem; }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex-direction: column;
    }

    .post-featured-image img {
         max-width: calc(100% - 2rem); /* Limita ancho en móviles para que no toque bordes */
    }
}
@media (max-width: 576px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 1rem;
    }
}

