/* Custom Properties */
:root {
    --primary-dark: #0f0738;
    --primary-light: #48B1AF;
    --secondary: #20B2AA;
    --third: #5b81b9;
    --white: #ffffff;
    --text-color: #333333;
    --gray-bg: #f5f7fa;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-radius: 20px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 89.6px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    font-weight: 500;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #047da0;
    transform: scale(1.05);
    /* Zoom instead of translateY */
    box-shadow: 0 8px 20px rgba(5, 148, 179, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-dark);
    border-color: #e2e8f0;
}

.btn-outline:hover {
    border-color: var(--primary-dark);
    transform: scale(1.05);
    /* Zoom instead of translateY */
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-dark);
    padding: 8px 0;
    transition: padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 240px;
    height: auto;
    transition: var(--transition);
}

@media screen and (min-width: 875px) {
    .logo img {
        max-width: 260px;
    }
}

.desktop-nav {
    display: none;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: #ffffff;
    transition: var(--transition);
    display: inline-block;
}

.nav-links a:hover {
    color: var(--primary-light);
    transform: scale(1.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-btn {
    display: none;
}

/* Hamburger Menu Icon */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 18px;
    width: 24px;
    z-index: 1100;
    position: relative;
}

.hamburger .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--white);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--white);
}

/* Full Screen Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-dark);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;

    visibility: hidden;
    opacity: 0;
    clip-path: circle(0% at calc(100% - 40px) 40px);
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.overlay-menu.active {
    visibility: visible;
    opacity: 1;
    clip-path: circle(150% at calc(100% - 40px) 40px);
}

.overlay-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.overlay-link {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0;
    transform: translateY(40px);
    display: inline-block;
    transition: color 0.3s ease;
}

.overlay-link:hover {
    color: var(--primary-light);
}

.overlay-menu.active .overlay-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Staggered animation delays for overlay links */
.overlay-menu.active li:nth-child(1) .overlay-link {
    transition-delay: 0.2s;
}

.overlay-menu.active li:nth-child(2) .overlay-link {
    transition-delay: 0.3s;
}

.overlay-menu.active li:nth-child(3) .overlay-link {
    transition-delay: 0.4s;
}

.overlay-menu.active li:nth-child(4) .overlay-link {
    transition-delay: 0.5s;
}

.overlay-menu.active li:nth-child(5) .overlay-link {
    transition-delay: 0.6s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Pseudo element for gradient overlay on background */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(24, 18, 52, 0.3) 0%, rgba(24, 18, 52, 0) 60%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.95);
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-card {
    background-color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Animation initial state */
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
    position: relative;
    top: 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;

    /* Animation initial state */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

.highlight {
    color: var(--primary-light);
}

.emoji {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
    font-weight: 400;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1s;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Scroll Indicator Refined Design */
.scroll-indicator-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: var(--primary-dark);
    display: flex;
    justify-content: center;
    z-index: 20;
}

.scroll-hump {
    position: absolute;
    bottom: 100%;
    /* Sits right above the white line */
    width: 60px;
    height: 35px;
    background: var(--primary-dark);
    border-radius: 40px 40px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.scroll-hump svg {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-6px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Section Globals */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: var(--white);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Services Section */
.services {
    background-color: var(--primary-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    place-content: center;
    gap: 30px;
}

.service-card {
    display: block;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: scale(1.03);
    /* Zoom instead of translateY */
    box-shadow: 0 20px 40px rgba(5, 148, 179, 0.12);
}

.service-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-content {
    padding: 24px;
    text-align: center;
    background-color: var(--white);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    transition: color 0.3s ease;
}

.service-option-text {
    color: var(--primary-dark);
}

.service-card:hover .service-title {
    color: var(--primary-light);
}

/* Productos Gallery Section */
.productos {
    background-color: var(--primary-dark);
}

.productos-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 50px;
}

.productos-header .section-subtitle {
    margin-top: 15px;
}

.productos-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
    gap: 20px;
}

.gallery-item {
    display: block;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    color: var(--white);
    opacity: 1;
    /* Visible by default */
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 8px;
    transform: translateY(0);
    /* Normal position */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-link {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    opacity: 1;
    /* Visible by default */
    transform: translateY(0);
    /* Normal position */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, color 0.3s ease;
}

/* Hover States */
.gallery-item:hover img {
    transform: scale(1.06);
}

/* Change link color when hovering ANYWHERE on the card */
.gallery-item:hover .gallery-link {
    color: var(--white);
}

/* About Us Section */
.about-us {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 18, 52, 0) 0%, rgba(24, 18, 52, 0.6) 100%);
}

.about-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9);
}

.about-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    /* Card on the right side */
}

.about-card {
    background-color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.about-description {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.8;
}


/* Testimonials Section */
.testimonials {
    background-color: var(--primary-light);
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.testimonial-track {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    min-height: 400px;
    align-items: center;
}

.testimonial-slide {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.1s linear 0.6s;
    transition-property: opacity, transform, visibility;
    z-index: 1;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
    transition-delay: 0s;
}

/* Exit animations via JS */
.testimonial-slide.exit-left {
    transform: translateX(-40px);
    opacity: 0;
    visibility: hidden;
}

.testimonial-slide.exit-right {
    transform: translateX(40px);
    opacity: 0;
    visibility: hidden;
}

.testimonial-content {
    background-color: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: rgba(5, 148, 179, 0.15);
    /* Light branding color */
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.95rem;
    color: var(--primary-light);
    font-weight: 600;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 30px;
}

.slider-btn {
    background-color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: scale(1.1);
    /* Zoom instead of translateY */
    box-shadow: 0 8px 20px rgba(5, 148, 179, 0.2);
}

.slider-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    background-color: #d1d5db;
    border: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.indicator.active {
    background-color: var(--primary-dark);
    transform: scale(1.3);
}

.indicator:hover {
    background-color: var(--primary-dark);
}

/* Contact Section */
.contact {
    background-color: var(--primary-dark);
    position: relative;
    padding-bottom: 120px;
}

.contact .contact-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    height: 54px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon svg {
    flex-shrink: 0;
}

.social-icon:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: scale(1.05);
    /* Zoom instead of translateY */
    box-shadow: 0 10px 25px rgba(5, 148, 179, 0.3);
    border-color: var(--primary-light);
}

.map-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.map-container {
    width: 100%;
    height: 420px;
    overflow: hidden;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.map-container p {
    margin: 0;
    padding: 12px 20px;
    background-color: var(--primary-light);
    color: var(--white);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

.map-container iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
}


.contact-form-container {
    background-color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-color);
    background-color: #f9fafb;
    transition: var(--transition);
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(5, 148, 179, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
}

/* Footer Section */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-color);
    padding: 40px 0;
    /*box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.05);*/
    box-shadow: 0 -5px 5px -5px #333;
    position: relative;
    z-index: 5;

}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer .logo-text {
    color: var(--primary-dark);
}

.footer-copy {
    color: #6b7280;
    font-size: 0.95rem;
}







@media screen and (max-width: 450px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
    }
}

@media screen and (min-width: 450px) and (max-width: 874px) {
    .service-img-wrapper {
        height: 380px;
    }

    .productos-gallery {
        grid-auto-rows: 420px;
    }
}

@media screen and (min-width: 875px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .productos-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .productos-header .section-subtitle {
        max-width: 450px;
        text-align: right;
        margin-top: 0;
        margin-left: 30px;
    }

    .productos-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 320px;
    }

    .item-wide:last-child {
        grid-column: span 2;
    }

    .about-us {
        min-height: 90vh;
    }

    .about-card {
        padding: 4rem 3.5rem;
        max-width: 550px;
    }

    .testimonial-track {
        min-height: 320px;
    }

    .testimonial-content {
        padding: 4rem 3.5rem;
    }

    .testimonial-text {
        font-size: 1.35rem;
    }

    .desktop-nav {
        display: block;
    }

    .nav-btn {
        display: inline-flex;
    }

    .nav-btn:hover {
        transform: scale(1.05);
        /* Smooth zoom instead of translateY */
    }

    .hamburger {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-card {
        padding: 4rem 3.5rem;
        max-width: 550px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .overlay-menu {
        display: none;
    }


    .scroll-indicator-wrapper {
        height: 45px;
    }
}

@media screen and (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .productos-gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 340px;
    }

    .item-wide {
        grid-column: span 2;
    }

    .item-wide:last-child {
        grid-column: span 2;
    }

    .item-tall {
        grid-row: span 2;
    }

    .hero-container {
        padding-left: 2%;
    }

    .about-container {
        padding-right: 2%;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: flex-start;
    }

    .map-container {
        height: 380px;
    }

    .map-section {
        flex-direction: row;
        gap: 20px;
    }


    .contact-form-container {
        padding: 3rem 3.5rem;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media screen and (min-width: 1440px) {
    .productos-gallery {
        grid-auto-rows: 380px;
    }

    .about-card {
        max-width: 600px;
    }

    .container {
        max-width: 1400px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-card {
        max-width: 600px;
    }
}

@media screen and (min-width: 2560px) {

    /* Ultra-Wide adjustments */
    .container {
        max-width: 1800px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-card {
        max-width: 700px;
        padding: 5rem 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .about-card {
        max-width: 700px;
        padding: 5rem 4.5rem;
    }

    .about-title {
        font-size: 3.5rem;
    }

    .about-description {
        font-size: 1.35rem;
    }

    .btn {
        padding: 18px 40px;
        font-size: 1.2rem;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 2rem;
    }
}

/* Success Modal Styles */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 18, 52, 0.85);
    /* brand dark with opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease forwards;
}

.success-modal {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.success-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.success-text {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-close {
    width: 100%;
}

.success-modal-overlay.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}