/* Presentación exclusiva de Inicio; componentes en common.css. */
@media (min-width: 1200px) {
  .home-page .hand-note.hand-note--hero { top: 28px; right: max(32px, calc((100% - 1180px) / 2 + 48px)); color: var(--home-gold); text-shadow: 0 1px 3px rgba(47, 23, 15, 0.65); --note-angle: 2deg; }
  .home-page .hand-note.hand-note--hero svg { margin-left: 25px; }
  .home-page .hand-note.hand-note--courses { top: 14px; left: max(24px, calc((100% - 1180px) / 2 + 12px)); width: 180px; }
  .home-page .hand-note.hand-note--courses svg { width: 64px; height: 30px; margin-left: 90px; }
  .home-page .hand-note.hand-note--story { top: 22px; left: max(32px, calc((100% - 1180px) / 2 + 36px)); width: 230px; color: var(--home-cream); text-shadow: 0 1px 3px rgba(47, 23, 15, 0.65); }
  .home-page .hand-note.hand-note--story svg { margin-left: 80px; }
  .home-page .hand-note.hand-note--cta { top: 40px; right: max(32px, calc((100% - 1180px) / 2 + 30px)); width: 190px; --note-angle: 2deg; }
}
/* Warm, opt-in microinteractions; header and footer retain their current styles. */

body.home-page[data-motion] .home-benefits .home-icon,
body.home-page[data-motion] .home-reason .home-icon {
  border-radius: 46% 54% 60% 40% / 58% 44% 56% 42%;
  background: rgba(230, 167, 86, 0.13);
  box-shadow: 0 0 0 4px rgba(230, 167, 86, 0.13);
  transition: transform var(--motion-time) ease, background-color var(--motion-time) ease, box-shadow var(--motion-time) ease, color var(--motion-time) ease;
}
body.home-page[data-motion] :is(.home-benefits li, .home-reason):is(:hover, :focus-visible) .home-icon {
  background: var(--motion-halo);
  box-shadow: 0 0 0 6px var(--motion-halo), var(--motion-warm-shadow);
  transform: scale(var(--motion-icon-zoom));
  color: var(--motion-icon-color);
}
body.home-page[data-motion] .home-reason { --motion-icon-zoom: 1.07; --motion-icon-color: #74491f; }
body.home-page[data-motion] .home-reason .home-icon {
  border-radius: 44% 56% 42% 58% / 55% 42% 58% 45%;
  box-shadow: 0 0 0 5px rgba(230, 167, 86, 0.13), 0 3px 8px -4px rgba(139, 91, 40, 0.16);
}
body.home-page[data-motion] .home-course {
  position: relative;
  border-radius: 0.3rem;
  box-shadow: 0 2px 8px -4px rgba(139, 91, 40, 0.18);
}
/* An overlay border adds no width or padding to the approved course layout. */
body.home-page[data-motion] .home-course::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(139, 91, 40, 0.12);
  border-radius: inherit;
  pointer-events: none;
}
body.home-page[data-motion] .home-course-caption { position: relative; }
body.home-page[data-motion] .home-course-caption > span {
  display: grid;
  place-items: center;
  position: absolute;
  right: 12px;
  bottom: calc(100% + 12px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--home-paper);
  color: var(--home-accent);
  border: 1px solid rgba(139, 91, 40, 0.22);
  box-shadow: 0 2px 6px rgba(47, 23, 15, 0.12);
  pointer-events: none;
}
body.home-page[data-motion] .home-course-caption::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: calc(50% - 12px);
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--home-gold);
  opacity: 0.65;
}
body.home-page[data-motion] :is(.home-course, .home-reason) {
  transition: transform var(--motion-time) ease, opacity 300ms ease, translate 300ms ease;
}
body.home-page[data-motion] .home-course:is(:hover, :focus-visible) { transform: translateY(-3px); }
body.home-page[data-motion] .home-reason:is(:hover, :focus-visible) { transform: translateY(-2px); }
body.home-page[data-motion] :is(.home-course img, .home-life-image) {
  transition: transform var(--motion-time) ease, box-shadow var(--motion-time) ease, filter var(--motion-time) ease;
}
body.home-page[data-motion] .home-course h3 { transition: color var(--motion-time) ease; }
body.home-page[data-motion] .home-course:is(:hover, :focus-visible) h3 { color: var(--home-accent); }
body.home-page[data-motion] .home-course:is(:hover, :focus-visible) img,
body.home-page[data-motion] .home-life-image:is(:hover, :focus-visible) {
  transform: scale(1.03);
  box-shadow: var(--motion-warm-shadow);
}
body.home-page[data-motion] main :is(.btn-primary, .home-btn-dark, .home-btn-light) {
  transition: transform var(--motion-time) ease, box-shadow var(--motion-time) ease, background-color var(--motion-time) ease;
}
body.home-page[data-motion] main :is(.btn-primary, .home-btn-dark, .home-btn-light):is(:hover, :focus-visible) {
  transform: translateY(-2px);
  box-shadow: var(--motion-button-shadow);
}
body.home-page[data-motion] main :is(.btn-primary, .home-btn-dark, .home-btn-light):active { transform: none; }
body.home-page[data-motion] .whatsapp-icon { transition: transform var(--motion-time) ease, filter var(--motion-time) ease; }
body.home-page[data-motion] .whatsapp-float .whatsapp-icon:is(:hover, :focus-visible) {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 4px 5px rgba(47, 23, 15, 0.24));
}
body.home-page[data-motion] main [tabindex="0"]:focus-visible {
  outline: 3px solid var(--home-brown);
  outline-offset: 3px;
}
body.home-page[data-motion] .home-courses {
  background-image: radial-gradient(circle at 94% 12%, rgba(230, 167, 86, 0.09), transparent 110px);
}
body.home-page[data-motion] .home-reasons {
  background-image: radial-gradient(circle at 6% 85%, rgba(230, 167, 86, 0.1), transparent 100px);
}
/* Empty pseudo-elements draw decoration without adding spoken/text content. */
body.home-page[data-motion] :is(.home-benefits, .home-courses, .home-life, .home-final-cta) { position: relative; isolation: isolate; }
body.home-page[data-motion] :is(.home-benefits, .home-courses, .home-life, .home-final-cta)::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: clamp(80px, 12vw, 160px);
  height: 90px;
  background: rgba(230, 167, 86, 0.1);
  border-radius: 45% 55% 32% 68% / 60% 35% 65% 40%;
}
body.home-page[data-motion] .home-benefits::before { left: 0; bottom: 0; height: 48px; }
body.home-page[data-motion] .home-courses::before { right: 0; top: 0; }
body.home-page[data-motion] .home-life::before { right: 0; bottom: 12px; }
body.home-page[data-motion] .home-final-cta::before { left: 0; top: 0; }
body.home-page[data-motion] :is(.home-benefits, .home-courses)::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 20px;
  height: 30px;
  right: 18px;
  opacity: 0.24;
  /* Note head, stem and flag, drawn entirely with CSS gradients. */
  background: radial-gradient(ellipse, var(--home-accent) 62%, transparent 67%) 0 100% / 12px 8px no-repeat,
    linear-gradient(var(--home-accent), var(--home-accent)) 9px 2px / 2px 24px no-repeat,
    linear-gradient(32deg, transparent 25%, var(--home-accent) 28% 62%, transparent 65%) 10px 1px / 10px 11px no-repeat;
}
body.home-page[data-motion] .home-benefits::after { bottom: 8px; }
body.home-page[data-motion] .home-courses::after { top: 16px; right: 30px; }
body.home-page[data-motion] .home-story-panel::after,
body.home-page[data-motion] .home-final-cta::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 16px;
  width: 52px;
  height: 20px;
  border-block: 1px solid var(--home-gold);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
}
@media (max-width: 575.98px) {
  body.home-page[data-motion] .home-benefits::after { display: none; }
  body.home-page[data-motion] :is(.home-benefits, .home-courses, .home-life, .home-final-cta)::before { opacity: 0.65; }
  body.home-page[data-motion] .home-course-caption > span { width: 24px; height: 24px; right: 8px; bottom: calc(100% + 8px); }
}
@media (prefers-reduced-motion: reduce) {
  body.home-page[data-motion] main :is(.home-course, .home-reason, .home-icon, .home-course img, .home-life-image, .home-course h3, .btn-primary, .home-btn-dark, .home-btn-light),
  body.home-page[data-motion] .whatsapp-float .whatsapp-icon {
    transition: none !important;
    transform: none !important;
  }
}
.home-page .home-section { padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.home-page .home-courses { padding-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.home-page .home-reasons { padding-top: clamp(2.25rem, 4vw, 3.25rem); }
.home-page .home-life { padding-block: clamp(2.25rem, 4vw, 3.25rem); }
.home-page .home-btn-light { color: var(--home-paper); border: 1px solid var(--home-paper); }
.home-page .home-btn-light:hover { background: var(--home-paper); color: var(--home-brown); }
.home-page .home-hero { position: relative; isolation: isolate; background: var(--home-brown); color: var(--home-paper); }
.home-page .home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; z-index: -2; }
@media (min-width: 992px) {
  .home-page .home-hero-image {
      left: auto;
      width: 78%;
      mask-image: linear-gradient(to right, transparent, #000 22%);
    }
}
.home-page .home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,23,15,0.94), rgba(47,23,15,0.88) 55%, rgba(47,23,15,0.25)); z-index: -1; }
.home-page .home-hero-content { padding-block: clamp(3rem, 5.5vw, 5rem); }
.home-page .home-hero-copy { max-width: 610px; }
.home-page .home-hero h1 { max-width: 610px; margin-bottom: 1.35rem; }
.home-page .home-hero-description { max-width: 550px; margin-bottom: 1.7rem; font-family: "Raleway", sans-serif; font-size: 1rem; font-weight: 500; }
.home-page .home-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.home-page .home-benefits { background: var(--home-soft); padding-block: 1.1rem; border-bottom: 1px solid rgba(47,23,15,0.08); }
.home-page .home-benefits li { display: flex; gap: 0.85rem; align-items: center; padding: 0.85rem 1rem; }
.home-page .home-icon { flex: 0 0 32px; color: var(--home-accent); }
.home-page .home-benefits strong { display: block; font-family: "Raleway", sans-serif; font-size: 0.9rem; font-weight: 700; }
.home-page .home-benefits li > span > span { display: block; font-family: "Raleway", sans-serif; font-size: 0.8rem; margin-top: 0.2rem; }
.home-page .home-text-link { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; color: var(--home-brown); font-family: "Raleway", sans-serif; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.home-page .home-text-link:hover { text-decoration: underline; }
.home-page .home-course { display: block; height: 100%; color: var(--home-brown); text-decoration: none; }
.home-page .home-course img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 42%; border-radius: 0.3rem; transition: filter 160ms ease; }
.home-page .home-course-caption { padding-top: 0.85rem; text-align: center; }
.home-page .home-course-caption > span { display: none; }
.home-page .home-course h3 { margin-bottom: 0; }
.home-page .home-course:hover h3,
.home-page .home-course:focus-visible h3 { text-decoration: underline; text-underline-offset: 0.25em; }
.home-page .home-course:hover img,
.home-page .home-course:focus-visible img { filter: brightness(0.96); }
.home-page .home-course-more { text-align: center; margin: 1.6rem 0 0.45rem; font-size: 0.85rem; }
.home-page .home-courses-link { text-align: center; }
.home-page .home-reasons { background: var(--home-soft); }
.home-page .home-reason { display: flex; flex-direction: column; align-items: center; height: 100%; text-align: center; }
.home-page .home-reason .home-icon { flex: 0 0 44px; width: 44px; height: 44px; margin-bottom: 0.9rem; }
.home-page .home-reason h3 { font-family: "Raleway", sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.home-page .home-reason p { max-width: 245px; margin: 0 auto; font-size: 0.85rem; }
.home-page .home-story-panel { position: relative; isolation: isolate; background: var(--home-brown); color: var(--home-paper); padding-block: clamp(3rem, 5vw, 4.5rem); }
.home-page .home-story-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; z-index: -2; }
.home-page .home-story-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(47,23,15,0.14), rgba(47,23,15,0.83) 48%, rgba(47,23,15,0.94)); }
.home-page .home-story .btn { margin-top: 0.5rem; }
.home-page .home-life-image { display: block; width: 100%; height: auto; border-radius: 0.3rem; }
.home-page .home-life .btn { margin-top: 0.5rem; }
.home-page .home-final-cta { padding-block: clamp(2.5rem, 4vw, 3.75rem); background: var(--home-soft); text-align: center; border-top: 1px solid rgba(47,23,15,0.07); }
.home-page .home-final-cta h2 { margin-bottom: 0.75rem; }
.home-page .home-final-cta p { margin-bottom: 1.5rem; font-size: 0.95rem; }
@media (max-width: 991.98px) {
  .home-page .home-hero::before { background: linear-gradient(90deg, rgba(47,23,15,0.94), rgba(47,23,15,0.79)); }
  .home-page .home-story-panel::before { background: rgba(47,23,15,0.83); }
  .home-page .home-story-copy { max-width: 650px; }
}
@media (max-width: 767.98px) {
  .home-page .home-benefits li { padding-inline: 0; padding-block: 0.8rem; }
  .home-page .home-benefits li + li { border-top: 1px solid rgba(47,23,15,0.1); }
  .home-page .home-hero-description { font-size: 0.98rem; }
}
@media (max-width: 575.98px) {
  .home-page .home-actions { gap: 0.8rem; }
  .home-page .home-actions .btn { width: 100%; }
  .home-page .home-course h3 { font-size: 0.98rem; min-height: 2.8em; }
  .home-page .home-courses .row { --bs-gutter-x: 1rem; }
  .home-page .home-course-more { max-width: 290px; margin-inline: auto; }
  .home-page .home-story-copy { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .home-course img { transition: none; }
}
