:root {
    /* Ajustamos el naranja a #f26522 como color corporativo principal */
    --metas-primary: #f26522;
    --metas-primary-dark: #d96920;
    --metas-dark: #3f3329;
    --metas-text: #5b4c41;
    --metas-bg: #faf7f3;
    --metas-alt: #fff7ec;
    --metas-border: #e7ddd2;
    --metas-radius-lg: 18px;
    --metas-radius-md: 14px;
    --metas-radius-pill: 999px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 12px 26px rgba(0, 0, 0, 0.07);
    --shadow-float: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* RESET SIMPLE */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--metas-text);
    background-color: #ffffff;
}

/* ACCESIBILIDAD: SALTAR AL CONTENIDO */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    z-index: 9999;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

/* CONTENEDOR BASE */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #ffffffee;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(231, 221, 210, 0.8);
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Estado con scroll (para CTA ghost y sombra suave) */
.site-header.scrolled {
    background-color: #ffffff;
    border-bottom-color: rgba(220, 210, 198, 0.95);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--metas-dark);
}

.brand-logo {
    width: 56px;
    height: auto;
}

.brand-text {
    line-height: 1.1;
}

.brand-name {
    font-weight: 700;
    font-size: 18px;
    text-transform: lowercase;
}

.brand-tagline {
    font-size: 13px;
    color: #8a7c72;
}

/* NAV */
.main-nav ul {
    display: flex;
    gap: 16px; /* m s separaci n */
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 14px;
    padding: 8px 14px;
    border-radius: var(--metas-radius-pill);
    color: var(--metas-dark);
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    border-color: var(--metas-primary);
    color: var(--metas-primary);
    outline: none;
}

/* CTA del header (bot n derecho) */
.header-cta {
    /* Se apoya en .btn-primary desde la secci n de botones */
}

/* NAV TOGGLE (M VIL) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #e2d5c9;
    background: #fff;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--metas-dark);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Efecto  X  cuando est  activo */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
}

/* SECCIONES GENERALES */
.section {
    padding: 50px 0;
}

.section-alt {
    background-color: var(--metas-bg);
}

.section-strip {
    background: #fffaf4;
    border-top: 1px solid var(--metas-border);
    border-bottom: 1px solid var(--metas-border);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 26px;
    text-align: center;
}

.section-header h2 {
    font-size: 26px;
    color: var(--metas-dark);
    margin: 0 0 8px;
}

.section-lead {
    font-size: 15px;
    color: #7b6e63;
}

/* HERO */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 0 4rem;
    background: #ffffff !important;
}

.hero-content {
    width: 50%;
    animation: fadeSlideRight 1s ease-out both;
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.15;
    font-weight: 700;
    color: #1a1a1a;
}

.hero-title strong {
    color: #f26522;
    font-weight: 700;
}

.hero-text {
    margin: 1.8rem 0 2.8rem;
    font-size: 1.15rem;
    color: #444;
    line-height: 1.7;
}

.hero-visual {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeSlideLeft 1.1s ease-out both;
}

.hero-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 820px;
    max-height: 650px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(0);
    opacity: 0;
    animation: fadeInImage 1.4s ease-out forwards;
}

/* ===== ANIMACIONES PREMIUM ===== */

@keyframes fadeSlideRight {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideLeft {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInImage {
    0% { opacity: 0; transform: scale(1.03); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== RESPONSIVE HERO ===== */

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 5rem;
    }

    .hero-content {
        width: 100%;
        padding: 0 2rem;
        animation-delay: 0.1s;
    }

    .hero-title {
        font-size: 2.9rem;
    }

    .hero-visual {
        width: 100%;
        padding: 0 1rem;
        margin-top: 1rem;
    }

    .hero-visual img {
        max-height: 480px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.25;
    }

    .hero-text {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-visual img {
        max-height: 360px;
    }
}

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: var(--metas-radius-pill);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Bot n principal general */
.btn-primary {
    background-color: var(--metas-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(244, 124, 38, 0.35);
}

/* CTA header en modo ghost al hacer scroll (controlado por JS) */
.header-cta.ghost-mode {
    background: transparent;
    color: var(--metas-primary);
    box-shadow: none;
    border-color: var(--metas-primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--metas-primary-dark);
    border-color: var(--metas-primary-dark);
    outline: none;
}

/* Variaci n XL para CTA principal de hero */
.btn-hero-main {
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(244, 124, 38, 0.38);
}

.btn-outline {
    background-color: #fff;
    color: var(--metas-dark);
    border-color: var(--metas-border);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    border-color: var(--metas-primary);
    color: var(--metas-primary);
    outline: none;
}

.btn-ghost {
    background: transparent;
    color: var(--metas-primary);
    border-color: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background-color: #fff3e5;
    border-color: var(--metas-primary);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
}

/* HERO STATS */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 4px;
}

.stat {
    min-width: 90px;
}

.stat-number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--metas-primary);
}

.stat-label {
    font-size: 12px;
    color: #83756a;
}

/* HERO IMAGEN WRAPPER */
.hero-image-wrapper {
    border-radius: var(--metas-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: linear-gradient(135deg, #ffffff, #fff5e9);
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

/* CINTA / STRIP */
.strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.strip-item h3 {
    font-size: 16px;
    margin: 0 0 6px;
    color: var(--metas-dark);
}

.strip-item p {
    font-size: 14px;
    margin: 0;
    color: #786a60;
}

/* GRIDS */
.cards-grid {
    display: grid;
    gap: 20px;
}

.cards-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* CARD BASE */
.card {
    background-color: #fff;
    border-radius: var(--metas-radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid #f2e9df;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
    border-color: rgba(242, 101, 34, 0.3);
}

.card-image-wrapper {
    width: 100%;
    max-height: 190px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 14px 16px 16px;
}

.card-body h3 {
    font-size: 17px;
    margin: 2px 0 8px;
    color: var(--metas-dark);
}

.card-body p {
    font-size: 14px;
    margin: 0 0 6px;
    color: #6f6056;
}

.card-tagline {
    font-size: 13px;
    color: #a05116;
    font-weight: 500;
}

/* CARD CASOS */
.card-case .case-quote {
    font-style: italic;
    font-size: 14px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.card-case .case-quote::before {
    content: " ";
    position: absolute;
    left: 0;
    top: -6px;
    font-size: 26px;
    color: rgba(0, 0, 0, 0.1);
}

.card-case .case-author {
    font-size: 13px;
    color: #8d7e72;
    font-weight: 600;
}

/* BLOG */
.card-blog .card-link {
    font-size: 13px;
    color: var(--metas-primary);
    text-decoration: none;
}

.card-blog .card-link:hover {
    text-decoration: underline;
}

/* CTA CENTRADO */
.section-cta-center {
    margin-top: 28px;
    text-align: center;
}

.section-cta-center h3 {
    margin: 0 0 4px;
    font-size: 18px;
    color: var(--metas-dark);
}

.section-cta-center p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #7b6e63;
}

/* TWO COLUMN GRID */
.two-column-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

/* LISTA DE BENEFICIOS */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0;
}

.feature-list li {
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.feature-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--metas-primary);
    position: absolute;
    left: 4px;
    top: 7px;
}

/* PANEL DESTACADO */
.highlight-panel {
    padding: 16px 18px;
    background: var(--metas-alt);
    border-radius: var(--metas-radius-md);
    border: 1px solid #ffe2c0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
}

.highlight-panel h3 {
    margin-top: 0;
    font-size: 18px;
    color: var(--metas-dark);
}

.highlight-text {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 8px;
    color: #6f6056;
}

.highlight-author {
    font-size: 13px;
    color: #927e6f;
    margin-bottom: 10px;
}

/* CTA FINAL */
.section-cta-final {
    background: linear-gradient(135deg, #fffaf4, #ffe1c3);
    text-align: center;
}

.section-cta-final h2 {
    margin: 0 0 10px;
    color: var(--metas-dark);
}

.section-cta-final p {
    margin: 0 0 16px;
    font-size: 15px;
    color: #6e5f54;
}

/* CONTACTO */
.section-contact-soft {
    background: #FAFAFA;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: flex-start;
}

.contact-info h2 {
    margin-top: 0;
    font-size: 24px;
    color: var(--metas-dark);
}

.contact-info p {
    font-size: 14px;
    color: #6f6056;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.contact-list li {
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-list a {
    color: var(--metas-primary);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

/* FORMULARIO */
.contact-form-wrapper {
    background-color: #fff;
    border-radius: var(--metas-radius-md);
    padding: 16px 16px 18px;
    border: 1px solid #f0e3d6;
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: grid;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 13px;
    color: var(--metas-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: inherit;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d8cbbf;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--metas-primary);
    box-shadow: 0 0 0 2px rgba(244, 124, 38, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.form-group-inline {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkbox-label input {
    width: auto;
}

.form-note {
    font-size: 11px;
    color: #8b7a6c;
    margin-top: 4px;
}

/* FOOTER */
.site-footer {
    background-color: #1f1812;
    color: #d7cbbf;
    padding-top: 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 18px;
}

.footer-brand {
    font-size: 16px;
    font-weight: 500;
}

.footer-text {
    font-size: 13px;
    color: #b3a598;
}

.footer-heading {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 4px;
    font-size: 13px;
}

.footer-links a {
    color: #d7cbbf;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #3a2f26;
    text-align: center;
    padding: 10px 16px 14px;
    font-size: 12px;
    color: #a39283;
}

/* BOTONES FLOTANTES */
.floating-buttons {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.floating-buttons.single .float-btn::after {
    content: " Necesitas ayuda?";
    position: absolute;
    right: 64px;
    padding: 6px 10px;
    border-radius: 999px;
    background-color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    font-size: 12px;
    white-space: nowrap;
    color: var(--metas-dark);
    opacity: 0;
    transform: translateX(6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.floating-buttons.single .float-btn.hovered::after {
    opacity: 1;
    transform: translateX(0);
}

.float-btn {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background-color: #ffffff;
    box-shadow: var(--shadow-float);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: visible;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.float-btn img {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: block;
}

.float-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

/* ETIQUETA TEXTO VISIBLE EN ESCRITORIO */
.float-label {
    position: absolute;
    right: 64px;
    padding: 6px 10px;
    border-radius: 999px;
    background-color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    font-size: 12px;
    white-space: nowrap;
    color: var(--metas-dark);
    opacity: 0;
    transform: translateX(6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.float-btn:hover .float-label {
    opacity: 1;
    transform: translateX(0);
}

/* ANIMACIONES SCROLL (REVEAL) */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   BLOQUE EXTRA: CLIENTES, STATS, CASOS DE  XITO, CTA WHATSAPP
   ========================================================== */

/* Carrusel de clientes   contenedor que usa JS (.carousel-logos) */
.carousel-logos {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.carousel-logos::-webkit-scrollbar {
    display: none;
}

.carousel-logos img {
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: 0.25s ease;
}

.carousel-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}

/* Stats  Por qu  metas  m s grandes y elegantes */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--metas-primary);
}

.stat-item p {
    font-size: 14px;
}

/* Casos de  xito slider base (JS usa .cases-slider y .cases-track) */
.cases-slider {
    overflow: hidden;
    position: relative;
}

.cases-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease;
}

/* Logo de empresa en casos */
.case-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff7ee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}

.case-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* CTA WhatsApp estilizado */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
}

/* Ilustraci n de contacto */
.cta-illustration {
    text-align: center;
}

.cta-illustration img {
    max-width: 360px;
    width: 100%;
    height: auto;
}

/* RESPONSIVE GENERAL */
@media (max-width: 960px) {
    .cards-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .two-column-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .highlight-panel {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 40px;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    /* NAV M VIL */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        width: 100%;
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding-bottom: 10px;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 8px 10px;
    }

    .cards-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .strip-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .carousel-logos {
        gap: 24px;
    }

    .carousel-logos img {
        max-height: 60px;
    }
}

@media (max-width: 540px) {
    .floating-buttons {
        right: 12px;
        bottom: 12px;
    }

    .float-btn {
        width: 54px;
        height: 54px;
    }

    .float-btn img {
        width: 44px;
        height: 44px;
    }

    .float-label {
        display: none; /* en m vil no tapa contenido */
    }
}
/* =======================
   CARRUSEL DE CLIENTES
   ======================= */

.clients-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.clients-carousel {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: scrollCarousel 35s linear infinite;
}

.client-logo {
    width: 150px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.76;
    transition: opacity 0.25s ease, filter 0.25s ease, transform 0.2s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.07);
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* ==========================
   CARRUSEL CASOS DE  XITO
   ========================== */

.cases-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 30px;
    position: relative;
}

.cases-carousel-track {
    display: flex;
    gap: 32px;
    animation: casesAutoScroll 22s linear infinite;
    padding: 10px;
}

.case-card {
    min-width: 340px;
    max-width: 340px;
    background: #ffffff;
    padding: 22px 22px 26px;
    border-radius: 18px;
    border: 1px solid #ececec;
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 38px rgba(0,0,0,0.08);
}

.case-logo {
    text-align: center;
    margin-bottom: 12px;
}

.case-logo img {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.8;
}

.case-quote {
    font-size: 15px;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    position: relative;
    margin-bottom: 16px;
}

.quote-mark {
    font-size: 36px;
    color: #f26522;
    font-weight: 900;
    line-height: 0;
    position: absolute;
    top: -12px;
    left: -6px;
}

.quote-mark.end {
    position: static;
    font-size: 32px;
    transform: translateY(4px);
}

.case-author {
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
    font-size: 15px;
}

.case-role {
    font-size: 13px;
    color: #777;
}

@keyframes casesAutoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 600px) {
    .case-card {
        min-width: 88%;
        max-width: 88%;
    }
}

