:root {
    --primary-color: #172446;
    --secondary-color: #1a2d5a;
    --accent-color: #83e0a2;
    --accent-dark: #6bc88a;
    --text-dark: #172446;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-gray: #e6e6e6;
    --border-light: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* SVG Icons - TAMAÑOS CONTROLADOS */

/* Regla general para todos los SVG - evitar que se vean gigantes */
svg {
    max-width: 100%;
    height: auto;
    fill: currentColor;
}

/* Iconos específicos con tamaños fijos */
.value-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.brand-logo svg {
    width: 50px;
    height: 50px;
    fill: var(--accent-color);
}

.commitment-icon svg {
    width: 3rem;
    height: 3rem;
    fill: white;
}

.location-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.contact-item svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    fill: var(--accent-color);
}

.detail-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: var(--accent-color);
}

.quote-icon svg {
    width: 2rem;
    height: 2rem;
    fill: var(--accent-color);
    opacity: 0.2;
}

.service-arrow i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.btn-commitment svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: var(--primary-color);
}

.btn-location svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: white;
}

.map-placeholder svg {
    width: 4rem;
    height: 4rem;
    fill: var(--accent-color);
}

footer svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--text-light);
    transition: fill 0.3s ease;
}

footer a:hover svg {
    fill: var(--accent-color);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 400;
    font-size: 0.95rem;
    margin: 0 0.8rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-light) !important;
}

/* Hero */
.hero {
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 180px 0 120px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1.05;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.btn-custom {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 14px 40px;
    border-radius: 980px;
    font-weight: 500;
    font-size: 1.05rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--accent-dark);
    transform: scale(1.02);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Services */
.services {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -1.5px;
}

.section-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 5rem;
    font-size: 1.4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.service-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.service-card-inner {
    padding: 3rem 2.5rem;
}

.service-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(131, 224, 162, 0.12), rgba(131, 224, 162, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-modern {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    transform: scale(1.05);
}

.service-icon-modern img {
    width: 40px;
    height: 40px;
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-modern img {
    
}

.service-card-modern h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card-modern p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.service-arrow {
    display: flex;
    align-items: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 50%, #ffffff 100%);
}

.philosophy-hero {
    text-align: center;
    margin-bottom: 6rem;
}

.philosophy-label {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.philosophy-statement {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.highlight-text {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.philosophy-intro {
    font-size: 1.4rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 5rem 0;
}

.value-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(131, 224, 162, 0.15), rgba(131, 224, 162, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    transform: scale(1.1);
}

.value-icon img {
    width: 40px;
    height: 40px;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon img {
    
}

.value-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.narrative-section {
    margin: 6rem 0;
}

.narrative-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.narrative-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.pullquote {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.quote-icon {
    width: 3rem;
    height: 3rem;
    color: rgba(131, 224, 162, 0.15);
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.quote-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--primary-color);
    font-weight: 500;
    font-style: italic;
    margin: 2rem 0;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.author-line {
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.quote-author span {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.commitment-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    padding: 4rem;
    margin: 5rem 0;
}

.commitment-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: center;
}

.commitment-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.commitment-text h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
}

.commitment-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
}

.btn-commitment {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-commitment:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Testimonial Video */
.testimonial-video-section {
    padding: 120px 0;
    background: white;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 3rem auto 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16 / 9;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Brands */
.brands-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.brand-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(131, 224, 162, 0.1), rgba(131, 224, 162, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.brand-card:hover .brand-logo {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    transform: scale(1.1);
}

.brand-logo img {
    width: 50px;
    height: 50px;
    transition: all 0.4s ease;
}

.brand-card:hover .brand-logo img {
    
}

.brand-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.brand-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Locations */
.locations-section {
    padding: 120px 0;
    background-color: white;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.location-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.location-card-featured {
    border: 2px solid var(--accent-color);
}

.location-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-new {
    background: #ff6b6b;
}

.location-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.location-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.location-address {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.location-details {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.detail-item svg {
    color: var(--accent-color);
}

.btn-location {
    width: 100%;
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-location:hover {
    background: var(--accent-dark);
    transform: scale(1.02);
}

.btn-location-disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.btn-location-disabled:hover {
    transform: none;
}

.map-preview {
    margin-top: 4rem;
    padding: 4rem;
    background: var(--bg-light);
    border-radius: 24px;
    text-align: center;
}

.map-placeholder svg {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.map-placeholder h4 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Contact */
.contact {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.contact-info {
    background: var(--secondary-color);
    color: white;
    padding: 3.5rem;
    border-radius: 18px;
    height: 100%;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 2.5rem;
}

.contact-item svg {
    margin-right: 1.2rem;
    margin-top: 0.3rem;
    color: var(--accent-color);
}

.contact-item h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    opacity: 0.7;
    text-transform: uppercase;
}

.contact-item p {
    font-size: 1.1rem;
    margin: 0;
}

.form-control {
    border-radius: 12px;
    border: 1px solid var(--border-light);
    padding: 16px 20px;
    font-size: 1.05rem;
    background-color: white;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(131, 224, 162, 0.1);
    outline: none;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float i {
    font-size: 32px;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Footer */
footer {
    background-color: var(--bg-light);
    color: var(--text-light);
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
    margin: 0 0.5rem;
}

footer a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    
    .btn-custom {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-statement {
        font-size: 2.5rem;
    }

    .core-values-grid {
        grid-template-columns: 1fr;
    }

    .commitment-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float i {
        font-size: 28px;
    }

    .whatsapp-modal-content {
        bottom: 85px;
        right: 20px;
        left: 20px;
        width: auto;
        max-width: calc(100% - 40px);
    }
}

/* WhatsApp Modal */
.whatsapp-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.whatsapp-modal.visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.whatsapp-modal.visible .whatsapp-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.whatsapp-modal-content {
    background-color: #fefefe;
    position: fixed;
    bottom: 100px;
    right: 30px;
    padding: 25px;
    border: none;
    width: 90%;
    max-width: 380px;
    border-radius: 16px;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.whatsapp-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.whatsapp-modal-close:hover,
.whatsapp-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#whatsapp-form input {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#whatsapp-form button {
    width: 100%;
    margin-top: 10px;
}
