/* Variables */
:root {
    --white: #FFFFFF;
    --dark-blue: #0B4F6C;
    --light-blue: #01BAEF;
    --gray: #F8F9FA;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #EEEEEE;
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2, h3, h4, h5, h6 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 3rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    border-radius: 0px 50px 50px 50px;
    background-color: var(--light-blue);
    color: var(--white);
    border: 2px solid var(--light-blue);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--light-blue);
}

.btn-secondary {
    color: var(--white);
    background-color: transparent;
    border: 2px solid var(--white);
    border-radius: 0px 50px 50px 50px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

.btn-outline {
    border-radius: 50px;
    background-color: transparent;
    color: var(--light-blue);
    border: 2px solid var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-outline:hover {
    background-color: var(--light-blue);
    color: var(--white);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Header y Navbar */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    color: var(--light-blue);
    stroke-width: 2.5;
    margin-right: 8px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: -0.5px;
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--light-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--light-blue);
    transition: var(--transition);
}

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

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    cursor: pointer;
    position: relative;
    width: 24px;
    height: 24px;
}

.menu-icon, .close-icon {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--dark-blue);
    transition: var(--transition);
}

.menu-icon {
    opacity: 1;
}

.close-icon {
    opacity: 0;
}

.menu-toggle.active .menu-icon {
    opacity: 0;
}

.menu-toggle.active .close-icon {
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    /*background-image: url('/assets/hero.png');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 70px; /* Para compensar la altura del navbar fijo */
}

.hero-content {
    max-width: 800px;
    margin-left: 10%;
    color: var(--white);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.hero p {
    font-size: rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Servicios Section */
.servicios {
    padding: 100px 0;
    background-color: var(--white);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.servicio-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.servicio-icon {
    width: 60px;
    height: 60px;
    background-color: #01baef1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.servicio-icon .material-symbols-outlined{
    color: var(--light-blue);
    font-size: 2rem;
}

.servicio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.servicio-card p {
    color: var(--medium-gray);
    margin-bottom: 0;
}

.ver-mas {
    display: flex;
    justify-content: center;
}

/* Por qué elegirnos Section */
.por-que-elegirnos {
    padding: 100px 0;
    background-color: var(--dark-blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.por-que-elegirnos .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 40px;
}

.elegirnos-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.elegirnos-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.check-icon {
    color: var(--light-blue);
    min-width: 24px;
}

.elegirnos-item h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.elegirnos-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.elegirnos-image {
    position: relative;
}

.team-image{
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background-color: var(--light-blue);
    opacity: 0.2;
    z-index: 1;
}

.circle-1 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
}

.circle-2 {
    width: 100px;
    height: 100px;
    top: -30px;
    right: 100px;
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    left: -50px;
}

/* Contacto Section */
.contacto {
    padding: 100px 0;
    background-color: var(--gray);
    text-align: center;
}

.contacto-cta {
    margin-top: 40px;
}

.btn-primary2{

    border-radius: 50px;
    background-color: var(--light-blue);
    color: var(--white);
    border: 2px solid var(--light-blue);
}

.btn-primary2:hover {
    background-color: transparent;
    color: var(--light-blue);
}

/* Footer */
.footer {
  background-color: #0b4f6c;
  padding: 48px 24px;
  color: #ffffff;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 140px;
  height: auto;
}

.footer-description {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-title {
  font-size: 19px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-links {
  list-style: none;
}

.footer-link {
  display: block;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #01baef;
}

.footer-link.active {
  color: #01baef;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.contact-icon {
  font-size: 20px;
  color: #01baef;
}

.contact-text {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-copyright {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

/* Responsive design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .elegirnos-content {
        grid-template-columns: 1fr;
    }
    
    .elegirnos-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .team-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        height: calc(100vh - 70px);
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        margin-left: 5%;
        margin-right: 5%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .por-que-elegirnos .section-title {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 👉 Tablet */
@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 👉 Desktop */
@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}