/* ── Páginas internas ── */

/* Página simple (sobre-nosotros) */
.page-simple {
  padding: 160px 40px 80px;
  max-width: 1320px;
  margin: 0 auto;
}

.page-simple h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--tinta);
  margin-bottom: 24px;
}

.page-simple p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}

/* Badge styles */
.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
}

.badge-tango    { background: rgba(139, 35, 50, 0.1);  color: var(--borgo); }
.badge-folklore { background: rgba(26, 77, 58, 0.1);   color: var(--verde-dark); }
.badge-urbanas  { background: rgba(100, 70, 40, 0.1);  color: #5c3d1a; }
.badge-coro     { background: rgba(26, 20, 16, 0.07);  color: var(--muted); }
.badge-italiano { background: rgba(26, 77, 58, 0.08);  color: var(--verde-dark); }

/* ── Página de Clases ── */
.classes-page {
  padding-bottom: 0;
}

.classes-hero-banner {
  position: relative;
  width: 100%;
  margin-bottom: 0;
}

.classes-hero-banner-media {
  position: relative;
  height: clamp(220px, 40vw, 420px);
  overflow: hidden;
}

.classes-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.classes-hero-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 53, 39, 0.85) 0%,
    rgba(15, 53, 39, 0.3) 50%,
    transparent 80%
  );
  pointer-events: none;
}

.classes-hero-banner-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 40px 40px;
  color: var(--crema);
}

.classes-hero-banner-text h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--crema);
}

/* ── Horario semanal ── */
.classes-schedule {
  background: var(--crema);
  padding: 60px 0 72px;
}

.classes-schedule .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.classes-schedule h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--tinta);
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

.classes-schedule h2 em {
  font-style: italic;
  color: var(--verde-dark);
}

.schedule-table-wrap {
  overflow-x: auto;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
}

.week-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: white;
}

.week-table th,
.week-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: middle;
  text-align: left;
  padding: 8px;
  font-size: 13px;
  line-height: 1.3;
}

.week-table thead th {
  background: rgba(26, 77, 58, 0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verde-dark);
  font-weight: 500;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}

.week-table th:first-child {
  min-width: 70px;
}

.week-table tbody th[scope="row"] {
  background: rgba(26, 77, 58, 0.04);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 10px 14px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.week-table tr:last-child td,
.week-table tr:last-child th {
  border-bottom: none;
}

.week-table .col-viernes {
  border-right: none;
}

.slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  padding: 9px 11px;
  text-decoration: none;
  gap: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.slot:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slot-name {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.slot-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.65;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.slot-tango    { background: rgba(139, 35, 50, 0.1);   color: var(--borgo); }
.slot-folklore { background: rgba(26, 77, 58, 0.1);   color: var(--verde-dark); }
.slot-urbanas  { background: rgba(100, 70, 40, 0.1);  color: #5c3d1a; }
.slot-italiano { background: rgba(26, 58, 130, 0.1);  color: #1a3a82; }

.week-table td .slot + .slot {
  margin-top: 4px;
}

/* ── Vista mobile del horario ── */
.schedule-mobile {
  display: none;
}

.schedule-day {
  margin-bottom: 28px;
}

.schedule-day:last-child {
  margin-bottom: 0;
}

.schedule-day-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.schedule-day-slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-mobile .slot {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 3px;
}

.schedule-mobile .slot-time {
  white-space: nowrap;
  margin-left: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .classes-schedule {
    padding: 40px 0 56px;
  }
  .schedule-mobile { display: block; }
  .schedule-table-wrap { display: none; }
}

/* ── Tarjetas de clases ── */
.classes-cards-bg {
  background: var(--crema-dark);
  padding: 64px 0 80px;
}

.classes-cards-intro {
  margin-bottom: 40px;
}

.classes-cards-intro .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.classes-cards-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--tinta);
  margin: 0;
  letter-spacing: -0.02em;
}

.classes-cards-title em {
  font-style: italic;
  color: var(--verde-dark);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.class-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.scroll-fx {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: transform, opacity;
}

.scroll-fx.from-left {
  transform: translate3d(-42px, 0, 0);
}

.scroll-fx.from-right {
  transform: translate3d(42px, 0, 0);
}

.scroll-fx.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scroll-fx.is-leaving {
  opacity: 0.35;
  transform: translate3d(0, -34px, 0);
}

.class-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.class-card-header {
  padding: 22px 24px 12px;
}

.class-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.class-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.class-company {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde);
  font-weight: 500;
}

.class-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--tinta);
  line-height: 1.1;
}

.class-card h3 {
  margin: 20px 24px 0;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.class-teacher {
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
  color: var(--muted);
}

.class-description {
  margin: 10px 24px 0;
  line-height: 1.65;
  font-size: 14px;
  color: var(--muted);
}

.class-pitch {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--tinta);
  line-height: 1.65;
  border-left: 3px solid var(--borgo);
  padding-left: 14px;
  margin: 0;
}

.class-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.class-card-carousel {
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.class-card-carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.class-card-carousel-viewport::-webkit-scrollbar {
  height: 6px;
}

.class-card-carousel-track {
  display: flex;
}

.class-card-carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.class-card-carousel-slide .class-photo {
  cursor: zoom-in;
}

.photo-placeholder {
  min-height: 104px;
  border: 1px dashed rgba(139, 35, 50, 0.3);
  background: rgba(245, 237, 224, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.class-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: rgba(245, 237, 224, 0.5);
}

.schedule-list {
  margin: 10px 24px 0;
  padding-left: 0;
  display: grid;
  gap: 4px;
  list-style: none;
}

.schedule-list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.schedule-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--borgo);
}

.class-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 24px 24px;
  justify-content: center;
}

.btn-whatsapp,
.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 2px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-whatsapp {
  width: auto;
  height: 44px;
  min-width: 44px;
  padding: 0 0 0 14px;
  border-radius: 999px;
  position: relative;
  overflow: visible;
  background: #25d366;
  color: white;
  border-color: #25d366;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  transform: translateY(0);
  animation: wa-ring-pulse 1.9s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-whatsapp:hover {
  background: #1ca851;
  border-color: #1ca851;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(28, 168, 81, 0.4);
}

.btn-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(28, 168, 81, 0.35);
}

.btn-whatsapp-label {
  white-space: nowrap;
}

.btn-whatsapp-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  position: relative;
  margin-left: 4px;
  background: url("/assets/profes/whatsapp.png") right center / contain no-repeat;
}

.btn-whatsapp-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e03131;
  border: 1px solid white;
}

@keyframes wa-ring-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.38); }
  70% { box-shadow: 0 0 0 11px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.btn-more {
  background: transparent;
  color: var(--tinta);
  border-color: var(--line);
  gap: 7px;
}

.btn-more:hover {
  background: rgba(26, 20, 16, 0.05);
  border-color: var(--tinta);
}

.btn-more .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

/* Modal de clase */
.class-detail-templates {
  display: none;
}

.class-modal-carousel {
  position: relative;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(245, 237, 224, 0.5);
}

.class-modal-carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.class-modal-carousel-track {
  display: flex;
}

.class-modal-carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: 200px;
  max-height: min(52vh, 360px);
}

.class-modal-carousel-slide img {
  width: 100%;
  height: 100%;
  max-height: min(52vh, 360px);
  object-fit: cover;
  display: block;
}

.class-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(245, 237, 224, 0.92);
  color: var(--tinta);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

.class-carousel-nav:hover {
  background: var(--crema);
}

.class-carousel-prev { left: 8px; }
.class-carousel-next { right: 8px; }

.class-modal-carousel.is-single .class-carousel-nav {
  display: none;
}

.class-modal[hidden] {
  display: none;
}

.class-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.class-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.7);
  backdrop-filter: blur(8px);
}

.class-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: var(--crema);
  border: none;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  padding: 32px 28px 28px;
  z-index: 1;
}

.class-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--crema);
  color: var(--tinta);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.class-modal-close:hover {
  background: var(--crema-dark);
}

.class-modal-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--tinta);
}

.class-modal-content p {
  margin: 0 0 12px;
  line-height: 1.65;
  font-size: 15px;
  color: var(--muted);
}

.class-gallery-panel {
  width: min(980px, 100%);
}

.class-gallery-panel .class-modal-content h3 {
  margin-bottom: 16px;
}

.class-gallery-panel .class-modal-carousel-slide {
  max-height: min(72vh, 760px);
}

.class-gallery-panel .class-modal-carousel-slide img {
  max-height: min(72vh, 760px);
  object-fit: contain;
  background: rgba(26, 20, 16, 0.08);
}

.teachers-section {
  background: var(--crema);
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
}

.teachers-section .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.teachers-section h2 {
  margin: 0 0 30px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  color: var(--tinta);
  letter-spacing: -0.02em;
}

.teachers-section h2 em {
  font-style: italic;
  color: var(--verde-dark);
}

.teacher-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.teacher-profile-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}

.teacher-profile-content h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 34px);
  color: var(--tinta);
}

.teacher-profile-content p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.teacher-profile-content p:last-child {
  margin-bottom: 0;
}

.teacher-profile-content a {
  color: var(--borgo);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.teacher-profile-photo-placeholder {
  background: rgba(245, 237, 224, 0.7);
  color: var(--muted);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-fx,
  .scroll-fx.from-left,
  .scroll-fx.from-right,
  .scroll-fx.is-visible,
  .scroll-fx.is-leaving {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .scroll-fx {
    transform: translate3d(0, 54px, 0) scale(0.96);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  .scroll-fx.from-left {
    transform: translate3d(-62px, 0, 0) scale(0.96);
  }

  .scroll-fx.from-right {
    transform: translate3d(62px, 0, 0) scale(0.96);
  }

  .scroll-fx.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .scroll-fx.is-leaving {
    opacity: 0.18;
    transform: translate3d(0, -58px, 0) scale(0.95);
  }

  .schedule-fx.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .classes-cards-bg {
    padding: 48px 0 64px;
  }

  .classes-grid {
    grid-template-columns: 1fr;
  }

  .page-simple {
    padding: 120px 24px 60px;
  }

  .classes-hero-banner-text {
    padding: 0 24px 32px;
  }

  .classes-hero-banner-img {
    transform: scale(1.52);
    transform-origin: center center;
    object-position: center 40%;
  }

  .class-photo-row {
    grid-template-columns: 1fr;
  }

  .class-photo {
    height: 240px;
  }

  .class-card-carousel {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .classes-schedule {
    padding: 40px 0 24px;
  }

  .teachers-section {
    padding: 52px 0 64px;
  }

  .teacher-profile {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .teacher-profile-photo {
    max-width: 320px;
  }
}

/* ── Sobre Nosotros ── */
.nosotros-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--verde-dark) 0%, var(--verde) 100%);
  color: var(--crema);
  position: relative;
  overflow: hidden;
}

.nosotros-hero::before {
  content: '1889 • ROMA INTANGIBILE • CAPITÁN SARMIENTO • CINE ITALO ARGENTINO • 1929 • ';
  position: absolute;
  top: 80px;
  left: 0; right: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(245, 237, 224, 0.2);
  white-space: nowrap;
  pointer-events: none;
}

.nosotros-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--crema);
  margin-bottom: 24px;
}

.nosotros-title em {
  font-style: italic;
  color: #e8d4a6;
  font-weight: 400;
}

.nosotros-subtitle {
  font-size: 18px;
  color: rgba(245, 237, 224, 0.8);
  max-width: 520px;
  line-height: 1.55;
}

.nosotros-content {
  background: var(--crema);
  padding: 80px 0 120px;
}

.nosotros-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.nosotros-block:first-child {
  padding-top: 0;
}

.nosotros-block:last-child {
  border-bottom: none;
}

.nosotros-block.reverse {
  direction: rtl;
}

.nosotros-block.reverse > * {
  direction: ltr;
}

.nosotros-block-text .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--borgo);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}

.nosotros-block-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--tinta);
  margin: 0 0 20px;
}

.nosotros-block-text h2 em {
  font-style: italic;
  color: var(--verde-dark);
}

.nosotros-block-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 14px;
}

.nosotros-block-text p:last-child {
  margin-bottom: 0;
}

.nosotros-block-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: sepia(15%) contrast(1.05);
}

.nosotros-block-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, rgba(26,77,58,0.07) 0, rgba(26,77,58,0.07) 2px, transparent 2px, transparent 14px),
    linear-gradient(180deg, rgba(26,77,58,0.1), rgba(139,35,50,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
  padding: 20px;
}

.nosotros-facts {
  background: var(--tinta);
  padding: 64px 0;
}

.nosotros-facts-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--crema);
  margin: 0 0 48px;
  letter-spacing: -0.02em;
}

.nosotros-facts-title em {
  font-style: italic;
  color: #e8d4a6;
}

.nosotros-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245, 237, 224, 0.12);
}

.nosotros-fact {
  background: var(--tinta);
  padding: 28px 24px;
}

.nosotros-fact-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #e8d4a6;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.nosotros-fact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.55);
}

.nosotros-hoy {
  background: var(--crema);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.nosotros-hoy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--tinta);
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

.nosotros-hoy h2 em {
  font-style: italic;
  color: var(--verde-dark);
}

.nosotros-hoy p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 65ch;
  margin: 0 0 16px;
}

.nosotros-hoy .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: var(--verde);
  color: var(--crema);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nosotros-hoy .cta-button:hover {
  background: var(--verde-dark);
}

@media (max-width: 900px) {
  .nosotros-hero {
    padding: 120px 0 60px;
  }

  .nosotros-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .nosotros-block.reverse {
    direction: ltr;
  }

  .nosotros-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nosotros-facts-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CTA cierre clases ── */
.clases-cta {
  background: linear-gradient(180deg, var(--verde-dark) 0%, var(--verde) 100%);
  padding: 80px 0;
  color: var(--crema);
}

.clases-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  color: var(--crema);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.clases-cta h2 em {
  font-style: italic;
  color: #e8d4a6;
  font-weight: 400;
}

.clases-cta p {
  font-size: 17px;
  color: rgba(245, 237, 224, 0.8);
  max-width: 52ch;
  line-height: 1.6;
  margin: 0 0 32px;
}

.clases-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--crema);
  color: var(--verde-dark);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease;
}

.clases-cta .cta-button:hover {
  background: #e8d4a6;
}
