/* ----------------- RESET ----------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 5vh;
}

#about {
    scroll-margin-top: 10vh;
}

#personas {
    scroll-margin-top: 20vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1,
h2,
h3,
h4,
h5 {
    color: #1b1b6f;
    font-weight: 700;
    line-height: 1.1;
}

span {
    color: #1b1b6f;
    font-weight: 500;
}

h1 {
    font-size: 5.4rem;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.7rem;
}

p {
    font-size: 1.2rem;
    color: #4a5568;
}

a {
    text-decoration: none;
}

.text {
    font-size: 1rem;
}

.color-text-secondary {
    color: #334155;
}

/* ----------------- NAVBAR ----------------- */
nav {
    width: 100%;
    background: #fff;
    padding: 20px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 500;
    display: flex;
    justify-content: center;
}

.nav-content {
    max-width: 1280px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-footer {
    height: 85px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #1b1b6f;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff7a00;
}

.btn-primary {
    background: #ff7a00;
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.btn-primary:hover {
    background: #ff8a1a;
}

/* ----------------- HERO ----------------- */
.hero {
    width: 100%;
    max-width: 1280px;
    padding: 32px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero img {
    width: 100%;
    max-width: 480px;
    height: auto;
}

/* ----------------- LOGOS ----------------- */
.logos-section {
    width: 100%;
    max-width: 1280px;
    text-align: center;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 140px;
}

.logos-container img {
    padding: 12px;
    width: 150px;
    opacity: 0.9;
    transition: all 0.2s;
}

.logos-container img:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* ----------------- STATS ----------------- */
.stats-section {
    padding: 80px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 140px;
    max-width: 1280px;
    width: 100%;
}

.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 46px;
}

/* ----------------- COMPANIES ----------------- */
.companies-section {
    padding: 80px 16px;
    width: 100%;
    max-width: 1280px;
}

.companies-container {
    gap: 40px;
    margin-top: 62px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.company-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 340px;
  display: flex;
  flex-direction: column;
}

.company-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  flex-shrink: 0;
}

.company-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.company-content .btn-primary {
  margin-top: auto;
  align-self: flex-start;
}


.company-content {
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ----------------- FOOTER ----------------- */
footer {
    width: 100%;
    background: #1b1b6f;
    color: #fff;
    padding: 60px 16px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}

.footer-container {
    max-width: 1280px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-container h3 {
    color: #ff7a00;
}

.footer-container h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-container p,
.footer-container li {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-links,
.footer-contact {
    list-style: none;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff7a00;
}

.footer-newsletter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #c0c0c0;
}

.img-social {
    width: 24px;
    height: 24px;
}

/* ----------------- SERVICES / HELP ----------------- */
.services-section {
    width: 100%;
    background: #d9f3fc;
    display: flex;
    justify-content: center;
    padding: 80px 0;
    margin-top: 54px;
}

.services-container {
    width: 100%;
    max-width: 1280px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #d9f3fc;
    border-radius: 12px;
    gap: 60px;
    flex-wrap: wrap;
}

.services-content {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-image {
    display: flex;
    justify-content: center;
}

.services-image img {
    width: 100%;
    max-width: 567px;
    border-radius: 6px;
}

/* ----------------- FEATURES ----------------- */
.features-section {
    width: 100%;
    max-width: 1280px;
    padding: 160px 16px;
    width: 100%;
    max-width: 1280px;
}

.features-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 280px;
}

.feature-item img {
    width: auto;
    border-radius: 10px;
    max-height: 130px;
    object-fit: contain;
}

@media (max-width: 1163px) {
    .services-image {
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
    }

    .services-image img {
        max-width: 100%;
        width: auto;
    }
}

/* ----------------- RESPONSIVE ----------------- */
@media (max-width: 768px) {

    section {
        padding: 0 20px;
    }

    nav .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .hero {
        padding: 40px 20px;
    }

    .logos-section {
        padding: 32px 16px;
    }

    .stats-section {
        padding: 32px 16px;
        gap: 62px;
    }

    .companies-section {
        padding: 32px 16px;
        gap: 62px;
    }

    .companies-container {
        margin-top: 24px;
    }

    .services-container {
        padding: 24px;
    }

    .services-section {
        padding: 0;
    }

    .features-section {
        margin-top: 64px;
        padding: 24px;
    }

    .logos-container {
        gap: 24px;
        margin-top: 42px;
    }
}

@media (max-width: 480px) {
    .feature-item {
        max-width: 100%;
    }
}