﻿/* =============================================
   IQONIQ@S CLINIC — Luxury Aesthetic Website
   ============================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0a0a0a;
  --black-soft: #111111;
  --black-mid:  #181818;
  --black-card: #141414;
  --white:      #f8f6f2;
  --white-dim:  rgba(248,246,242,.7);
  --gold:       #C9A84C;
  --gold-light: #F5E0A0;
  --gold-dim:   rgba(201,168,76,.15);
  --gold-line:  rgba(201,168,76,.35);
  --red:        #8B1A1A;
  --border:     rgba(201,168,76,.18);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;
  --ease-silk:  cubic-bezier(.25,.46,.45,.94);
  --ease-expo:  cubic-bezier(.16,1,.3,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; }

.container {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

/* ---- TYPOGRAPHY ---- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-desc {
  font-size: .95rem;
  color: var(--white-dim);
  max-width: 540px;
  margin-top: 1.25rem;
}
.section-header { text-align: center; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-header .section-desc { margin-inline: auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: all .35s var(--ease-silk);
  position: relative;
  overflow: hidden;
  min-height: 48px;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #a87c2a 100%);
  color: var(--black);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn--gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity .35s;
}
.btn--gold:hover::before { opacity: 1; }
.btn--gold { box-shadow: 0 0 22px rgba(201,168,76,.12); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 45px rgba(201,168,76,.45), 0 0 70px rgba(201,168,76,.12); }
.btn--outline {
  border: 1px solid var(--border);
  color: var(--white);
  background: transparent;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.btn--full { width: 100%; justify-content: center; }

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-expo), transform .8s var(--ease-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem clamp(1.5rem, 5vw, 5rem);
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: .8rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  transition: opacity .3s;
}
.nav__logo-img:hover { opacity: .85; }
.nav__links { display: flex; gap: 2.5rem; list-style: none; }
.nav__links a {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white-dim);
  position: relative;
  transition: color .3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease-silk);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 8px 0; }
.nav__burger span { display: block; height: 1px; background: var(--white); transition: transform .35s, opacity .35s; }

@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10,10,10,.98);
  backdrop-filter: blur(24px);
  display: flex; align-items: center; justify-content: center;
  transform: translateX(100%);
  transition: transform .5s var(--ease-expo);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 2.2rem; }
.mobile-menu ul a { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 300; }
.mobile-link { color: var(--white-dim); }
.mobile-link:hover { color: var(--gold); }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 28% 40%, rgba(201,168,76,.07) 0%, transparent 65%),
    linear-gradient(to right, rgba(8,6,4,.72) 0%, rgba(8,6,4,.05) 38%, rgba(8,6,4,.05) 62%, rgba(8,6,4,.78) 100%),
    linear-gradient(to bottom, rgba(10,10,10,.25) 0%, rgba(10,10,10,.35) 60%, rgba(10,10,10,.97) 100%);
}

/* Hero portrait — real photo */
.hero__portrait {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: portraitFadeIn 2s var(--ease-expo) .5s forwards;
}
.hero__portrait-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 18%, black 42%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 18%, black 42%);
}
@keyframes portraitFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (max-width: 900px) { .hero__portrait { display: none; } }

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  max-width: 680px;
}

/* ---- CINEMATIC HERO ANIMATIONS ---- */
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: heroFadeUp .9s var(--ease-expo) .25s both;
}
.hero__eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); box-shadow: 0 0 10px rgba(201,168,76,.7); }

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
  text-shadow: 0 2px 60px rgba(0,0,0,.55);
}
.hero__title-wrap {
  display: block;
  overflow: hidden;
  line-height: 1.08;
}
.hero__title-inner {
  display: block;
  animation: heroSlideUp 1.1s var(--ease-expo) both;
}
.hero__title-wrap:nth-child(2) .hero__title-inner {
  font-style: italic;
  background: linear-gradient(110deg, var(--gold) 0%, var(--gold-light) 30%, #fffbe8 50%, var(--gold-light) 70%, var(--gold) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroSlideUp 1.1s var(--ease-expo) .5s both, titleShimmer 5s ease-in-out 2.8s infinite;
}

.hero__subtitle {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--white-dim);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: heroFadeUp .9s var(--ease-expo) 1s both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: heroFadeUp .9s var(--ease-expo) 1.25s both;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 0;
  animation: heroFadeUp .9s var(--ease-expo) 1.5s both;
}
.hero__trust-item { display: flex; flex-direction: column; gap: .2rem; padding: 0 1.5rem; }
.hero__trust-item:first-child { padding-left: 0; }
.hero__trust-num {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  text-shadow: 0 0 20px rgba(201,168,76,.3);
}
.hero__trust-item span:last-child {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.hero__trust-sep { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

@keyframes heroSlideUp {
  from { transform: translateY(105%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 5vw, 5rem);
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  z-index: 2;
  animation: heroFadeUp .9s var(--ease-expo) 1.8s both;
}
.hero__scroll span {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--white-dim); writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.1); }
}

@keyframes titleShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

/* Rotating text badge */
.hero__badge {
  position: absolute;
  right: clamp(3rem, 9vw, 10rem);
  top: 50%;
  transform: translateY(-40%);
  width: 130px; height: 130px;
  z-index: 2;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  animation: heroFadeUp 1.2s var(--ease-expo) 2s both;
}
.hero__badge-ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: badgeSpin 32s linear infinite;
  overflow: visible;
}
.hero__badge-ring text {
  fill: rgba(201,168,76,.45);
  font-family: var(--font-sans);
  font-size: 13.5px;
  letter-spacing: 2.5px;
  font-weight: 300;
}
.hero__badge-star {
  font-size: 1.6rem;
  color: rgba(201,168,76,.65);
  line-height: 1;
  animation: starPulse 3.5s ease-in-out infinite;
}
@keyframes badgeSpin { to { transform: rotate(360deg); } }
@keyframes starPulse {
  0%, 100% { opacity: .6; transform: scale(1) rotate(0deg); }
  50%       { opacity: 1;  transform: scale(1.18) rotate(12deg); }
}

/* Corner accents */
.hero__corner-tr {
  position: absolute;
  top: clamp(5.5rem, 9vh, 8rem);
  right: clamp(1.5rem, 5vw, 5rem);
  width: 58px; height: 58px;
  border-top: 1px solid rgba(201,168,76,.25);
  border-right: 1px solid rgba(201,168,76,.25);
  z-index: 2; pointer-events: none;
  animation: heroFadeUp 1s var(--ease-expo) 2.4s both;
}
.hero__corner-bl {
  position: absolute;
  bottom: clamp(4rem, 7vh, 7rem);
  left: clamp(1.5rem, 5vw, 5rem);
  width: 58px; height: 58px;
  border-bottom: 1px solid rgba(201,168,76,.25);
  border-left: 1px solid rgba(201,168,76,.25);
  z-index: 2; pointer-events: none;
  animation: heroFadeUp 1s var(--ease-expo) 2.4s both;
}
@media (max-width: 900px) {
  .hero__badge, .hero__corner-tr, .hero__corner-bl { display: none; }
}

.br-hide { display: none; }
@media (min-width: 700px) { .br-hide { display: inline; } }

/* ---- MARQUEE ---- */
.marquee-wrap {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: .8rem 0;
}
.marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--white-dim); padding: 0 1.5rem; }
.marquee .sep { color: var(--gold); padding: 0 .5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- SERVICES ---- */
.services { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--black); }
.services__category { margin-bottom: 5rem; }
.services__cat-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}
.gold-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--gold-line), transparent); display: block; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
}
.services__grid--two { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }

.service-card {
  background: var(--black-card);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-expo), box-shadow .4s;
}
.service-card:hover { transform: translateY(-4px); z-index: 2; box-shadow: 0 20px 60px rgba(0,0,0,.6); }

.service-card__img-wrap { position: relative; height: 220px; overflow: hidden; flex-shrink: 0; }
.service-card--wide .service-card__img-wrap { height: 260px; }
.service-card__img {
  position: relative;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .7s var(--ease-silk);
}
.service-card:hover .service-card__img { transform: scale(1.07); }
.service-card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--black-card) 100%);
  z-index: 1;
}

/* Service images — real photos (exact filenames from /images/services/) */
.service-img--neuro      { background-image: url('images/services/Neuromoduladores.webp'); }
.service-img--menton     { background-image: url('images/services/proyecciQn%20dementon.webp'); }
.service-img--tercio     { background-image: url('images/services/tercio%20medio.webp'); }
.service-img--jowls      { background-image: url('images/services/04%20%E2%80%94%20Eliminaci%C3%B3n%20de%20Jowls.webp'); }
.service-img--labios     { background-image: url('images/services/Ácido%20Hialurónico%20Labios.webp'); }
.service-img--blephar    { background-image: url('images/services/Blefaroplastia%20CO2.webp'); }
.service-img--colageno   { background-image: url('images/services/Inductores%20de%20colageno.webp'); }
.service-img--endolift   { background-image: url('images/services/Endolift.webp'); }
.service-img--lipo       { background-image: url('images/services/smart%20lipo.webp'); }
.service-img--cryo       { background-image: url('images/services/Crioterapia.webp'); }
.service-img--mesoterapia{ background-image: url('images/services/Mesoterapia%20quemagrasas.webp'); }
.service-img--suero      { background-image: url('images/services/Sueroterapia.webp'); }
.service-img--prp        { background-image: url('images/services/PRP%20Capilar.webp'); }
.service-img--injerto    { background-image: url('images/services/Injerto%20Capilar.webp'); }

.service-img--hiper      { background-image: url('images/services/Hiperhidrosis%20Manos%20y%20Pies.webp'); }
.service-img--lunares    { background-image: url('images/services/09%20%E2%80%94%20Eliminaci%C3%B3n%20de%20Lunares.webp'); }

.service-card__body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.service-card__num { font-family: var(--font-serif); font-size: .75rem; font-weight: 300; letter-spacing: .2em; color: var(--gold); margin-bottom: .75rem; }
.service-card__name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; color: var(--white); margin-bottom: .65rem; line-height: 1.25; }
.service-card__desc { font-size: .82rem; color: var(--white-dim); line-height: 1.7; flex: 1; }

/* WhatsApp CTA button */
.service-card__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.25rem;
  padding: .7rem 1.25rem;
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, .28);
  background: transparent;
  transition: all .3s var(--ease-silk);
  cursor: pointer;
  min-height: 44px;
}
.service-card__wa:hover {
  background: rgba(37, 211, 102, .08);
  border-color: #25D366;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37,211,102,.12);
}

/* ---- STATS BAND ---- */
.stats-band {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.stats-band__inner {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 1.5rem 3rem; flex: 1; min-width: 160px; }
.stat-num { font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 5rem); font-weight: 300; color: var(--gold-light); line-height: 1; display: inline; }
.stat-plus { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.5rem); color: var(--gold); }
.stat-label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--white-dim); margin-top: .75rem; }
.stat-divider { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }
@media (max-width: 700px) { .stat-divider { display: none; } }

/* ---- BEFORE / AFTER ---- */
/* ---- CATEGORY ACCORDION ---- */
.cat-section { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--black); }

.cat-list { margin-top: 4rem; border: 1px solid var(--border); }

/* Item */
.cat-item {
  background: var(--black-card);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background .4s;
}
.cat-item:last-child { border-bottom: none; }
.cat-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: transparent;
  transition: background .5s;
  z-index: 5;
}
.cat-item.open { background: #0e0d08; }
.cat-item.open::before { background: var(--gold); }

/* Header */
.cat-item__header {
  display: grid;
  grid-template-columns: 240px 1fr 160px;
  min-height: 185px;
  cursor: pointer;
  transition: background .35s;
}
.cat-item__header:hover { background: rgba(201,168,76,.035); }

/* Image with zoom */
.cat-item__img {
  position: relative; overflow: hidden; flex-shrink: 0;
}
.cat-item__img::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--cat-bg, none);
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease-expo);
}
.cat-item__header:hover .cat-item__img::before { transform: scale(1.08); }
.cat-item.open .cat-item__img::before { transform: scale(1.03); }
.cat-item__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.1) 0%, rgba(10,9,5,.85) 85%);
  transition: background .4s;
}
.cat-item.open .cat-item__img::after { background: linear-gradient(to right, rgba(0,0,0,.1) 0%, rgba(14,13,8,.9) 85%); }

/* Image variants */
.cat-img--face         { --cat-bg: url('images/services/Neuromoduladores.webp'); }
.cat-img--body         { --cat-bg: url('images/services/smart%20lipo.webp'); }
.cat-img--masaje       { --cat-bg: url('images/services/IQONIQ%40S%20MASAJE.jpg'); }
.cat-img--hidrofacial  { --cat-bg: url('images/services/HIDROFACIAL%20IQONIQ%40S.jpg'); }
.cat-img--beauty       { --cat-bg: url('images/services/IQONIQ%40S%20BEAUTY.jpg'); }
.cat-img--aparatologia { --cat-bg: url('images/services/APARATOLOG%C3%8DA%20IQONIQ%40S.jpg'); }
.cat-img--medicina     { --cat-bg: url('images/services/Sueroterapia.webp'); }
.cat-img--diagnostico  { --cat-bg: url('images/services/DIAGN%C3%93STICO%20IQONIQ%40S%20INTELLIGENT.jpg'); }

/* Info */
.cat-item__info {
  padding: 2.25rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.cat-item__num {
  font-size: .58rem; font-weight: 300;
  letter-spacing: .4em; text-transform: uppercase;
  color: rgba(201,168,76,.5); margin-bottom: .8rem;
  font-family: var(--font-sans);
  transition: color .35s;
}
.cat-item.open .cat-item__num { color: var(--gold); }
.cat-item__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  font-weight: 400; color: var(--white);
  margin-bottom: .65rem; letter-spacing: .01em;
  transition: color .35s, text-shadow .35s;
}
.cat-item__header:hover .cat-item__title,
.cat-item.open .cat-item__title {
  color: var(--gold-light);
  text-shadow: 0 0 45px rgba(201,168,76,.22);
}
.cat-item__desc {
  font-size: .8rem; color: var(--white-dim);
  line-height: 1.75; max-width: 500px;
}

/* Toggle CTA */
.cat-item__toggle {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .75rem; padding: 1.5rem 1.25rem;
  border-left: 1px solid var(--border);
  transition: background .35s, border-color .35s;
}
.cat-item__header:hover .cat-item__toggle,
.cat-item.open .cat-item__toggle {
  background: rgba(201,168,76,.04);
  border-left-color: rgba(201,168,76,.3);
}
.cat-item__cta-text {
  font-size: .6rem; font-weight: 300;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); text-align: center; line-height: 1.5;
  font-family: var(--font-sans);
  transition: opacity .3s;
}
.cat-item__cta-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: transform .6s var(--ease-expo), background .35s, border-color .35s;
}
.cat-item.open .cat-item__cta-icon {
  transform: rotate(180deg);
  background: rgba(201,168,76,.12);
  border-color: var(--gold);
}

/* Collapsible body */
.cat-item__body {
  max-height: 0; overflow: hidden;
  transition: max-height .8s var(--ease-expo);
}
.cat-item.open .cat-item__body { max-height: 700px; }

.cat-item__body-inner {
  display: flex; flex-wrap: wrap;
  align-items: flex-start; gap: 2.5rem 3rem;
  padding: 2.5rem;
  border-top: 1px solid var(--border);
  background: rgba(201,168,76,.015);
  animation: none;
}
.cat-item.open .cat-item__body-inner {
  animation: bodyReveal .55s var(--ease-expo) .1s both;
}
@keyframes bodyReveal {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Treatment chips */
.cat-treatments {
  list-style: none; flex: 1; min-width: 220px;
  display: flex; flex-wrap: wrap; gap: .65rem;
}
.cat-treatments li {
  font-family: var(--font-sans);
  font-size: .7rem; font-weight: 300;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--white-dim);
  padding: .55rem 1.25rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  transition: border-color .3s, color .3s, background .3s, box-shadow .3s;
  cursor: default;
}
.cat-treatments li::before { display: none; }
.cat-treatments li:hover {
  border-color: rgba(201,168,76,.45);
  color: var(--gold-light);
  background: rgba(201,168,76,.06);
  box-shadow: 0 0 12px rgba(201,168,76,.08);
}

/* WA CTA */
.cat-item__wa {
  flex-shrink: 0; align-self: flex-start;
  display: inline-flex !important; align-items: center; gap: .6rem;
  font-size: .68rem; letter-spacing: .18em;
  padding: .9rem 1.75rem;
  min-height: 48px;
}
.cat-item__wa svg { flex-shrink: 0; }

/* ── Interactive FACE treatments — inline accordion ── */
.cat-treatments-wrap { flex: 1; min-width: 0; }

.cat-treatments--interactive {
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Each treatment row */
.cat-treatment-item {
  width: 100%;
  border-bottom: 1px solid rgba(201,168,76,.1);
}
.cat-treatment-item:first-child { border-top: 1px solid rgba(201,168,76,.1); }

/* Full-width clickable chip */
.cat-chip--btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: .72rem; font-weight: 300;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--white-dim);
  padding: .75rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .25s, background .25s;
}
.cat-chip--btn:hover { color: var(--gold-light); background: rgba(201,168,76,.04); }
.cat-chip--btn.active { color: var(--gold-light); background: rgba(201,168,76,.07); }
.cat-chip--btn.active span { color: var(--gold); }

/* Chevron icon */
.cat-chip-chevron {
  flex-shrink: 0;
  color: rgba(201,168,76,.3);
  transition: transform .3s var(--ease-expo), color .3s;
}
.cat-chip--btn.active .cat-chip-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

/* Inline description panel */
.cat-chip-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-expo);
}
.cat-chip-desc.open { max-height: 200px; }

.cat-chip-desc__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .85rem 1rem 1.1rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: rgba(10,8,5,.8);
  margin: 0 .25rem .5rem .25rem;
  flex-wrap: wrap;
}
.cat-chip-desc__inner p {
  font-size: .8rem;
  color: var(--white-dim);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  min-width: 160px;
}

/* Solicitar información CTA inside panel */
.cat-desc-cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .5rem 1rem;
  border: 1px solid rgba(201,168,76,.4);
  background: transparent;
  white-space: nowrap;
  transition: background .3s, color .3s;
  min-height: 38px;
}
.cat-desc-cta:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

@media (max-width: 768px) {
  .cat-chip-desc__inner { flex-direction: column; align-items: flex-start; gap: .75rem; padding-left: 1rem; }
  .cat-desc-cta { width: 100%; justify-content: center; }
  .cat-chip-desc.open { max-height: 240px; }
  .cat-chip--btn { padding: .85rem .75rem; font-size: .68rem; }
}

/* Responsive */
@media (max-width: 900px) {
  .cat-item__header { grid-template-columns: 160px 1fr 120px; }
}
@media (max-width: 768px) {
  .cat-item__header { grid-template-columns: 90px 1fr 52px; min-height: 115px; }
  .cat-item__info { padding: 1.25rem .9rem 1.25rem 1rem; }
  .cat-item__title { font-size: clamp(1rem, 4.5vw, 1.3rem); }
  .cat-item__desc { display: none; }
  .cat-item__toggle { padding: .75rem .5rem; gap: .4rem; border-left: none; border-top: none; }
  .cat-item__cta-text { display: none; }
  .cat-item__cta-icon { width: 32px; height: 32px; }
  .cat-item__body-inner { padding: 1.5rem; gap: 1.25rem; flex-direction: column; }
  .cat-treatments { gap: .5rem; }
  .cat-treatments li { padding: .5rem .9rem; font-size: .68rem; }
  .cat-item__wa { width: 100%; justify-content: center; }
}
/* ---- SHOWCASE — EXCLUSIVIDAD IQONIQ@S ---- */
.showcase {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* ── SPLIT LAYOUT ── */
.showcase__split {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 700px;
}

/* ── LEFT VISUAL ── */
.showcase__visual {
  position: relative;
  overflow: hidden;
}

.showcase__visual-img {
  position: absolute; inset: -8% 0;
  background-image:
    url('images/services/Exclusividad%20IQONIQ%40S.webp'),
    linear-gradient(135deg, #1a1208 0%, #0a0906 40%, #12100a 100%);
  background-size: cover;
  background-position: center top;
  will-change: transform;
  transition: opacity .8s;
}

.showcase__visual-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,  rgba(4,3,2,.25) 0%,  rgba(4,3,2,.15) 50%, rgba(4,3,2,.85) 100%),
    linear-gradient(to bottom, rgba(4,3,2,.3)  0%,  rgba(4,3,2,.0)  40%, rgba(4,3,2,.55) 100%),
    radial-gradient(ellipse 70% 60% at 35% 40%, rgba(201,168,76,.07) 0%, transparent 65%);
}

/* Floating accents */
.showcase__accent-circle {
  position: absolute;
  bottom: 12%; left: 9%;
  width: 170px; height: 170px;
  border: 1px solid rgba(201,168,76,.18);
  border-radius: 50%;
  animation: slowRotate 25s linear infinite;
}
.showcase__accent-ring {
  position: absolute;
  bottom: 12%; left: 9%;
  width: 170px; height: 170px;
  border: 1px solid rgba(201,168,76,.07);
  border-radius: 50%;
  transform: scale(1.55);
}
.showcase__accent-vline {
  position: absolute;
  top: 8%; right: 18%;
  width: 1px; height: 35%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,.35), transparent);
}
@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Bottom label */
.showcase__visual-label {
  position: absolute;
  bottom: 2.5rem; left: 2.5rem;
  display: flex; align-items: center; gap: 1rem;
  z-index: 2;
}
.showcase__visual-label-line {
  display: block; width: 36px; height: 1px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201,168,76,.5);
}
.showcase__visual-label span:last-child {
  font-size: .58rem; letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-family: var(--font-sans); font-weight: 300;
}

/* ── RIGHT CONTENT ── */
.showcase__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(4rem, 7vw, 6rem) clamp(3rem, 6vw, 5.5rem) clamp(4rem, 7vw, 6rem) clamp(3rem, 5vw, 4.5rem);
  border-left: 1px solid var(--border);
  position: relative;
}

/* Eyebrow */
.showcase__eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: .65rem; font-weight: 300;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-sans);
  margin-bottom: 1.75rem;
}
.showcase__eyebrow-line {
  display: block; width: 36px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Title */
.showcase__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 1.75rem;
}
.showcase__title-line { display: block; }
.showcase__title em {
  display: block;
  font-style: italic;
  background: linear-gradient(110deg, var(--gold) 0%, var(--gold-light) 40%, var(--gold) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 5s ease-in-out 1.5s infinite;
}

/* Subtitle */
.showcase__subtitle {
  font-size: .85rem;
  color: var(--white-dim);
  line-height: 1.85;
  max-width: 400px;
  margin-bottom: 3rem;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(201,168,76,.25);
}

/* ── FEATURE LIST ── */
.showcase__features { display: flex; flex-direction: column; }

.showcase__feature {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  cursor: default;
  transition: padding-left .35s var(--ease-expo), background .35s;
  position: relative;
}
.showcase__feature:last-child { border-bottom: 1px solid var(--border); }

.showcase__feature::before {
  content: '';
  position: absolute; left: -1px; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform .45s var(--ease-expo);
}
.showcase__feature:hover { padding-left: .75rem; background: rgba(201,168,76,.025); }
.showcase__feature:hover::before { transform: scaleY(1); }

.showcase__feature-left { flex-shrink: 0; }
.showcase__feature-num {
  font-family: var(--font-serif);
  font-size: .8rem; font-weight: 300;
  letter-spacing: .2em;
  color: rgba(201,168,76,.45);
  transition: color .35s;
  display: block; width: 28px;
}
.showcase__feature:hover .showcase__feature-num { color: var(--gold); }

.showcase__feature-body { flex: 1; }
.showcase__feature-title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 400;
  color: var(--white);
  margin-bottom: .3rem;
  transition: color .35s;
}
.showcase__feature:hover .showcase__feature-title { color: var(--gold-light); }
.showcase__feature-text {
  font-size: .78rem; color: var(--white-dim); line-height: 1.7;
}

.showcase__feature-arrow {
  flex-shrink: 0;
  color: rgba(201,168,76,.2);
  transition: color .35s, transform .35s;
}
.showcase__feature:hover .showcase__feature-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ── STATS STRIP ── */
.showcase__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  position: relative;
}
.showcase__stats::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,.5), transparent);
}

.showcase__stat {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; padding: 2.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background .35s;
  position: relative;
}
.showcase__stat:last-child { border-right: none; }
.showcase__stat:hover { background: rgba(201,168,76,.03); }
.showcase__stat-sep { display: none; }

.showcase__stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -.01em;
}
.showcase__stat-label {
  font-size: .6rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--white-dim);
  font-family: var(--font-sans); font-weight: 300;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .showcase__split { grid-template-columns: 48% 52%; }
}
@media (max-width: 860px) {
  .showcase__split { grid-template-columns: 1fr; }
  .showcase__visual { height: 55vw; min-height: 320px; max-height: 480px; }
  .showcase__content { border-left: none; border-top: 1px solid var(--border); }
  .showcase__accent-circle,
  .showcase__accent-ring,
  .showcase__accent-vline { display: none; }
}
@media (max-width: 600px) {
  .showcase__stats { grid-template-columns: 1fr 1fr; }
  .showcase__stat:nth-child(2) { border-right: none; }
  .showcase__stat:nth-child(3) { border-top: 1px solid var(--border); }
  .showcase__stat:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
}
/* ---- RESULTS ---- */
.results { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--black-mid); }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1000px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ba-grid { grid-template-columns: 1fr; } }

.ba-card { border: 1px solid var(--border); overflow: hidden; background: var(--black-card); }
.ba-slider { position: relative; height: 500px; overflow: hidden; cursor: ew-resize; user-select: none; touch-action: none; }

@media (max-width: 600px) { .ba-slider { height: 340px; } }

.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.ba-before { clip-path: inset(0 50% 0 0); }

/* Before/After real photos */
/* 1 — Neuromoduladores */
.ba-img--before1 { background-image: url('images/ba/Neuromoduladores_ante.webp');              background-color: #181510; }
.ba-img--after1  { background-image: url('images/ba/Neuromoduladores_despues.webp');           background-color: #181510; }
/* 2 — Inductores de Colágeno */
.ba-img--before2 { background-image: url('images/ba/inductores%20de%20colageno_ante.webp');    background-color: #100e0a; }
.ba-img--after2  { background-image: url('images/ba/inductores%20de%20colageno_despues.webp'); background-color: #100e0a; }
/* 3 — Smart Lipo */
.ba-img--before3 { background-image: url('images/ba/before-lipo.jpg.webp');       background-color: #141010; }
.ba-img--after3  { background-image: url('images/ba/after-lipo.jpg.webp');        background-color: #141010; }
/* 4 — Injerto Capilar */
.ba-img--before4 { background-image: url('images/ba/before-injerto.jpg.webp');    background-color: #141010; }
.ba-img--after4  { background-image: url('images/ba/after-injerto.jpg.webp');     background-color: #141010; }
/* 5 — PRP Capilar */
.ba-img--before5 { background-image: url('images/ba/before-hair-back.jpg.webp');  background-color: #141208; }
.ba-img--after5  { background-image: url('images/ba/after-hair-back.jpg.webp');   background-color: #141208; }
/* 6 — Tercio Medio */
.ba-img--before6 { background-image: url('images/ba/tercio%20medio_ante.webp');    background-color: #0d0f0d; }
.ba-img--after6  { background-image: url('images/ba/tercio%20medio_despues.webp'); background-color: #0d0f0d; }

.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 2px; background: var(--gold); z-index: 10; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ba-handle__circle { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; gap: 2px; color: var(--black); pointer-events: all; cursor: ew-resize; box-shadow: 0 4px 20px rgba(0,0,0,.5); }
.ba-labels { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.ba-label { position: absolute; top: 1rem; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; background: rgba(10,10,10,.75); padding: .35rem .75rem; border: 1px solid var(--border); }
.ba-label--before { left: 1rem; color: var(--white-dim); }
.ba-label--after  { right: 1rem; color: var(--gold); }
.ba-info { padding: 1.25rem 1.5rem; }
.ba-info h4 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400; margin-bottom: .35rem; }
.ba-info p  { font-size: .75rem; color: var(--white-dim); letter-spacing: .08em; }

/* ---- NUESTRO MÉTODO ---- */
.method {
  background: var(--black);
  padding-top: clamp(5rem, 10vw, 9rem);
  overflow: hidden;
}

/* Steps grid — full width, no container */
.method-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Individual step */
.method-step {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  position: relative;
  cursor: default;
}
.method-step:last-child { border-right: none; }

/* ── IMAGE ── */
.method-step__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 2px 2px 0 0;
}

/* Gold accent: top line reveals on hover */
.method-step__img-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; z-index: 3;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .6s var(--ease-expo);
}
.method-step:hover .method-step__img-wrap::before { transform: scaleX(1); }

/* Corner gold accent */
.method-step__img-wrap::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 40px; height: 40px;
  border-right: 1px solid rgba(201,168,76,.35);
  border-bottom: 1px solid rgba(201,168,76,.35);
  z-index: 3;
  opacity: 0;
  transition: opacity .4s;
}
.method-step:hover .method-step__img-wrap::after { opacity: 1; }

.method-step__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .85s var(--ease-expo);
}
.method-step:hover .method-step__img { transform: scale(1.07); }

.method-step__img-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,  rgba(8,6,4,.75) 0%,  rgba(8,6,4,.15) 45%, transparent 70%),
    linear-gradient(to bottom, rgba(8,6,4,.3) 0%, transparent 30%);
  z-index: 1;
}

/* Floating step label on image */
.method-step__img-label {
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-size: .58rem; letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-family: var(--font-sans); font-weight: 300;
  z-index: 2;
  transition: color .35s;
}
.method-step:hover .method-step__img-label { color: rgba(201,168,76,.7); }

/* Image variants */
.method-img--01 { background-image: url('images/Nuestro%20M%C3%A9todo/01-Diagn%C3%B3stico%20Inteligente.jpg');       background-color: #0e0c09; }
.method-img--02 { background-image: url('images/services/tercio%20medio.webp');                                        background-color: #0c0e0a; }
.method-img--03 { background-image: url('images/Nuestro%20M%C3%A9todo/03-Aplicaci%C3%B3n%20del%20Tratamiento.jpg');   background-color: #0d0c09; }
.method-img--04 { background-image: url('images/Nuestro%20M%C3%A9todo/04-Seguimiento%20Continuo.jpg');                background-color: #0c0d0e; }
.method-img--05 { background-image: url('images/Nuestro%20M%C3%A9todo/05-Resultados%20Naturales.jpg');                background-color: #0e0c0d; }

/* ── TIMELINE CONNECTOR ── */
.method-step__connector {
  display: flex;
  align-items: center; justify-content: center;
  height: 52px;
  position: relative;
  flex-shrink: 0;
}

/* Horizontal line */
.method-step__connector::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(201,168,76,.3), rgba(201,168,76,.3));
  transform: translateY(-50%);
}
.method-step:first-child .method-step__connector::before { left: 50%; }
.method-step:last-child  .method-step__connector::before { right: 50%; }

/* Dot */
.method-step__dot {
  width: 13px; height: 13px;
  border: 1px solid rgba(201,168,76,.55);
  border-radius: 50%;
  background: var(--black);
  position: relative; z-index: 1;
  transition: background .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease-expo);
}
.method-step:hover .method-step__dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(201,168,76,.55), 0 0 40px rgba(201,168,76,.2);
  transform: scale(1.25);
}

/* ── STEP CONTENT ── */
.method-step__content {
  padding: 1.75rem 1.75rem 2.5rem;
  flex: 1;
  border-top: 1px solid var(--border);
  transition: background .4s;
}
.method-step:hover .method-step__content { background: rgba(201,168,76,.02); }

.method-step__num {
  display: block;
  font-family: var(--font-serif);
  font-size: .72rem; font-weight: 300;
  letter-spacing: .28em;
  color: rgba(201,168,76,.5);
  margin-bottom: .8rem;
  transition: color .35s;
}
.method-step:hover .method-step__num { color: var(--gold); }

.method-step__title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 400;
  color: var(--white); line-height: 1.3;
  margin-bottom: .6rem;
  transition: color .35s;
}
.method-step:hover .method-step__title { color: var(--gold-light); }

.method-step__text {
  font-size: .78rem; color: var(--white-dim); line-height: 1.75;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .method-steps { grid-template-columns: repeat(3, 1fr); }
  .method-step:nth-child(3) { border-right: none; }
  .method-step:nth-child(4) { border-top: 1px solid var(--border); }
  .method-step:nth-child(5) { border-top: 1px solid var(--border); }
  /* Reset connector for orphan steps */
  .method-step:nth-child(3) .method-step__connector::before { right: 50%; }
  .method-step:nth-child(4) .method-step__connector::before { left: 50%; }
}
@media (max-width: 700px) {
  .method-steps { grid-template-columns: 1fr; }
  .method-step { border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; }
  .method-step:last-child { border-bottom: none; }
  .method-step__img-wrap { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
  .method-step__connector {
    width: 52px; height: auto; min-height: 80px;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
  }
  .method-step__connector::before {
    top: 0; bottom: 0; left: 50%; right: auto;
    width: 1px; height: 100%;
    background: rgba(201,168,76,.3);
    transform: none;
  }
  .method-step:first-child .method-step__connector::before { top: 50%; bottom: 0; height: auto; }
  .method-step:last-child  .method-step__connector::before { top: 0; bottom: 50%; height: auto; }
  .method-step__content { flex: 1; border-top: none; padding: 1.5rem; }
}

/* ---- LUXURY TESTIMONIALS ---- */
.lux-test {
  padding: clamp(5rem, 10vw, 9rem) 0 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Background glows */
.lux-test__bg { position: absolute; inset: 0; pointer-events: none; }
.lux-test__bg-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
}
.lux-test__bg-glow--1 {
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,.055) 0%, transparent 70%);
  top: 15%; left: 50%; transform: translateX(-50%);
}
.lux-test__bg-glow--2 {
  width: 350px; height: 250px;
  background: radial-gradient(ellipse, rgba(201,168,76,.035) 0%, transparent 70%);
  bottom: 25%; right: 8%;
}

/* Stage */
.lux-test__stage {
  display: flex;
  align-items: center;
  margin-top: 4rem;
  position: relative;
}

/* Arrows */
.lux-test__arrow {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); cursor: pointer;
  background: transparent;
  transition: border-color .35s, background .35s;
  z-index: 2; margin: 0 1.5rem;
}
.lux-test__arrow:hover { border-color: var(--gold); background: rgba(201,168,76,.06); }

/* Overflow + track */
.lux-test__overflow {
  flex: 1; overflow: hidden;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}
.lux-test__track {
  display: flex; gap: 2rem;
  transition: transform .75s var(--ease-expo);
  will-change: transform;
}
.lux-test__slide { flex: 0 0 calc(78% - 1rem); min-width: 0; }

/* Slide inner — luxury card */
.lux-test__slide-inner {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--border);
  background: var(--black-card);
  overflow: hidden;
  min-height: 340px;
  display: flex; flex-direction: column; gap: 1.5rem;
  transition: border-color .55s;
}

/* Corner gold accent */
.lux-test__slide-inner::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  border-right: 1px solid rgba(201,168,76,.2);
  border-top: 1px solid rgba(201,168,76,.2);
  pointer-events: none;
}

/* Bottom line for active slide */
.lux-test__slide-inner::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(201,168,76,.3), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-expo);
}
.lux-test__slide.active .lux-test__slide-inner { border-color: rgba(201,168,76,.28); }
.lux-test__slide.active .lux-test__slide-inner::after { transform: scaleX(.7); }

/* Giant quotation mark */
.lux-test__quote-glyph {
  position: absolute;
  top: -1.5rem; left: 2.5rem;
  font-family: var(--font-serif);
  font-size: clamp(7rem, 13vw, 13rem);
  font-weight: 400; line-height: 1;
  color: rgba(201,168,76,.08);
  pointer-events: none; user-select: none; z-index: 0;
}

.lux-test__top { position: relative; z-index: 1; }

.lux-test__stars {
  color: var(--gold);
  font-size: 1rem; letter-spacing: .2em;
}

/* Quote text */
.lux-test__text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 300; font-style: italic;
  color: var(--white); line-height: 1.8;
  position: relative; z-index: 1;
  flex: 1;
}

/* Patient info */
.lux-test__patient {
  display: flex; align-items: center; gap: 1.25rem;
  position: relative; z-index: 1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Avatar */
.lux-test__avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.3);
  flex-shrink: 0; overflow: hidden; position: relative;
  transition: border-color .35s;
}
.lux-test__avatar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 35%, rgba(201,168,76,.22) 0%, transparent 65%);
}
.lux-avatar--1 { background-image: url('images/testimonials/Valentina%20M.jpg');  background-size: cover; background-position: center top; background-color: #1e1912; }
.lux-avatar--2 { background-image: url('images/testimonials/Alejandro%20R.jpg'); background-size: cover; background-position: center top; background-color: #14180e; }
.lux-avatar--3 { background-image: url('images/testimonials/Isabella%20C.jpg');  background-size: cover; background-position: center top; background-color: #1a1018; }
.lux-avatar--4 { background-image: url('images/testimonials/Sof%C3%ADa%20L.jpg'); background-size: cover; background-position: center top; background-color: #10151a; }

.lux-test__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 400; color: var(--white);
}
.lux-test__treatment {
  display: block;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-family: var(--font-sans);
  margin-top: .3rem;
}

/* Dots */
.lux-test__dots {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem; margin-top: 2.5rem; padding-bottom: .5rem;
}
.lux-test__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.4);
  background: transparent; cursor: pointer; padding: 0;
  transition: width .45s var(--ease-expo), border-radius .45s, background .4s, border-color .4s;
}
.lux-test__dot.active {
  width: 28px; border-radius: 4px;
  background: var(--gold); border-color: var(--gold);
}

/* Trust bar */
.lux-test__trust {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding: 2rem clamp(1.5rem, 5vw, 5rem);
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  position: relative;
}
.lux-test__trust::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,.45), transparent);
}
.lux-test__trust-item {
  display: flex; align-items: center; gap: 1.1rem;
  flex: 1; min-width: 180px;
  justify-content: center; padding: .75rem 1.5rem;
}
.lux-test__trust-stars { color: var(--gold); font-size: .85rem; letter-spacing: .15em; flex-shrink: 0; }
.lux-test__trust-vals { display: flex; flex-direction: column; gap: .2rem; }
.lux-test__trust-num {
  font-family: var(--font-serif);
  font-size: 1.65rem; font-weight: 300;
  color: var(--gold-light); line-height: 1;
}
.lux-test__trust-label {
  font-size: .59rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--white-dim); font-family: var(--font-sans);
}
.lux-test__trust-sep {
  width: 1px; height: 44px; background: var(--border); flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .lux-test__slide { flex: 0 0 calc(85% - 1rem); }
}
@media (max-width: 768px) {
  .lux-test__arrow { display: none; }
  .lux-test__overflow { padding: 0 .75rem; }
  .lux-test__slide { flex: 0 0 calc(90% - .5rem); }
  .lux-test__slide-inner { padding: 2rem 1.75rem; min-height: 280px; }
  .lux-test__quote-glyph { font-size: 6rem; left: 1.25rem; }
  .lux-test__text { font-size: clamp(1rem, 4.5vw, 1.2rem); }
  .lux-test__trust-sep { width: 40px; height: 1px; }
  .lux-test__trust-item { min-width: 140px; padding: .5rem 1rem; }
}
/* ---- ABOUT ---- */
.about { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--black); }
.about__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem); align-items: center; width: min(1280px, 100%); margin-inline: auto; padding-inline: clamp(1.5rem, 5vw, 5rem); }
@media (max-width: 900px) { .about__split { grid-template-columns: 1fr; } }
.about__visual { position: relative; height: 560px; }
@media (max-width: 900px) { .about__visual { height: 380px; } }
.about__img-main { position: absolute; top: 0; left: 0; width: 75%; height: 80%; background: radial-gradient(ellipse 60% 70% at 50% 35%, rgba(201,168,76,.18) 0%, transparent 60%), linear-gradient(160deg, #1a1510 0%, #0d0a05 50%, #181208 100%); border: 1px solid var(--border); overflow: hidden; }
.about__img-accent { position: absolute; bottom: 0; right: 0; width: 55%; height: 55%; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,168,76,.12) 0%, transparent 60%), linear-gradient(135deg, #0d0a05 0%, #1a1510 100%); border: 1px solid var(--border); overflow: hidden; }
.about__img-main img, .about__img-accent img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__badge { position: absolute; top: 50%; right: 0; transform: translateY(-50%); width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(135deg, var(--gold) 0%, #a87c2a 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; box-shadow: 0 0 40px rgba(201,168,76,.3); z-index: 2; }
.about__badge-num  { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 300; color: var(--black); line-height: 1; }
.about__badge-text { font-size: .55rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--black); line-height: 1.4; }
.about__text { font-size: .9rem; color: var(--white-dim); line-height: 1.85; margin-bottom: 1.25rem; }
.about__values { margin: 2rem 0; display: flex; flex-direction: column; gap: 1.25rem; }
.about__value { display: flex; gap: 1rem; align-items: flex-start; }
.about__value-icon { color: var(--gold); font-size: .6rem; margin-top: .35rem; flex-shrink: 0; }
.about__value strong { display: block; font-weight: 400; font-size: .85rem; letter-spacing: .05em; color: var(--white); margin-bottom: .2rem; }
.about__value p { font-size: .8rem; color: var(--white-dim); }

/* ---- CONTACT ---- */
.contact { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; background: var(--black-mid); }
.contact__bg { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(139,26,26,.08) 0%, transparent 60%); pointer-events: none; }
.contact__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) { .contact__layout { grid-template-columns: 1fr; gap: 3rem; } }
.contact__info-block { margin-bottom: 2.5rem; }
.contact__info-block h4 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; margin-bottom: 1.25rem; color: var(--white); }
.contact-social { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--border); background: var(--black-card); margin-bottom: .75rem; font-size: .78rem; letter-spacing: .08em; transition: border-color .3s, background .3s; min-height: 48px; }
.contact-social svg { width: 22px; height: 22px; flex-shrink: 0; }
.contact-social--wa { color: #25D366; }
.contact-social--wa:hover { border-color: #25D366; background: rgba(37,211,102,.05); }
.contact-social--ig { color: #E4405F; }
.contact-social--ig:hover { border-color: #E4405F; background: rgba(228,64,95,.05); }
.contact-social--fb { color: #1877F2; }
.contact-social--fb:hover { border-color: #1877F2; background: rgba(24,119,242,.05); }
.contact__hours { list-style: none; border: 1px solid var(--border); }
.contact__hours li { display: flex; justify-content: space-between; padding: .75rem 1rem; font-size: .8rem; border-bottom: 1px solid var(--border); }
.contact__hours li:last-child { border-bottom: none; }
.contact__hours li span:last-child { color: var(--gold); }

/* MAP */
.contact__map { margin-top: .5rem; }
.contact__map-iframe { width: 100%; height: 220px; border: 1px solid var(--border); filter: grayscale(100%) invert(90%) contrast(90%) brightness(.85); display: block; }
.contact__map-footer { display: flex; align-items: center; gap: .65rem; padding: .75rem 1rem; background: var(--black-card); border: 1px solid var(--border); border-top: none; font-size: .72rem; color: var(--white-dim); letter-spacing: .05em; }
.contact__map-footer svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* FORM */
.contact__form { background: var(--black-card); border: 1px solid var(--border); padding: 2.5rem; }
.contact__form-title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.form-group { position: relative; margin-bottom: 1.25rem; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--border); color: var(--white); padding: 1rem; font-family: var(--font-sans); font-size: .85rem; font-weight: 300; transition: border-color .3s; appearance: none; -webkit-appearance: none; outline: none; min-height: 48px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--black-card); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group label { position: absolute; top: -.5rem; left: .75rem; font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); background: var(--black-card); padding: 0 .35rem; display: none; }
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label { display: block; }
.form-note { text-align: center; font-size: .7rem; color: var(--white-dim); margin-top: 1rem; letter-spacing: .05em; }

/* ---- FOOTER ---- */
.footer { background: var(--black-soft); border-top: 1px solid var(--border); }
.footer__top { text-align: center; padding: 4rem 2rem 2rem; border-bottom: 1px solid var(--border); }
.footer__logo-wrap { display: flex; justify-content: center; margin-bottom: .75rem; }
.footer__logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
}
.footer__tagline { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: .25rem; }
.footer__mid { display: flex; justify-content: center; gap: 5rem; padding: 3rem clamp(1.5rem, 5vw, 5rem); flex-wrap: wrap; }
.footer__col h5 { font-family: var(--font-sans); font-size: .65rem; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: .6rem; }
.footer__col ul a { font-size: .8rem; color: var(--white-dim); transition: color .3s; letter-spacing: .03em; }
.footer__col ul a:hover { color: var(--white); }
.footer__bottom { text-align: center; padding: 1.5rem clamp(1.5rem, 5vw, 5rem); border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer__bottom p { font-size: .7rem; color: rgba(248,246,242,.35); letter-spacing: .05em; }

/* ---- FLOATING SOCIAL STACK ---- */
.float-stack {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  z-index: 900;
}
.float-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease-expo), box-shadow .3s;
}
.float-btn svg { width: 22px; height: 22px; }
.float-btn:hover { transform: scale(1.12) translateY(-3px); }
.float-btn--wa { background: #25D366; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,.4); }
.float-btn--wa:hover { box-shadow: 0 8px 30px rgba(37,211,102,.5); }
.float-btn--ig { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; box-shadow: 0 4px 20px rgba(228,64,95,.35); }
.float-btn--ig:hover { box-shadow: 0 8px 30px rgba(228,64,95,.45); }
.float-btn--fb { background: #1877F2; color: #fff; box-shadow: 0 4px 20px rgba(24,119,242,.35); }
.float-btn--fb:hover { box-shadow: 0 8px 30px rgba(24,119,242,.45); }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- SELECTION ---- */
::selection { background: var(--gold); color: var(--black); }

/* ---- RESPONSIVE — MOBILE FIRST ---- */
@media (max-width: 768px) {
  /* Hero */
  .hero__title { font-size: clamp(3.2rem, 13vw, 5rem); }
  .hero__trust-item { padding: 0 .75rem; }
  .hero__actions { flex-direction: column; gap: .75rem; }
  .hero__actions .btn { text-align: center; justify-content: center; width: 100%; }
  .hero__scroll { display: none; }

  /* Services */
  .services__grid,
  .services__grid--two { grid-template-columns: 1fr; }
  .service-card__img-wrap { height: 200px; }

  /* BA */
  .ba-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ba-slider { height: 360px; }

  /* Why */
  .why__grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact__form { padding: 1.5rem; }

  /* Stats */
  .stats-band__inner { flex-direction: column; gap: 0; }
  .stat-item { padding: 1rem 2rem; }

  /* Footer */
  .footer__mid { gap: 2.5rem; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }

  /* Float stack — smaller on mobile */
  .float-stack { bottom: 1.25rem; right: 1.25rem; gap: .5rem; }
  .float-btn { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  /* Tighter spacing */
  .service-card__body { padding: 1.25rem 1.25rem 1.5rem; }
  .why-card { padding: 2rem 1.5rem; }
  .testimonial-card { padding: 1.5rem; }
  .ba-slider { height: 240px; }
  .ba-handle__circle { width: 38px; height: 38px; }
  .section-header { margin-bottom: clamp(2rem, 5vw, 4rem); }

  /* Typography scaling */
  .section-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero__title { font-size: clamp(2.8rem, 12vw, 4.2rem); }
}
