/* =========================================
   Variables & Root Styles
   ========================================= */
:root {
  /* Color Palette */
  --primary-color: #3366cc;
  --primary-dark: #264d99;
  --primary-light: #6691d9;
  --secondary-color: #ff6633;
  --secondary-dark: #cc4d26;
  --secondary-light: #ff8c66;
  --neutral-100: #ffffff;
  --neutral-200: #f8f9fa;
  --neutral-300: #e9ecef;
  --neutral-400: #ced4da;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  
  /* Typography */
  --heading-font: 'Roboto', sans-serif;
  --body-font: 'Lato', sans-serif;
  --base-font-size: 16px;
  --h1-size: 2.5rem;
  --h2-size: 2rem;
  --h3-size: 1.75rem;
  --h4-size: 1.5rem;
  --h5-size: 1.25rem;
  --h6-size: 1rem;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;
  --spacing-xxl: 4rem;
  
  /* Borders & Shadows */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  
  /* Transitions & Animations */
  --transition-fast: 0.2s ease-in-out;
  --transition-medium: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --footer-padding: 60px;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--neutral-800);
  line-height: 1.6;
  background-color: var(--neutral-200);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--neutral-900);
}

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
}

p {
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

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

ul, ol {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

/* =========================================
   Layout & Containers
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
}

/* Column sizes */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

.is-two-thirds {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.is-half {
  flex: 0 0 50%;
  max-width: 50%;
}

/* =========================================
   Typography & Text Utilities
   ========================================= */
.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-white {
  color: var(--neutral-100);
}

.text-dark {
  color: var(--neutral-900);
}

.text-muted {
  color: var(--neutral-600);
}

.font-weight-bold {
  font-weight: 700;
}

.font-weight-normal {
  font-weight: 400;
}

.font-weight-light {
  font-weight: 300;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  color: var(--neutral-700);
}

/* =========================================
   Buttons
   ========================================= */
.btn, 
button,
input[type="submit"] {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius-md);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  cursor: pointer;
  font-family: var(--body-font);
}

.btn:hover, 
button:hover,
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn:active, 
button:active,
input[type="submit"]:active {
  transform: translateY(-1px);
}

.btn:focus, 
button:focus,
input[type="submit"]:focus {
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.btn-block {
  display: block;
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.25rem;
}

/* =========================================
   Forms
   ========================================= */
.form-group {
  margin-bottom: var(--spacing-lg);
}

label {
  display: inline-block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--neutral-800);
}

input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--neutral-800);
  background-color: var(--neutral-100);
  border: 1px solid var(--neutral-400);
  border-radius: var(--border-radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(51, 102, 204, 0.25);
}

textarea {
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: center;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-right: var(--spacing-sm);
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: normal;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow-sm);
  backdrop-filter: blur(10px);
  transition: background-color var(--transition-medium);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo a {
  display: block;
}

.logo img {
  height: 60px;
  width: auto;
}

.navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: var(--spacing-md);
}

.nav-menu a {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--neutral-800);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--neutral-800);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  position: relative;
  padding: 180px 0 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xl);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

/* =========================================
   Section Styles
   ========================================= */
section {
  padding: var(--spacing-xxl) 0;
}

section:nth-child(even) {
  background-color: var(--neutral-100);
}

/* =========================================
   Services Section
   ========================================= */
.servicios {
  background-color: var(--neutral-200);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-md);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-lg);
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card h3 {
  color: var(--neutral-900);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.card p {
  color: var(--neutral-700);
  margin-bottom: var(--spacing-lg);
}

/* =========================================
   Recursos Section
   ========================================= */
.recursos {
  background-color: var(--neutral-100);
}

.recursos-grid {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.recurso-card {
  background-color: var(--neutral-200);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  flex: 1;
  box-shadow: var(--box-shadow-sm);
}

.recurso-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.recurso-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recurso-card li {
  margin-bottom: var(--spacing-sm);
}

.recurso-card a {
  display: inline-block;
  color: var(--neutral-800);
  transition: color var(--transition-fast);
}

.recurso-card a:hover {
  color: var(--primary-color);
}

/* =========================================
   Gallery Section
   ========================================= */
.galeria {
  background-color: var(--neutral-200);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
  text-align: center;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h4 {
  margin-bottom: var(--spacing-xs);
  color: white;
}

.gallery-caption p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--neutral-300);
}

/* =========================================
   Eventos Section
   ========================================= */
.eventos {
  background-color: var(--neutral-100);
}

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.event-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-card .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.event-card .card-content {
  padding: var(--spacing-lg);
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-date {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: var(--spacing-xs);
}

.event-location {
  color: var(--neutral-700);
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

/* =========================================
   Webinars Section
   ========================================= */
.webinars {
  background-color: var(--neutral-200);
}

.webinars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.webinar-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.webinar-card .card-image {
  width: 100%;
  height: 200px;
}

.webinar-card .card-content {
  padding: var(--spacing-lg);
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.webinar-date {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: var(--spacing-md);
}

/* =========================================
   Blog Section
   ========================================= */
.blog {
  background-color: var(--neutral-100);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.blog-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-md);
}

.blog-card .card-image {
  width: 100%;
  height: 200px;
}

.blog-card .card-content {
  padding: var(--spacing-lg);
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-date {
  color: var(--neutral-600);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
}

/* =========================================
   Casos de Éxito Section
   ========================================= */
.exitos {
  background-color: var(--neutral-200);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: var(--spacing-lg) 0;
  position: relative;
  width: 50%;
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  padding: 0 var(--spacing-lg);
  position: relative;
}

.timeline-content::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -10px;
}

/* =========================================
   Proyectos Section
   ========================================= */
.proyectos {
  background-color: var(--neutral-100);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.project-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-card .card-image {
  width: 100%;
  height: 250px;
}

.project-card .card-content {
  padding: var(--spacing-lg);
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================
   Contact Section
   ========================================= */
.contacto {
  background-color: var(--neutral-200);
}

.contact-container {
  display: flex;
  gap: var(--spacing-xl);
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  margin-bottom: var(--spacing-md);
}

.contact-details {
  margin-top: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.contact-item i {
  margin-right: var(--spacing-md);
  color: var(--primary-color);
  font-size: 1.5rem;
}

.contact-form-container {
  flex: 1;
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-sm);
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: var(--neutral-900);
  color: var(--neutral-300);
  padding-top: var(--footer-padding);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: var(--spacing-xl);
}

.footer-logo {
  flex: 0 0 100%;
  max-width: 360px;
  margin-bottom: var(--spacing-lg);
}

.footer-logo img {
  margin-bottom: var(--spacing-md);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}

.footer-links-column {
  min-width: 160px;
}

.footer-links-column h4 {
  color: white;
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

.footer-links-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-column li {
  margin-bottom: var(--spacing-md);
}

.footer-links-column a {
  color: var(--neutral-400);
  transition: color var(--transition-fast);
}

.footer-links-column a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-lg) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-links a {
  color: var(--neutral-400);
  transition: color var(--transition-fast);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links a:hover {
  color: var(--primary-light);
}

.copyright {
  color: var(--neutral-500);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =========================================
   Page Hero
   ========================================= */
.page-hero {
  position: relative;
  padding: 150px 0 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: var(--spacing-md);
  color: white;
}

.page-hero p {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: white;
}

/* =========================================
   About Page
   ========================================= */
.about-section {
  padding: var(--spacing-xl) 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.about-image {
  flex: 0 0 40%;
}

.about-text {
  flex: 1;
}

.mission-vision-container {
  display: flex;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.mission-card,
.vision-card {
  flex: 1;
  background-color: white;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-sm);
  text-align: center;
}

.mission-card h3,
.vision-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.values-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  text-align: center;
}

.value-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
}

.value-card h3 {
  color: white;
  margin-bottom: var(--spacing-md);
}

.value-card p {
  color: var(--neutral-200);
}

.why-us-container {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
  margin-top: var(--spacing-xl);
}

.why-us-content {
  flex: 1;
}

.why-us-image {
  flex: 0 0 40%;
}

.why-us-item {
  margin-bottom: var(--spacing-xl);
}

.why-us-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.cta-section {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: var(--spacing-md);
}

.cta-content p {
  margin-bottom: var(--spacing-lg);
  font-size: 1.2rem;
}

/* =========================================
   Contact Page
   ========================================= */
.contact-info-section {
  padding-top: var(--spacing-xxl);
  background-color: var(--neutral-100);
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.office-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.office-address,
.office-phone,
.office-email,
.office-hours {
  margin-bottom: var(--spacing-sm);
}

.contact-form-section {
  background-color: var(--neutral-200);
}

.contact-methods {
  margin-top: var(--spacing-xl);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: var(--spacing-md);
}

.method-info h4 {
  margin-bottom: var(--spacing-xs);
}

.method-info p {
  margin-bottom: var(--spacing-xs);
  color: var(--neutral-700);
}

.social-contact {
  margin-top: var(--spacing-xl);
}

.social-contact h4 {
  margin-bottom: var(--spacing-md);
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-section {
  background-color: var(--neutral-100);
}

.accordion-container {
  margin-top: var(--spacing-xl);
}

.accordion-item {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  background-color: white;
}

.accordion-header {
  padding: var(--spacing-lg);
  background-color: var(--neutral-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform var(--transition-medium);
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--neutral-800);
  transition: all var(--transition-medium);
}

.accordion-icon::before {
  width: 2px;
  height: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.accordion-icon::after {
  width: 20px;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.accordion-item.active .accordion-icon::before {
  transform: translateX(-50%) rotate(90deg);
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.accordion-item.active .accordion-content {
  padding: var(--spacing-lg);
  max-height: 500px;
}

/* =========================================
   Legal Pages
   ========================================= */
.legal-content-section {
  background-color: var(--neutral-100);
  padding-top: 100px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-sm);
}

.last-updated {
  margin-bottom: var(--spacing-xl);
  text-align: right;
  color: var(--neutral-600);
  font-style: italic;
}

.legal-section {
  margin-bottom: var(--spacing-xl);
}

.legal-section h2 {
  color: var(--primary-color);
  border-bottom: 1px solid var(--neutral-300);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.legal-section h3 {
  font-size: 1.3rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  color: var(--neutral-800);
}

.legal-section ul {
  margin-bottom: var(--spacing-lg);
}

.legal-section li {
  margin-bottom: var(--spacing-sm);
}

/* =========================================
   Success Page
   ========================================= */
.success-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--spacing-xxl) 0;
}

.success-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: var(--spacing-lg);
}

.success-message {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xl);
}

.success-next-steps {
  margin-bottom: var(--spacing-xl);
  text-align: left;
}

.success-next-steps h2 {
  margin-bottom: var(--spacing-md);
}

.success-next-steps ul {
  margin-left: var(--spacing-lg);
}

.success-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

.resources-section {
  background-color: var(--neutral-100);
  padding: var(--spacing-xxl) 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.resource-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-card .card-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.resource-card ul {
  list-style: none;
  margin: 0 0 var(--spacing-lg) 0;
  padding: 0;
  width: 100%;
  text-align: left;
}

.resource-card li {
  margin-bottom: var(--spacing-sm);
}

.resource-card a {
  color: var(--neutral-800);
  transition: color var(--transition-fast);
}

.resource-card a:hover {
  color: var(--primary-color);
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* =========================================
   Media Queries
   ========================================= */
@media (max-width: 1200px) {
  :root {
    --container-width: 960px;
  }
}

@media (max-width: 992px) {
  :root {
    --container-width: 720px;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    flex: 0 0 100%;
    margin-bottom: var(--spacing-lg);
  }
  
  .why-us-container {
    flex-direction: column;
  }
  
  .why-us-image {
    flex: 0 0 100%;
    margin-top: var(--spacing-xl);
    order: 2;
  }
  
  .why-us-content {
    order: 1;
  }
  
  .mission-vision-container {
    flex-direction: column;
  }
  
  .mission-card,
  .vision-card {
    margin-bottom: var(--spacing-lg);
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: var(--spacing-xl);
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
    left: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-content::after {
    left: -39px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after {
    right: auto;
    left: -39px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 540px;
    --h1-size: 2rem;
    --h2-size: 1.75rem;
    --h3-size: 1.5rem;
    --h4-size: 1.25rem;
    --h5-size: 1.1rem;
    --h6-size: 1rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg) 0;
    box-shadow: var(--box-shadow-sm);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: var(--spacing-xs) 0;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .recursos-grid {
    flex-direction: column;
  }
  
  .page-hero {
    padding: 120px 0 60px;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-logo {
    margin-bottom: var(--spacing-xl);
  }
  
  .footer-links {
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
}

@media (max-width: 576px) {
  :root {
    --container-width: 100%;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
  }
  
  section {
    padding: var(--spacing-xl) 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .contact-form-container {
    padding: var(--spacing-md);
  }
}

/* =========================================
   Utility Classes
   ========================================= */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }

.flex-column { flex-direction: column !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }