/* ---------- VARIABLES & RESET ---------- */
:root {
    --primary: #0e2336;
    --primary-light: #1a3f66;
    --secondary:#e67933;
    --secondary-dark:#d56723;
    --gray-bg: #efefef;
    --text-dark: #1e293b;
    --text-muted: #475569;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--gray-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    
}

/* ---------- TIPOGRAFÍA ---------- */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: var(--primary);
}

h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.subhead {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 2.5rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* ---------- BOTONES ---------- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- HEADER / NAVEGACIÓN ---------- */
header {
    background-color: var(--primary);
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    text-transform: lowercase;
}
.logo img {
    max-height: 35px;
    width: auto;
}
nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    flex-wrap: wrap;
    color: var(--white);
}

nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    color: var(--white);
}

nav a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* ---------- HERO ---------- */

.hero {
    background-color: var(--primary);
    padding: 100px 0;
    border-bottom: 1px solid #eef2f6;
    border-radius: 0 0 100px 100px;
    color: var(--white);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
    color: var(--white);
}

.hero-text {
    flex: 1;
    text-align: left;
    color: var(--white);
    
}

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

.hero-text .btn {
    display: block;
    margin: 2rem auto 0 auto;
    width: fit-content;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}
.linkedin-tab {
    position: fixed;
    left: -10px; /* hace que se asome desde el borde */
    top: 220px; /* ajusta altura según tu hero */
    background: #f58220; /* naranja de la marca */
    padding: 12px 14px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.linkedin-tab img {
    width: 20px;
    height: auto;
}

.linkedin-tab:hover {
    left: 0; /* se desliza un poco al pasar el mouse */
}
/* ---------- WHAT WE DO ---------- */
.what-we-do {
    padding: 90px 0;
    background-color: var(--gray-bg);
}
.what-we-do h2 {
    position: relative;
    display: inline-block;
    color: var(--white);
    padding: 12px 30px 12px 0;
    z-index: 1;
}

.what-we-do h2::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;
    right: 0;
    background: var(--primary);
    border-radius: 0 40px 40px 0;
    z-index: -1;
}

.title-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.title-icon img {
    width: 40px;
    height: auto;
}

/* Lista de servicios */
.what-box {
    margin-top: 40px;
    padding: 40px 80px;
    border-radius: 20px;
    border: 2px solid var(--primary);

    background: linear-gradient(
        to bottom,
        var(--primary) 0%,
        var(--primary) 35%,
        #dfe9f5 55%,
        #ffffff 75%
    );

    display: flex;
    flex-direction: column;
    gap: 150px;
}

/* listas */

.what-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    font-size:1.8rem ;
}

.what-box li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* texto zona azul */

.what-col.blue {
    color: white;
}

/* texto zona blanca */

.what-col.white {
    color: #2c3e50;
}

/* ---------- EXPERIENCE SECTION ---------- */
.experience {
    position: relative;
    padding: 100px 0 120px 0;
}

.experience::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 60px; /* deja espacio para el botón */
    left: 0;
    width: 90%;
    background: var(--primary);
    border-radius: 0 120px 120px 0;
    z-index: 0;
}

.experience .container {
    position: relative;
    z-index: 1;
    color: white;
    max-width: min(1280px, 80%);
}
.experience-title {
    position: relative;
    display: inline-block;
    color: var(--primary);
    padding: 12px 30px 12px 0;
    margin-bottom: 25px;
    z-index: 1;
}


.experience-title::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw; /* hace que el fondo llegue al borde de la página */
    right: 0;
    background: white;
    border-radius: 0 40px 40px 0;
    z-index: -1;
}
.experience-p{
    font-size: 1.5rem;
}
.experience-cta {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.95rem;
}

footer p {
    opacity: 0.9;
}




/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
.experience-p {
    font-size: 15px;
}
.hero-container {
    flex-direction: column;
    text-align: center;
}

.hero-text {
    text-align: center;
}

.hero-text h1 {
    max-width: 100%;
}

.hero-image img {
    max-width: 500px;
}

.what-box {
    padding: 50px 30px;
}

.experience::before {
    width: 95%;
}

}


@media (max-width: 768px) {
.linkedin-tab{
    display:none;
}

.hero {
    padding: 70px;
}

.hero-container {
    gap: 40px;
}

.hero h1 {
    font-size: 30px;
}

.title-icon {
    flex-direction: column;
    text-align: center;
}

.title-icon img {
    width: 28px;
}

.what-box {
    padding: 40px 25px;
    gap: 40px;
}

.what-col li {
    font-size: 15px;
}
.experience-p {
    font-size: 15px;
}
.experience {
    padding: 80px 0 110px 0;
}

.experience::before {
    width: 100%;
    border-radius: 0 80px 80px 0;
}

.experience-title {
    font-size: 22px;
}

}


@media (max-width: 480px) {

.hero h1 {
    font-size: 26px;
}

.subhead {
    font-size: 16px;
}

.what-box {
    padding: 35px 20px;
}

.what-col li {
    line-height: 1.5;
}

.experience-title {
    padding: 10px 22px;
}

.btn {
    width: 100%;
    max-width: 260px;
}

.experience-cta {
    padding-left: 20px;
    padding-right: 20px;
}
.experience-p {
    font-size: 15px;
}
}
@media (max-width: 900px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.8rem; }
    .subhead { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    nav ul {
        justify-content: center;
        gap: 1.8rem;
    }
    .hero { padding: 70px 0; }
    h1 { font-size: 2.2rem; }
    .subhead { font-size: 1.4rem; }
    .btn { padding: 0.8rem 2rem; }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .services-list {
        grid-template-columns: 1fr;
    }
    .section-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.6rem; }
    .subhead { font-size: 1.3rem; }
    nav ul { gap: 1.2rem; }
    nav a { font-size: 1rem; }
    .container { padding: 0 20px; }
    .services-list li { padding: 1.5rem 1.5rem 1.5rem 2rem; }
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    padding: 60px 20px;
  }

  .hero-container {
    flex-direction: column;
    gap: 20px;
  }

  .hero-image {
    width: 100%;
    height: 220px; 
    overflow: hidden;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}