/* ============================================
   VIDRACERÍA URUGUAY — Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Primario – Azul Vidrio */
    --azul-principal: #1E6FA8;
    --azul-claro: #4FA3D1;
    /* Color Secundario – Blanco Cristal */
    --blanco: #FFFFFF;
    --blanco-humo: #F4F6F8;
    /* Color Neutro – Gris Grafito */
    --gris-oscuro: #2B2E34;
    --gris-medio: #6B7280;
    /* Color de Apoyo – Azul Acero */
    --azul-acero: #8FBBD6;

    /* Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gris-oscuro);
    background-color: var(--blanco);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--gris-oscuro);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    transform: translateX(-30px);
}

.animate-left.animated {
    transform: translateX(0);
}

.animate-right {
    transform: translateX(30px);
}

.animate-right.animated {
    transform: translateX(0);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--azul-principal);
    color: var(--blanco);
    border-color: var(--azul-principal);
}

.btn-primary:hover {
    background: var(--azul-claro);
    border-color: var(--azul-claro);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 111, 168, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--blanco);
    border-color: var(--blanco);
}

.btn-outline:hover {
    background: var(--blanco);
    color: var(--azul-principal);
    transform: translateY(-2px);
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--azul-principal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-link:hover {
    color: var(--azul-claro);
    gap: 10px;
}

.btn-link i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.btn-link:hover i {
    transform: translateX(4px);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--azul-claro);
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
}

.section-subtitle::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--azul-claro);
    vertical-align: middle;
    margin-right: 12px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gris-oscuro);
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gris-medio);
    max-width: 600px;
    line-height: 1.7;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 6px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
    transition: height 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.header.scrolled .logo img {
    height: 50px;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--blanco);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header.scrolled .nav-links a {
    color: var(--gris-oscuro);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--azul-claro);
    border-bottom-color: var(--azul-claro);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
    color: var(--azul-principal);
    border-bottom-color: var(--azul-principal);
}

/* CTA button */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.header:not(.scrolled) .nav-cta .btn-primary {
    background: transparent;
    border-color: var(--blanco);
}

.header:not(.scrolled) .nav-cta .btn-primary:hover {
    background: var(--blanco);
    color: var(--azul-principal);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: var(--azul-principal);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--blanco);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu — hidden by default on desktop */
.mobile-menu {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gris-oscuro);
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 46, 52, 0.85) 0%, rgba(30, 111, 168, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.hero-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.hero-social a:hover {
    background: var(--azul-principal);
    border-color: var(--azul-principal);
    transform: scale(1.1);
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--blanco);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text h1 span {
    color: var(--azul-claro);
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hero-image-col {
    position: relative;
    height: 500px;
}

.hero-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding);
    background: var(--blanco-humo);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231E6FA8' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--blanco);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 111, 168, 0.15);
}

.service-card-image {
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 28px 24px;
    background: var(--blanco);
    border-top: 3px solid var(--azul-acero);
}

.service-card-body .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--azul-principal);
    margin-bottom: 15px;
    background: rgba(30, 111, 168, 0.08);
    border-radius: 8px;
}

.service-card-body h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card-body p {
    font-size: 0.9rem;
    color: var(--gris-medio);
    line-height: 1.6;
    margin-bottom: 15px;
}

.services-footer {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--blanco);
    overflow: hidden;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-image-1 {
    position: relative;
}

.about-image-1 img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--azul-principal);
    color: var(--blanco);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(30, 111, 168, 0.4);
}

.about-badge .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.2;
    margin-top: 2px;
}

.about-content .section-title {
    color: var(--gris-oscuro);
}

.about-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gris-oscuro);
    margin-bottom: 15px;
    line-height: 1.4;
}

.about-image-2 img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: var(--section-padding);
    background: var(--blanco-humo);
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-card {
    background: var(--blanco);
    border-radius: 8px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--azul-principal);
}

.process-card .step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--azul-principal), var(--azul-claro));
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -35px;
    right: 30px;
}

.process-card .step-icon i {
    font-size: 1.5rem;
    color: var(--blanco);
}

.process-card .step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(30, 111, 168, 0.1);
    line-height: 1;
    margin-bottom: 15px;
}

.process-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--gris-medio);
    line-height: 1.6;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    padding: var(--section-padding);
    background: var(--gris-oscuro);
    overflow: hidden;
}

.portfolio .section-subtitle {
    color: var(--azul-acero);
}

.portfolio .section-subtitle::before {
    background: var(--azul-acero);
}

.portfolio .section-title {
    color: var(--blanco);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-slider {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.portfolio-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.portfolio-item.large {
    height: 400px;
}

.portfolio-item.small {
    height: 400px;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(43, 46, 52, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover::after {
    opacity: 1;
}

/* Galería Grid */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.galeria-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.85;
}

.galeria-item:hover img {
    transform: scale(1.06);
    opacity: 1;
}

/* ============================================
   EXPERIENCE SECTION (10+ Years)
   ============================================ */
.experience {
    padding: var(--section-padding);
    background: var(--blanco);
    position: relative;
    overflow: hidden;
}

.experience .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.experience-text .big-number {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--azul-principal), var(--azul-claro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.experience-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.experience-image {
    position: relative;
}

.experience-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

.experience-image:hover img {
    transform: translate(10px, -10px);
}

.experience-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--azul-acero);
    border-radius: 8px;
    z-index: -1;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding);
    background: var(--gris-oscuro);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials .section-subtitle {
    color: var(--azul-acero);
}

.testimonials .section-subtitle::before {
    background: var(--azul-acero);
}

.testimonials .section-title {
    color: var(--blanco);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 35px;
    border-right: 3px solid var(--azul-acero);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-right-color: var(--azul-principal);
    background: rgba(255, 255, 255, 0.08);
}

.testimonial-card .quote {
    font-size: 2.5rem;
    color: var(--azul-principal);
    font-family: serif;
    line-height: 1;
    margin-bottom: 10px;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .stars {
    color: var(--azul-claro);
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: flex;
    gap: 3px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--azul-principal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author .info h6 {
    color: var(--blanco);
    font-size: 0.95rem;
    font-weight: 600;
}

.testimonial-author .info span {
    color: var(--gris-medio);
    font-size: 0.8rem;
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--azul-principal) 0%, var(--azul-claro) 100%);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    color: var(--blanco);
    margin-bottom: 15px;
}

.contact p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 35px;
}

.contact-info-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blanco);
}

.contact-item i {
    font-size: 1.3rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item span {
    font-size: 0.95rem;
    text-align: left;
}

.contact-item .label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gris-oscuro);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-col h5 {
    color: var(--blanco);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--azul-claro);
}

.footer-col ul li a i {
    font-size: 0.7rem;
    color: var(--azul-acero);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--azul-principal);
    border-color: var(--azul-principal);
    color: var(--blanco);
}

.footer-map {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: none;
    filter: grayscale(50%);
    transition: filter 0.3s;
}

.footer-map:hover iframe {
    filter: grayscale(0%);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    background: var(--blanco);
    color: var(--gris-oscuro);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1366px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 1024px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Mobile menu */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--blanco);
        z-index: 10000;
        padding: 80px 30px 30px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .mobile-menu.active {
        left: 0;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .mobile-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--azul-principal);
        border: none;
        color: var(--blanco);
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu .mobile-logo {
        margin-bottom: 30px;
        display: flex;
        align-items: center;
    }

    .mobile-menu .mobile-logo img {
        height: 50px;
        width: auto;
    }

    .mobile-menu a {
        display: block;
        padding: 12px 0;
        font-size: 1rem;
        color: var(--gris-oscuro);
        border-bottom: 1px solid var(--blanco-humo);
        font-weight: 500;
    }

    .mobile-menu a:hover {
        color: var(--azul-principal);
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-social {
        flex-direction: row;
    }

    .hero-image-col {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about .container {
        grid-template-columns: 1fr 1fr;
    }

    .about-image-2 {
        display: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-slider {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-item.small:last-child {
        display: none;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience .container {
        grid-template-columns: 1fr;
    }

    .experience-image {
        order: -1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image-1 {
        order: -1;
    }

    .about-badge {
        width: 90px;
        height: 90px;
        top: -15px;
        right: -10px;
    }

    .about-badge .number {
        font-size: 1.6rem;
    }

    .portfolio-slider {
        grid-template-columns: 1fr;
    }

    .portfolio-item.small {
        display: none;
    }

    .portfolio-item.large {
        height: 300px;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-text .big-number {
        font-size: 4rem;
    }

    .experience-image::before {
        display: none;
    }

    .contact h2 {
        font-size: 1.8rem;
    }

    .contact-info-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .experience-text .big-number {
        font-size: 3rem;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}