/* Landing Page Interamericana MP - Premium Styles / Cache v=56 */

:root {
    --primary-color: #e90072;
    /* Fucsia / Magenta */
    --primary-dark: #c0005d;
    --secondary-color: #1c1138;
    /* Azul oscuro corporativo */
    --accent-color: #f7f7f7;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    color: var(--secondary-color);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(233, 0, 114, 0.3);
}

.btn--outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    background-color: rgba(28, 17, 56, 0.9);
    /* Transparencia */
    color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    height: 75px;
    /* Altura fija para el header oscuro */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.header__container {
    display: flex;
    justify-content: flex-start;
    /* Logo a la izquierda */
    align-items: center;
    gap: 40px;
    height: 100%;
    /* Llenar la altura fija del header */
}

/* Logo del Navbar */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo__img {
    height: 40px;
    /* Reducción de 122px a 40px para forzar densidad HD */
    width: auto;
    image-rendering: -webkit-optimize-contrast;
    /* Optimiza interpolación al reducir tamaño */
    transform: translateZ(0);
    /* Anti-aliasing GPU */
    backface-visibility: hidden;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
}

.nav {
    margin-left: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 20px;
}

.nav__link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav__link:hover:not(.btn) {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    left: 0;
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 70px;
    /* Offset header */
    background-color: var(--secondary-color);
    overflow: hidden;
}

/* Hero Background with Parallax effect */
.hero__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('interamericanamp-contratistas-generales-venezuela.png');
    background-size: cover;
    background-position: center 20%;
    background-attachment: fixed;
    /* Parallax feel */
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(28, 17, 56, 0.95) 0%, rgba(28, 17, 56, 0.4) 100%);
    z-index: 2;
}

.hero__container {
    position: relative;
    z-index: 3;
}

.hero__content {
    max-width: 650px;
    color: var(--white);
}

.subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 800;
}

.title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.highlight {
    color: var(--primary-color);
}

.hero__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero__actions {
    display: flex;
    gap: 15px;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--accent-color);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about__image-slider {
    position: relative;
    width: 100%;
    margin: auto;
}

.slide {
    display: none;
}

.fade {
    animation-name: fade;
    animation-duration: 2.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.about__img {
    width: 100%;
    height: 380px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    display: block;
    /* Fotografía Mejorada: */
    filter: contrast(1.15) saturate(1.2) brightness(1.05);
}

.dots-container {
    text-align: center;
    padding-top: 15px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.active-dot {
    background-color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background-color: var(--primary-color);
}

.text-center.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.about__text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.quote {
    background-color: var(--white);
    padding: 20px 25px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
    max-width: 100%;
}

.quote p {
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 12px;
}

.quote footer {
    display: flex;
    flex-direction: column;
}

.quote strong {
    color: var(--primary-color);
}

.quote span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background-color: var(--white);
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.solution-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.solution-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.solution-card:hover .solution-card__image {
    transform: scale(1.05);
}

.solution-card__content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-card__title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.solution-card__desc {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--accent-color);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact__details {
    margin-top: 30px;
}

.contact__details li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact__form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form__group {
    margin-bottom: 20px;
}

.form__group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 0, 114, 0.1);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 20px 0 10px;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer__logo {
    height: 90px;
    /* Incrementado para resaltar el isotipo "forma 5" ampliamente. */
    width: auto;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
}

.footer__tagline {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0px;
}

.footer__contact-info {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer__contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer__copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* WhatsApp Boton */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

/* Promoción Flotante */
.floating-promo {
    position: relative;
    margin-top: 40px;
    width: fit-content;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--secondary-color);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatPromo 4s ease-in-out infinite;
}

.floating-promo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 255, 255, 0.2);
}

.floating-promo__icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 2px rgba(233, 0, 114, 0.3));
}

.floating-promo__info {
    display: flex;
    flex-direction: column;
}

.floating-promo__title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floating-promo__desc {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
}

@keyframes floatPromo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .title {
        font-size: 2.8rem;
    }

    .about__container,
    .contact__container {
        grid-template-columns: 1fr;
    }

    .solutions__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__media {
        display: contents;
    }

    .about__content {
        order: 1;
        margin-bottom: 20px;
    }

    .about__image-slider {
        margin-top: 10px;
        order: 2;
    }

    .quote {
        order: 3;
        margin-top: 20px;
    }

    .about__img {
        height: auto;
    }

    .floating-promo {
        margin-top: 30px;
        width: 100%;
        max-width: none;
        animation: none;
        justify-content: center;
    }

    .floating-promo:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .logo__img {
        height: 28px;
        /* Logo más pequeño en teléfonos */
    }

    .solutions__grid {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: block;
        margin-right: 15px;
        /* Separación del borde derecho de la pantalla */
    }

    .nav__list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: var(--transition);
        padding: 50px 20px;
        gap: 40px;
    }

    .nav__link {
        font-size: 1.2rem;
    }

    .nav__list.active {
        left: 0;
    }

    .nav__link.btn {
        margin-top: 20px;
    }

    .title {
        font-size: 2.1rem;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer__container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer__brand {
        flex-direction: column;
        gap: 5px;
    }

    .footer__contact-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}