* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --azul-marfil: #d4e8f0;
  --gris-perla: #e8e5e0;
  --ocre-suave: #d4a574;
  --verde-bosque: #2d4a3a;
  --text-dark: #2a2a2a;
  --text-light: #5a5a5a;
  --neutral-light: #f5f3f0;
  --neutral-dark: #4a4a4a;
  --border-light: #d0cdca;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', 'Lato', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.5px;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo:hover {
  color: var(--verde-bosque);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--ocre-suave);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--ocre-suave);
}

footer {
  background-color: var(--gris-perla);
  color: var(--text-dark);
  padding: 4rem 2rem;
  margin-top: 6rem;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--verde-bosque);
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--ocre-suave);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 1380px;
  margin: 0 auto;
}

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -1px;
  font-weight: 700;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  font-weight: 700;
  margin-top: 2rem;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.3px;
}

p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  padding-right: 2rem;
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.section:last-child {
  border-bottom: none;
}

.section-alt {
  background-color: var(--azul-marfil);
  padding: 5rem 2rem;
}

.section-alt-dark {
  background-color: var(--gris-perla);
  padding: 5rem 2rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-column-reverse {
  grid-auto-flow: dense;
}

.two-column-reverse > :first-child {
  grid-column: 2;
}

.two-column-reverse > :last-child {
  grid-column: 1;
}

.image-block {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card h3 {
  color: var(--verde-bosque);
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

button, .btn, a.btn {
  background-color: var(--ocre-suave);
  color: #ffffff;
  padding: 1rem 1.75rem;
  border: none;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

button:hover, .btn:hover, a.btn:hover {
  background-color: var(--verde-bosque);
  box-shadow: 0 6px 16px rgba(45, 74, 58, 0.3);
  transform: translateY(-2px);
}

button:active, .btn:active {
  transform: translateY(0);
}

.list-group {
  list-style: none;
  margin: 1.5rem 0;
}

.list-group li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-light);
  line-height: 1.7;
  border-bottom: 1px solid var(--border-light);
}

.list-group li:first-child {
  border-top: 1px solid var(--border-light);
}

.list-group li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--ocre-suave);
  font-size: 1.2rem;
}

.myth-fact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.myth, .fact {
  padding: 1.5rem;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.myth {
  background-color: #fef5f0;
  border-left: 4px solid #e8a89a;
}

.fact {
  background-color: #f0f5f8;
  border-left: 4px solid var(--azul-marfil);
}

.myth h3, .fact h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.myth h3 {
  color: #c85c4f;
}

.fact h3 {
  color: var(--verde-bosque);
}

.faq-section {
  margin: 3rem 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--ocre-suave);
}

.faq-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--ocre-suave);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-light);
  padding-top: 0;
  padding-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

.disclaimer {
  background-color: var(--gris-perla);
  padding: 1.5rem;
  border-left: 4px solid var(--verde-bosque);
  margin: 2rem 0;
  border-radius: 2px;
}

.disclaimer h3 {
  margin-top: 0;
  color: var(--verde-bosque);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.disclaimer p {
  margin: 0;
  font-size: 0.9rem;
}

.highlight {
  color: var(--ocre-suave);
  font-weight: 600;
}

.highlight-green {
  color: var(--verde-bosque);
  font-weight: 600;
}

form {
  max-width: 600px;
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

input[type="email"],
textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--ocre-suave);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--gris-perla);
  padding: 2rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-message {
  flex: 1;
}

.cookie-message p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.cookie-actions button {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
}

.cookie-actions .btn-secondary {
  background-color: transparent;
  border: 1px solid var(--ocre-suave);
  color: var(--ocre-suave);
}

.cookie-actions .btn-secondary:hover {
  background-color: var(--ocre-suave);
  color: #ffffff;
  border-color: var(--ocre-suave);
}

.cookie-actions a {
  color: var(--ocre-suave);
  text-decoration: underline;
  font-size: 0.85rem;
  padding: 0.65rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

thead th {
  background-color: var(--azul-marfil);
  color: var(--text-dark);
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--border-light);
}

tbody td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-light);
}

tbody tr:hover {
  background-color: var(--neutral-light);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--ocre-suave);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--text-light);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  background-color: var(--azul-marfil);
  padding: 2rem;
  border-radius: 2px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--verde-bosque);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  margin-bottom: 2rem;
  padding-left: 3rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  width: 12px;
  height: 12px;
  background-color: var(--ocre-suave);
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1px var(--border-light);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 25px;
  width: 2px;
  height: calc(100% + 1rem);
  background-color: var(--border-light);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-item h4 {
  margin-top: 0;
  color: var(--verde-bosque);
  font-weight: 600;
}

.glossary {
  margin: 2rem 0;
}

.glossary-term {
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.glossary-term dt {
  font-weight: 700;
  color: var(--verde-bosque);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.glossary-term dd {
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .header-container {
    padding: 0 1rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero-section {
    min-height: 400px;
    padding: 2rem 0;
  }

  .hero-image {
    width: 100%;
    right: 0;
    opacity: 0.5;
  }

  .hero-content {
    max-width: 100%;
    padding-right: 0;
    position: relative;
    z-index: 10;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-column-reverse > :first-child {
    grid-column: auto;
  }

  .two-column-reverse > :last-child {
    grid-column: auto;
  }

  .myth-fact-block {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .section-alt, .section-alt-dark {
    padding: 3rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .stat-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  button, .btn {
    width: 100%;
    text-align: center;
  }

  form {
    max-width: 100%;
  }
}
