/* Base Styles */
:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --light-color: #f1faee;
    --dark-color: #333;
    --gray-color: #6c757d;
    --bg-light: #f8f9fa;
    --bg-accent: #fffad0;
    --bg-secondary: #e9ecef;
    --text-color: #212529;
    --border-color: #dee2e6;
    --font-family: 'PT Sans', sans-serif;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--primary-color);
  }
  
  ul {
    list-style: none;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  p {
    margin-bottom: 1rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 700;
    text-align: center;
  }
  
  .btn:hover {
    background-color: #d32535;
    color: white;
  }
  
  .btn-secondary {
    background-color: #fff;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
  }
  
  .btn-secondary:hover {
    background-color: #f8f9fa;
    color: var(--dark-color);
  }
  
  .center-btn {
    text-align: center;
    margin-top: 2rem;
  }
  
  /* Header Styles */
  .header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .main-nav ul {
    display: flex;
  }
  
  .main-nav ul li {
    margin-left: 1.5rem;
  }
  
  .main-nav ul li a {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
  }
  
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--dark-color);
  }
  
  /* Hero Section */
  .hero {
    padding: 5rem 0;
    background-color: var(--bg-light);
    background-image: url('./assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
  }

  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
  }
  
  .hero h1 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
  }
  
  .hero p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }
  
  /* Trayectorias Section */
  .trayectorias {
    background-color: white;
  }
  
  .trayectorias-content {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .trayectorias-image {
    flex: 1;
  }
  
  .trayectorias-text {
    flex: 1;
  }
  
  .trayectorias h2 {
    text-align: left;
  }
  
  /* Diferencia Section */
  .diferencia {
    background-color: #ffd166;
    padding: 4rem 0;
  }
  
  .diferencia h2 {
    margin-bottom: 3rem;
  }
  
  .diferencia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .diferencia-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .diferencia-item:hover {
    transform: translateY(-5px);
  }
  
  .diferencia-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
  }
  
  /* Principios Section */
  .principios {
    background-color: white;
    padding: 5rem 0;
  }
  
  .principios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .principio-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .principio-card:hover {
    transform: translateY(-5px);
  }
  
  .principio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .principio-card h3 {
    padding: 1.5rem;
    background-color: white;
    margin-bottom: 0;
  }
  
  /* Intervenciones Section */
  .intervenciones {
    background-color: #a8dadc;
    padding: 4rem 0;
  }
  
  .intervenciones h2 {
    margin-bottom: 3rem;
  }
  
  .intervenciones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .intervencion-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .intervencion-item:hover {
    transform: translateY(-5px);
  }
  
  .intervencion-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  
  /* Perspectivas Section */
  .perspectivas {
    background-color: white;
    padding: 5rem 0;
  }
  
  .perspectivas-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
  }
  
  .perspectivas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .perspectiva-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .perspectiva-card:hover {
    transform: translateY(-5px);
  }
  
  .perspectiva-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .perspectiva-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    background-color: white;
    margin-bottom: 0;
  }
  
  .perspectiva-card p {
    padding: 0 1.5rem 1.5rem;
    background-color: white;
  }
  
  /* Acompañamiento Section */
  .acompanamiento {
    background-color: #f8f9fa;
  }
  
  .acompanamiento-content {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .acompanamiento-text {
    flex: 3;
  }
  
  .acompanamiento-image {
    flex: 2;
  }
  
  .acompanamiento h2 {
    text-align: left;
  }
  
  .acompanamiento .btn {
    margin-top: 1.5rem;
  }
  
  /* Contacto Section */
  .contacto {
    background-color: white;
    padding: 5rem 0;
  }
  
  .contacto-intro, .contacto-action {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .contacto-action {
    margin-bottom: 2rem;
  }
  
  form {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .form-group {
    flex: 1;
  }
  
  input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 1rem;
  }
  
  textarea {
    resize: vertical;
  }
  
  form .btn {
    margin-top: 1rem;
    width: 100%;
  }
  
  /* Footer */
  .footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
  }
  
  .footer a {
    color: #a8dadc;
  }
  
  .footer a:hover {
    color: white;
  }
  
  .footer-content {
    margin-bottom: 3rem;
  }
  
  .footer-contact h3 {
    margin-bottom: 1.5rem;
  }
  
  .footer-contact p {
    margin-bottom: 0.5rem;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-links {
    display: flex;
    gap: 1.5rem;
  }
  
  /* Cookie Popup */
  .cookie-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }
  
  .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  /* Mobile Menu */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease;
  }
  
  .mobile-menu.active {
    right: 0;
    display: block;
  }
  
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-color);
  }
  
  .mobile-nav ul li {
    border-bottom: 1px solid var(--border-color);
  }
  
  .mobile-nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    font-weight: 700;
  }
  
  /* Media Queries */
  @media (max-width: 992px) {
    .diferencia-grid, .intervenciones-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .principios-grid, .perspectivas-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .trayectorias-content, .acompanamiento-content {
      flex-direction: column;
    }
    
    .trayectorias-image, .trayectorias-text,
    .acompanamiento-text, .acompanamiento-image {
      width: 100%;
      max-width: 100%;
    }
  }
  
  @media (max-width: 768px) {
    .main-nav {
      display: none;
    }
    
    .menu-toggle {
      display: block;
    }
    
    .diferencia-grid, .intervenciones-grid {
      grid-template-columns: 1fr;
    }
    
    .form-row {
      flex-direction: column;
      gap: 1rem;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    
    .footer-links {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    h1 {
      font-size: 2rem;
    }
    
    h2 {
      font-size: 1.75rem;
    }
  }
  
  @media (max-width: 576px) {
    .principios-grid, .perspectivas-grid {
      grid-template-columns: 1fr;
    }
    
    section {
      padding: 3rem 0;
    }
    
    .hero {
      padding: 4rem 0;
    }
    
    .cookie-buttons {
      flex-direction: column;
    }
  }

html {
    scroll-behavior: smooth;
}

.thank-section {
    text-align: center;
}