/* ===========================================================
   TRANSITAR — Identidad visual
   Paleta tomada del isotipo (rosa / violeta / dorado)
   =========================================================== */

:root{
  --rose: #E38AA0;
  --rose-deep: #C96C86;
  --violet: #7C5A92;
  --violet-deep: #5F4270;
  --gold: #CFA044;
  --cream: #F3EDFA;
  --cream-soft: #E8DCF2;
  --ink: #3A2233;
  --ink-soft: #6B5163;
  --white: #FFFFFF;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --font-script: "Caveat", cursive;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 40px -18px rgba(58, 34, 51, 0.35);
  --max-width: 1160px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; }

.wrap{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3{
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.08; font-weight: 560;}
h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3{ font-size: 1.25rem; }

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 20px; height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

.lede{
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Botones ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:focus-visible{ outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-primary{
  background: linear-gradient(120deg, var(--rose), var(--violet));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(58,34,51,0.25);
}
.btn-ghost:hover{ border-color: var(--violet); }
.btn-white{
  background: var(--white);
  color: var(--violet-deep);
}
.btn-locked{
  background: var(--cream-soft);
  color: var(--ink-soft);
  border: 1.5px dashed rgba(58,34,51,0.3);
  cursor: pointer;
}

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 241, 231, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58,34,51,0.08);
}
.site-header .wrap{
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo-lockup{
  display: flex; align-items: center; gap: 10px;
}
.logo-lockup img{
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--violet);
}
.logo-lockup .logo-word{
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--violet-deep);
  line-height: 1;
}

.main-nav{ display: flex; align-items: center; gap: 14px; position: relative; }

/* Botón hamburguesa: siempre visible, en todos los tamaños de pantalla */
.nav-toggle{
  display: flex;
  align-items: center; justify-content: center;
  background: var(--white); border: 1.5px solid rgba(58,34,51,0.15);
  cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle svg{ width: 22px; height: 22px; display: block; }
.nav-toggle .icon-close{ display: none; }
.nav-toggle.open .icon-menu{ display: none; }
.nav-toggle.open .icon-close{ display: block; }

/* Panel desplegable del menú */
.nav-links{
  position: absolute; top: 60px; right: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  min-width: 230px;
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-8px); opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .18s ease;
  z-index: 60;
}
.nav-links.open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-links a{
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  padding: 7px 14px; border-radius: 8px;
  line-height: 1.3;
}
.nav-links a:hover{ background: var(--cream-soft); color: var(--violet-deep); }
.nav-links a.current{ color: var(--rose-deep); font-weight: 700; }

/* ---------- Hero ---------- */
.hero{
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero-actions{
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px;
}
.hero-tags{
  display: flex; gap: 22px; margin-top: 36px; flex-wrap: wrap;
}
.hero-tag{
  font-size: 0.88rem; color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.hero-tag svg{ width: 18px; height: 18px; flex-shrink: 0; color: var(--rose-deep); }

.hero-art{
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-art img{ width: 68%; }

/* ---------- Secciones genéricas ---------- */
section{ padding: 84px 0; position: relative; }
.section-head{ max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head.left{ margin: 0 0 48px; text-align: left; }

.divider-motif{
  display: flex; justify-content: center; opacity: 0.35; margin: 0 0 8px;
}
.divider-motif svg{ width: 46px; height: 46px; color: var(--violet); }

/* ---------- Beneficios ---------- */
.benefits-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.benefit-card{
  background: var(--white); border-radius: var(--radius);
  padding: 30px 24px; text-align: left;
}
.benefit-card svg{ width: 30px; height: 30px; color: var(--rose-deep); margin-bottom: 16px; }
.benefit-card h3{ font-size: 1.05rem; margin-bottom: 8px; }
.benefit-card p{ font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Dos caminos: Studio / Online ---------- */
.paths{ background: var(--cream-soft); }
.paths-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.path-card{
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.path-media{
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.85rem; text-align: center; padding: 20px;
  border-bottom: 3px solid var(--gold);
}
.path-media.studio{ background: linear-gradient(135deg, var(--violet), var(--violet-deep)); }
.path-media.online{ background: linear-gradient(135deg, var(--rose), var(--rose-deep)); }
.path-body{ padding: 30px 30px 34px; flex: 1; display: flex; flex-direction: column; }
.path-body .tag{
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; margin-bottom: 10px;
}
.path-card.studio .tag{ color: var(--violet-deep); }
.path-card.online .tag{ color: var(--rose-deep); }
.path-list{ margin: 18px 0 26px; }
.path-list li{
  font-size: 0.92rem; color: var(--ink-soft);
  padding-left: 22px; position: relative; margin-bottom: 8px;
}
.path-list li::before{
  content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.path-body .btn{ margin-top: auto; align-self: flex-start; }

/* ---------- Talleres ---------- */
.workshops-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.workshop-card{
  background: var(--white); border: 1.5px dashed rgba(58,34,51,0.22);
  border-radius: var(--radius); padding: 26px;
  position: relative;
}
.workshop-card .example-flag{
  position: absolute; top: -12px; right: 18px;
  background: var(--gold); color: var(--white);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}
.workshop-price{
  font-family: var(--font-display); font-size: 1.6rem; color: var(--violet-deep);
  margin: 10px 0 6px;
}
.workshop-price span{ font-size: 0.85rem; color: var(--ink-soft); font-family: var(--font-body); }

.sheet-note{
  text-align: center; font-size: 0.85rem; color: var(--ink-soft);
  margin-top: 30px;
}

/* ---------- Testimonios ---------- */
.testi-carousel-wrap{ position: relative; padding: 0 8px; }
.testi-carousel{
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px 4px 14px;
  -ms-overflow-style: none; scrollbar-width: none;
}
.testi-carousel::-webkit-scrollbar{ display: none; }
.testi-carousel .testi-card{
  flex: 0 0 300px; scroll-snap-align: start;
}
.testi-arrow{
  position: absolute; top: 42%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-soft); border: none;
  cursor: pointer; font-size: 1.5rem; color: var(--violet-deep);
  display: flex; align-items: center; justify-content: center; z-index: 5;
}
.testi-arrow.prev{ left: -6px; }
.testi-arrow.next{ right: -6px; }
.testi-arrow:hover{ background: var(--cream-soft); }
@media (max-width: 700px){
  .testi-arrow{ width: 36px; height: 36px; font-size: 1.2rem; }
  .testi-carousel .testi-card{ flex-basis: 260px; }
}

.testimonials{ background: var(--cream-soft); }
.testi-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card{
  background: var(--white); border-radius: var(--radius); padding: 28px;
}
.testi-card p{ font-style: italic; color: var(--ink-soft); margin: 0 0 16px; }
.testi-author{ font-weight: 600; font-size: 0.9rem; color: var(--violet-deep); }
.testi-flag{ font-size: 0.72rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;}

/* ---------- FAQ ---------- */
.faq-list{ max-width: 720px; margin: 0 auto; }
.faq-item{
  border-bottom: 1px solid rgba(58,34,51,0.12);
}
.faq-q{
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 4px; font-family: var(--font-display); font-size: 1.05rem;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.faq-q .plus{ font-size: 1.3rem; color: var(--rose-deep); transition: transform .2s ease; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  font-size: 0.94rem; color: var(--ink-soft);
}
.faq-item.open .faq-a{ padding-bottom: 20px; }

/* ---------- CTA final ---------- */
.cta-final{
  background: linear-gradient(135deg, var(--violet-deep), var(--violet) 45%, var(--rose) 100%);
  border-radius: 32px;
  color: var(--white);
  text-align: center;
  padding: 70px 40px;
  margin: 0 24px;
}
.cta-final h2{ color: var(--white); }
.cta-final p{ color: rgba(255,255,255,0.88); max-width: 50ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
footer{ padding: 60px 0 40px; }
.footer-grid{
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4{
  font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 16px;
}
.footer-col a, .footer-col p{
  display: block; margin-bottom: 10px; font-size: 0.94rem; color: var(--ink);
}
.footer-col a:hover{ color: var(--rose-deep); }
.map-embed{
  width: 100%; height: 170px; border-radius: var(--radius-sm); border: none;
  filter: grayscale(0.15) sepia(0.08);
}
.footer-bottom{
  border-top: 1px solid rgba(58,34,51,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--ink-soft); flex-wrap: wrap; gap: 10px;
}
.social-icons{ display: flex; gap: 14px; }
.social-icons a{
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  color: var(--violet-deep);
}
.social-icons svg{ width: 18px; height: 18px; }

/* ---------- Watermark divider entre secciones ---------- */
.motif-divider{
  display: flex; justify-content: center; padding: 0 0 40px; opacity: 0.28;
}
.motif-divider svg{ width: 36px; height: 36px; color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .benefits-grid{ grid-template-columns: repeat(2, 1fr); }
  .paths-grid{ grid-template-columns: 1fr; }
  .workshops-grid{ grid-template-columns: 1fr 1fr; }
  .testi-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-art{ max-width: 340px; margin: 0 auto; }
}

@media (max-width: 620px){
  .nav-links{
    position: fixed; top: 74px; left: 16px; right: 16px; width: auto;
  }
  .benefits-grid{ grid-template-columns: 1fr; }
  .workshops-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .cta-final{ margin: 0 16px; padding: 50px 24px; }
  section{ padding: 56px 0; }
}

/* ---------- Tarjetas de servicio (Home) ---------- */
.services-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.service-card{
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform .2s ease;
}
.service-card:hover{ transform: translateY(-4px); }
.service-media{
  aspect-ratio: 4/3; overflow: hidden; position: relative;
  border-bottom: 3px solid var(--gold);
}
.service-media img{ width: 100%; height: 100%; object-fit: cover; }
.service-media img.face-focus{ object-position: 78% 22%; }
.service-media.icon-only{
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--violet), var(--rose));
}
.service-media.icon-only svg{ width: 42px; height: 42px; color: var(--white); }
.service-body{ padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.service-body .tag{
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; color: var(--rose-deep); margin-bottom: 6px;
}
.service-body h3{ margin-bottom: 8px; }
.service-body p{ font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 18px; }
.service-body .btn{ margin-top: auto; align-self: flex-start; }
.service-card.soon{ opacity: 0.7; }
.service-card.soon .service-media.icon-only{ background: linear-gradient(135deg, #b8b0bd, #cfc6bb); }

/* ---------- Encabezado de página interna ---------- */
.page-hero{
  padding: 56px 0 20px;
  text-align: center;
}
.page-hero .eyebrow{ justify-content: center; }
.page-hero .lede{ margin: 0 auto; }
.breadcrumb{
  font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px;
}
.breadcrumb a{ color: var(--violet-deep); font-weight: 600; }

/* ---------- Galería de fotos ---------- */
.gallery{
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin: 40px 0;
}
.gallery img{
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
}
.gallery.small-photos{ max-width: 560px; margin: 40px auto; }
.gallery.small-photos img{
  aspect-ratio: 1/1;
  filter: blur(1.5px);
  opacity: 0.9;
}

/* ---------- Tabla de grilla horaria ---------- */
.schedule-wrap{ overflow-x: auto; margin: 20px 0 10px; }
.schedule{
  width: 100%; border-collapse: collapse; min-width: 640px;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
}
.schedule th, .schedule td{
  padding: 12px 10px; text-align: center; font-size: 0.86rem;
  border: 1px solid rgba(58,34,51,0.08);
}
.schedule th{
  background: var(--cream-soft); color: var(--ink); font-weight: 700;
}
.schedule td:empty::after{ content: "—"; color: rgba(58,34,51,0.2); }
.schedule td.ea{ background: rgba(124,90,146,0.14); color: var(--violet-deep); font-weight: 600; }
.schedule td.ms{ background: rgba(227,138,160,0.16); color: var(--rose-deep); font-weight: 600; }

.legend{ display: flex; gap: 22px; justify-content: center; margin: 18px 0 6px; flex-wrap: wrap; }
.legend-item{ display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-soft); }
.legend-dot{ width: 12px; height: 12px; border-radius: 50%; }
.legend-dot.ea{ background: var(--violet); }
.legend-dot.ms{ background: var(--rose); }

.example-banner{
  background: var(--cream-soft); border: 1.5px dashed rgba(58,34,51,0.25);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 0.85rem; color: var(--ink-soft); text-align: center;
  margin: 20px 0;
}

.value-note{
  background: var(--white); border-radius: var(--radius-sm);
  padding: 16px 22px; text-align: center; font-size: 0.92rem;
  color: var(--ink-soft); margin: 24px auto; max-width: 520px;
  box-shadow: var(--shadow-soft);
}
.value-note strong{ color: var(--violet-deep); }

.meet-badge{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
  background: var(--white); padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow-soft); margin-top: 4px;
}
.meet-badge svg{ width: 20px; height: 20px; }

.price-line{
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  margin: 26px 0;
}
.price-pill{
  background: var(--white); border-radius: 999px; padding: 12px 24px;
  font-weight: 700; color: var(--violet-deep); box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}
.price-pill span{ font-weight: 500; color: var(--ink-soft); font-size: 0.82rem; display: block; }

.map-block{ margin: 30px 0; }
.map-block iframe{
  width: 100%; height: 320px; border: none; border-radius: var(--radius);
  filter: grayscale(0.1) sepia(0.06);
}
.map-actions{ text-align: center; margin-top: 14px; }

@media (max-width: 700px){
  .services-grid{ grid-template-columns: 1fr 1fr; }
  .gallery{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  .services-grid{ grid-template-columns: 1fr; }
}

/* ---------- Placeholder de foto (hasta tener material real) ---------- */
.photo-placeholder{
  font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
}
.photo-placeholder svg{ width: 20px; height: 20px; opacity: 0.85; }
