/* ==================== RESET Y BASE ==================== 1*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: white;
    overflow-x: hidden;
}

/* ==================== HEADER STYLES ==================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
  width: 100px;
  height: 64px; 
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4f46e5;
}

.contact-btn {
    background: #4f46e5;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #3730a3;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Menu Animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    background:
        url('camioneta.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box; /* para evitar overflow por padding */
}

.hero-content {
    max-width: 650px;
    margin-left: 100px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 100%;
    word-break: break-word; /* evita overflow en palabras largas */
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 100%;
    opacity: 0.9;
    word-break: break-word;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ==================== BUTTONS ==================== */
.btn-primary,
.btn-secondary {
    padding: 1rem 4rem;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}

.btn-primary {
    background: #061535;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #5d65d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #14192f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}


/* ==================== FOOTER STYLES ==================== */
footer {
    background: #14192f;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-logo {
    text-align: center;
}

.company-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.company-description {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    animation-delay: 0.2s;
}

.hero p {
    animation-delay: 0.4s;
}

.hero-buttons {
    animation-delay: 0.6s;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .hero-content {
        margin-left: 50px;
        max-width: 550px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(20, 25, 47, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 10000;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        justify-content: center;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 100px;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
        text-align: center;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        word-break: break-word;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    nav {
        padding: 0 1rem;
    }
}
/* Sección Nosotros - AMG Servicios */
.nosotros-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 80px 20px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block !important;
    visibility: visible !important;
    padding-top: 100px;
}

.nosotros-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    pointer-events: none;
}

.nosotros-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.nosotros-section .section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 60px;
    position: relative;
}

.nosotros-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.nosotros-section .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.nosotros-section .text-content {
    padding: 0 20px;
}

/* Contenedor específico para "Quiénes somos" con imagen a la derecha */
.nosotros-section .quienes-somos-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

/* Contenedor específico para "Valores" con imagen a la izquierda */
.nosotros-section .valores-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.nosotros-section .imagen {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
}

.nosotros-section .imagen img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nosotros-section .imagen img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.nosotros-section .subsection {
    margin-bottom: 40px;
    opacity: 1;
    transform: translateY(20px);
    animation: nosotrosFadeInUp 0.8s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    border-radius: 10px;
}

.nosotros-section .subsection:nth-child(2) {
    animation-delay: 0.2s;
}

.nosotros-section .subsection:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nosotros-section .subsection h3 {
    font-size: 2rem;
    color: #34495e;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.nosotros-section .subsection h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nosotros-section .subsection:hover h3::after {
    transform: scaleX(1);
}

.nosotros-section .subsection p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* Responsivo */
@media (max-width: 768px) {
    .nosotros-section .quienes-somos-wrapper,
    .nosotros-section .valores-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nosotros-section .imagen {
        justify-content: center;
        padding-top: 0;
        order: 2;
    }
    
    .nosotros-section .valores-wrapper .imagen {
        order: -1;
    }
    
    .nosotros-section .imagen img {
        max-width: 250px;
    }
}






/* ==================== SERVICIOS ==================== */
.servicios-section {
    padding: 6rem 2rem 4rem;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding-top: 100px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive font size */
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: #1a1a1a;
    line-height: 1.2;
    position: relative;
    padding-top: 16px;
}

/* Añadir un elemento decorativo al título principal */
.section-title::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c2fef, #6366f1);
    border-radius: 2px;
}

.servicio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5rem;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

/* Efecto hover en las tarjetas */
.servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.servicio.reverse {
    flex-direction: row;
}

.servicio-texto {
    flex: 1;
    text-align: left;
    z-index: 2;
}

/* 🔥 Títulos mejorados */
.servicio-texto h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1.2rem;
    color: #1a1a1a;
    font-weight: 700;
    position: relative;
    line-height: 1.3;
}

/* Línea decorativa más elegante */
.servicio-texto h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c2fef, #6366f1);
    margin-top: 0.8rem;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.servicio:hover .servicio-texto h3::after {
    width: 80px;
}

.servicio-texto p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    margin-bottom: 0;
}

.servicio-img {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.servicio-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
    filter: brightness(1) contrast(1.05);
}

/* Efecto hover más suave */
.servicio-img:hover img {
    transform: scale(1.05);
}

/* Overlay sutil en hover */
.servicio-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 47, 239, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    z-index: 1;
}

.servicio:hover .servicio-img::before {
    opacity: 1;
}

.contact-servicios {
    margin-top: 3rem;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #1b1b41 0%, #282855 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 40px rgba(44, 47, 239, 0.2);
}

.contact-servicios p {
    margin-bottom: 2rem;
    font-weight: 500;
    font-size: 1.2rem;
    color: white;
}

.btn-contacto {
    display: inline-block;
    padding: 16px 32px;
    background: white;
    color: #2c2fef;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
}

.btn-contacto:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* ==================== RESPONSIVE MEJORADO ==================== */
@media (max-width: 1024px) {
    .servicios-section {
        padding: 5rem 2rem 3rem;
    }
    
    .servicio {
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .servicio-img img {
        height: 250px;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .servicios-section {
        padding: 4rem 1rem 2rem;
    }

    .servicio {
        flex-direction: column !important;
        gap: 1.5rem;
        margin-bottom: 3rem;
        padding: 1.5rem;
    }

    /* Para que en .reverse la imagen quede arriba y texto abajo */
    .servicio.reverse {
        flex-direction: column !important;
    }

    /* Imagen arriba */
    .servicio-img {
        order: 1;
        width: 100%;
    }

    /* Texto abajo */
    .servicio-texto {
        order: 2;
        text-align: left; /* Mejor legibilidad en móvil */
    }

    .servicio-texto h3::after {
        margin-left: 0;
        margin-right: 0;
    }

    .servicio-img img {
        width: 100%;
        height: auto; /* Para mantener proporción */
        max-height: 250px;
        border-radius: 15px;
        object-fit: cover;
    }

    .contact-servicios {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }

    .contact-servicios p {
        font-size: 1.1rem;
    }

    .btn-contacto {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .servicio {
        padding: 1rem;
    }
    
    .servicio-texto p {
        font-size: 1rem;
        text-align: left;
    }
    
    .contact-servicios {
        padding: 1.5rem 1rem;
    }
}


/* ==================== ANIMACIONES ADICIONALES ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.servicio {
    animation: fadeInUp 0.6s ease-out forwards;
}

.servicio:nth-child(2) {
    animation-delay: 0.2s;
}

.servicio:nth-child(3) {
    animation-delay: 0.4s;
}

/* ==================== ACCESIBILIDAD ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}


/* ===== Sección Contacto ===== */
.contacto-section {
  padding: 80px 20px;
  text-align: center;
  background: white;
  color: #f5f5f5;
  padding-top: 100px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
  color: #000000;
  position: relative;
  margin-top: 10px;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #1c0c64; /* verde estilo WhatsApp */
  margin: 12px auto 0;
  border-radius: 2px;
}

.contacto-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Columna izquierda */
.contacto-info {
  flex: 1;
  min-width: 320px;
  text-align: left;
}

.contacto-info h3 {
  font-size: 2.0rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000;
}

.contacto-info p {
  margin-bottom: 5px;
  color: #0a0a0a;
  line-height: 1.7;
  font-size: 1.3rem;
}

.contacto-info img {
  max-width: 100%;
  height: auto;
  margin-top: 5px;
  border-radius: 4%;
}

/* Columna derecha - Tarjetas */
.contacto-cards {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 150px;
}

.card {
  padding: 25px;
  border-radius: 16px;
  background: rgb(6, 41, 90);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(175, 131, 131, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.card h4 {
  margin-bottom: 12px;
  font-size: 2.3rem;
  font-weight: 600;
  color: #67b8fa; /* verde contraste */
}

.card a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1.3rem;
}

.card a:hover {
  color: #40b4f7;
}

/* Ajustes para pantallas medianas y pequeñas */
@media (max-width: 768px) {
    .contacto-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .contacto-info,
    .contacto-cards {
        min-width: 100%;
        margin-top: 0 !important; /* Elimina el margen superior grande en tarjetas */
        text-align: center;
    }

    .contacto-info h3 {
        font-size: 1.6rem;
    }

    .contacto-info p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .contacto-info img {
        max-width: 90%;
        margin-top: 20px;
        border-radius: 8px;
    }

    .contacto-cards {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        padding: 20px;
    }

    .card h4 {
        font-size: 1.8rem;
    }

    .card a {
        font-size: 1.1rem;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .contacto-info h3 {
        font-size: 1.4rem;
    }

    .contacto-info p {
        font-size: 1rem;
    }

    .card h4 {
        font-size: 1.5rem;
    }

    .card a {
        font-size: 1rem;
    }

    .card {
        padding: 15px;
    }
}




/* ===== Sección Referencias ===== */
.referencias-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
    padding-top: 100px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-top: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.referencias-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.referencia-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0; /* más sutil */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.referencia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.referencia-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a85b6, #bac8e0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.referencia-info {
    flex: 1;
}

.referencia-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.referencia-info p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    font-style: italic; /* estilo de cita */
}


.referencia-rating:hover .star {
    transform: scale(1.2);
}

.star {
    color: #f1c40f;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.referencias-footer {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-contacto {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4a5eff;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-contacto:hover {
    background-color: #3a4dcc;
}

/* Responsive */
@media (max-width: 768px) {
    .referencias-section {
        padding: 40px 15px;
        padding-top: 100px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .referencia-card {
        padding: 20px;
        gap: 15px;
    }
    
    .avatar-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .referencia-info h3 {
        font-size: 1rem;
    }
    
    .referencia-info p {
        font-size: 0.85rem;
    }
}



/* ==== SLIDER ESTÁTICO CENTRADO ==== */
.slider {
  overflow: hidden;
  position: relative;
  background: #fff;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px 0;
  padding: 0 10px;
}

.slider-track {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.slider-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari y Opera */
}

.slide {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  max-height: 60px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slide img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}


/* Contenedor del logo persona */
.person-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Cabeza */
.person-logo .head {
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 5px;
}

/* Cuerpo (torso redondeado) */
.person-logo .body {
    width: 28px;
    height: 20px;
    background: #fff;
    border-radius: 12px 12px 6px 6px;
}
