/* Modern Styles for Biazotto Solutions */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #2bb0ef;
    --secondary-color: #3a526a;
    --text-dark: #222;
    --text-muted: #656565;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.modern-quemsomos, .modern-home {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.modern-quemsomos h1, .modern-quemsomos h2, .modern-quemsomos h3, .modern-quemsomos h4,
.modern-home h1, .modern-home h2, .modern-home h3, .modern-home h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Hero Section - Refined & Compact */
.about-hero {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 40px;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(58, 82, 106, 0.4) 0%, rgba(58, 82, 106, 0.8) 100%);
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 20px 40px;
    margin-left: 10%;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    max-width: 400px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.about-hero h1 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 2rem;
}

/* Main Content Section */
.content-section {
    padding: 40px 0;
}

.about-text-wrap {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.about-text-wrap h2 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.about-text-wrap h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Testimonials Section */
.testimonials-section {
    background: #f8fbff;
    padding: 80px 0;
    margin: 60px 0;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid #edf2f7;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card i.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.testimonial-author p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Clients Section - Modernized & Standardized */
.bzt-clientes-section {
    background: #fff;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.bzt-clients-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.thumb-clients {
    float: none !important; /* Override theme float */
    width: auto !important; /* Override theme 20% */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f2f2f2;
    padding: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.client-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 79, 121, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 4px;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumb-clients:hover .client-name {
    opacity: 1;
    transform: translateY(0);
}

.thumb-clients::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.thumb-clients:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: rgba(43, 176, 239, 0.3);
}

.thumb-clients:hover::after {
    transform: scaleX(1);
}

.thumb-clients img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    padding: 0 !important; /* Remove theme padding-left */
    opacity: 1; /* Original color, crystal clear */
    transition: all 0.5s ease;
}

.thumb-clients:hover img {
    opacity: 1;
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .bzt-clients-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    .thumb-clients {
        height: 100px;
    }
}
