/* Estilos propios de index.html. */

.hero {
  padding: clamp(0.5rem, 1.5vw, 2rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.home-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-hero-brand {
  width: min(100%, 900px);
  height: auto;
}

.home-hero-kicker {
  margin: clamp(0.5rem, 1vw, 1.5rem) 0 0;
  color: #505050;
  font-size: clamp(1.3rem, 1.55vw, 2.3rem);
  font-weight: 500;
  line-height: 1.5;
}

.home-hero-quote {
  max-width: 980px;
  margin: clamp(1.25rem, 1.5vw, 2rem) 0 0;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.home-hero-line {
  display: block;
}

.home-hero-author {
  display: block;
  margin-top: 1.15rem;
  color: var(--color-muted);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.2;
  white-space: nowrap;
}

.philosophy-section {
  padding: clamp(2.25rem, 3.3vw, 2.85rem) 0;
  background: var(--color-surface);
}

.philosophy-title,
.home-resources-title,
.faq-title {
  margin: 0 0 0.48rem;
  font-size: clamp(2.7rem, 4.7vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-align: left;
}

.philosophy-intro,
.home-resources-intro {
  max-width: 1010px;
  margin: 0 0 clamp(1.35rem, 2.1vw, 1.65rem);
  color: var(--color-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}

.philosophy-list {
  display: grid;
  gap: clamp(1.35rem, 2.25vw, 1.875rem);
}

.philosophy-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0;
  border: 0;
  background: transparent;
}

.philosophy-icon {
  width: 90px;
  margin: 0;
  color: var(--color-text);
}

.philosophy-icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.philosophy-answer {
  margin: 0;
  color: #2f2f2b;
  font-size: clamp(1.03rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

.text-link.philosophy-more {
  display: flex;
  width: max-content;
  margin: clamp(1.2rem, 2.1vw, 1.5rem) 0 0;
}

.home-resources-section {
  padding: clamp(2.25rem, 3.3vw, 2.85rem) 0;
  background: var(--color-background);
}

.home-resources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin: clamp(1.55rem, 2.6vw, 2.2rem) 0 0;
}

.home-resource-option {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  color: var(--color-text);
  text-align: left;
  text-decoration: none;
  transition: transform 160ms ease;
}

.home-resource-option:hover {
  transform: translateY(-4px);
}

.home-resource-option > strong {
  margin-top: 0.45rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.25;
}

.home-resource-icon {
  width: clamp(82px, 8vw, 104px);
  margin: 0 0 0.25rem;
  color: var(--color-text);
}

.home-resource-icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.home-resource-description {
  max-width: 620px;
  margin-top: 0.45rem;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.home-resource-link {
  margin-top: 0.75rem;
  font-size: 0.86rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--color-text);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.65rem, 6.3vw, 5.9rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 850;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section {
  padding-block: var(--space-section);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.faq-list.home-faq-list,
.faq-list.home-faq-list details {
  border: 0;
}

.faq-list.home-faq-list {
  display: grid;
  gap: 0.35rem;
}

.faq-list.home-faq-list summary {
  min-height: 0;
  padding: 0.85rem 0;
}

.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-section {
  background: var(--color-surface);
}

.faq-title {
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
}

.faq-list details {
  border-bottom: 1px solid var(--color-border);
}

.faq-list summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  flex: none;
  font-size: 1.5rem;
  font-weight: 400;
  content: "+";
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  max-width: 760px;
  margin: 0;
  padding: 0 2rem 1.5rem 0;
  color: var(--color-muted);
}

@media (max-width: 900px) {
.home-resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {

.hero { padding: 3.25rem 0 3rem; }

.home-hero-brand { width: min(100%, 560px); }

.home-hero-kicker { font-size: 1rem; }

.home-hero-quote { font-size: clamp(2.2rem, 10vw, 2.7rem); }

.home-hero-line { display: inline; }

.philosophy-section { padding: 1.95rem 0 2.4rem; }

.home-resources-section { padding: 1.95rem 0 2.4rem; }

.philosophy-title,
  .home-resources-title {
    margin-bottom: 0.39rem;
    font-size: clamp(2.25rem, 10vw, 2.55rem);
  }

.faq-title { font-size: clamp(2.25rem, 10vw, 2.55rem); }

.philosophy-intro,
  .home-resources-intro { margin-bottom: 1.2rem; }

.philosophy-list {
    gap: 1.125rem;
  }

.philosophy-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1rem;
  }

.philosophy-icon {
    width: 64px;
  }

.philosophy-answer { line-height: 1.6; }

.home-resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 2rem;
    margin-top: 1.35rem;
  }

.home-resource-option { min-height: auto; }

.home-resource-icon { width: 100px; }

h1 { font-size: clamp(2.35rem, 13vw, 3.7rem); }

.hero-actions .button { width: 100%; }
}

.learning-section-heading p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}



.lesson-reminder .text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--color-light);
}





.contact-reason .text-link {
  margin-top: auto;
}

@media (max-width: 640px) {
.contact-reason .text-link {
    margin-top: 0.5rem;
  }
}

/* Componentes modulares utilizados por esta página. */
.catalog-card .text-link {
  margin-top: auto;
}
