body {
  padding-top: 72px;

}

/* =========================
   HERO SECTION
========================= */

.hero {
  background: var(--color-bg);
  padding: var(--space-16) var(--space-4);
}

.hero-container {
  max-width: var(--container-xl);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero h1 {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  line-height: 1.25;
  color: var(--color-text-dark);
  max-width: 18ch;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 52ch;
}

.hero-description strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

/* =========================
   HERO MEDIA
========================= */

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: 100%;
  max-width: 420px;
  height: auto;

  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
  object-fit: cover;
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 992px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero h1 {
    font-size: var(--text-4xl);
  }

  .hero-media img {
    max-width: 520px;
  }
}





/* =========================
   PILATES REFORMER SECTION
========================= */

.pilates-section {
  background: var(--color-bg-light);
  padding: var(--space-16) var(--space-4);
}

.pilates-container {
  max-width: var(--container-lg);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.pilates-header {
  max-width: 720px;
}

.pilates-header h2 {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  color: var(--color-text-dark);
  margin-bottom: var(--space-4);
}

.pilates-intro {
  font-size: var(--text-lg);
  color: var(--color-text);
}

.pilates-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.pilates-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 620px;
}

.pilates-text p {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.pilates-cta {
  margin-top: var(--space-6);
}

.pilates-media {
  display: flex;
  justify-content: center;
}

.pilates-media img {
  width: 100%;
  max-width: 480px;
  height: auto;

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 992px) {
  .pilates-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .pilates-header h2 {
    font-size: var(--text-4xl);
  }
}







/* =========================
   INSTRUCTORADO SECTION
========================= */

.instructorado-section {
  background: var(--color-bg-card);
  padding: var(--space-16) var(--space-4);
}

.instructorado-container {
  max-width: var(--container-lg);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.instructorado-header {
  max-width: 720px;
}

.instructorado-header h2 {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  color: var(--color-text-dark);
  margin-bottom: var(--space-4);
}

.instructorado-intro {
  font-size: var(--text-lg);
  color: var(--color-text);
}

.instructorado-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.instructorado-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 620px;
}

.instructorado-text p {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.instructorado-cta {
  margin-top: var(--space-6);
}

.instructorado-media {
  display: flex;
  justify-content: center;
}

.instructorado-media img {
  width: 100%;
  max-width: 480px;
  height: auto;

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 992px) {
  .instructorado-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .instructorado-header h2 {
    font-size: var(--text-4xl);
  }
}





/* =========================
   BOTONES CTA – MOBILE FIX
========================= */

.pilates-cta .btn,
.instructorado-cta .btn {
  max-width: 100%;
  width: fit-content;

  white-space: normal;
  text-align: center;
  line-height: 1.4;
}

/* Mobile: botón full width y texto cómodo */
@media (max-width: 480px) {
  .pilates-cta .btn,
  .instructorado-cta .btn {
    width: 100%;
    padding-left: var(--space-4);
    padding-right: var(--space-4);

    font-size: var(--text-sm);
  }
}












/* =========================
   FORMACIÓN INSTITUCIONAL
========================= */

.formacion-institucional {
  background: linear-gradient(
    180deg,
    var(--color-bg-light) 0%,
    var(--color-bg) 100%
  );
  padding: var(--space-16) var(--space-4);
}

.formacion-container {
  max-width: var(--container-lg);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.formacion-header {
  max-width: 780px;
}

.formacion-label {
  display: inline-block;
  margin-bottom: var(--space-4);

  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.formacion-header h2 {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  line-height: 1.25;
  color: var(--color-text-dark);
}

.formacion-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.formacion-text {
  max-width: 640px;

  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.formacion-text p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
}

/* =========================
   HIGHLIGHTS (autoridad)
========================= */

.formacion-highlight {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.highlight-box {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);

  box-shadow: var(--shadow-soft);
}

.highlight-number {
  font-family: var(--font-title);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--color-primary-dark);
}

.highlight-text {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 26ch;
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 992px) {
  .formacion-body {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .formacion-header{
    align-self: center;
    text-align: center;
  }

  .formacion-highlight {
    max-width: 420px;
  }
}












/* =========================
   QUIÉNES SOMOS
========================= */

.quienes-section {
  background: var(--color-bg);
  padding: var(--space-16) var(--space-4);
}

.quienes-container {
  max-width: var(--container-lg);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.quienes-header {
  max-width: 760px;
}

.quienes-label {
  display: inline-block;
  margin-bottom: var(--space-4);

  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
}

.quienes-header h2 {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  line-height: 1.25;
  color: var(--color-text-dark);
}

.quienes-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.quienes-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 620px;
}

.quienes-text p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
}

.quienes-media {
  display: flex;
  justify-content: center;
}

.quienes-media img {
  width: 100%;
  max-width: 360px;
  height: auto;

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 992px) {
  .quienes-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .quienes-header h2 {
    font-size: var(--text-4xl);
  }
}















/* =========================
   CONTACTO / CTA FINAL
========================= */

.contacto-section {
  background: var(--gradient-primary);
  color: #fff;
  padding: var(--space-16) var(--space-4);
}

.contacto-container {
  max-width: var(--container-lg);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: var(--space-14);
}

.contacto-header {
  max-width: 720px;
}

.contacto-label {
  display: inline-block;
  margin-bottom: var(--space-4);

  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary-dark);
}

.contacto-header h2 {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  line-height: 1.25;
}

.contacto-intro {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
}

/* =========================
   CONTENT
========================= */

.contacto-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  margin-top: var(--space-8);
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contacto-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contacto-item div{
  display: flex;
  flex-direction: column;
}

.contacto-item i {
  font-size: 1.4rem;
  color: var(--color-text-dark);
  margin-top: 2px;
}

.contacto-item span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.contacto-item a,
.contacto-item p {
  font-size: var(--text-base);
  color: #fff;
  margin-top: 2px;
}

/* =========================
   REDES
========================= */

.contacto-redes span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.redes-links {
  margin-top: var(--space-3);
  display: flex;
  gap: var(--space-4);
}

.redes-links a {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;

  transition: background 0.2s ease;
}

.redes-links a:hover {
  background: var(--color-primary);
}

/* =========================
   MAPA
========================= */

.contacto-mapa {
  width: 100%;
  height: 280px;

  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* =========================
   CTA FINAL
========================= */

.contacto-cta-final {
  margin-top: var(--space-10);
    justify-content: center;
    align-items: center;
    display: flex;
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 992px) {
  .contacto-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }

  .contacto-mapa {
    height: auto;
    min-height: 320px;
    max-width: 520px;
  }

  .contacto-header h2 {
    font-size: var(--text-4xl);
  }
}
