:root {
  /* Основная цветовая схема (дополнительная) */
  --primary-color: #ff6b00;
  --primary-dark: #e55a00;
  --primary-light: #ff8d3f;
  --secondary-color: #004aad;
  --secondary-dark: #003c8a;
  --secondary-light: #0067f5;
  
  /* Нейтральные цвета */
  --dark: #1a1a1a;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #f2f2f2;
  --white: #ffffff;
  
  /* Акцентные цвета */
  --accent-1: #00c9a7;
  --accent-2: #845ec2;
  --accent-3: #ff5e78;
  
  /* Цвета состояний */
  --success: #28a745;
  --warning: #ffc107;
  --error: #dc3545;
  --info: #17a2b8;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-gray));
  
  /* Тени */
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.2);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  
  /* Размеры контейнера */
  --container-width: 1200px;
  --container-padding: 2rem;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Пограничные радиусы */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  
  /* Типографика */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
}

/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  line-height: var(--line-height-base);
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

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

/* Типографика */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 1rem auto 0;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: -2rem auto 3rem;
  font-size: 1.1rem;
}

/* Контейнеры */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Кнопки */
.btn, button, input[type="submit"] {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-small);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: 2px solid transparent;
  outline: none;
  box-shadow: var(--box-shadow);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-strong);
}

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

.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-strong);
}

.btn-text {
  background: transparent;
  color: var(--primary-color);
  border: none;
  padding: 0.5rem 0;
  box-shadow: none;
  position: relative;
  font-weight: 500;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

.btn-text:hover {
  color: var(--primary-dark);
  transform: translateY(0);
}

.btn-text:hover::after {
  width: 100%;
}

.btn-full {
  width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-medium);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.logo a {
  color: var(--dark);
  text-decoration: none;
}

.logo span {
  color: var(--primary-color);
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-desktop a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--dark-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-desktop a:hover {
  color: var(--primary-color);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-medium);
}

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

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  width: 30px;
  height: 3px;
  background-color: var(--dark);
  margin: 3px 0;
  transition: all var(--transition-medium);
}

.burger-menu.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 1000;
  padding: 100px 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-medium);
}

.nav-mobile.active {
  transform: translateX(0);
}

.nav-mobile ul {
  list-style: none;
}

.nav-mobile li {
  margin-bottom: 1.5rem;
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-mobile a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 0;
  margin-top: 0;
}

.hero-content {
  max-width: 700px;
  color: var(--white);
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: var(--text-shadow);
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: var(--text-shadow);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: var(--text-shadow);
}

/* Анимация частиц */
.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  width: 60px;
  height: 60px;
  animation-duration: 20s;
  background: rgba(255, 107, 0, 0.2);
}

.particle:nth-child(2) {
  top: 60%;
  left: 30%;
  width: 40px;
  height: 40px;
  animation-duration: 18s;
  animation-delay: 2s;
  background: rgba(0, 74, 173, 0.2);
}

.particle:nth-child(3) {
  top: 40%;
  left: 60%;
  width: 30px;
  height: 30px;
  animation-duration: 15s;
  animation-delay: 1s;
  background: rgba(255, 107, 0, 0.2);
}

.particle:nth-child(4) {
  top: 10%;
  left: 70%;
  width: 50px;
  height: 50px;
  animation-duration: 22s;
  animation-delay: 4s;
  background: rgba(0, 74, 173, 0.2);
}

.particle:nth-child(5) {
  top: 80%;
  left: 50%;
  width: 35px;
  height: 35px;
  animation-duration: 19s;
  animation-delay: 3s;
  background: rgba(255, 107, 0, 0.2);
}

.particle:nth-child(6) {
  top: 30%;
  left: 85%;
  width: 45px;
  height: 45px;
  animation-duration: 17s;
  animation-delay: 5s;
  background: rgba(0, 74, 173, 0.2);
}

.particle:nth-child(7) {
  top: 70%;
  left: 20%;
  width: 55px;
  height: 55px;
  animation-duration: 21s;
  animation-delay: 2s;
  background: rgba(255, 107, 0, 0.2);
}

.particle:nth-child(8) {
  top: 50%;
  left: 90%;
  width: 25px;
  height: 25px;
  animation-duration: 16s;
  animation-delay: 6s;
  background: rgba(0, 74, 173, 0.2);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-50px) translateX(50px);
  }
  50% {
    transform: translateY(0) translateX(100px);
  }
  75% {
    transform: translateY(50px) translateX(50px);
  }
}

/* Historia Section */
.historia {
  background-color: var(--light-gray);
}

.historia-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.historia-image {
  flex: 1;
  min-width: 300px;
  border: 8px solid var(--white);
  box-shadow: var(--box-shadow);
  transform: rotate(-2deg);
  overflow: hidden;
}

.historia-image img {
  width: 100%;
  transition: transform var(--transition-medium);
}

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

.historia-text {
  flex: 2;
  min-width: 300px;
}

.historia-text h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--medium-gray);
  z-index: 1;
}

.timeline-item {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.timeline-item h4 {
  background-color: var(--primary-color);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.timeline-item p {
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Proceso Section */
.proceso {
  background-color: var(--white);
}

.proceso-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 4rem 0;
}

.proceso-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  flex-shrink: 0;
  background: var(--light-gray);
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--box-shadow);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.proceso-image {
  margin: 4rem auto;
  max-width: 800px;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow-strong);
}

.proceso-image img {
  width: 100%;
  transition: transform var(--transition-slow);
}

.proceso-image:hover img {
  transform: scale(1.02);
}

/* Toggle Switches */
.toggle-container {
  margin: 4rem auto;
  max-width: 800px;
  background: var(--light-gray);
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--box-shadow);
}

.toggle-container h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.toggle-switches {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.toggle span {
  font-weight: 600;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--medium-gray);
  transition: var(--transition-medium);
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: var(--white);
  transition: var(--transition-medium);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.toggle-content > div {
  display: none;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-small);
}

.toggle-content > div.active {
  display: block;
}

/* Portfolio Section */
.portafolio {
  background-color: var(--white);
}

.portafolio-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--secondary-color);
  color: var(--white);
}

.portafolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.portafolio-item {
  transition: all var(--transition-medium);
}

.card {
  background: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.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: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.card-content p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-content .btn {
  align-self: center;
}

/* Custom Slider */
.custom-slider {
  margin: 4rem auto;
  max-width: 1000px;
}

.custom-slider h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.slider-container {
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.slider-track {
  display: flex;
  gap: 2rem;
  transition: transform var(--transition-medium);
}

.slide {
  min-width: 250px;
  text-align: center;
}

.slide img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-small);
  margin-bottom: 1rem;
}

.slide h4 {
  font-size: 1.2rem;
  color: var(--dark);
}

.slider-arrows {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
}

.arrow {
  background: var(--white);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  border: none;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

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

/* Recursos Externos Section */
.recursos-externos {
  background-color: var(--light-gray);
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.recurso-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform var(--transition-medium);
}

.recurso-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-strong);
}

.recurso-item h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.recurso-item p {
  margin-bottom: 1.5rem;
}

.recurso-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

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

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

.calculadoras-financieras {
  margin-top: 4rem;
  text-align: center;
}

.calculadoras-financieras h3 {
  margin-bottom: 2rem;
}

.calculadoras-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.calculadora-item {
  width: 200px;
  background: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-medium);
  text-align: center;
  display: block;
  text-decoration: none;
  color: var(--dark);
}

.calculadora-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-strong);
}

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

.calculadora-item h4 {
  padding: 1rem;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

/* Insights Section */
.insights {
  background-color: var(--white);
}

.insights-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.insights-accordion {
  flex: 1;
  min-width: 300px;
}

.accordion {
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--radius-small);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.accordion-header {
  background: var(--light-gray);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.accordion-header:hover {
  background: var(--secondary-light);
  color: var(--white);
}

.accordion-header h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  font-weight: 600;
  flex: 1;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

.accordion-content {
  background: var(--white);
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.accordion-item.active .accordion-header {
  background: var(--secondary-color);
  color: var(--white);
}

.accordion-item.active .accordion-icon {
  color: var(--white);
}

.accordion-item.active .accordion-content {
  padding: 1.5rem;
}

.insights-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow-strong);
}

.insights-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: var(--white);
  text-align: center;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.insights-image:hover .overlay-text {
  transform: translateY(0);
}

.overlay-text h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.insights-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  min-width: 200px;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Noticias Section */
.noticias {
  background-color: var(--light-gray);
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.noticia-item {
  height: 100%;
}

.noticia-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-small);
  font-weight: 600;
  font-size: 0.9rem;
}

.prensa {
  text-align: center;
  margin: 4rem 0;
}

.prensa h3 {
  margin-bottom: 2rem;
}

.prensa-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.prensa-logos img {
  height: 60px;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  margin: 0 auto;
}

.prensa-logos img:hover {
  opacity: 1;
}

.prensa-citas {
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
}

.cita {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--box-shadow);
}

.cita p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cita span {
  font-weight: 600;
  color: var(--secondary-color);
}

.publicaciones-btn {
  text-align: center;
  margin-top: 3rem;
}

/* Contacto Section */
.contacto {
  background-color: var(--white);
}

.contacto-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contacto-info {
  flex: 1;
  min-width: 300px;
}

.contacto-info h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.info-item i {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-item h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.contacto-mapa {
  margin-top: 3rem;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.contacto-mapa img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contacto-form {
  flex: 1;
  min-width: 300px;
}

.form {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: var(--radius-small);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group.checkbox input {
  width: auto;
}

.form-group.checkbox label {
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 2;
  min-width: 300px;
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-links, .footer-services, .footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer h3 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
}

.footer h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  margin-top: 0.5rem;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.8rem;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.social-links {
  margin-top: 2rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icons a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 0.5rem;
}

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

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

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* Cookie Consent */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: var(--white);
  padding: 15px;
  text-align: center;
  z-index: 9999;
  display: none;
}

#accept-cookies {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: var(--radius-small);
  font-weight: 600;
}

#accept-cookies:hover {
  background-color: var(--primary-dark);
}

/* Additional Pages */
.about-page, .privacy-page, .terms-page, .contacts-page {
  padding-top: 100px;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.page-content h1 {
  margin-bottom: 2rem;
}

.page-content h2 {
  margin: 2.5rem 0 1.5rem;
  color: var(--secondary-color);
}

.page-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.page-content ul, .page-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-container {
  max-width: 600px;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--box-shadow-strong);
  animation: fadeInUp 1s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--white);
  font-size: 2.5rem;
}

.success-container h1 {
  color: var(--success);
  margin-bottom: 1.5rem;
}

.success-container p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .proceso-step {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .historia-content, .insights-container {
    flex-direction: column;
  }
  
  .timeline {
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  
  .timeline-item {
    min-width: 100px;
  }
  
  .footer-content > div {
    flex: 1 0 100%;
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .card-image {
    height: 200px;
  }
  
  .portafolio-grid, .recursos-grid, .noticias-grid {
    grid-template-columns: 1fr;
  }
  
  .form {
    padding: 1.5rem;
  }
}
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
}