/* ─── TOKENS ─────────────────────────────── */
:root {
  --cream:       #F8F7FB;
  --cream-dark:  #EDE7DC;
  --dark:        #1C1C1A;
  --muted:       #77629c;
  --olive:       #6d8137;
  --olive-text:  #F2EFE6;
  --white:       #FFFFFF;
  --border:      #0d0d0d;
  --radius-card: 14px;

  --font-heading: 'Lora', serif;
  --font-body:    'Manrope', sans-serif;
}

/* ─── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { text-decoration: none; color: inherit; }

/* ─── NAV ────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 64px;
}

.nav__logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

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

.nav__links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 1px;
  background: var(--dark);
  transition: width 0.3s ease;
}

.nav__links a:hover { color: var(--dark); }
.nav__links a:hover::after { width: 100%; }

.nav__links a.nav__link--highlight {
  font-weight: 600 !important;
  color: var(--dark) !important;
}

.nav__links a.nav__link--btn {
  background: var(--olive) !important;
  color: var(--olive-text) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  transition: opacity 0.2s !important;
}

.nav__links a.nav__link--btn:hover {
  opacity: 0.85 !important;
  color: var(--olive-text) !important;
}

.nav__links a.nav__link--btn::after {
  display: none !important;
}

/* ─── HAMBURGUESA ────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── HERO ───────────────────────────────── */
.hero {
  position: relative;
  height: 82vh;
  min-height: 480px;
  overflow: hidden;
}

.hero__slider {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero__slide.active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.70);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 3.5rem;
  max-width: 600px;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6rem;
  text-align: center;
}

.hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero__dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ─── BANNER ─────────────────────────────── */
.banner {
  background: var(--olive);
  color: var(--olive-text);
  text-align: center;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
}

.banner__text {
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: 0.03em;
  font-family: var(--font-heading);
  font-weight: 500;
}

.banner__btn {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-text);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  padding: 0.4rem 1rem;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.banner__btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

/* ─── SECCIONES BASE ─────────────────────── */
.section {
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.section--alt {
  background: var(--cream-dark);
}

.section__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.section__subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.color__text--esp {
  color: #362d48;
}

/* ─── SOBRE MÍ ───────────────────────────── */
.about {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.about__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__logo-img {
  width: 260px;
  height: auto;
  object-fit: contain;
}

.about__main-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1C1C1A;
  width: 100%;
}

.about__text {
  text-align: center;
  width: 100%;
}

.about__text-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #362d48;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.about__text-roles {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: #362d48;
}

.about__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about__credentials {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__credential-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #362d48;
  font-weight: 300;
  line-height: 1.8;
  text-align: center;
}

.about__img-wrap {
  width: 280px;
  height: 280px;
  border-radius: var(--radius-card);
  overflow: visible;
  margin: 0 auto;
  position: relative;
}

.about__img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background: var(--cream-dark);
  transform: translate(15px, 15px);
  z-index: -1;
}

.about__img-wrap img {
  border-radius: var(--radius-card);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── YOGA HEADER ────────────────────────── */
.yoga-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ─── CARDS ──────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  max-width: 860px;
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

.card__img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.card:hover .card__img img {
  transform: scale(1.03);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.2rem 1.3rem 1.5rem;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
}

.card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
}

.card__detail {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.card__detail strong {
  font-weight: 600;
  color: #655384;
}

.card__cta {
  display: inline-block;
  margin-top: 0.75rem;
  background: var(--olive);
  color: var(--olive-text);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  width: fit-content;
}

.card__cta:hover { opacity: 0.85; }

/* ─── LIMPIEZAS ──────────────────────────── */
.limpiezas-inner {
  max-width: 860px;
  margin: 0 auto;
}

.limpiezas-inner .section__title {
  text-align: center;
  margin-bottom: 1rem;
}

.limpiezas__text {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 300;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.limpiezas__imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
}

.limpiezas__img-wrap {
  height: 200px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}

.limpiezas__img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ─── FORMACIONES ────────────────────────── */
.section-formaciones {
  position: relative;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
  background-image: url('../img/fondo.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formaciones__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.formaciones__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

.formaciones__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}

.formaciones__btn {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 8px;
  padding: 0.75rem 2rem;
  transition: background 0.25s, border-color 0.25s;
}

.formaciones__btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ─── CONTACTO ───────────────────────────── */
.contact-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section__title { margin-bottom: 0.5rem; }
.contact-inner .section__subtitle { margin-bottom: 2.5rem; }

.contact__social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.social__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.social__btn:hover {
  border-color: var(--dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form__input,
.form__textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--olive);
}

.form__textarea {
  resize: vertical;
  min-height: 130px;
}

.form__btn {
  background: var(--olive);
  color: var(--olive-text);
  border: none;
  border-radius: 8px;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: center;
  min-width: 200px;
}

.form__btn:hover { opacity: 0.88; }

/* ─── ALERTAS ────────────────────────────── */
.form__alert {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form__alert--success {
  background: rgba(109, 129, 55, 0.1);
  border: 1px solid var(--olive);
  color: var(--olive);
}

.form__alert--error {
  background: rgba(180, 60, 60, 0.08);
  border: 1px solid #b43c3c;
  color: #b43c3c;
}

.form__alert.visible {
  display: block;
}

/* ─── FOOTER ─────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem 3rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.footer a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer a:hover { color: var(--white); }

/* ─── RESPONSIVE 768px ───────────────────── */
@media (max-width: 768px) {
  .nav {
    padding: 0 1.5rem;
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid var(--border);
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
    text-align: center;
  }

  .nav__links a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__links a.nav__link--btn {
    margin-top: 0.75rem !important;
    display: inline-block !important;
    width: auto !important;
  }

  .section { padding: 3.5rem 1.5rem; }
  .hero__content { padding: 0 1.5rem 2.5rem; }

  .hero__slide:nth-child(3) {
    background-position: 70% top;
  }

  .about__top,
  .about__bottom {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about__logo-img { width: 180px; }
  .about__img-wrap {
    width: 220px;
    height: 220px;
  }

  .about__bottom {
    justify-items: center;
  }

  .cards-grid { grid-template-columns: 1fr; }
  .limpiezas__imgs { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}
.contact-inner {
  padding: 0 1.5rem;
}

.form__label {
  padding-left: 0.2rem;
}
.cards-grid {
  gap: 2rem;
  padding: 0 0.5rem;
}

.section__subtitle {
  padding: 0 1rem;
}

.limpiezas__imgs {
  gap: 2rem;
  padding: 0 0.5rem;
}

.about__credential-text {
  padding: 0 1rem;
}

.contact-inner {
  padding: 0 1.5rem;
}

.form__label {
  padding-left: 0.2rem;
}
/* ─── RESPONSIVE 480px (iPhone SE) ──────── */
@media (max-width: 480px) {
  .section {
    padding: 3.5rem 1.5rem;
  }

  .about {
    width: 100%;
  }

  .about__top {
    padding-bottom: 2rem;
  }

  .about__top::after {
    content: '';
    display: block;
    width: 350px;
    max-width: 80%;
    height: 1px;
    background: var(--border);
    margin: 0 auto;
  }

  .about__main-text {
    max-width: 100%;
    padding: 0 1rem;
  }

  .about__credentials {
    max-width: 100%;
    padding: 0 1rem;
  }

  .about__text-name {
    font-size: 1rem;
  }

  .about__text-roles {
    font-size: 0.78rem;
  }

  .about__credential-text {
    font-size: 0.78rem;
  }

  .about__img-wrap {
    width: 200px;
    height: 200px;
    max-width: 100%;
  }
}

/* ─── PANTALLAS GRANDES ──────────────────── */
@media (min-width: 1024px) {
  .about__text-name {
    font-size: 1.6rem;
  }

  .about__text-roles {
    font-size: 1rem;
  }

  .about__credential-text {
    font-size: 1rem;
  }

  .section__subtitle {
    font-size: 1.05rem;
  }

  .card__desc {
    font-size: 0.95rem;
  }

  .limpiezas__text {
    font-size: 1rem;
  }
}
