/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
}

/* =========================
   VARIABLES
========================= */

:root {

    --primary: #f34d65;
    --primary-dark: #e63b55;

    --dark: #1f2937;
    --text: #4b5563;

    --light: #f8f9fb;
    --white: #ffffff;

    --border: #e5e7eb;

    --shadow:
        0 10px 30px rgba(0, 0, 0, .08);

    --radius: 16px;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   TOP BAR
========================= */

/* .topbar {
    background: var(--dark);
    color: var(--white);
    font-size: .85rem;
    padding: 8px 0;
    text-align: center;
} */

.topbar {
    background: var(--dark);
    color: var(--white);
    font-size: .85rem;
    padding: 8px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang {
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.lang:hover {
    opacity: 1;
}

.lang.active {
    opacity: 1;
    font-weight: bold;
    color: #f34d65;
}

/* =========================
   HEADER
========================= */

.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.header-content {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 58px;
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: .3s;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a.active::after,
.nav a:hover::after {

    content: '';
    position: absolute;

    width: 100%;
    height: 2px;

    background: var(--primary);

    left: 0;
    bottom: -6px;
}

/* =========================
   MENU MOBILE
========================= */

.menu-btn {

    display: none;

    border: none;
    background: none;

    font-size: 1.4rem;
    cursor: pointer;

    color: var(--dark);
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 87vh;
    background: url('../images/background_home.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.15));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: white;
}

.hero-subtitle {

    display: inline-block;

    margin-bottom: 20px;

    color: var(--primary);

    font-weight: 600;
    letter-spacing: 1px;

    text-transform: uppercase;
}

.hero h1 {

    font-size: 3.5rem;
    line-height: 1.1;

    margin-bottom: 20px;
}

.hero p {

    font-size: 1.1rem;

    margin-bottom: 35px;

    color: rgba(255,255,255,.9);
}

.hero-buttons {

    display: flex;
    gap: 15px;
}

/* =========================
   BUTTONS
========================= */

.btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    padding: 14px 28px;

    border-radius: 999px;

    font-weight: 600;

    transition: .3s;
}

.btn-primary {

    background: var(--primary);
    color: white;
}

.btn-primary:hover {

    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {

    border: 2px solid white;
    color: white;
}

.btn-outline:hover {

    background: white;
    color: var(--dark);
}

/* =========================
   GENERAL SECTIONS
========================= */

section {
    padding: 100px 0;
}

.section-tag {

    color: var(--primary);

    font-size: .9rem;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
}

section h2 {

    font-size: 2.4rem;

    margin-top: 10px;
    margin-bottom: 20px;
}

.center {
    text-align: center;
}

/* =========================
   ABOUT
========================= */

.about-grid {

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.about-text p {

    color: var(--text);

    margin-bottom: 20px;
}

.about-video video {

    width: 100%;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

/* =========================
   SERVICES
========================= */

.services-preview {
    background: var(--light);
}

.services-grid {

    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 20px;
}

.service-card {

    background: white;

    border-radius: var(--radius);

    padding: 30px 20px;

    text-align: center;

    box-shadow: var(--shadow);

    transition: .3s;
}

.service-card:hover {

    transform: translateY(-8px);
}

.service-icon {

    width: 80px;
    height: 80px;

    margin: auto auto 20px;

    border-radius: 50%;

    background: rgba(243,77,101,.1);

    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {

    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {

    font-size: 1rem;
}

/* =========================
   QUALITY
========================= */

.quality {

    background:
        linear-gradient(
            rgba(243,77,101,.9),
            rgba(243,77,101,.9)
        ),
        url('../img/quality-bg.jpg')
        center center/cover;
}

.quality-content {

    text-align: center;
    color: white;
}

.quality .section-tag {
    color: white;
}

.quality p {

    max-width: 700px;
    margin: auto;
}

/* =========================
   PRODUCTS
========================= */

.products-preview {

    text-align: center;
}

/* =========================
   BLOG / NEWS
========================= */

.insights {
    background: var(--light);
}

.insights-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.insight-box {

    background: white;

    padding: 40px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.insight-box h3 {

    margin: 15px 0;
}

.insight-box a {

    color: var(--primary);

    font-weight: 600;

    text-decoration: none;
}

/* =========================
   CONTACT
========================= */

.contact-grid {

    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.contact-item {

    background: white;

    padding: 35px;

    text-align: center;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.contact-item i {

    font-size: 2rem;

    color: var(--primary);

    margin-bottom: 15px;
}

.contact-item h3 {

    margin-bottom: 10px;
}

.form-intro {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: auto;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: .3s;
}

.form-grid input:focus,
.form-grid textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 77, 101, .15);
}

.form-grid textarea {
    grid-column: span 2;
    resize: none;
}

.contact-wrapper {
    margin-top: 50px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: start;
}

/* IZQUIERDA */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    background: white;
    padding: 25px;

    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.contact-info h3 {
    margin-bottom: 5px;
}

/* FORMULARIO DERECHA */
.contact-form {
    background: white;
    padding: 35px;

    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form .form-intro {
    margin-bottom: 20px;
    color: var(--text);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;

    border: 1px solid var(--border);
    border-radius: 12px;

    font-family: inherit;
    font-size: 1rem;

    outline: none;

    transition: .3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 77, 101, .15);
}

.contact-form textarea {
    resize: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* =========================
   FACEBOOK FLOAT
========================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: .3s;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
}

/* =========================
   FACEBOOK FLOAT
========================= */

.facebook-float {
    position: fixed;
    right: 25px;
    bottom: 95px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #1877f2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: .3s;
}

.facebook-float:hover {
    transform: translateY(-5px);
}

/* =========================
   FOOTER
========================= */

.footer {

    background: var(--dark);

    color: white;

    padding: 70px 0;
}

.footer-content {

    text-align: center;
}

.footer img {

    height: 60px;

    margin-bottom: 20px;
}

.footer p {

    max-width: 600px;
    margin: auto auto 25px;

    color: rgba(255,255,255,.8);
}

.footer-links {

    display: flex;
    justify-content: center;
    gap: 25px;

    margin-bottom: 25px;

    flex-wrap: wrap;
}

.footer-links a {

    color: white;
    text-decoration: none;
}

.footer-links a:hover {

    color: var(--primary);
}

.footer small {

    color: rgba(255,255,255,.6);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .menu-btn {
        display: block;
    }

    .nav {

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        padding: 20px;

        display: none;

        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

    .nav.active {
        display: flex;
    }

    .hero {
        min-height: 75vh;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-buttons {

        flex-direction: column;
        align-items: flex-start;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 80px 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid textarea {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 2rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .header-content {
        height: 80px;
    }

    .logo img {
        height: 48px;
    }
}