/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
.header {
    background-color: #a8d5ba;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo span {
  font-family: Merienda;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #1a252f;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: #5a6c7d;
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #1a252f;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background-color: #ffffff;
}

.why-choose h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: center;
}

.section-intro {
    font-size: 18px;
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: left;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.feature-item p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* Consultoría Section */
.consultoria {
    padding: 80px 0;
    background-color: #f8fffe;
}

.consultoria h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.service-item p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 18px;
    color: #5a6c7d;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Knowledge Section */
.knowledge {
    padding: 80px 0;
    background-color: #f8fffe;
}

.knowledge h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: center;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.knowledge-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.knowledge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.knowledge-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.knowledge-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 20px 20px 12px;
}

.knowledge-item p {
    color: #5a6c7d;
    margin: 0 20px 20px;
    line-height: 1.6;
}

/* Contact Info Section */
.contact-info {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: center;
}

.contact-info > .container > p {
    font-size: 18px;
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.contact-item p {
    color: #5a6c7d;
    font-size: 16px;
}

/* Footer */
.footer {
background: #39453C;
padding: 32px 0;
}



.contact-form {
    max-width: 600px;
    margin: 0 auto 60px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c3e50;
}

.submit-btn {
    width: 100%;
    padding: 16px;
  color: #4BB462;
border-radius: 40px;
border: 1px solid #4BB462;
background: #FFF;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1a252f;
}

.footer-info {
    text-align: center;
    border-top: 1px solid rgba(44, 62, 80, 0.2);
}

.footer-logo span {
  color: #FFF;
font-family: Merienda;
font-size: 26px;
font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-text {
    color: #fff;
    font-size: 14px;
    margin-top: 20px;
}


.contact{
  padding: 60px 0;
  background: #9CC3A7;
}

.contact h2{
color: #23262F;
text-align: center;
font-size: 36px;
font-weight: 600;
  margin-bottom: 32px;
}

.privacy{
  margin: 70px 0 0;
  padding: 60px 0;
}

.privacy-title{
color: #000;
text-align: center;
font-family: Outfit;
font-size: clamp(30px, 6vw,60px);
font-style: normal;
font-weight: 500;
line-height: normal;
text-transform: uppercase;
margin-bottom: 40px;
}

.privacy-text{
  color: #000;
font-family: Outfit;
font-size: 16px;
font-weight: 400;
}

.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.183);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.popup__content {
 border-radius: 8px;
border: 1px solid #39453C;
background: #F2FFFC;
  padding: 40px;
  max-width: 587px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 767px) {
  .popup__content {
    padding: 24px;
  }
}
.popup__title {
color: #23262F;
font-family: Merienda;
font-size: 26px;
font-style: normal;
font-weight: 700;
line-height: normal;
  text-align: center;
}
.popup__text {
color: #282924;
text-align: center;
font-family: Outfit;
font-size: 26px;
font-weight: 400;
}
.popup__btn {
color: #39453C;
font-family: Outfit;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 19.2px */
border-radius:  1000px;
border: 1px solid #39453C;
background: #FFF;
padding: 10px 24px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #a8d5ba;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

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

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p,
    .section-intro {
        font-size: 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .why-choose,
    .consultoria,
    .about,
    .knowledge,
    .contact-info {
        padding: 60px 0;
    }

    .footer {
        padding: 40px 0 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .why-choose h2,
    .consultoria h2,
    .about-text h2,
    .knowledge h2,
    .contact-info h2 {
        font-size: 28px;
    }

    .service-item,
    .knowledge-item {
        margin: 0 10px;
    }

    .features-grid,
    .services-grid,
    .knowledge-grid {
        gap: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional hover effects */
.service-item,
.knowledge-item,
.feature-item {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.cta-button:focus,
.submit-btn:focus,
.nav-menu a:focus {
    outline: 2px solid #2c3e50;
    outline-offset: 2px;
}