/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e63946;
    --secondary-color: #2980b9;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #f4f4f9;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --topbar-height: 48px;
    --accent-gold: #d4af37;
    --accent-gold-dark: #b58a0a;
    --accent-gold-light: #f3e5b1;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    background: #f8f4ea;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
    transform: translateZ(0);

    .tarros-track {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .tarro {
        width: 100%;
        max-width: 240px;
    }

    .tarro-l {
        max-width: 220px;
    }

    .tarro-l img {
        max-height: 240px;
    }

    .tarro-m {
        max-width: 190px;
    }

    .tarro-m img {
        max-height: 210px;
    }

    .tarro-s {
        max-width: 170px;
    }

    .tarro-s img {
        max-height: 190px;
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.7rem 0;
    min-height: 70px;
}

.tarro-media img {
    display: block;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: brightness(1.05) saturate(1.1) contrast(1.05);
}

.tarro-l {
    width: clamp(220px, 32vw, 380px);
}

.tarro-l img {
    max-height: clamp(300px, 36vw, 390px);
    width: 100%;
}

.tarro-m {
    width: clamp(180px, 26vw, 320px);
}

.tarro-m img {
    max-height: clamp(240px, 30vw, 320px);
    width: 100%;
}

.tarro-s {
    width: clamp(150px, 20vw, 260px);
}

.tarro-s img {
    max-height: clamp(200px, 24vw, 260px);
    width: 100%;
}

.tarro figcaption {
    margin-top: 0.45rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.92rem;
    color: #2c3e50;
}

.logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c3e50;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.catalogo-item {
    display: flex;
    align-items: center;
}

.catalogo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.catalogo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.catalogo-btn:focus-visible {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 4px;
}

.catalogo-btn-mobile {
    display: none;
    text-decoration: none;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    overflow: hidden;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #2c3e50;
    max-width: 900px;
    padding: 2rem;
}

.hero-logo {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto 2rem;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-logo img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #FFD700;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 2rem;
    color: #FFD700;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

/* Animaciones */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tarros Section - Static Layout */
.tarros-section {
    background: transparent;
    padding: 20px 0 12px;
    overflow: hidden;
    width: 100%;
}

.tarros-slider {
    width: 100%;
    overflow-x: hidden;
    padding: 0 1rem;
}

.tarros-track {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.tarro {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.tarro:hover {
    transform: translateY(-8px);
}

.tarro-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-height: 300px;
    margin: 0 auto 0.5rem;
}

.tarro-media img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Secciones */
section {
    padding: 55px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent-gold-dark);
}

.section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    font-size: 1.02rem;
    color: #666;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(240, 240, 240, 0.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.58;
}

.values-highlight {
    margin-top: 1.2rem;
    padding: 1.3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.values-highlight h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 1.45rem;
    border-radius: 13px;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 13px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card i {
    font-size: 2.6rem;
    color: #FFD700;
    margin-bottom: 0.75rem;
}

.stat-card:nth-child(1) i {
    color: #FFD700;
}

.stat-card:nth-child(2) i {
    color: #FFA500;
}

.stat-card:nth-child(3) i {
    color: #FF8C00;
}

.stat-card:nth-child(4) i {
    color: #DAA520;
}

/* Estilos para iconos de imagen */
.stat-icon-img, .value-icon-img {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    padding: 16px;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4), 
                0 5px 15px rgba(255, 140, 0, 0.3),
                inset 0 2px 5px rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.9);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes rotate-gradient {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.stat-icon-img::before, .value-icon-img::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF8C00, #FFD700);
    opacity: 0;
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.stat-icon-img::after, .value-icon-img::after {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.6;
}

.stat-card:hover .stat-icon-img::before,
.value-card:hover .value-icon-img::before {
    opacity: 0.7;
}

.stat-card:hover .stat-icon-img,
.value-card:hover .value-icon-img {
    transform: scale(1.15) translateY(-8px) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5), 
                0 8px 20px rgba(255, 140, 0, 0.4),
                inset 0 2px 8px rgba(255, 255, 255, 0.8);
    animation: none;
}

.stat-icon-img img, .value-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.15) saturate(1.15) drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-icon-img img,
.value-card:hover .value-icon-img img {
    filter: brightness(1.25) contrast(1.25) saturate(1.3) drop-shadow(3px 3px 8px rgba(0,0,0,0.3));
    transform: scale(1.1) rotate(-5deg);
}

/* Gradientes únicos para cada stat-card */
.stat-card:nth-child(1) .stat-icon-img {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.stat-card:nth-child(2) .stat-icon-img {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.stat-card:nth-child(3) .stat-icon-img {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.stat-card:nth-child(4) .stat-icon-img {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.stat-card:hover .stat-icon-img {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6), 
                0 8px 20px rgba(0, 0, 0, 0.15),
                inset 0 1px 5px rgba(255, 255, 255, 0.7);
}

/* Gradientes únicos para cada value-card */
.value-card:nth-child(1) .value-icon-img {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.value-card:nth-child(2) .value-icon-img {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.value-card:nth-child(3) .value-icon-img {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.value-card:nth-child(4) .value-icon-img {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.value-card:nth-child(5) .value-icon-img {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.value-card:nth-child(6) .value-icon-img {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.value-card:nth-child(7) .value-icon-img {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    box-shadow: 0 10px 25px rgba(155, 89, 182, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.value-card:hover .value-icon-img {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6), 
                0 8px 20px rgba(0, 0, 0, 0.15),
                inset 0 1px 5px rgba(255, 255, 255, 0.7);
}

/* Misión y Visión */
.mission-vision {
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(240, 240, 240, 0.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    padding: 2.5rem 0;
}

.mv-slider-container {
    position: relative;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.mv-nav {
    display: none;
}

.mv-card {
    background: rgba(255, 255, 255, 0.75);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--accent-gold-light);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.mv-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.mission-card .icon-wrapper {
    background: var(--accent-gold);
    color: #fff;
}

.vision-card .icon-wrapper {
    background: var(--accent-gold-dark);
    color: #fff;
}

/* Logo wrapper for mission and vision */
.logo-wrapper {
    width: 60px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0.5rem 0;
    padding: 0.3rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.15);
    float: left;
    margin-right: 0.6rem;
}

.mv-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.mv-card {
    overflow: hidden;
}

.mv-card::after {
    content: "";
    display: table;
    clear: both;
}

.mv-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.mv-card p {
    line-height: 1.4;
    color: #555;
    font-size: 0.85rem;
}

/* Valores */
.values {
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(240, 240, 240, 0.5);
    padding: 2.5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2.3rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3), 0 10px 25px rgba(0, 0, 0, 0.15);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.value-card:nth-child(1) .value-icon {
    background: #FFD700;
}

.value-card:nth-child(2) .value-icon {
    background: #FFA500;
}

.value-card:nth-child(3) .value-icon {
    background: #FF8C00;
}

.value-card:nth-child(4) .value-icon {
    background: #DAA520;
}

.value-card:nth-child(5) .value-icon {
    background: #B8860B;
}

.value-card:nth-child(6) .value-icon {
    background: #CD853F;
}

.value-card:nth-child(7) .value-icon {
    background: #D2691E;
}

.value-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.value-card p {
    color: #555;
    line-height: 1.6;
}

/* Servicios */
/* Servicios */
.services {
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(240, 240, 240, 0.5);
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 1.65rem;
    border-radius: 13px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF8C00, #DAA520);
    border-radius: 13px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    left: 100%;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.service-card:nth-child(1) .service-icon {
    background: #FFD700;
}

.service-card:nth-child(2) .service-icon {
    background: #FFA500;
}

.service-card:nth-child(3) .service-icon {
    background: #FF8C00;
}

.service-card:nth-child(4) .service-icon {
    background: #DAA520;
}

.service-card:nth-child(5) .service-icon {
    background: #B8860B;
}

.service-card:nth-child(6) .service-icon {
    background: #CD853F;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.service-card p {
    color: #666;
    line-height: 1.5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    margin-top: 1.8rem;
}

.contact-info h3,
.contact-map h3 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1.05rem;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.team-card {
    background: rgba(255, 255, 255, 0.75);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    color: #2c3e50;
    border: 1px solid var(--accent-gold-light);
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.team-card:hover {
    transform: scale(1.05);
}

.team-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.1rem;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: white;
}

.team-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.team-role {
    font-size: 1.05rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Contacto */
.contact {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.4rem;
}

.contact-info h3,
.contact-map h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    margin-bottom: 0.2rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: var(--white);
    line-height: 1.5;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    min-width: 36px;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-item a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    background: #1877f2;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.3);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-map:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.7);
    color: var(--dark-color);
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: -1.5rem;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold-dark);
}

.footer-logo p {
    font-style: italic;
    color: rgba(0, 0, 0, 0.6);
}

.footer-text p {
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.6);
}

/* WhatsApp Floating Button - Optimized */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: #25d366 !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4) !important;
    z-index: 1000 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    will-change: transform;
    transform: translateZ(0);
}

.whatsapp-float:hover {
    background: #1eb855 !important;
    transform: translateY(-3px) scale(1.08) translateZ(0) !important;
    box-shadow: 0 14px 38px rgba(37, 211, 102, 0.5) !important;
}

.whatsapp-float i {
    color: white !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .tarros-slider {
        padding: 0 1rem;
    }

    .tarros-track {
        gap: 1.2rem;
    }

    .tarro {
        padding: 0.4rem;
    }

    .tarro-l {
        width: min(300px, 32vw);
    }

    .tarro-l img {
        max-height: 300px;
    }

    .tarro-m {
        width: min(240px, 26vw);
    }

    .tarro-m img {
        max-height: 220px;
    }

    .tarro-s {
        width: min(190px, 22vw);
    }

    .tarro-s img {
        max-height: 180px;
    }

    .tarro figcaption {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar .container {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .catalogo-btn-mobile {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        padding: 0.5rem 1.3rem !important;
        border-radius: 30px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        font-size: 0.78rem !important;
        box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35) !important;
        transition: all 0.3s ease !important;
        white-space: nowrap !important;
        background: var(--theme-gold) !important;
        color: var(--theme-panel) !important;
        order: 2 !important;
        margin-left: auto !important;
        border: none !important;
        text-decoration: none !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        font-family: 'Poppins', sans-serif !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
    }

    .catalogo-btn-mobile:hover {
        transform: translateY(-2px) scale(1.02) !important;
        box-shadow: 0 18px 40px rgba(212, 175, 55, 0.4) !important;
        background: var(--theme-gold-dark) !important;
    }

    .catalogo-btn-mobile:active {
        transform: translateY(0px) scale(0.98) !important;
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3) !important;
    }
    
    .catalogo-btn-mobile i {
        font-size: 0.9rem !important;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2)) !important;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: transform 0.3s ease;
        transform: translateX(-120%);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 1.5rem;
        z-index: 999;
        will-change: transform;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .catalogo-item {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .tarros-slider {
        padding: 0 0.5rem;
        overflow-x: auto;
        overflow-y: visible;
    }

    .tarros-track {
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        gap: 0.6rem;
        flex-wrap: nowrap;
    }

    .tarro {
        padding: 0.3rem;
        flex-shrink: 0;
    }

    .tarro-l {
        width: min(36vw, 140px);
    }

    .tarro-l img {
        max-height: min(40vw, 160px);
    }

    .tarro-m {
        width: min(32vw, 120px);
    }

    .tarro-m img {
        max-height: min(36vw, 140px);
    }

    .tarro-s {
        width: min(28vw, 100px);
    }

    .tarro-s img {
        max-height: min(32vw, 120px);
    }

    .tarro figcaption {
        font-size: 0.82rem;
    }

    .catalogo-btn {
        width: 80%;
        margin: 0 auto;
    }

    .logo h2 {
        font-size: 1.3rem;
    }

    section {
        padding: 38px 0;
    }

    .hero-logo {
        margin: 0 auto 1.2rem;
    }

    .hero-logo img {
        width: min(90vw, 480px);
        max-height: 260px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    /* Slider móvil para misión y visión */
    .mv-slider-container {
        position: relative;
        overflow: hidden;
        padding: 0 2.5rem;
    }
    
    .mv-grid {
        display: flex;
        transition: transform 0.4s ease;
        gap: 0;
    }
    
    .mv-card {
        flex: 0 0 100%;
        padding: 1rem;
        scroll-snap-align: start;
    }
    
    .mv-card h3 {
        font-size: 1.1rem;
    }
    
    .mv-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .mv-nav {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--accent-gold);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    
    .mv-nav:hover {
        background: var(--accent-gold-dark);
        transform: translateY(-50%) scale(1.1);
    }
    
    .mv-nav-prev {
        left: 0;
    }
    
    .mv-nav-next {
        right: 0;
    }
    
    .logo-wrapper {
        width: 60px;
        height: 42px;
        margin-right: 0.6rem;
        padding: 0.3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        gap: 0.85rem;
        align-items: stretch;
    }

    .contact-info h3 {
        grid-column: 1 / -1;
        text-align: center;
    }

    .contact-item {
        margin-bottom: 0;
    }

    .contact-item p,
    .contact-item a {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* Deshabilitar backdrop-filter en móviles para mejor rendimiento */
    .navbar {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .hero {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    /* Ajustes para iconos de imagen en móvil */
    .stat-icon-img, .value-icon-img {
        width: 80px;
        height: 80px;
        padding: 12px;
        margin: 0 auto 1rem;
    }

    .stat-card:hover .stat-icon-img,
    .value-card:hover .value-icon-img {
        transform: scale(1.04);
    }

    .stat-card:hover,
    .value-card:hover {
        transform: translateY(-4px);
    }

    .stat-card:hover .stat-icon-img::before,
    .value-card:hover .value-icon-img::before {
        animation: none;
    }

    .values-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.85rem;
    }

    .value-card {
        flex: 1 1 calc(50% - 0.85rem);
        max-width: calc(50% - 0.85rem);
        padding: 1.2rem 1rem;
        margin: 0;
    }

    .value-card h4 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .value-card p {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: left;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .services-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .service-card {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
        padding: 1.45rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .mv-card {
        padding: 1.6rem;
    }

    .cta-box {
        padding: 1.6rem;
        font-size: 0.98rem;
    }

    .contact-item {
        padding: 0.9rem;
    }

    .contact-item i {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        width: 55px !important;
        height: 55px !important;
        font-size: 26px !important;
        bottom: 24px !important;
        right: 18px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    /* Eliminar efectos de blur en móviles pequeños para mejorar rendimiento */
    .navbar {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .hero {
        height: auto;
        min-height: 0;
        padding: 42px 0 16px;
        display: block;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .navbar .container {
        padding: 0.6rem 14px;
        gap: 0.3rem;
    }

    .catalogo-btn-mobile {
        padding: 0.45rem 1.1rem !important;
        font-size: 0.73rem !important;
        letter-spacing: 0.8px !important;
        gap: 0.3rem !important;
    }
    
    .catalogo-btn-mobile i {
        font-size: 0.85rem !important;
    }

    .hero-content {
        width: 100%;
        padding: 0 0.4rem 0.8rem;
        text-align: center;
        margin-top: 0;
    }

    .hero-logo {
        margin: 0 auto 0.5rem;
    }

    .hero-logo img {
        width: min(80vw, 340px);
        max-height: 170px;
    }

    .hero-title {
        font-size: 1.7rem;
        margin-bottom: 0.3rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        margin-bottom: 0.5rem;
    }

    .hero-text {
        font-size: 0.86rem;
        line-height: 1.4;
        margin-bottom: 0.55rem;
    }

    .btn-primary {
        padding: 9px 22px;
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* Tarros destacados estáticos */
    .tarros-section {
        padding: 14px 0 8px;
    }

    .tarros-slider {
        padding: 0 0.4rem;
        overflow-x: auto;
        overflow-y: visible;
    }

    .tarros-track {
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        gap: 0.5rem;
        padding: 0;
        flex-wrap: nowrap;
    }

    .tarro {
        padding: 0.2rem;
        flex-shrink: 0;
    }

    .tarro-media {
        width: auto;
        max-height: 200px;
    }

    .tarro-l {
        width: min(34vw, 130px);
    }

    .tarro-l img {
        max-height: min(38vw, 150px);
    }

    .tarro-m {
        width: min(30vw, 110px);
    }

    .tarro-m img {
        max-height: min(34vw, 130px);
    }

    .tarro-s {
        width: min(26vw, 90px);
    }

    .tarro-s img {
        max-height: min(30vw, 110px);
    }

    .tarro figcaption {
        font-size: 0.68rem;
        letter-spacing: 0.015em;
        margin-top: 0.15rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    section {
        padding: 15px 0;
    }

    .section-title {
        font-size: 1.38rem;
        margin-bottom: 0.35rem;
        padding: 0 0.3rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        padding: 0 0.3rem;
        margin-bottom: 0.7rem;
    }

    .about-text {
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .values-highlight {
        padding: 1.1rem;
    }

    .stat-card {
        padding: 1.15rem;
    }

    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        bottom: 20px !important;
        right: 16px !important;
    }

    .stat-card i {
        font-size: 2.5rem;
    }

    .stat-card h3 {
        font-size: 1.1rem;
    }

    .stat-card p {
        font-size: 0.9rem;
    }

    .mv-card {
        padding: 1.25rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .logo-wrapper {
        width: 90px;
        height: 65px;
        padding: 0.6rem;
        margin-bottom: 1rem;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .mv-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .mv-card p {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .values-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .value-card {
        flex: 1 1 calc(50% - 0.6rem);
        max-width: calc(50% - 0.6rem);
        padding: 0.9rem 0.75rem;
    }

    .value-card h4 {
        font-size: 0.98rem;
        margin-bottom: 0.45rem;
    }

    .value-card p {
        font-size: 0.84rem;
        line-height: 1.35;
        text-align: left;
    }

    .value-icon {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    /* Iconos de imagen más pequeños en móvil */
    .stat-icon-img, .value-icon-img {
        width: 65px !important;
        height: 65px !important;
        padding: 10px !important;
        margin: 0 auto 0.55rem !important;
        border-width: 2px;
    }
    
    .stat-card:hover .stat-icon-img,
    .value-card:hover .value-icon-img {
        transform: scale(1.02) !important;
    }

    .stat-card:hover,
    .value-card:hover {
        transform: translateY(-3px);
    }

    .stat-card:hover .stat-icon-img::before,
    .value-card:hover .value-icon-img::before {
        animation: none;
    }

    .value-card h4 {
        font-size: 1rem;
        margin-bottom: 0.45rem;
    }

    .value-card p {
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .services-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .service-card {
        flex: 1 1 calc(50% - 0.6rem);
        max-width: calc(50% - 0.6rem);
        padding: 1.1rem 0.95rem;
    }

    .service-icon {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
        margin-bottom: 0.55rem;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.45rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .cta-box {
        padding: 1.1rem;
        font-size: 0.88rem;
        margin-top: 1rem;
    }

    .team-card {
        padding: 1.32rem;
    }

    .team-icon {
        width: 68px;
        height: 68px;
        font-size: 1.9rem;
    }

    .team-role {
        font-size: 0.92rem;
    }

    .contact-grid {
        gap: 0.9rem;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 0.7rem;
        align-items: stretch;
    }

    .contact-info h3 {
        grid-column: 1 / -1;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
        padding: 0.9rem;
        text-align: left;
        margin-bottom: 0;
    }

    .contact-item i {
        font-size: 1.5rem;
    }

    .contact-item h4 {
        font-size: 0.92rem;
    }

    .contact-item p,
    .contact-item a {
        font-size: 0.84rem;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .contact-map {
        grid-column: 1 / -1;
    }

    .social-btn,
    .btn-map {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .footer {
        padding: 1.6rem 0 0.8rem;
    }

    .footer-content {
        gap: 1.1rem;
    }

    .footer-logo h3 {
        font-size: 1.4rem;
    }

    .footer-logo p,
    .footer-text p {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-text {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn-primary,
    .social-btn,
    .btn-map {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .mv-card,
    .service-card,
    .value-card,
    .team-card {
        padding: 1.2rem;
    }

    .contact-item {
        padding: 1rem;
    }
}

/* AOS Animation Library Initialization */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-45deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .whatsapp-float {
        bottom: 24px !important;
        right: 18px !important;
        transform: translateZ(0) !important;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
