/* ═══════════════════════════════════════════════════════════════════
   RAM REFRIGERACIÓN — Modern Enhancements CSS
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --primary:        #0077B6;
    --primary-dark:   #023E8A;
    --primary-light:  #00B4D8;
    --shadow-blue:    0 8px 32px rgba(0,119,182,.18);
    --transition:     all .3s cubic-bezier(.4,0,.2,1);
    --radius:         12px;
    --radius-lg:      20px;
}

/* ── Scroll Progress Bar ─────────────────────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #00B4D8, #0077B6, #023E8A);
    z-index: 99999;
    transition: width .12s linear;
    box-shadow: 0 0 10px rgba(0,180,216,.7);
    pointer-events: none;
}

/* ── CRITICAL: WOW elements must NEVER start invisible ──────────── */
/* This overrides WOW.js's own CSS that hides elements */
.wow,
.animated {
    visibility: visible !important;
    animation-fill-mode: both;
}

/* Our scroll reveal: starts visible, animates in when observed */
.ram-animated {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s cubic-bezier(.4,0,.2,1),
                transform .65s cubic-bezier(.4,0,.2,1);
}
.ram-animated.ram-visible {
    opacity: 1;
    transform: none;
}
/* Override WOW's animated class when our system takes over */
.ram-animated.animated {
    opacity: 0 !important;
    animation: none !important;
}
.ram-animated.ram-visible.animated {
    opacity: 1 !important;
}
/* Already in viewport at load: always fully visible */
.ram-visible {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ── Navbar ──────────────────────────────────────────────────────── */
.navbar.sticky-top {
    top: 0 !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,.97) !important;
    border-bottom: 1px solid rgba(0,119,182,.08);
    transition: box-shadow .3s ease;
}
.navbar.sticky-top.shadow-sm {
    box-shadow: 0 4px 24px rgba(0,119,182,.14) !important;
}
.navbar-brand h1 {
    background: linear-gradient(135deg, #0077B6, #023E8A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}
.navbar .nav-link {
    position: relative;
    font-weight: 500;
    transition: color .2s ease;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 50%;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #00B4D8, #0077B6);
    transform: translateX(-50%);
    transition: width .3s ease;
    border-radius: 2px;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 80%; }

/* ── Topbar ──────────────────────────────────────────────────────── */
.container-fluid.bg-dark {
    background: linear-gradient(135deg, #010A35, #023E8A) !important;
    border-bottom: 1px solid rgba(0,180,216,.15);
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, #0077B6, #023E8A) !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,119,182,.3);
    transition: var(--transition) !important;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0,119,182,.42) !important;
}
.btn-primary:active {
    transform: translateY(0) !important;
}
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    transform: scale(0);
    animation: rippleAnim .55s linear;
    pointer-events: none;
}
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* ── Hero Carousel ───────────────────────────────────────────────── */
#header-carousel .carousel-item {
    min-height: 520px;
}
#header-carousel .carousel-item img {
    height: 520px;
    object-fit: cover;
    object-position: center;
}
.carousel-caption {
    background: linear-gradient(135deg,
        rgba(1,10,53,.88),
        rgba(0,119,182,.72)) !important;
}
.carousel-caption h1 {
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

/* ── Facts / Stats ───────────────────────────────────────────────── */
.facts {
    position: relative;
    overflow: hidden;
}
.facts::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0,180,216,.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,119,182,.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.facts .container { position: relative; z-index: 1; }
.stat-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    backdrop-filter: blur(8px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00B4D8, #0077B6);
    transform: scaleX(0);
    transition: transform .35s ease;
}
.stat-card:hover::after { transform: scaleX(1); }
.stat-card:hover {
    background: rgba(255,255,255,.11);
    transform: translateY(-4px);
}
.facts h1.display-4 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 40%, #00B4D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.facts .text-primary {
    color: #00B4D8 !important;
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* ── Service Cards ───────────────────────────────────────────────── */
.service-item {
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    transition: var(--transition) !important;
    background: white;
}
.service-item:hover {
    box-shadow: 0 16px 44px rgba(0,119,182,.2) !important;
}
.service-item img.img-fluid {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform .4s ease;
}
.service-item:hover img.img-fluid {
    transform: scale(1.04);
}
.service-item .d-flex.align-items-center.bg-light {
    background: linear-gradient(135deg, #f4faff, #eaf3ff) !important;
    transition: background .3s ease;
}
.service-item:hover .d-flex.align-items-center.bg-light {
    background: linear-gradient(135deg, #deeeff, #c8e3ff) !important;
}
.service-item a.h4 {
    font-weight: 700;
    color: #023E8A;
    text-decoration: none;
    transition: color .2s;
}
.service-item:hover a.h4 { color: #0077B6; }
@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,119,182,.4); }
    50%       { box-shadow: 0 0 0 9px rgba(0,119,182,0); }
}
.service-icon.bg-primary {
    border-radius: 0 !important;
    animation: iconPulse 2.8s ease infinite;
}

/* ── Detail Cards ────────────────────────────────────────────────── */
.card.border-0.shadow-sm {
    border-radius: var(--radius) !important;
    border: 1px solid rgba(0,119,182,.07) !important;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}
.card.border-0.shadow-sm::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, #00B4D8, #0077B6);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .3s ease;
}
.card.border-0.shadow-sm:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue) !important;
    border-color: rgba(0,119,182,.14) !important;
}
.card.border-0.shadow-sm:hover::before { transform: scaleY(1); }
.card.border-0.shadow-sm h4 { font-weight: 700; }

/* ── Testimonials ────────────────────────────────────────────────── */
.testimonial-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-blue);
    position: relative;
    border: 1px solid rgba(0,119,182,.07);
}
.testimonial-item::before {
    content: '\201C';
    position: absolute;
    top: -8px; left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: #0077B6;
    opacity: .1;
    font-family: Georgia, serif;
    pointer-events: none;
}
.testimonial-item img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    border: 3px solid #0077B6 !important;
    box-shadow: 0 4px 14px rgba(0,119,182,.22);
    object-fit: cover;
}
.testimonial-item p { font-style: italic; color: #444; line-height: 1.7; }
.testimonial-item h5 { font-weight: 700; color: #023E8A; margin-bottom: 2px; }
.testimonial-item span { font-size: .85rem; color: #0077B6; font-weight: 500; }

/* ── About Images ────────────────────────────────────────────────── */
.about-img-grid img {
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    transition: var(--transition);
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.about-img-grid img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-blue);
}

/* ── Page Header ─────────────────────────────────────────────────── */
.page-header {
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 25% 60%, rgba(0,180,216,.12), transparent 50%),
        radial-gradient(circle at 75% 40%, rgba(0,119,182,.1), transparent 50%);
    pointer-events: none;
}
.page-header h1 {
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
    background: linear-gradient(160deg, #010A35, #011845) !important;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00B4D8, #0077B6, #023E8A);
}
.footer .btn.btn-link {
    transition: padding-left .2s ease, color .2s ease !important;
}
.footer .btn.btn-link:hover {
    padding-left: 8px !important;
    color: #00B4D8 !important;
}
.footer .btn.btn-square {
    border-radius: 8px !important;
    transition: var(--transition);
}
.footer .btn.btn-square:hover {
    background: #0077B6 !important;
    border-color: #0077B6 !important;
    color: white !important;
    transform: translateY(-3px);
}

/* ── Back to top ─────────────────────────────────────────────────── */
.back-to-top {
    background: linear-gradient(135deg, #0077B6, #023E8A) !important;
    border: none !important;
    box-shadow: 0 4px 18px rgba(0,119,182,.38) !important;
    transition: var(--transition) !important;
}
.back-to-top:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 28px rgba(0,119,182,.5) !important;
}

/* ── Particles ───────────────────────────────────────────────────── */
.particles-bg {
    position: absolute; inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0,180,216,.18);
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    0%   { transform: translateY(100%) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(540deg); opacity: 0; }
}

/* ── Brand badges ────────────────────────────────────────────────── */
.brand-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid rgba(0,119,182,.12);
    border-radius: var(--radius);
    padding: 1rem;
    font-weight: 800;
    font-size: 1.05rem;
    color: #0077B6;
    min-height: 66px;
    transition: var(--transition);
    cursor: default;
}
.brand-badge:hover {
    border-color: #0077B6;
    background: linear-gradient(135deg, #f0f8ff, white);
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,119,182,.14);
}

/* ── WhatsApp float ──────────────────────────────────────────────── */
.whatsapp-float {
    bottom: 28px !important;
    right: 24px !important;
}

/* ── Feature items ───────────────────────────────────────────────── */
.feature-item {
    background: white;
    border-radius: var(--radius);
    padding: 1.4rem;
    border: 1px solid rgba(0,119,182,.07);
    transition: var(--transition);
}
.feature-item:hover {
    box-shadow: var(--shadow-blue);
    transform: translateY(-3px);
    border-color: rgba(0,119,182,.18);
}
.feature-icon-wrap {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #0077B6, #00B4D8) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,119,182,.28);
    transition: var(--transition);
    flex-shrink: 0;
}
.feature-item:hover .feature-icon-wrap {
    transform: rotate(8deg) scale(1.07);
}

/* ═══ RESPONSIVE ═══════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    #header-carousel .carousel-item,
    #header-carousel .carousel-item img {
        height: 380px;
        min-height: 380px;
    }
    .carousel-caption h1 { font-size: 1.6rem !important; }
    .carousel-caption p  { font-size: .9rem !important; }
}
@media (max-width: 767.98px) {
    #header-carousel .carousel-item,
    #header-carousel .carousel-item img {
        height: 300px;
        min-height: 300px;
    }
    .carousel-caption h1  { font-size: 1.25rem !important; }
    .carousel-caption p   { display: none; }
    .carousel-caption .btn { font-size: .8rem; padding: .5rem 1rem; }
    .stat-card { margin-bottom: .75rem; }
    .facts h1.display-4 { font-size: 2.2rem; }
    .testimonial-item { padding: 1.5rem 1rem; }
    .card.border-0.shadow-sm { margin-bottom: 1rem; }
}
@media (max-width: 575.98px) {
    .navbar-brand h1 { font-size: 1.05rem; }
    .btn-primary, .btn-success { font-size: .82rem; padding: .55rem 1rem; }
    .service-item img.img-fluid { height: 170px; }
}
html { scroll-behavior: smooth; }

/* ═══════════════════════════════════════════════════════════════════
   BRAND LOGOS SECTION
   ═══════════════════════════════════════════════════════════════════ */

.brands-section {
    background: linear-gradient(160deg, #f8fcff 0%, #eef5ff 100%);
    border-top: 1px solid rgba(0,119,182,.06);
    border-bottom: 1px solid rgba(0,119,182,.06);
}

.brand-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1.5px solid rgba(0,119,182,.1);
    border-radius: 14px;
    padding: 1.4rem 1rem 1rem;
    gap: .6rem;
    min-height: 110px;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.brand-badge::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00B4D8, #0077B6);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.brand-badge:hover {
    border-color: rgba(0,119,182,.25);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,119,182,.16);
}
.brand-badge:hover::before {
    transform: scaleX(1);
}

.brand-logo {
    width: 100%;
    max-width: 120px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-logo svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: .72rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color .2s;
}
.brand-badge:hover .brand-name {
    color: #0077B6;
}

/* Responsive brand grid */
@media (max-width: 575.98px) {
    .brand-badge {
        min-height: 90px;
        padding: 1rem .8rem .8rem;
    }
    .brand-logo { height: 36px; }
    .brand-name { font-size: .65rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   PERFORMANCE & ANTI-FLICKER — Optimizaciones finales
   ═══════════════════════════════════════════════════════════════════ */

/* Eliminar TODO rastro de visibility:hidden de animate.css / WOW */
.animated,
.wow,
.fadeIn,
.fadeInUp,
.fadeInDown,
.slideInDown,
.zoomIn {
    visibility: visible !important;
    animation-fill-mode: both;
}

/* Imagen de carga: reservar espacio exacto para evitar CLS */
img {
    max-width: 100%;
    height: auto;
}

/* Service images: altura fija para evitar layout shift */
.service-item > img.img-fluid {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #e8f4fd;   /* placeholder color mientras carga */
}

/* Carousel: altura reservada mientras carga imagen */
#header-carousel .carousel-item {
    background: linear-gradient(135deg, #010A35 0%, #023E8A 100%);
}
#header-carousel .carousel-item img {
    display: block;
    background: linear-gradient(135deg, #010A35 0%, #023E8A 100%);
}

/* Gallery cards: reservar espacio con aspect-ratio */
.gallery-card {
    aspect-ratio: 3 / 2;
    background: #e8f4fd;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About mosaic: placeholders */
.row.g-3 img.img-fluid {
    background: #e8f4fd;
}

100% { background-position: 200% 0; }
}



/* Font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

/* Prevenir FOIT (flash of invisible text) */
@font-face {
    font-display: swap;
}

/* ── Placeholder de carga para imágenes ─────────────────────────── */
.service-item > img,
.gallery-card > img,
.about-img-grid img,
.team-item img {
    background-color: #e8f4fd;
}



/* ═══════════════════════════════════════════════════════════════
   BRANDS MARQUEE — Infinite scrolling ticker
   ═══════════════════════════════════════════════════════════════ */
.brands-marquee-outer {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent);
}
.brands-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 24s linear infinite;
    gap: 12px;
    align-items: center;
}
.brands-marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    .brands-marquee-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIAL AVATARS SVG
   ═══════════════════════════════════════════════════════════════ */
.testi-avatar {
    width: 80px;
    height: 80px;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0, 119, 182, .30);
    flex-shrink: 0;
}

/* ── Mobile touch improvements ───────────────────────────────── */
@media (max-width: 767.98px) {
    /* Prevent iOS tap highlight */
    a, button, .btn { -webkit-tap-highlight-color: transparent; }

    /* Carousel captions — legible on small screens */
    .carousel-caption h1.display-4 { font-size: 1.6rem !important; }
    .carousel-caption p.fs-5 { font-size: 1rem !important; }

    /* Hero buttons stack naturally */
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 90%; max-width: 280px; }

    /* Navbar menu items: larger tap area */
    .navbar .nav-link { padding: .75rem 1rem; font-size: 1rem; }

    /* WhatsApp float: no overlap with iOS home bar */
    .whatsapp-float { bottom: 24px; right: 16px; }

    /* Stat counters: bigger on small screens */
    .stat-card h1.display-4 { font-size: 2.4rem; }

    /* CTA quote section */
    .quote-text, .quote-form { padding: 2rem 1.25rem !important; }
}

/* ── Botones sociales footer: hover colores de marca ────────────── */
.footer .btn-square.rounded-circle { transition: background .25s, color .25s, transform .2s; }
.footer a[href*="instagram"]:hover  { background: #E1306C !important; color: #fff !important; transform: scale(1.12); }
.footer a[href*="facebook"]:hover   { background: #1877F2 !important; color: #fff !important; transform: scale(1.12); }
.footer a[href*="whatsapp"]:hover   { background: #25D366 !important; color: #fff !important; transform: scale(1.12); }

/* Navbar sociales: mismo hover */
.navbar .btn-square.rounded-circle { transition: background .25s, color .25s, transform .2s; }
.navbar a[href*="instagram"]:hover  { background: #E1306C !important; transform: scale(1.12); }
.navbar a[href*="facebook"]:hover   { background: #1877F2 !important; transform: scale(1.12); }
.navbar a[href*="whatsapp"]:hover   { background: #25D366 !important; transform: scale(1.12); }

/* Topbar Instagram link */
.topbar-ig-link { transition: color .2s; }
.topbar-ig-link:hover { color: #E1306C !important; }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIOS REALES — Google Maps Style
   ═══════════════════════════════════════════════════════════════ */
.testi-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: .6rem;
}
.testi-star {
    color: #FBBC04;
    font-size: 1.1rem;
    line-height: 1;
}
.testi-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(234,67,53,.07);
    border: 1px solid rgba(234,67,53,.18);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: .72rem;
    font-weight: 600;
    color: #555;
    margin-top: .8rem;
    letter-spacing: .3px;
}
.testi-google-badge svg { flex-shrink: 0; }
.testi-time {
    font-size: .75rem;
    color: #999;
    margin-top: .3rem;
    display: block;
}
.testi-service-tag {
    display: inline-block;
    background: rgba(0,119,182,.08);
    color: #0077B6;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: .73rem;
    font-weight: 500;
    margin-top: .4rem;
}
.testimonial-item .testi-name { font-weight: 700; color: #023E8A; margin-bottom: 1px; }
.testimonial-item .testi-meta { font-size: .78rem; color: #777; }


/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: CLIENTES QUE CONFIARON EN RAM — Mosaic Animated
   ═══════════════════════════════════════════════════════════════════ */

.clients-trust-section {
    position: relative;
    background: linear-gradient(145deg, #010A35 0%, #01245A 45%, #0077B6 100%);
    padding: 90px 0 80px;
    overflow: hidden;
}
.clients-bg-texture {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,180,216,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,180,216,.07) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.clients-trust-section::before,
.clients-trust-section::after {
    content: ''; position: absolute; border-radius: 50%;
    pointer-events: none; filter: blur(90px); z-index: 0;
}
.clients-trust-section::before {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,180,216,.22) 0%, transparent 70%);
    top: -180px; left: -150px;
}
.clients-trust-section::after {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(0,119,182,.3) 0%, transparent 70%);
    bottom: -100px; right: -80px;
}

/* ── Header ─────────────────────────────────────────────────────── */
.clients-header {
    text-align: center; margin-bottom: 60px;
    position: relative; z-index: 1;
}
.clients-badge-label {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,180,216,.18); border: 1px solid rgba(0,180,216,.4);
    color: #48CAE4; padding: 6px 20px; border-radius: 50px;
    font-size: .78rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; margin-bottom: 22px;
}
.clients-badge-dot {
    display: inline-block; width: 7px; height: 7px;
    background: #48CAE4; border-radius: 50%;
    animation: dotpulse 2s ease-in-out infinite;
}
@keyframes dotpulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .3; transform: scale(.65); }
}
.clients-title {
    font-family: 'Roboto Slab', serif; font-weight: 800;
    font-size: clamp(1.9rem, 4vw, 3rem); color: #fff;
    margin-bottom: 14px; letter-spacing: -.02em; line-height: 1.15;
}
.clients-subtitle {
    color: rgba(255,255,255,.58); font-size: 1.05rem;
    max-width: 500px; margin: 0 auto; line-height: 1.65;
}

/* ── MOSAIC GRID ────────────────────────────────────────────────── */
.clients-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 16px; margin-bottom: 56px; position: relative; z-index: 1;
}
.clients-grid .client-card {
    flex: 0 0 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
}
@media (max-width: 992px) {
    .clients-grid .client-card {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
}
@media (max-width: 576px) {
    .clients-grid .client-card { flex: 0 0 100%; max-width: 100%; }
}

/* ── Card: stagger entry animation ─────────────────────────────── */
.client-card {
    position: relative; border-radius: 20px; cursor: default;
    opacity: 0; transform: translateY(30px);
    animation: clientCardIn .55s cubic-bezier(.22,1,.36,1) forwards;
    animation-play-state: paused;
}
.clients-grid.anim-in .client-card { animation-play-state: running; }
@keyframes clientCardIn {
    to { opacity: 1; transform: translateY(0); }
}
.clients-grid .client-card:nth-child(1) { animation-delay: .05s; }
.clients-grid .client-card:nth-child(2) { animation-delay: .13s; }
.clients-grid .client-card:nth-child(3) { animation-delay: .21s; }
.clients-grid .client-card:nth-child(4) { animation-delay: .29s; }
.clients-grid .client-card:nth-child(5) { animation-delay: .37s; }

/* ── Card inner ─────────────────────────────────────────────────── */
.client-card-inner {
    display: flex; align-items: center; gap: 0;
    background: #fff; border-radius: 20px;
    overflow: hidden; height: 100%; min-height: 96px;
    transition: transform .35s cubic-bezier(.4,0,.2,1),
                box-shadow .35s cubic-bezier(.4,0,.2,1);
}
.client-card:hover .client-card-inner {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(1,10,53,.22), 0 0 0 1.5px rgba(0,119,182,.22);
}

/* ── Columna acento izquierda (gradiente azul) ──────────────────── */
.client-card-accent {
    flex-shrink: 0; width: 68px; align-self: stretch;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; padding: 18px 0;
    background: linear-gradient(180deg, #023E8A 0%, #0077B6 55%, #00B4D8 100%);
    position: relative; overflow: hidden;
    transition: width .3s ease;
}
.client-card-accent::after {
    content: ''; position: absolute;
    top: -50%; left: -30%; width: 60%; height: 200%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.14), transparent);
    transform: skewX(-15deg) translateX(-100%);
    transition: transform .6s ease;
}
.client-card:hover .client-card-accent { width: 74px; }
.client-card:hover .client-card-accent::after {
    transform: skewX(-15deg) translateX(320%);
}

/* ── Monograma dentro del acento ────────────────────────────────── */
.client-card-number {
    font-size: .6rem; font-weight: 800; color: rgba(255,255,255,.45);
    letter-spacing: .1em; text-transform: uppercase;
}
.client-monogram {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.28);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    transition: transform .35s ease, background .3s ease;
}
.client-monogram svg { width: 26px; height: 26px; display: block; }
.client-card:hover .client-monogram {
    transform: scale(1.12) rotate(5deg);
    background: rgba(255,255,255,.28);
}

/* ── Texto ──────────────────────────────────────────────────────── */
.client-card-body {
    flex: 1; padding: 16px 16px 16px 18px; min-width: 0;
}
.client-info { flex: 1; min-width: 0; }
.client-name {
    font-family: 'Roboto Slab', serif; font-size: .96rem;
    font-weight: 700; color: #010A35; margin: 0 0 6px;
    line-height: 1.25; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.client-name-sub {
    display: block; font-size: .7rem; color: #6a7a90;
    margin-bottom: 8px; font-weight: 400;
    line-height: 1.35; white-space: normal;
}
.client-sector {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .7rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: #0077B6;
    background: rgba(0,119,182,.08); border: 1px solid rgba(0,119,182,.18);
    padding: 3px 10px; border-radius: 6px;
    transition: background .25s ease, color .25s ease;
}
.client-sector i { font-size: .65rem; }
.client-card:hover .client-sector {
    background: rgba(0,119,182,.15); color: #023E8A;
    border-color: rgba(0,119,182,.3);
}

/* ── Arrow indicador ────────────────────────────────────────────── */
.client-card-arrow {
    flex-shrink: 0; width: 28px; height: 28px; margin-right: 14px;
    background: rgba(0,119,182,.08); border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: #0077B6; font-size: .7rem;
    opacity: 0; transform: translateX(-8px);
    transition: opacity .3s ease, transform .3s ease;
}
.client-card:hover .client-card-arrow { opacity: 1; transform: translateX(0); }

/* Featured card (Suther) */
.client-card--featured .client-card-accent {
    background: linear-gradient(180deg, #010A35 0%, #023E8A 50%, #0077B6 100%);
}
.client-card--featured .client-card-inner {
    box-shadow: 0 4px 20px rgba(0,119,182,.14);
}
.client-glow-border { display: none; }

/* ── Trust line ─────────────────────────────────────────────────── */
.clients-trust-line {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 16px 12px; padding-top: 42px;
    border-top: 1px solid rgba(255,255,255,.12);
    position: relative; z-index: 1;
}
.trust-line-item {
    display: flex; align-items: center; gap: 9px;
    color: rgba(255,255,255,.72); font-size: .92rem; font-weight: 500;
}
.trust-line-item i { color: #48CAE4; font-size: .88rem; }
.trust-line-sep { color: rgba(255,255,255,.2); font-size: 1.3rem; line-height: 1; }
@media (max-width: 576px) { .trust-line-sep { display: none; } }



/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px) & LARGE PHONE (480px) FIXES
   ══════════════════════════════════════════════════════════════ */

/* ── 768px: Tablets (iPad portrait, etc.) ─────────────────── */
@media (max-width: 768px) {

    /* Navbar: reduce brand font size */
    .navbar-brand h1 {
        font-size: 1.2rem !important;
    }
    .navbar-brand img {
        width: 38px !important; height: 38px !important;
    }

    /* Hero carousel captions */
    .carousel-caption {
        padding-top: 20px !important;
    }
    .carousel-caption .display-4 {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
    }
    .carousel-caption .fs-5 {
        font-size: .92rem !important;
    }
    .hero-buttons .btn {
        padding: 10px 22px !important;
        font-size: .88rem !important;
    }

    /* Stats section */
    .stat-card-v2 {
        padding: 18px 14px !important;
    }
    .stat-v2-num {
        font-size: 2.2rem !important;
    }

    /* About section image */
    .hero-img-sizer {
        max-width: 380px;
        margin: 0 auto;
    }

    /* Service cards: 2 cols */
    .service-item { margin-bottom: 1rem; }

    /* Brands marquee */
    .brands-marquee-track { animation-duration: 18s !important; }

    /* Clients section */
    .clients-title { font-size: 1.9rem !important; }
    .client-card-inner { min-height: 84px; }
    .client-card-accent { width: 60px !important; }
    .client-name { font-size: .88rem !important; }

    /* CTA quote section */
    .quote-text, .quote-form {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ── 480px: Large phones (iPhone Plus, Galaxy S) ──────────── */
@media (max-width: 480px) {

    /* Global spacing */
    .container-xxl > .container,
    .container { padding-left: 14px !important; padding-right: 14px !important; }

    /* Section padding */
    .container-xxl.py-5,
    section.py-5 { padding-top: 48px !important; padding-bottom: 48px !important; }

    /* Navbar */
    .navbar { padding: 10px 14px !important; }
    .navbar-brand h1 { font-size: 1.05rem !important; }

    /* Topbar: hide on small phones */
    .container-fluid.bg-dark { display: none !important; }

    /* Hero carousel */
    .carousel-caption .display-4 { font-size: 1.35rem !important; }
    .carousel-caption p { display: none; }
    .hero-buttons { gap: 8px !important; }
    .hero-buttons .btn { padding: 9px 16px !important; font-size: .82rem !important; }

    /* About teaser */
    .hero-single-tag { font-size: .72rem !important; padding: 6px 12px !important; }
    .hero-single-badge { font-size: .72rem !important; padding: 7px 12px !important; }

    /* Stats */
    .stat-card-v2 { padding: 14px 10px !important; }
    .stat-v2-num { font-size: 1.9rem !important; }
    .stat-v2-label { font-size: .72rem !important; }

    /* Section headers */
    .section-header,
    h1.display-6 { font-size: 1.5rem !important; }

    /* Service items */
    .service-item .d-flex.align-items-center { padding: 12px !important; }
    .service-item .h5 { font-size: .9rem !important; }

    /* Feature items */
    .feature-item h5 { font-size: .9rem !important; }

    /* Testimonials */
    .testimonial-item { padding: 20px 16px !important; }

    /* Brands marquee */
    .brand-pill { padding: 8px 16px !important; }
    .brand-pill-logo img { width: 80px !important; height: 38px !important; }

    /* Footer */
    .footer h1 { font-size: 1.15rem !important; }
    .footer h5 { font-size: .95rem !important; }
    .copyright .col-md-6 { text-align: center !important; }

    /* Clients section */
    .clients-trust-section { padding: 60px 0 50px !important; }
    .clients-grid { gap: 12px !important; }
    .client-card-accent { width: 56px !important; padding: 14px 0 !important; }
    .client-monogram { width: 34px !important; height: 34px !important; border-radius: 9px !important; }
    .client-name { font-size: .85rem !important; }
    .client-sector { font-size: .65rem !important; padding: 2px 8px !important; }
    .clients-title { font-size: 1.6rem !important; }
    .clients-subtitle { font-size: .9rem !important; }
    .trust-line-item { font-size: .82rem !important; }

    /* ART badge */
    .art-badge-section { flex-direction: column !important; text-align: center !important; }
    .art-badge-section .d-flex.gap-2 { justify-content: center !important; }

    /* WhatsApp float: smaller on phones */
    .whatsapp-float, .wa-float {
        width: 52px !important; height: 52px !important;
        bottom: 20px !important; right: 14px !important;
    }

    /* Back to top */
    .back-to-top {
        right: 14px !important; bottom: 78px !important;
        width: 40px !important; height: 40px !important;
    }

    /* Page header */
    .page-header { padding: 40px 0 !important; }
    .page-header h1 { font-size: 1.6rem !important; }
}

/* ── 375px: Small phones (iPhone SE, Galaxy A) ────────────── */
@media (max-width: 375px) {
    .carousel-caption .display-4 { font-size: 1.2rem !important; }
    .navbar-brand h1 { font-size: .95rem !important; }
    .stat-v2-num { font-size: 1.7rem !important; }
    .clients-title { font-size: 1.4rem !important; }
    .client-card-accent { width: 50px !important; }
}


/* ═══════════════════════════════════════════════════════════════════
   BLOG — Cards, Article & Sidebar styles
   ═══════════════════════════════════════════════════════════════════ */

/* ── Blog cards (index) ─────────────────────────────────────── */
.blog-card {
    background: #fff;
    border-radius: 18px;
    border: 1.5px solid rgba(0,119,182,.1);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,50,100,.15);
    border-color: rgba(0,119,182,.25);
}
.blog-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.blog-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-category {
    position: absolute;
    top: 14px; left: 14px;
    background: #0077B6;
    color: #fff;
    font-size: .7rem; font-weight: 700;
    padding: 4px 12px; border-radius: 20px;
    letter-spacing: .06em; text-transform: uppercase;
}
.blog-card-body {
    padding: 24px 22px;
    flex: 1;
    display: flex; flex-direction: column;
}
.blog-meta {
    display: flex; gap: 16px; flex-wrap: wrap;
    font-size: .78rem; color: #8a9ab0;
    margin-bottom: 12px;
}
.blog-meta i { color: #0077B6; margin-right: 4px; }
.blog-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.1rem; font-weight: 700;
    line-height: 1.35; margin-bottom: 10px;
}
.blog-title a { color: #010A35; text-decoration: none; transition: color .2s ease; }
.blog-title a:hover { color: #0077B6; }
.blog-excerpt {
    font-size: .88rem; color: #5a6a80;
    line-height: 1.65; margin-bottom: 16px;
    flex: 1;
}
.blog-read-more {
    display: inline-flex; align-items: center; gap: 7px;
    color: #0077B6; font-weight: 700; font-size: .85rem;
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
    margin-top: auto;
}
.blog-read-more:hover { gap: 12px; color: #023E8A; }

/* ── Article page ───────────────────────────────────────────── */
.blog-article h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.45rem; font-weight: 700;
    color: #010A35; margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0,119,182,.15);
}
.blog-article h3 {
    font-size: 1.1rem; font-weight: 700;
    color: #023E8A; margin: 24px 0 10px;
}
.blog-article p {
    font-size: .97rem; color: #3a4a5a;
    line-height: 1.78; margin-bottom: 16px;
}
.blog-article p.lead {
    font-size: 1.1rem; color: #2a3a4a;
    border-left: 4px solid #0077B6;
    padding-left: 18px; margin-bottom: 28px;
}
.blog-article ul, .blog-article ol {
    font-size: .95rem; color: #3a4a5a;
    line-height: 1.8; padding-left: 1.4rem;
    margin-bottom: 18px;
}
.blog-article table { margin-bottom: 24px; font-size: .9rem; }
.blog-article .table-dark th { background: #010A35; }
.blog-article .bg-primary { background: linear-gradient(135deg,#0077B6,#023E8A) !important; }

/* Mobile blog responsive */
@media (max-width: 768px) {
    .blog-card-img { height: 180px; }
    .blog-title { font-size: 1rem; }
    .blog-sidebar { margin-top: 32px; }
    .blog-article h2 { font-size: 1.25rem; }
}
@media (max-width: 480px) {
    .blog-card-body { padding: 18px 16px; }
    .blog-article p { font-size: .92rem; }
    .blog-article p.lead { font-size: 1rem; }
}


/* ═══════════════════════════════════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════════════════════════════════ */
.price-card {
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid rgba(0,119,182,.12);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .35s ease, box-shadow .35s ease;
    position: relative;
}
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,50,100,.15);
}
.price-card--featured {
    border-color: #0077B6;
    box-shadow: 0 8px 30px rgba(0,119,182,.18);
}
.price-card-badge {
    position: absolute; top: 14px; right: 14px;
    background: linear-gradient(135deg,#0077B6,#023E8A);
    color: #fff; font-size: .68rem; font-weight: 800;
    padding: 4px 12px; border-radius: 20px;
    letter-spacing: .06em; text-transform: uppercase;
}
.price-card-header {
    padding: 28px 24px 20px;
    border-bottom: 1px solid rgba(0,119,182,.1);
}
.price-card-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #e8f4fd, #d0eafb);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #0077B6;
    margin-bottom: 14px;
}
.price-card--featured .price-card-icon {
    background: linear-gradient(135deg, #0077B6, #023E8A);
    color: #fff;
}
.price-card-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.1rem; font-weight: 700;
    color: #010A35; margin: 0 0 4px;
}
.price-card-sub { font-size: .8rem; color: #7a8a9a; margin: 0; }

.price-card-body { padding: 20px 24px; flex: 1; }

.price-range {
    display: flex; align-items: baseline; gap: 8px;
    margin-bottom: 18px; padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,119,182,.08);
}
.price-from { font-size: .78rem; color: #8a9ab0; text-transform: uppercase; letter-spacing: .06em; }
.price-value {
    font-family: 'Roboto Slab', serif;
    font-size: 1.6rem; font-weight: 800; color: #0077B6;
    line-height: 1;
}

.price-includes {
    list-style: none; padding: 0; margin-bottom: 14px;
    display: flex; flex-direction: column; gap: 8px;
}
.price-includes li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .85rem; color: #3a4a5a; line-height: 1.4;
}
.price-includes li i { color: #0a7a2e; font-size: .78rem; margin-top: 3px; flex-shrink: 0; }
.price-note { font-size: .75rem; color: #9aabb0; font-style: italic; margin: 0; }

.price-cta {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    margin: 0 24px 24px;
    padding: 13px;
    background: linear-gradient(135deg,#0077B6,#023E8A);
    color: #fff; font-weight: 700; font-size: .88rem;
    border-radius: 12px; text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 3px 12px rgba(0,119,182,.3);
}
.price-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,119,182,.45); color: #fff; }
.price-cta--featured {
    background: linear-gradient(135deg,#25D366,#1da851);
    box-shadow: 0 3px 12px rgba(37,211,102,.3);
}
.price-cta--featured:hover { box-shadow: 0 6px 20px rgba(37,211,102,.45); }

@media (max-width: 480px) {
    .price-card-header { padding: 22px 18px 16px; }
    .price-card-body  { padding: 16px 18px; }
    .price-cta { margin: 0 18px 18px; }
    .price-value { font-size: 1.4rem; }
}


/* ═══════════════════════════════════════════════════════════════════
   GOOGLE REVIEWS WIDGET
   ═══════════════════════════════════════════════════════════════════ */
.reviews-section {
    background: #fff;
    padding: 80px 0;
}
.reviews-overall {
    display: flex; align-items: center; gap: 28px;
    background: linear-gradient(135deg,#010A35,#023E8A);
    border-radius: 20px; padding: 32px 36px;
    margin-bottom: 40px; flex-wrap: wrap;
}
.reviews-overall-score {
    font-family: 'Roboto Slab', serif;
    font-size: 5rem; font-weight: 800; color: #fff;
    line-height: 1; flex-shrink: 0;
}
.reviews-overall-info h4 { color: #fff; font-family: 'Roboto Slab',serif; margin-bottom: 6px; }
.reviews-overall-stars { color: #FFC107; font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 4px; }
.reviews-overall-count { color: rgba(255,255,255,.6); font-size: .88rem; }
.reviews-overall-badge {
    margin-left: auto; flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.reviews-overall-badge svg { width: 40px; height: 40px; }
.reviews-overall-badge span { color: rgba(255,255,255,.7); font-size: .78rem; text-align: center; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 992px) { .reviews-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 576px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
    background: #fff;
    border: 1.5px solid rgba(0,119,182,.1);
    border-radius: 16px; padding: 22px 20px;
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,50,100,.1); }
.review-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Roboto Slab',serif; font-weight: 800;
    font-size: .95rem; color: #fff;
}
.review-info .review-name { font-weight: 700; font-size: .92rem; color: #010A35; margin: 0 0 2px; }
.review-info .review-time { font-size: .75rem; color: #9aabb0; }
.review-stars { color: #FFC107; font-size: .85rem; margin-bottom: 10px; }
.review-text { font-size: .88rem; color: #4a5a70; line-height: 1.65; margin: 0; }
.review-source {
    display: flex; align-items: center; gap: 5px;
    font-size: .72rem; color: #9aabb0; margin-top: 12px;
    padding-top: 10px; border-top: 1px solid rgba(0,0,0,.06);
}
.review-load-btn {
    display: block; margin: 32px auto 0;
    padding: 12px 32px;
    background: transparent;
    border: 2px solid rgba(0,119,182,.3);
    color: #0077B6; font-weight: 700; font-size: .88rem;
    border-radius: 50px; cursor: pointer;
    transition: all .25s ease;
}
.review-load-btn:hover { background: #0077B6; color: #fff; border-color: #0077B6; }

/* Custom cursor handled by premium.js */
  to   { transform: rotate(360deg); }
}

/* Highlight over buttons/links */

/* ═══════════════════════════════════════════════════════
   LOGO IN NAVBAR — replace icon+text
═══════════════════════════════════════════════════════ */
/* footer-logo-img — see .ram-footer-logo-wrap section */
/* footer-logo-img:hover — handled in .ram-footer-logo-wrap section */

/* ═══════════════════════════════════════════════════════════════
   CLIENT BADGE HOVER → WHITE EFFECT
═══════════════════════════════════════════════════════════════ */
.client-badge {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.client-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  border-radius: inherit;
  transition: background .28s ease;
  pointer-events: none;
}
.client-badge:hover::before {
  background: rgba(255,255,255,.12);
}
.client-badge:hover {
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.5) !important;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.3);
}
.client-badge:hover .client-badge-icon {
  background: rgba(255,255,255,.25);
  color: #fff;
  transform: rotate(10deg) scale(1.12);
  transition: all .28s ease;
}
.client-badge:hover .client-badge-info strong {
  color: #fff;
}
.client-badge:hover .client-badge-info span {
  color: rgba(255,255,255,.8);
}
/* Ripple on click */
.client-badge:active {
  transform: scale(.97);
}

/* ═══════════════════════════════════════════════════════════════
   STATS COUNTER SECTION — TOTAL REDESIGN
═══════════════════════════════════════════════════════════════ */
.stats-v3 {
  padding: 0;
  position: relative;
  overflow: hidden;
}
.stats-v3-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 220px;
}
@media (max-width: 991px) {
  .stats-v3-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .stats-v3-inner { grid-template-columns: 1fr 1fr; }
}

.stat-v3-item {
  position: relative;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: background .3s ease;
}
/* Alternating bg */
.stat-v3-item:nth-child(1),
.stat-v3-item:nth-child(3) {
  background: linear-gradient(135deg, #010A35 0%, #023E8A 100%);
}
.stat-v3-item:nth-child(2),
.stat-v3-item:nth-child(4) {
  background: linear-gradient(135deg, #0077B6 0%, #0096C7 100%);
}
.stat-v3-item::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 150px; height: 150px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  transition: transform .4s ease;
}
.stat-v3-item:hover::before {
  transform: scale(2.2);
}
.stat-v3-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #48CAE4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.stat-v3-item:hover::after {
  transform: scaleX(1);
}

.stat-v3-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 1.3rem;
  color: #48CAE4;
  transition: background .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.stat-v3-item:hover .stat-v3-icon {
  background: rgba(72,202,228,.25);
  transform: scale(1.15) rotate(-8deg);
}

.stat-v3-num {
  font-family: 'Roboto Slab', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
  /* Counter animation via JS */
}
.stat-v3-suffix {
  color: #48CAE4;
  font-size: 2rem;
  font-weight: 900;
}
.stat-v3-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}
.stat-v3-bar {
  width: 40px; height: 3px;
  background: rgba(72,202,228,.4);
  border-radius: 2px;
  margin: 10px auto 0;
  position: relative;
  overflow: hidden;
}
.stat-v3-bar::after {
  content: '';
  position: absolute;
  left: -100%; top: 0; bottom: 0;
  width: 100%;
  background: #48CAE4;
  animation: barSlide 2.5s ease-in-out infinite;
}
@keyframes barSlide {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}
/* Stagger delays */
.stat-v3-item:nth-child(1) .stat-v3-bar::after { animation-delay: 0s; }
.stat-v3-item:nth-child(2) .stat-v3-bar::after { animation-delay: .5s; }
.stat-v3-item:nth-child(3) .stat-v3-bar::after { animation-delay: 1s; }
.stat-v3-item:nth-child(4) .stat-v3-bar::after { animation-delay: 1.5s; }

  50%     { transform: scale(1.7); opacity: 0; }
}

.ram-footer-logo-wrap:hover 
/* ═══════════════════════════════════════════════════════════════
   LOGO — CLEAN REWRITE (navbar + footer)
═══════════════════════════════════════════════════════════════ */

/* ── NAVBAR LOGO ── */
.ram-brand-link {
  text-decoration: none !important;
}
.ram-navbar-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  border: 2px solid transparent;
  transition: border-color .35s ease, background .35s ease, box-shadow .35s ease;
  box-shadow: 0 2px 12px rgba(0,119,182,.15);
}
.ram-brand-link:hover .ram-navbar-logo-wrap {
  border-color: #48CAE4;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,119,182,.3);
}
.ram-navbar-logo-wrap .ram-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  /* NO filter — show real logo colors */
}
.ram-brand-link:hover .ram-navbar-logo-wrap .ram-logo-img {
  transform: scale(1.05);
}

/* Green dot badge */
.ram-logo-pulse {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #fff;
  z-index: 2;
}
.ram-logo-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,.35);
  animation: pulseBadge 2s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%,100% { transform: scale(1); opacity: .6; }
  50%     { transform: scale(1.9); opacity: 0; }
}

/* ── FOOTER LOGO ── */
.ram-footer-logo-wrap {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.92);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 14px;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.ram-footer-logo-wrap:hover {
  background: #fff;
  border-color: #48CAE4;
  box-shadow: 0 4px 22px rgba(72,202,228,.3);
}
.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  /* Show real logo — no filter */
  transition: transform .3s ease;
}
.ram-footer-logo-wrap:hover .footer-logo-img {
  transform: scale(1.04);
}

/* ── FLOATING SOCIAL PANEL (right side) ── */
.float-social-panel {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
}
.float-social-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
  pointer-events: all;
  transition: width .3s cubic-bezier(.34,1.56,.64,1), background .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.float-social-btn:first-child { border-radius: 12px 0 0 0; }
.float-social-btn:last-child  { border-radius: 0 0 0 12px; }

.float-social-btn.fsb-ig   { background: linear-gradient(135deg,#E1306C,#833AB4); }
.float-social-btn.fsb-fb   { background: #1877F2; }
.float-social-btn.fsb-wa   { background: #25D366; }

/* Slide-out label */
.float-social-btn::before {
  content: attr(data-label);
  position: absolute;
  right: 48px;
  white-space: nowrap;
  background: inherit;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .25s ease, transform .25s ease;
  border-radius: 12px 0 0 12px;
  pointer-events: none;
}
.float-social-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}
.float-social-btn:hover {
  width: 140px;
  box-shadow: -4px 4px 20px rgba(0,0,0,.3);
}
.float-social-btn i {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-left: auto;
  width: 48px;
  text-align: center;
  line-height: 48px;
}

/* Separator line between buttons */
.float-social-btn + .float-social-btn {
  border-top: 1px solid rgba(255,255,255,.15);
}

@media (max-width: 767px) {
  .float-social-panel { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   INDEX — CLIENTES REALES HERO SHOWCASE
═══════════════════════════════════════════════════════════════ */
.idx-clients-wrap {
  background: #010A35;
  position: relative;
  overflow: hidden;
}
.idx-clients-wrap::before {
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 55% 70% at 5% 30%, rgba(0,119,182,.28) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 95% 70%, rgba(72,202,228,.14) 0%, transparent 65%);
  pointer-events:none;
}

/* ── HEAD ── */
.idx-clients-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 56px 44px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative; z-index: 1;
}
@media(max-width:991px){ .idx-clients-head{flex-direction:column;align-items:flex-start;padding:40px 32px 32px;} }
@media(max-width:575px){ .idx-clients-head{padding:32px 20px 28px;} }

.idx-clients-head-inner { max-width: 480px; }

.idx-clients-eyebrow {
  display:inline-flex;align-items:center;gap:8px;
  font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:#48CAE4;margin-bottom:14px;
}
.idx-clients-title {
  font-family:'Roboto Slab',serif;
  font-size:clamp(1.7rem,2.8vw,2.5rem);
  font-weight:800;color:#fff;line-height:1.18;margin-bottom:14px;
}
.idx-clients-title em { font-style:normal;color:#48CAE4; }
.idx-clients-desc {
  color:rgba(255,255,255,.52);font-size:.92rem;line-height:1.65;margin-bottom:22px;
}
.idx-clients-cta {
  display:inline-flex;align-items:center;
  font-size:.82rem;font-weight:700;color:#48CAE4;
  text-decoration:none;letter-spacing:.04em;
  border-bottom:1px solid rgba(72,202,228,.35);
  padding-bottom:2px;
  transition:color .2s,border-color .2s;
}
.idx-clients-cta:hover{color:#fff;border-color:rgba(255,255,255,.4);}

/* Stats right side */
.idx-clients-stats {
  display:flex;align-items:center;gap:0;
  flex-shrink:0;
}
.idx-cstat { text-align:center;padding:0 28px; }
.idx-cstat-sep { width:1px;height:50px;background:rgba(255,255,255,.1); }
.idx-cstat-n {
  display:block;
  font-family:'Roboto Slab',serif;
  font-size:clamp(2rem,3vw,2.8rem);font-weight:900;color:#fff;line-height:1;margin-bottom:6px;
}
.idx-cstat-l {
  font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.4);
}
@media(max-width:767px){
  .idx-clients-stats{gap:0;}
  .idx-cstat{padding:0 16px;}
  .idx-cstat-n{font-size:1.8rem;}
}

/* ── CARD GRID ── */
.idx-clients-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border-bottom:1px solid rgba(255,255,255,.07);
  position:relative;z-index:1;
}
@media(max-width:991px){ .idx-clients-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:575px){ .idx-clients-grid{grid-template-columns:1fr;} }

.idx-client-card {
  padding:32px 32px 28px;
  border-right:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
  position:relative;overflow:hidden;
  transition:background .28s ease;
  cursor:default;
}
.idx-client-card:nth-child(3n){ border-right:none; }
.idx-client-card:hover{ background:rgba(255,255,255,.035); }
@media(max-width:991px){
  .idx-client-card:nth-child(2n){ border-right:none; }
  .idx-client-card:nth-child(3n){ border-right:1px solid rgba(255,255,255,.07); }
}
@media(max-width:575px){
  .idx-client-card{ border-right:none!important; }
}

/* Accent card */
.idx-client-card--featured {
  background:linear-gradient(135deg,rgba(0,119,182,.2),rgba(72,202,228,.08));
}
.idx-client-card--featured::before {
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#0077B6,#48CAE4);
}

/* Number badge */
.idx-client-num {
  font-size:.65rem;font-weight:800;letter-spacing:.1em;
  color:rgba(255,255,255,.25);margin-bottom:12px;
}

/* Monogram circle */
.idx-client-mono {
  width:52px;height:52px;border-radius:14px;
  background:linear-gradient(135deg,#0077B6,#023E8A);
  display:flex;align-items:center;justify-content:center;
  font-family:'Roboto Slab',serif;font-size:.95rem;font-weight:800;
  color:#fff;margin-bottom:16px;letter-spacing:.05em;
  box-shadow:0 4px 16px rgba(0,119,182,.35);
  transition:transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .28s ease;
}
.idx-client-card:hover .idx-client-mono {
  transform:scale(1.1) rotate(-5deg);
  box-shadow:0 6px 22px rgba(72,202,228,.4);
}

.idx-client-name {
  font-family:'Roboto Slab',serif;font-size:1.05rem;font-weight:700;
  color:#fff;margin-bottom:4px;line-height:1.3;
}
.idx-client-sub {
  display:block;font-size:.75rem;color:rgba(255,255,255,.4);
  margin-bottom:6px;line-height:1.4;
}
.idx-client-sector {
  display:inline-flex;align-items:center;gap:6px;
  font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:#48CAE4;margin-bottom:10px;
  background:rgba(72,202,228,.1);border:1px solid rgba(72,202,228,.2);
  padding:3px 10px;border-radius:20px;
}
.idx-client-detail {
  font-size:.8rem;color:rgba(255,255,255,.42);line-height:1.55;margin:0;
  border-top:1px solid rgba(255,255,255,.07);padding-top:10px;margin-top:10px;
}

/* Glow on hover */
.idx-client-glow {
  position:absolute;bottom:-60px;right:-60px;
  width:160px;height:160px;border-radius:50%;
  background:radial-gradient(circle,rgba(72,202,228,.12) 0%,transparent 70%);
  transition:transform .4s ease,opacity .4s ease;
  opacity:0;
}
.idx-client-card:hover .idx-client-glow { opacity:1;transform:scale(1.3); }

/* "More" card */
.idx-client-card--more {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;gap:16px;
  background:rgba(255,255,255,.025);
  border-right:none!important;
}
.idx-client-more-icon {
  width:56px;height:56px;border-radius:50%;
  border:2px dashed rgba(72,202,228,.4);
  display:flex;align-items:center;justify-content:center;
  color:#48CAE4;font-size:1.1rem;
  animation:rotateDash 8s linear infinite;
}
@keyframes rotateDash{to{transform:rotate(360deg);}}
.idx-client-more-title {
  font-family:'Roboto Slab',serif;font-size:1rem;font-weight:700;
  color:#fff;line-height:1.4;margin:0;
}
.idx-client-more-btn {
  display:inline-flex;align-items:center;gap:6px;
  font-size:.78rem;font-weight:700;color:#48CAE4;
  text-decoration:none;
  background:rgba(72,202,228,.1);border:1px solid rgba(72,202,228,.25);
  padding:8px 18px;border-radius:20px;
  transition:background .25s,color .25s,border-color .25s;
}
.idx-client-more-btn:hover{background:rgba(72,202,228,.22);color:#fff;border-color:rgba(72,202,228,.5);}

/* ── TRUST BAR ── */
.idx-clients-trust {
  display:flex;align-items:center;justify-content:center;
  flex-wrap:wrap;gap:6px 0;
  padding:18px 32px;
  border-top:1px solid rgba(255,255,255,.07);
  position:relative;z-index:1;
}
.idx-trust-item {
  display:inline-flex;align-items:center;gap:7px;
  font-size:.75rem;color:rgba(255,255,255,.45);padding:0 20px;
}
.idx-trust-item i { color:#48CAE4; }
.idx-trust-sep { color:rgba(255,255,255,.15);font-size:.9rem; }
@media(max-width:575px){ .idx-trust-sep{display:none;} .idx-trust-item{flex:0 0 50%;justify-content:center;} }

/* ═══════════════════════════════════════════════════════════════
   SEC-CLIENTS — sección clientes páginas internas
═══════════════════════════════════════════════════════════════ */
.sec-clients {
  background: #010A35;
  padding: 52px 0 0;
  position: relative;
  overflow: hidden;
}
.sec-clients::before {
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse 55% 60% at 0% 50%,rgba(0,119,182,.2) 0%,transparent 65%),
             radial-gradient(ellipse 40% 50% at 100% 50%,rgba(72,202,228,.08) 0%,transparent 65%);
  pointer-events:none;
}
.sec-clients .container { position:relative;z-index:1; }

/* Head row */
.sec-clients-head {
  display:flex;align-items:flex-end;justify-content:space-between;
  margin-bottom:24px;gap:20px;flex-wrap:wrap;
}
.sec-cli-eyebrow {
  display:inline-flex;align-items:center;gap:8px;
  font-size:9.5px;font-weight:700;letter-spacing:.18em;
  text-transform:uppercase;color:#48CAE4;margin-bottom:8px;
}
.sec-cli-line {width:18px;height:1px;background:#48CAE4;flex-shrink:0;}
.sec-cli-title {
  font-family:'Roboto Slab',serif;font-size:1.5rem;font-weight:800;
  color:#fff;line-height:1.2;margin-bottom:4px;
}
.sec-cli-desc { font-size:.8rem;color:rgba(255,255,255,.4);line-height:1.6; }
.sec-cli-rating {
  display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex-shrink:0;
}
.sec-cli-stars { color:#FBBC05;font-size:.9rem;letter-spacing:2px; }
.sec-cli-rating-label { font-size:.68rem;color:rgba(255,255,255,.35); }

/* Card grid */
.sec-clients-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
}
@media(max-width:991px){ .sec-clients-grid{grid-template-columns:repeat(3,1fr);} }
@media(max-width:575px){ .sec-clients-grid{grid-template-columns:repeat(2,1fr);} }

/* Cards */
.sec-cli-card {
  background:#fff;border-radius:10px;padding:16px 16px 14px;
  position:relative;overflow:hidden;
  opacity:0;
  will-change:transform,opacity;
  animation:secCardIn .5s cubic-bezier(.34,1.56,.64,1) forwards;
  transition:transform .35s cubic-bezier(.34,1.56,.64,1),box-shadow .3s;
  cursor:default;
}
.sec-cli-card:nth-child(1){animation-delay:.04s}
.sec-cli-card:nth-child(2){animation-delay:.1s}
.sec-cli-card:nth-child(3){animation-delay:.16s}
.sec-cli-card:nth-child(4){animation-delay:.22s}
.sec-cli-card:nth-child(5){animation-delay:.28s}
.sec-cli-card:nth-child(6){animation-delay:.34s}
@keyframes secCardIn{
  from{opacity:0;transform:translateY(14px) scale(.97);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
.sec-cli-card:hover {
  transform:translateY(-4px) scale(1.02);
  box-shadow:0 14px 36px rgba(0,0,0,.3),0 0 0 1px rgba(0,119,182,.1);
}
/* Scan line on hover */
.sec-cli-card::before {
  content:'';position:absolute;top:0;left:-100%;right:100%;height:2px;
  background:linear-gradient(90deg,transparent,#0077B6,#48CAE4,transparent);
  transition:left .4s ease,right .4s ease;
}
.sec-cli-card:hover::before{left:0;right:0;}

/* Featured */
.sec-cli-card--feat{background:linear-gradient(150deg,#fff 65%,#f0f8ff);}
.sec-cli-card--feat::after{
  content:'★';position:absolute;top:8px;right:10px;
  font-size:10px;color:#0077B6;opacity:.6;
}

/* Number */
.sec-cli-num {
  display:block;font-size:9px;font-weight:800;
  color:rgba(0,10,53,.15);letter-spacing:.08em;margin-bottom:6px;
}
/* Sector pill */
.sec-cli-pill {
  display:inline-flex;align-items:center;gap:3px;
  font-size:.58rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  background:#EBF5FF;color:#0077B6;padding:2px 7px;border-radius:20px;margin-bottom:7px;
}
/* Name */
.sec-cli-name {
  font-family:'Roboto Slab',serif;font-size:.82rem;font-weight:800;
  color:#010A35;line-height:1.25;margin-bottom:2px;
}
.sec-cli-sub {
  display:block;font-size:.62rem;color:#8090b0;line-height:1.3;margin-bottom:4px;
}
.sec-cli-detail {
  font-size:.68rem;color:#8090b0;line-height:1.5;
  border-top:1px solid rgba(0,10,53,.06);padding-top:7px;margin-top:7px;
}
/* Dot accent */
.sec-cli-dot {
  position:absolute;bottom:10px;right:12px;
  width:6px;height:6px;border-radius:50%;background:#48CAE4;
  opacity:.3;transition:opacity .3s,transform .3s;
}
.sec-cli-card:hover .sec-cli-dot{opacity:1;transform:scale(1.6);box-shadow:0 0 6px rgba(72,202,228,.55);}

/* "More" card */
.sec-cli-card--more {
  background:transparent;border:1px dashed rgba(72,202,228,.22);
  display:flex;flex-direction:column;align-items:center;
  justify-content:center;text-align:center;gap:10px;
  min-height:120px;
}
.sec-cli-card--more::before,.sec-cli-card--more::after{display:none;}
.sec-cli-card--more:hover{background:rgba(255,255,255,.03);border-color:rgba(72,202,228,.4);transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,.25);}
.sec-cli-plus {
  width:36px;height:36px;border-radius:50%;
  border:1.5px dashed rgba(72,202,228,.5);
  display:flex;align-items:center;justify-content:center;
  color:#48CAE4;font-size:.95rem;
  animation:secSpin 10s linear infinite;
}
@keyframes secSpin{to{transform:rotate(360deg);}}
.sec-cli-more-t {
  font-family:'Roboto Slab',serif;font-size:.75rem;font-weight:700;
  color:#fff;line-height:1.4;
}
.sec-cli-more-btn {
  font-size:.63rem;font-weight:700;color:#48CAE4;text-decoration:none;
  background:rgba(72,202,228,.08);border:1px solid rgba(72,202,228,.2);
  padding:4px 12px;border-radius:20px;transition:background .2s;
}
.sec-cli-more-btn:hover{background:rgba(72,202,228,.18);}

/* Trust bar */
.sec-cli-trust {
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  padding:12px 0 14px;margin-top:16px;
  border-top:1px solid rgba(255,255,255,.06);
  gap:0;
}
.sec-cli-ti {
  display:inline-flex;align-items:center;gap:5px;
  font-size:.63rem;color:rgba(255,255,255,.3);padding:0 14px;
}
.sec-cli-tdot {width:4px;height:4px;border-radius:50%;background:#48CAE4;flex-shrink:0;}
.sec-cli-tsep {color:rgba(255,255,255,.1);}

/* ═══════════════════════════════════════════════════════════════
   PERFORMANCE — reduce repaints & contain animations
═══════════════════════════════════════════════════════════════ */
.sec-cli-card,
.idx-client-card,
.client-badge,
.service-item,
.review-card,
.brand-pill,
.stat-v3-item,
.ram-navbar-logo-wrap,
.float-social-btn {
  contain: layout style;
}

/* Promote animated elements to their own layer */
.sec-cli-card,
.float-social-btn,
.whatsapp-float,
#ram-cursor,
#ram-cursor-ring {
  will-change: transform;
}

/* Prevent brand marquee from causing full-page repaints */
.brands-marquee-track {
  will-change: transform;
  contain: layout style paint;
}

/* Cap animations on reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
