/* ============================================================
   MOLA BEAUTY — components.css
   All section / component styles
   ============================================================ */

/* ═══════════════════════════════
   NAVIGATION
═══════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: .95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .35s var(--ease);
}

.nav.scrolled {
  background: rgba(253,250,248,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: .65rem 1.25rem;
  box-shadow: 0 1px 0 rgba(201,78,130,.08);
}

.nav-logo-light,
.nav-logo-dark {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: all .35s;
}

.nav-logo-dark { display: none; }
.nav.scrolled .nav-logo-light { display: none; }
.nav.scrolled .nav-logo-dark  { display: block; }

.nav-links { display: none; }

.nav-cta {
  display: none;
  font-size: .67rem;
  padding: .58rem 1.2rem;
}

.nav.scrolled .nav-cta { display: inline-flex; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: all .28s;
}

.nav.scrolled .hamburger span { background: var(--ink); }

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--white);
  transform: translateX(110%);
  transition: transform .35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 5.5rem 1.5rem 2rem;
  overflow-y: auto;
}

.drawer.open { transform: none; }

.drawer a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ink);
  padding: .5rem 0;
  border-bottom: 1px solid var(--bg);
  display: block;
}

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(201,78,130,.4) 0%, transparent 52%),
    radial-gradient(ellipse at 10% 88%, rgba(201,168,108,.2) 0%, transparent 48%),
    linear-gradient(168deg, #120A0E 0%, #1E0F18 48%, #120A0E 100%);
}

.hero-image-wrap {
  position: absolute;
  right: 0; bottom: 0;
  width: min(420px, 62vw);
  height: 96%;
  pointer-events: none;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  mask-image:
    linear-gradient(to right, transparent 0%, black 20%),
    linear-gradient(to top, transparent 0%, black 9%);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 20%),
    linear-gradient(to top, transparent 0%, black 9%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  filter: drop-shadow(-20px 0 45px rgba(201,78,130,.3));
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 6.5rem 1.25rem 2.5rem;
  max-width: 490px;
}

/* Hero entrance animations */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  background: rgba(253,250,248,.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-pill);
  padding: .32rem .82rem;
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: slide-up .8s var(--ease) .3s both;
}

.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wa-green);
  flex-shrink: 0;
  animation: blink 2s infinite;
}

.hero-tag span {
  font-size: .56rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 7rem);
  font-weight: 300;
  line-height: .93;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: .9rem;
  opacity: 0;
  animation: slide-up .9s var(--ease) .5s both;
}

.hero-title em {
  font-style: italic;
  color: var(--pink-light);
  font-weight: 400;
}

.hero-subtitle {
  font-size: clamp(.83rem, 2.5vw, .95rem);
  font-weight: 300;
  line-height: 1.76;
  color: rgba(255,255,255,.54);
  max-width: 310px;
  margin-bottom: 1.7rem;
  opacity: 0;
  animation: slide-up .9s var(--ease) .7s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .52rem;
  margin-bottom: 1.9rem;
  opacity: 0;
  animation: slide-up .9s var(--ease) .9s both;
}

.hero-stats {
  display: flex;
  gap: 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  animation: slide-up .9s var(--ease) 1.1s both;
}

.hero-stats > div {
  flex: 1;
  padding-right: 1.2rem;
  position: relative;
}

.hero-stats > div + div {
  padding-left: 1.2rem;
  border-left: 1px solid rgba(255,255,255,.08);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -.01em;
}

.stat-label {
  display: block;
  font-size: .52rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-top: .22rem;
}

/* Social proof badges (top-left) */
.hero-proof {
  position: absolute;
  top: 5.5rem; left: 1.25rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  opacity: 0;
  animation: fade-in .9s ease 1.4s both;
}

.proof-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(18,10,14,.58);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(201,78,130,.18);
  border-radius: 10px;
  padding: .4rem .7rem;
}

.proof-badge span {
  font-size: .62rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem; right: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .38rem;
  opacity: 0;
  animation: fade-in 1s ease 1.6s both;
}

.hero-scroll span {
  font-size: .5rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(201,168,108,.7), transparent);
  animation: scroll-pulse 2s ease infinite;
}

/* ═══════════════════════════════
   WHY MOLA — Photo Cards
═══════════════════════════════ */
#why {
  background: var(--dark);
  padding: 5rem 1.25rem;
}

#why .eyebrow { color: var(--pink-light); }
#why .h2      { color: #fff; }
#why .h2 em   { color: var(--gold-light); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  margin-top: 2.5rem;
}

/* tarjeta foto */
.why-photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 195px;
  cursor: pointer;
}

/* primeras dos más altas en móvil */
.why-photo-card:nth-child(1),
.why-photo-card:nth-child(2) { height: 230px; }

/* imagen de fondo con zoom al hover */
.why-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .65s var(--ease);
}

/* colores fallback por tarjeta (se ven cuando no hay foto) */
.why-photo-card:nth-child(1) .why-photo-bg { background-color: #2d0a22; }
.why-photo-card:nth-child(2) .why-photo-bg { background-color: #1a0830; }
.why-photo-card:nth-child(3) .why-photo-bg { background-color: #0a1a2e; }
.why-photo-card:nth-child(4) .why-photo-bg { background-color: #1a1a0a; }
.why-photo-card:nth-child(5) .why-photo-bg { background-color: #1a0a18; }
.why-photo-card:nth-child(6) .why-photo-bg { background-color: #2a1008; }

.why-photo-card:hover .why-photo-bg { transform: scale(1.07); }

/* overlay gradiente */
.why-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,10,14,.92) 0%,
    rgba(18,10,14,.18) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  transition: background .35s var(--ease);
}

.why-photo-card:hover .why-photo-overlay {
  background: linear-gradient(
    to top,
    rgba(201,78,130,.88) 0%,
    rgba(18,10,14,.18) 55%,
    transparent 100%
  );
}

.why-photo-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: #fff;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.01em;
}

.why-photo-label {
  display: block;
  font-size: .56rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-top: .28rem;
  transition: color .28s;
}

.why-photo-card:hover .why-photo-label { color: rgba(255,255,255,.95); }

/* tag esquina superior */
.why-photo-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: rgba(201,78,130,.82);
  backdrop-filter: blur(10px);
  border-radius: 7px;
  padding: .2rem .58rem;
  font-size: .5rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  z-index: 2;
}

/* ═══════════════════════════════
   SERVICES
═══════════════════════════════ */
#servicios { background: #fff; }

.services-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform .38s var(--ease), box-shadow .38s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.service-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s var(--ease);
}

.service-card:hover .service-bg { transform: scale(1.06); }

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,10,14,.92) 0%,
    rgba(18,10,14,.12) 55%,
    transparent 100%
  );
}

.service-body {
  position: relative;
  z-index: 2;
  padding: 1.35rem;
}

.service-tag {
  display: inline-block;
  font-size: .51rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--pink);
  color: #fff;
  padding: .23rem .65rem;
  border-radius: 100px;
  margin-bottom: .48rem;
  font-weight: 700;
}

.service-tag-gold { background: var(--gold); }

.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4.5vw, 1.85rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.08;
  margin-bottom: .4rem;
}

.service-desc {
  font-size: .73rem;
  color: rgba(253,250,248,.62);
  line-height: 1.55;
  margin-bottom: .82rem;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--gold);
  color: #fff;
  padding: .2rem .8rem;
  border-radius: 100px;
  font-weight: 400;
}

.service-arrow {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink-light);
  font-weight: 700;
  transition: letter-spacing .28s;
}

.service-card:hover .service-arrow { letter-spacing: .2em; }

/* ═══════════════════════════════
   PROBLEMS — Interactive Tabs
═══════════════════════════════ */
#problemas { background: var(--bg); }

.problem-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.7rem 0;
}

.problem-tab {
  display: flex;
  align-items: center;
  gap: .48rem;
  padding: .58rem .9rem;
  background: #fff;
  border-radius: 10px;
  font-size: .75rem;
  color: var(--ink-soft);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .24s;
  font-family: var(--font-body);
  font-weight: 500;
}

.problem-tab.active,
.problem-tab:hover {
  border-color: var(--pink);
  background: var(--pink-pale);
  color: var(--pink);
}

.problem-tab-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--pink-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .76rem;
  flex-shrink: 0;
  transition: background .24s;
}

.problem-tab.active .problem-tab-icon,
.problem-tab:hover .problem-tab-icon { background: var(--pink-light); }

.problem-panel {
  display: none;
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--pink-light);
  overflow: hidden;
  animation: panel-in .35s var(--ease);
}

.problem-panel.active { display: grid; }

.problem-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
}

.problem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.problem-image img:hover { transform: scale(1.04); }

.problem-info { padding: 1.75rem; }

.problem-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .65rem;
}

.problem-text {
  font-size: .82rem;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.problem-steps {
  display: flex;
  flex-direction: column;
  gap: .42rem;
  margin-bottom: 1.3rem;
}

.problem-step {
  display: flex;
  align-items: flex-start;
  gap: .52rem;
  font-size: .77rem;
  color: var(--ink-soft);
}

.step-number {
  min-width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: .59rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ═══════════════════════════════
   BLOWER HIALURÓNICO
═══════════════════════════════ */
#blower {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.blower-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,78,130,.2) 0%, transparent 70%);
  pointer-events: none;
}

.blower-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.blower-eyebrow { color: var(--pink-light); }

.blower-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 300;
  color: #fff;
  line-height: .93;
  margin: .65rem 0 .95rem;
  letter-spacing: -.02em;
}

.blower-title em {
  font-style: italic;
  color: var(--pink-light);
  font-weight: 400;
}

.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: .28rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: .47rem 1.28rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.price-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  font-weight: 400;
}

.price-currency {
  font-size: .63rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .08em;
}

.blower-benefits {
  display: flex;
  flex-direction: column;
  gap: .56rem;
  margin-bottom: 1.7rem;
}

.blower-benefit {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}

.benefit-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.blower-card {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  position: relative;
  border: 1px solid rgba(201,78,130,.18);
}

.blower-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.blower-days {
  position: absolute;
  bottom: 1.1rem; left: 1.1rem;
  background: rgba(253,250,248,.1);
  backdrop-filter: blur(14px);
  padding: .6rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
}

.days-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
  font-weight: 300;
}

.days-label {
  font-size: .55rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.48);
  text-transform: uppercase;
}

/* ═══════════════════════════════
   TRANSFORMATIONS (Before/After)
═══════════════════════════════ */
#transformaciones { background: #fff; }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 2rem;
}

.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  background: var(--bg);
  cursor: pointer;
  transition: transform .32s var(--ease);
}

.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-dark);
}

.ba-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .48s var(--ease);
}

.ba-card:hover img { transform: scale(1.05); }

.ba-label {
  position: absolute;
  top: .6rem; left: .6rem;
  font-size: .52rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: rgba(18,10,14,.72);
  color: #fff;
  padding: .23rem .58rem;
  border-radius: 100px;
}

.ba-tag {
  position: absolute;
  bottom: .6rem; right: .6rem;
  background: var(--gold);
  color: #fff;
  font-size: .52rem;
  padding: .23rem .58rem;
  border-radius: 100px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* ═══════════════════════════════
   ALBA / FOUNDER
═══════════════════════════════ */
#alba { background: var(--pink-pale); }

.alba-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.alba-frame {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 480px;
  border-radius: 88px 88px 18px 18px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.alba-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.alba-ring {
  position: absolute;
  inset: -3px;
  border-radius: 91px 91px 21px 21px;
  border: 2px solid var(--pink-light);
  pointer-events: none;
}

.alba-cert {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  background: var(--pink);
  color: #fff;
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .28rem .75rem;
  border-radius: 100px;
  font-weight: 700;
  margin-bottom: .55rem;
}

.alba-quote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.42rem);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.52;
  margin: 1rem 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
}

.alba-signature {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--pink);
  margin-top: .6rem;
  font-weight: 400;
}

/* ═══════════════════════════════
   TESTIMONIALS — Scroll on mobile
═══════════════════════════════ */
#testimonios {
  background: var(--bg);
  overflow: hidden;
}

.testimonials-scroll {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonials-scroll::-webkit-scrollbar { display: none; }

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.45rem;
  border: 1px solid var(--pink-light);
  flex: 0 0 82vw;
  scroll-snap-align: start;
  transition: transform .28s var(--ease), box-shadow .28s;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--gold);
  font-size: .82rem;
  margin-bottom: .78rem;
}

.testimonial-text {
  font-size: .82rem;
  line-height: 1.76;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: .95rem;
}

.testimonial-author { display: flex; align-items: center; gap: .6rem; }

.testimonial-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink);
}

.testimonial-service { font-size: .62rem; color: var(--pink); }

/* ═══════════════════════════════
   SEDES (Locations)
═══════════════════════════════ */
#sedes { background: var(--bg); }

.sedes-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.sede-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--pink-light);
  transition: box-shadow .28s;
}

.sede-card:hover { box-shadow: var(--shadow); }

.sede-map {
  height: 162px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.sede-map iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
  filter: sepia(.18) saturate(.8);
}

.sede-body { padding: 1.3rem; }

.sede-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .22rem;
}

.sede-address {
  font-size: .76rem;
  color: var(--ink-muted);
  margin-bottom: .82rem;
  line-height: 1.5;
}

.sede-hours {
  background: var(--pink-pale);
  border-radius: 10px;
  padding: .65rem;
  font-size: .7rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: .92rem;
}

.sede-hours-title {
  font-size: .56rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: .28rem;
}

/* ═══════════════════════════════
   INSTAGRAM GALLERY
═══════════════════════════════ */
#instagram {
  background: var(--dark);
  padding: 3.5rem 1.25rem;
  text-align: center;
}

.ig-handle {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5.5vw, 3.1rem);
  font-weight: 300;
  color: #fff;
  margin: .6rem 0 .4rem;
  display: block;
  transition: color .28s;
}

.ig-handle:hover { color: var(--pink-light); }

.ig-subtitle {
  font-size: .72rem;
  color: rgba(255,255,255,.32);
  margin-bottom: 1.5rem;
  letter-spacing: .08em;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .38rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.ig-cell {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--dark-2);
}

.ig-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .42s var(--ease), filter .42s;
  filter: saturate(.85);
}

.ig-cell:hover img {
  transform: scale(1.09);
  filter: saturate(1.12);
}

.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201,78,130,0);
  transition: background .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
}

.ig-cell:hover .ig-overlay {
  background: rgba(201,78,130,.42);
  opacity: 1;
}

/* ═══════════════════════════════
   TRABAJA CON NOSOTROS — Formulario
═══════════════════════════════ */
#trabajo { background: var(--pink-pale); }

.job-requisitos {
  background: #fff;
  border: 1px solid var(--pink-light);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.job-requisitos-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--pink);
  margin-bottom: .7rem;
  font-weight: 400;
}

.job-requisitos-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.job-requisitos-list li {
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-left: 1.2rem;
  position: relative;
}

.job-requisitos-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}

.job-requisitos-note {
  font-size: .68rem;
  color: var(--ink-muted);
  margin-top: .8rem;
  font-style: italic;
}

.job-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.job-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.job-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.job-field label {
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}

.job-field input,
.job-field select,
.job-field textarea {
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1.5px solid var(--pink-light);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .25s;
  width: 100%;
}

.job-field input:focus,
.job-field select:focus,
.job-field textarea:focus {
  outline: none;
  border-color: var(--pink);
}

.job-field textarea { resize: vertical; min-height: 70px; }

.job-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}

.job-photo-upload {
  position: relative;
  aspect-ratio: 1;
  border: 1.5px dashed var(--pink-light);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  cursor: pointer;
  background: var(--bg);
  overflow: hidden;
  transition: border-color .25s;
}

.job-photo-upload:hover { border-color: var(--pink); }

.job-photo-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.job-photo-icon {
  font-size: 1.4rem;
  color: var(--pink);
  font-weight: 300;
  line-height: 1;
}

.job-photo-text {
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-muted);
}

.job-photo-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.job-photo-upload.has-image .job-photo-preview { display: block; }
.job-photo-upload.has-image .job-photo-icon,
.job-photo-upload.has-image .job-photo-text { display: none; }

.job-photos-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 280px;
}

/* Hoja de vida (PDF) */
.job-file-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1rem;
  border: 1.5px dashed var(--pink-light);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color .25s;
}

.job-file-upload:hover { border-color: var(--pink); }

.job-file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.job-file-icon { font-size: 1.2rem; flex-shrink: 0; }

.job-file-text {
  font-size: .8rem;
  color: var(--ink-muted);
}

.job-file-upload.has-file .job-file-text { color: var(--pink); font-weight: 600; }
.job-file-upload.has-file { border-color: var(--pink); border-style: solid; }

.job-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .76rem;
  color: var(--ink-soft);
  line-height: 1.4;
  cursor: pointer;
}

.job-checkbox input {
  margin-top: .15rem;
  width: 16px;
  height: 16px;
  accent-color: var(--pink);
  flex-shrink: 0;
}

.job-submit {
  width: 100%;
  justify-content: center;
  margin-top: .3rem;
}

.job-form-msg {
  font-size: .78rem;
  text-align: center;
  min-height: 1.2em;
}

.job-form-msg--ok    { color: #1f9d52; font-weight: 600; }
.job-form-msg--error { color: var(--pink); font-weight: 600; }

/* Aviso: "ya enviaste antes desde este dispositivo" */
.job-already-sent {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  background: #fff;
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  max-width: 560px;
  margin: 0 auto 1.2rem;
}

.job-already-sent-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
}

.job-already-sent strong {
  display: block;
  font-size: .85rem;
  color: var(--ink);
  margin-bottom: .15rem;
}

.job-already-sent span {
  display: block;
  font-size: .68rem;
  color: var(--ink-muted);
}

.job-already-sent p {
  font-size: .78rem;
  color: var(--ink-soft);
  margin-top: .4rem;
  line-height: 1.5;
}

/* Estado de éxito tras enviar — reemplaza visualmente la atención al formulario */
.job-success {
  background: linear-gradient(135deg, var(--pink) 0%, #8a1840 100%);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-dark);
  animation: pop .5s var(--ease-spring) both;
}

.job-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  animation: pop .6s var(--ease-spring) .15s both;
}

.job-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: .6rem;
}

.job-success p {
  font-size: .85rem;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  max-width: 400px;
  margin: 0 auto 1.4rem;
}

.job-success .btn-outline-light {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.job-success .btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

/* Spinner en el botón mientras se envía */
.job-submit.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.job-submit.is-loading::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: job-spin .7s linear infinite;
}

@keyframes job-spin {
  to { transform: rotate(360deg); }
}
