/* =====================================================
   VARIABLES
===================================================== */

:root {
    --primary: #0f766e;
    --primary-dark: #065f59;
    --secondary: #2563eb;
    --accent: #84cc16;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #475569;
    --light-text: #94a3b8;
    --white: #ffffff;
    --background: #f8fafc;
    --background-soft: #f1f5f9;
    --border: #e2e8f0;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --radius: 20px;
}


/* =====================================================
   RESET
===================================================== */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Manrope", sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}


body.menu-open {
    overflow: hidden;
}


img {
    width: 100%;
    display: block;
}


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


button,
input,
textarea,
select {
    font: inherit;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* =====================================================
   SECTIONS
===================================================== */

.section {
    padding: 110px 0;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        backdrop-filter 0.3s ease;
}


.header .container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* HEADER CON SCROLL */

.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);

    box-shadow:
        0 5px 30px
        rgba(15, 23, 42, 0.08);
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 14px;
}


.logo img {
    width: 210px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
    display: block;
    border-radius: 14px;
}


/* =====================================================
   NAVIGATION - DESKTOP
===================================================== */

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    list-style: none;
    flex: 1;
}


.nav-links li {
    list-style: none;
}


.nav-links a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px; /* Espacio entre el icono y el texto */

    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.header.scrolled .nav-links a {
    color: var(--dark);
}


/* LÍNEA DEL MENÚ DESKTOP */

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--primary);

    transition: width 0.3s ease;
}


.nav-links a:hover::after {
    width: 100%;
}


/* =====================================================
   NAV BUTTON
===================================================== */

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.header:not(.scrolled) .nav-button {
    background: var(--white);
    color: var(--dark);
}


.header.scrolled .nav-button {
    background: var(--dark);
    color: var(--white);
}


.nav-button:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}


/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 5px;
}


.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.header.scrolled .menu-toggle span {
    background: var(--dark);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;

    background-image: url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=2000&q=90");

    background-size: cover;
    background-position: center;
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.94),
            rgba(15, 23, 42, 0.78),
            rgba(15, 23, 42, 0.20)
        );
}


.hero-content {
    position: relative;
    z-index: 2;
}


.hero-text {
    max-width: 720px;
    color: var(--white);
}


.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    margin-bottom: 25px;

    border:
        1px solid
        rgba(255, 255, 255, 0.2);

    border-radius: 100px;

    background:
        rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
    font-size: 13px;
}


.hero-tag i {
    color: var(--accent);
}


.hero h1 {
    font-family: "Outfit", sans-serif;

    font-size:
        clamp(
            48px,
            7vw,
            82px
        );

    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}


.hero h1 span {
    color: #a7f3d0;
}


.hero p {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.8;

    color:
        rgba(255, 255, 255, 0.78);
}


/* =====================================================
   BUTTONS
===================================================== */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 15px 23px;
    border-radius: 12px;
    border: none;

    cursor: pointer;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.btn:hover {
    transform: translateY(-3px);
}


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

    box-shadow:
        0 15px 35px
        rgba(15, 118, 110, 0.3);
}


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


.btn-secondary {
    border:
        1px solid
        rgba(255, 255, 255, 0.35);

    color: var(--white);

    background:
        rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
}


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


/* =====================================================
   HERO FEATURES
===================================================== */

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 45px;
}


.hero-features div {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 13px;

    color:
        rgba(255, 255, 255, 0.85);
}


.hero-features i {
    color: var(--accent);
}


/* =====================================================
   SECTION HEADER
===================================================== */

.section-header {
    text-align: center;
    max-width: 700px;

    margin:
        0 auto
        65px;
}


.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}


.section-header h2,
.about-content h2,
.why-content h2,
.contact-info h2,
.coverage-text h2 {
    font-family: "Outfit", sans-serif;

    font-size:
        clamp(
            36px,
            5vw,
            55px
        );

    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}


.section-header p {
    color: var(--text);
    line-height: 1.8;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    background: var(--white);
}


.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;
    gap: 90px;
}


.about-image {
    position: relative;
}


.about-image img {
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
}


.experience-card {
    position: absolute;
    bottom: -25px;
    right: -25px;

    width: 180px;
    padding: 25px;

    border-radius: 18px;
    background: var(--dark);
    color: var(--white);

    box-shadow: var(--shadow);
}


.experience-card strong {
    display: block;
    font-size: 45px;
    font-family: "Outfit", sans-serif;
    color: var(--accent);
}


.experience-card span {
    font-size: 13px;

    color:
        rgba(255, 255, 255, 0.75);
}


.about-content > p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 15px;
}


.about-features {
    display: grid;
    gap: 20px;
    margin-top: 35px;
}


.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}


.feature-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 14px;
    background: #ecfdf5;
    color: var(--primary);

    flex-shrink: 0;
}


.about-feature h4 {
    margin-bottom: 5px;
}


.about-feature p {
    font-size: 13px;
    color: var(--text);
}


/* =====================================================
   SERVICES
===================================================== */

.services {
    background: var(--background);
}


.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


.service-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);

    box-shadow:
        0 10px 30px
        rgba(15, 23, 42, 0.05);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}


.service-image {
    height: 210px;
    overflow: hidden;
}


.service-image img {
    height: 100%;
    object-fit: cover;

    transition:
        transform 0.6s ease;
}


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


.service-content {
    padding: 28px;
}


.service-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background:
        var(--background-soft);

    color: var(--primary);
    font-size: 20px;
    margin-bottom: 18px;
}


.service-content h3 {
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    margin-bottom: 12px;
}


.service-content p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   STATS
===================================================== */

.stats {
    padding: 90px 0;

    background:
        linear-gradient(
            135deg,
            var(--dark),
            #123047
        );

    color: var(--white);
}


.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}


.stat {
    text-align: center;
}


.stat strong {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 55px;
    color: #a7f3d0;
}


.stat span {
    font-size: 13px;

    color:
        rgba(255, 255, 255, 0.65);
}


/* =====================================================
   EXPERIENCE
===================================================== */

.experience {
    background: var(--white);
}


.experience-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.experience-item {
    padding: 40px 30px;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);
    background: var(--white);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.experience-item:hover {
    transform: translateY(-8px);

    border-color:
        rgba(15, 118, 110, 0.25);

    box-shadow:
        0 20px 45px
        rgba(15, 23, 42, 0.08);
}


.experience-item-icon {
    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 16px;
    background: #ecfdf5;
    color: var(--primary);
    font-size: 24px;
}


.experience-item h3 {
    font-family: "Outfit", sans-serif;
    font-size: 23px;
    margin-bottom: 12px;
}


.experience-item p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}


/* CLIENTES */

.experience-clients {
    margin-top: 70px;
    padding: 45px;
    border-radius: var(--radius);

    background:
        var(--background);
}


.clients-label {
    display: block;
    text-align: center;
    color: var(--light-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
}


.clients-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.client-name {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    text-align: center;

    border-radius: 14px;
    background: var(--white);
    color: var(--dark);

    font-family: "Outfit", sans-serif;
    font-weight: 700;

    box-shadow:
        0 8px 25px
        rgba(15, 23, 42, 0.04);
}


/* =====================================================
   WHY
===================================================== */

.why {
    background: var(--background);
}


.why-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;
    gap: 90px;
}


.why-content > p {
    color: var(--text);
    line-height: 1.8;
}


.check-list {
    list-style: none;
    margin-top: 30px;

    display: grid;
    gap: 18px;
}


.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}


.check-list i {
    color: var(--primary);
}


.why-image img {
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}


/* =====================================================
   SECTORS
===================================================== */

.sectors {
    background: var(--white);
}


.sectors-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


.sector-card {
    padding: 35px 25px;
    border-radius: var(--radius);

    background:
        var(--background);

    border:
        1px solid
        transparent;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.sector-card:hover {
    transform: translateY(-8px);
    background: var(--white);

    border-color:
        rgba(15, 118, 110, 0.2);

    box-shadow:
        0 20px 45px
        rgba(15, 23, 42, 0.08);
}


.sector-icon {
    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: var(--white);
    font-size: 22px;
}


.sector-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    margin-bottom: 12px;
}


.sector-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}


/* =====================================================
   COVERAGE
===================================================== */

.coverage {
    background:
        linear-gradient(
            135deg,
            #f0fdfa,
            var(--background)
        );
}


.coverage-content {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    align-items: center;
    gap: 80px;
}


.coverage-text > p {
    color: var(--text);
    line-height: 1.8;
}


.coverage-features {
    display: grid;
    gap: 18px;
    margin-top: 35px;
}


.coverage-features div {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}


.coverage-features i {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;
    background: var(--white);
    color: var(--primary);

    box-shadow:
        0 8px 20px
        rgba(15, 23, 42, 0.06);
}


.coverage-card {
    padding: 50px 40px;
    text-align: center;

    border-radius: var(--radius);
    background: var(--dark);
    color: var(--white);

    box-shadow: var(--shadow);
}


.coverage-card-icon {
    width: 80px;
    height: 80px;

    display: grid;
    place-items: center;

    margin:
        0 auto
        25px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.1);

    color: #a7f3d0;
    font-size: 30px;
}


.coverage-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 26px;
    margin-bottom: 15px;
}


.coverage-card p {
    color:
        rgba(255, 255, 255, 0.7);

    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 30px;
}


/* =====================================================
   FAQ
===================================================== */

.faq {
    background: var(--white);
}


.faq-container {
    width: min(850px, 100%);
    margin: 0 auto;

    display: grid;
    gap: 15px;
}


.faq-item {
    border:
        1px solid
        var(--border);

    border-radius: 16px;
    overflow: hidden;
    background: var(--white);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.faq-item.active {
    border-color:
        rgba(15, 118, 110, 0.3);

    box-shadow:
        0 15px 35px
        rgba(15, 23, 42, 0.06);
}


.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 23px 25px;
    border: none;

    background: var(--white);
    color: var(--dark);

    text-align: left;
    font-weight: 800;
    cursor: pointer;
}


.faq-question i {
    color: var(--primary);

    transition:
        transform 0.3s ease;
}


.faq-item.active .faq-question i {
    transform: rotate(45deg);
}


.faq-answer {
    max-height: 0;
    overflow: hidden;

    transition:
        max-height 0.4s ease;
}


.faq-answer p {
    padding:
        0 25px
        25px;

    color: var(--text);
    line-height: 1.8;
    font-size: 14px;
}


.faq-item.active .faq-answer {
    max-height: 300px;
}


/* =====================================================
   CTA
===================================================== */

.cta {
    padding: 70px 0;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: var(--white);
}


.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


.cta span {
    font-size: 13px;

    color:
        rgba(255, 255, 255, 0.7);
}


.cta h2 {
    font-family: "Outfit", sans-serif;

    font-size:
        clamp(
            30px,
            4vw,
            50px
        );

    max-width: 650px;
    margin-top: 8px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact {
    background: var(--background);
}


.contact-grid {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 80px;
    align-items: start;
}


.contact-info > p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 35px;
}


.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}


.contact-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 14px;
    background: var(--white);
    color: var(--primary);

    flex-shrink: 0;

    box-shadow:
        0 10px 25px
        rgba(15, 23, 42, 0.06);
}


.contact-item span {
    display: block;
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 4px;
}


.contact-item strong {
    font-size: 14px;
    overflow-wrap: anywhere;
}


/* =====================================================
   FORM
===================================================== */

.contact-form {
    padding: 40px;
    border-radius: var(--radius);
    background: var(--white);

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;

    box-shadow: var(--shadow);
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.full-width {
    grid-column: span 2;
}


.form-group label {
    font-size: 13px;
    font-weight: 700;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;

    border:
        1px solid
        var(--border);

    border-radius: 10px;
    outline: none;

    background:
        var(--background);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.form-group textarea {
    resize: vertical;
    min-height: 140px;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(15, 118, 110, 0.08);
}


.form-button {
    grid-column: span 2;
    width: 100%;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding-top: 80px;
    background: var(--dark);
    color: var(--white);
}


.footer-content {
    display: grid;

    grid-template-columns:
        1.7fr 1fr 1fr 1fr;

    gap: 50px;
    padding-bottom: 60px;
}


.footer .logo img {
    width: 210px;
    height: 58px;
    border-radius: 14px;
    object-fit: contain;
}


.footer-brand p {
    max-width: 330px;
    margin-top: 20px;

    color:
        rgba(255, 255, 255, 0.6);

    line-height: 1.8;
    font-size: 14px;
}


.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.footer-links h4 {
    margin-bottom: 10px;
}


.footer-links a,
.footer-links span {
    color:
        rgba(255, 255, 255, 0.6);

    font-size: 14px;
    overflow-wrap: anywhere;
}


.footer-links a:hover {
    color: var(--accent);
}


/* FOOTER BOTTOM */

.footer-bottom {
    padding: 25px 0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    display: flex;
    justify-content: space-between;
    gap: 20px;

    color:
        rgba(255, 255, 255, 0.4);

    font-size: 12px;
}


/* =====================================================
   SCROLL TOP
===================================================== */

.scroll-top {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: var(--primary);
    color: var(--white);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);
    transition: 0.3s ease;

    z-index: 999;
}


.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =====================================================
   ANIMATIONS
===================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal-left {
    opacity: 0;
    transform: translateX(-50px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.active,
.reveal-left.active {
    opacity: 1;
    transform: translate(0);
}


/* =====================================================
   RESPONSIVE - LAPTOP / TABLET
===================================================== */

@media (max-width: 1100px) {

    .header .container {
        gap: 15px;
    }


    .logo img {
        width: 180px;
        height: 54px;
    }


    .nav-links {
        gap: 16px;
    }


    .nav-links a {
        font-size: 12px;
    }


    .nav-button {
        padding: 11px 15px;
        font-size: 11px;
    }


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


    .about-grid,
    .why-grid,
    .coverage-content {
        gap: 50px;
    }


    .contact-grid {
        gap: 40px;
    }


    .footer-content {
        grid-template-columns:
            1.5fr 1fr 1fr;
    }
}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 900px) {

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


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


    .coverage-content {
        grid-template-columns: 1fr;
    }


    .coverage-card {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }


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


/* =====================================================
   RESPONSIVE - MOBILE
===================================================== */

@media (max-width: 768px) {

    .section {
        padding: 80px 0;
    }


    .header .container {
        min-height: 70px;
    }


    .logo {
        border-radius: 12px;
    }


    .logo img {
        width: 165px;
        height: 52px;
        border-radius: 12px;
    }


    /* OCULTAR BOTÓN DE ESCRITORIO */

    .nav-button {
        display: none;
    }


    /* BOTÓN HAMBURGUESA */

    .menu-toggle {
        display: block;
        z-index: 1002;
    }


    /* =================================================
       PANEL DEL MENÚ MÓVIL
    ================================================= */

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;

        width: min(86%, 380px);
        height: 100vh;

        padding: 105px 22px 35px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        gap: 12px;
        list-style: none;

        background:
            linear-gradient(
                160deg,
                #0f172a,
                #123047,
                #0f766e
            );

        transition:
            right 0.45s cubic-bezier(
                0.22,
                1,
                0.36,
                1
            );

        box-shadow:
            -20px 0 60px
            rgba(0, 0, 0, 0.35);

        z-index: 1001;
        overflow-y: auto;
    }


    .nav-links.active {
        right: 0;
    }


    /* CADA OPCIÓN DEL MENÚ */

    .nav-links li {
        width: 100%;
    }


    /* ENLACES COMO TARJETAS */

    .nav-links a {
        position: relative;
        width: 100%;
        min-height: 58px;

        display: flex;
        align-items: center;

        padding: 16px 18px;
        border-radius: 14px;

        color: var(--white) !important;

        font-size: 16px;
        font-weight: 700;

        white-space: normal;

        background:
            rgba(255, 255, 255, 0.08);

        border:
            1px solid
            rgba(255, 255, 255, 0.10);

        backdrop-filter:
            blur(10px);

        transition:
            transform 0.25s ease,
            background 0.25s ease,
            border-color 0.25s ease;
    }


    .nav-links a:hover,
    .nav-links a:active {
        transform:
            translateX(6px);

        background:
            rgba(255, 255, 255, 0.15);

        border-color:
            rgba(255, 255, 255, 0.25);
    }


    /* QUITAR LA LÍNEA DEL MENÚ DESKTOP */

    .nav-links a::after {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: 850px;
        padding-top: 70px;
    }


    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(15, 23, 42, 0.93),
                rgba(15, 23, 42, 0.72)
            );
    }


    .hero-features {
        flex-direction: column;
        gap: 14px;
    }


    /* GRIDS */

    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }


    .about-grid,
    .why-grid {
        gap: 60px;
    }


    .about-image img {
        height: 430px;
    }


    .experience-card {
        right: 10px;
        bottom: -20px;
    }


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


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

        gap: 40px;
    }


    .experience-clients {
        padding: 30px 20px;
        margin-top: 50px;
    }


    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }


    .cta .btn {
        width: 100%;
    }


    .coverage-card {
        padding: 40px 25px;
    }


    .contact-form {
        padding: 30px;
    }


    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .footer-bottom {
        flex-direction: column;
    }


    .scroll-top {
        right: 18px;
        bottom: 18px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 500px) {

    .container {
        width: 92%;
    }


    .section {
        padding: 70px 0;
    }


    .logo {
        border-radius: 10px;
    }


    .logo img {
        width: 145px;
        height: 48px;
        border-radius: 10px;
    }


    /* MENÚ UN POCO MÁS GRANDE EN RELACIÓN A LA PANTALLA */

    .nav-links {
        width: min(90%, 380px);

        padding:
            95px 16px
            30px;

        gap: 10px;
    }


    .nav-links a {
        min-height: 55px;
        padding: 15px 16px;
        font-size: 15px;
        border-radius: 12px;
    }


    .hero {
        min-height: 820px;
    }


    .hero h1 {
        font-size: 43px;
        letter-spacing: -1.5px;
    }


    .hero p {
        font-size: 15px;
    }


    .hero-buttons {
        flex-direction: column;
    }


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


    .hero-tag {
        font-size: 11px;
        padding: 8px 12px;
    }


    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .stat strong {
        font-size: 48px;
    }


    .section-header {
        margin-bottom: 45px;
    }


    .section-header h2,
    .about-content h2,
    .why-content h2,
    .contact-info h2,
    .coverage-text h2 {
        font-size: 34px;
    }


    .about-image img {
        height: 360px;
    }


    .experience-card {
        width: 150px;
        padding: 20px;
    }


    .experience-card strong {
        font-size: 38px;
    }


    .contact-form {
        grid-template-columns: 1fr;
        padding: 22px;
    }


    .full-width,
    .form-button {
        grid-column: span 1;
    }


    .faq-question {
        padding: 20px;
        font-size: 14px;
    }


    .faq-answer p {
        padding:
            0 20px
            20px;

        font-size: 13px;
    }


    .coverage-features div {
        align-items: flex-start;
        font-size: 14px;
    }


    .footer .logo img {
        width: 180px;
        height: 52px;
        border-radius: 12px;
    }
}