/* =========================================================
   Shay Beauty Clinic — capa de diseño de marca
   Diseño web: LumeDigital
   ========================================================= */
:root {
  --ivory: #FAF6F0;
  --cream: #F4EDE3;
  --sand: #EADFD1;
  --beige: #D9C7AD;
  --champagne: #D4BC93;
  --gold: #B89150;
  --gold-deep: #8C6A33;
  --ink: #2B2621;
  --ink-soft: #6F665C;
  --muted: #9C9186;
  --line: rgba(43, 38, 33, .11);
  --line-strong: rgba(43, 38, 33, .2);
  --serif: 'Marcellus', 'Didot', 'Times New Roman', serif;
  --italic: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --radius: 999px;
  --round: 22px;
  --gold-grad: linear-gradient(120deg, #9C7638 0%, #C9A462 45%, #E3CA97 55%, #B08A4A 100%);
}
body { font-size: 16.5px; }
.display, .page-title, .t-hero__title, .hero__title, .bstep__title, .modal__title, .form-title, .aside-card__title { font-weight: 400; letter-spacing: .005em; }
.display em, .page-title em, .manifesto__text em, .t-hero__title em {
  font-family: var(--italic); font-style: italic; font-weight: 400; font-size: 1.08em; color: var(--gold-deep);
}
.display--light em { color: var(--champagne); }
.eyebrow { font-family: var(--sans); font-weight: 600; letter-spacing: .3em; font-size: 11px; color: var(--gold-deep); }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--champagne); }
.eyebrow--light::before { background: var(--champagne); }
.section-head--center .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold); }

/* Botones redondeados */
.btn { border-radius: var(--radius); letter-spacing: .14em; font-family: var(--sans); font-weight: 600; font-size: 11.5px; padding: 17px 30px; }
.btn--gold { background: var(--ink); color: var(--ivory); }
.btn--gold::before { background: var(--gold-grad); }
.btn--gold:hover { color: var(--ink); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light::before { background: var(--gold-grad); }
.btn--glass { color: var(--ivory); border-color: rgba(250,246,240,.45); background: rgba(250,246,240,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass::before { background: rgba(250,246,240,.18); }
.btn--ghost { color: var(--ink-soft); border-color: transparent; background: transparent; text-transform: none; letter-spacing: .02em; font-size: 14px; font-weight: 500; }
.btn--ghost::before { background: var(--cream); }
.ico { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.link-line { font-family: var(--sans); font-weight: 600; letter-spacing: .16em; font-size: 11.5px; }
.link-line--light { color: var(--ivory); background-image: linear-gradient(var(--champagne), var(--champagne)); }
.img-tag { border-radius: 99px; }

/* Logotipo tipográfico */
.logo { flex-direction: column; align-items: center; gap: 0; line-height: 1; }
.logo__name { font-family: var(--serif); font-size: 27px; letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__tag { font-family: var(--sans); font-size: 8.5px; font-weight: 600; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; color: var(--ink-soft); margin-top: 5px; }
.nav__list a { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .04em; }
.nav__list a::after { background: var(--gold-grad); }
.page-home .header:not(.is-scrolled) { color: var(--ivory); }
.page-home .header:not(.is-scrolled) .logo__tag, .page-home .header:not(.is-scrolled) .lang { color: rgba(250,246,240,.8); }
.page-home .header:not(.is-scrolled) .lang__opt.is-active { color: var(--ivory); }
.page-home .header:not(.is-scrolled) .header__cta { background: var(--ivory); color: var(--ink); }
.header.is-scrolled { background: rgba(250,246,240,.94); }

/* ---------- Portada a pantalla completa ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; grid-template-columns: 1fr;
  padding: calc(var(--header-h) + 30px) var(--gutter) 120px; background: var(--ink); overflow: hidden; text-align: center; color: var(--ivory);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: heroZoom 2.6s var(--ease-out) both; }
.hero__veil { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 50% 55%, rgba(43,38,33,.25), rgba(43,38,33,.62) 75%),
  linear-gradient(180deg, rgba(43,38,33,.45), rgba(43,38,33,.05) 35%, rgba(43,38,33,.55)); }
.hero__content { position: relative; max-width: 880px; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow { animation: rise 1s .2s var(--ease-out) both; }
.hero__brand { margin: 0 0 .25em; display: flex; flex-direction: column; align-items: center; line-height: 1; animation: rise 1.2s .35s var(--ease-out) both; }
.hero__name { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 13vw, 170px); letter-spacing: .32em; padding-left: .32em; background: linear-gradient(120deg, #E8D3A6, #FFF6E2 45%, #D7B677 70%, #F3E2BD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-family: var(--sans); font-weight: 500; font-size: clamp(11px, 1.3vw, 14px); letter-spacing: .7em; padding-left: .7em; text-transform: uppercase; margin-top: 14px; color: rgba(250,246,240,.85); }
.hero__slogan { font-family: var(--italic); font-style: italic; font-size: clamp(24px, 3vw, 38px); line-height: 1.3; margin: .9em 0 1.5em; animation: rise 1.2s .55s var(--ease-out) both; }
.hero__slogan em { color: var(--champagne); }
.hero__actions { justify-content: center; animation: rise 1.2s .7s var(--ease-out) both; }
.hero .btn--gold, .cta-band .btn--light { background: var(--gold-grad); color: var(--ink); }
.hero .btn--gold::before, .cta-band .btn--light::before { background: var(--ivory); }
.hero__ratings { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 0 16px; }
.hero__ratings a { font-size: 13px; color: var(--ivory); padding: 8px 16px; border: 1px solid rgba(250,246,240,.3); border-radius: 99px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(43,38,33,.2); transition: background .3s; }
.hero__ratings a:hover { background: rgba(250,246,240,.15); }
.hero__ratings strong { font-weight: 600; }
.hero__ratings span { opacity: .75; }
.hero__tag { left: auto; right: 16px; bottom: 16px; }

/* ---------- Bienvenida ---------- */
.welcome__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.arch { position: relative; aspect-ratio: 4/5; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(250,246,240,.55); border-radius: inherit; pointer-events: none; }
.reveal--img.arch { clip-path: inset(10% 0 0 0 round 999px 999px 18px 18px); }
.reveal--img.arch.is-visible { clip-path: inset(0 round 999px 999px 18px 18px); }
.pillars { margin: 2em 0 2.2em; border-top: 1px solid var(--line); }
.pillars li { display: flex; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pillars span { font-family: var(--italic); font-style: italic; font-size: 20px; color: var(--gold); }

/* ---------- Especialidad (oscuro) ---------- */
.signature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ink); color: rgba(250,246,240,.85); }
.signature__media { position: relative; min-height: 560px; overflow: hidden; }
.signature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.signature__text { padding: clamp(60px, 9vw, 130px) clamp(28px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.signature__text p:not(.eyebrow) { max-width: 480px; font-size: 17px; }
.signature__actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 1.4em; }

/* ---------- Categorías ---------- */
.services-home { background: var(--ivory); }
.cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 50px; }
.cat-card { background: transparent; box-shadow: none !important; }
.cat-card:nth-child(even) { margin-top: 0; }
.cat-card:nth-child(2), .cat-card:nth-child(4) { margin-top: 48px; }
.cat-card__media { border-radius: 999px 999px var(--round) var(--round); aspect-ratio: 3/4.2; }
.cat-card__body { padding: 22px 6px 10px; text-align: center; align-items: center; }
.cat-card__n { display: none; }
.cat-card h3 { font-size: 22px; }
.cat-card p { font-size: 14.5px; }
.center { text-align: center; }

/* ---------- Experiencia ---------- */
.journey { background: var(--cream); }
.step__n { font-family: var(--italic); font-style: italic; font-size: 24px; color: var(--gold-deep); background: var(--cream); }
.step:hover .step__n { background: var(--ink); color: var(--champagne); }
.steps::before { background: var(--beige); }

/* ---------- Instalaciones (inicio) ---------- */
.space-home__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.amenities { margin: 1.4em 0 .8em; display: grid; gap: 10px; }
.amenities li { position: relative; padding-left: 26px; }
.amenities li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 12px; top: 3px; }
.space-home .btn { margin-top: 1.2em; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--round); background: var(--sand); }
.mosaic figure:nth-child(1) { aspect-ratio: 4/5; border-radius: 999px 999px var(--round) var(--round); }
.mosaic figure:nth-child(2) { aspect-ratio: 4/5; margin-top: 60px; }
.mosaic figure:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16/8; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.mosaic figure:hover img { transform: scale(1.04); }

/* ---------- Testimonios ---------- */
.testimonials { background: var(--ivory); }
.tcard { border-radius: var(--round); border-color: var(--line); }
.tcard blockquote { font-family: var(--italic); font-style: italic; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; }
.tcard__badge { border-color: var(--champagne); }
.ratings-note { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 34px; }
.ratings-note a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.rating-cards { display: flex; flex-wrap: wrap; gap: 16px; margin: 1.4em 0 .8em; }
.rating-card { display: grid; gap: 2px; padding: 20px 28px; border: 1px solid var(--line); border-radius: var(--round); background: var(--white); min-width: 200px; transition: border-color .3s, transform .4s var(--ease-out); }
.rating-card:hover { border-color: var(--champagne); transform: translateY(-3px); }
.rating-card strong { font-family: var(--serif); font-size: 44px; font-weight: 400; line-height: 1; }
.rating-card small { color: var(--ink-soft); font-size: 13px; }

/* ---------- Equipo (inicio) ---------- */
.team-home { background: var(--sand); }
.team-home__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.faces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.faces li { display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--serif); font-size: 20px; }
.faces span { width: min(150px, 100%); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: var(--italic); font-style: italic; font-size: 56px; color: var(--gold-deep);
  background: radial-gradient(circle at 30% 25%, #fff, transparent 60%), linear-gradient(150deg, var(--cream), var(--beige)); box-shadow: inset 0 0 0 1px rgba(184,145,80,.35), 0 20px 40px -26px rgba(43,38,33,.4); }

/* ---------- Varios ---------- */
.faq-section { background: var(--cream); }
.acc summary { font-family: var(--serif); }
.post-card figure { border-radius: var(--round); }
.post-card h3 { font-family: var(--serif); }
.cta-band__veil { background: linear-gradient(90deg, rgba(43,38,33,.85), rgba(43,38,33,.45)); }
.cta-band__info { margin-top: 2em; color: rgba(250,246,240,.7); font-size: 14px; letter-spacing: .04em; }
.page-hero { background: radial-gradient(ellipse at 85% 0%, var(--sand), transparent 55%), var(--ivory); }
.page-title { font-size: clamp(40px, 6vw, 84px); }
.notice { border-radius: 0 var(--round) var(--round) 0; border-left-color: var(--gold); }
.tab { border-radius: 99px; font-family: var(--sans); }
.t-card { border-radius: var(--round); overflow: hidden; }
.t-card h3 { font-family: var(--serif); }
.cat-block__n { font-family: var(--italic); font-style: italic; color: var(--champagne); }
.cat-block__head h2 { font-family: var(--serif); }
.split-cta--sand { background: var(--sand); }
.portrait-ph { border-radius: 999px 999px var(--round) var(--round); }
.portrait-ph::before { border-radius: inherit; }
.portrait-ph__mono { font-family: var(--italic); }
.member__name { font-family: var(--serif); }
.member .link-line { margin-top: 10px; }
.masonry__item { border-radius: var(--round); }
.form-title, .bstep__title, .modal__title, .aside-card__title, .slots__title, .calendar__month, .summary dd, .mini-summary dd, .opt-item__name, .pro__name { font-family: var(--serif); }
.booking__form, .contact-form, .aside-card, .modal__panel, .search__panel, .cookie-banner { border-radius: var(--round); }
.opt-item, .pro, .slot { border-radius: 14px; }
.chat { border-radius: var(--round); overflow: hidden; }
.chat-fab__mono { font-family: var(--italic); font-size: 20px; }
.muted-serif { color: var(--muted) !important; font-style: italic; }
.social-links { display: flex; flex-direction: column; gap: 4px; }
.social-links a { font-size: 18px !important; }
.map iframe { border-radius: var(--round); }

/* ---------- Ficha de servicio: imagen panorámica + tarjeta ---------- */
.t-hero { display: block; min-height: 0; background: var(--ivory); position: relative; padding-top: var(--header-h); }
.t-hero__media { position: relative; height: min(68svh, 640px); margin: 0 var(--gutter); border-radius: var(--round); overflow: hidden; }
.t-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-hero__card { position: relative; max-width: 760px; margin: -140px auto 0; background: var(--ivory); padding: clamp(28px, 4vw, 52px) clamp(24px, 4.5vw, 60px) 10px; border-radius: var(--round) var(--round) 0 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.t-hero__card .crumbs { justify-content: center; margin-bottom: 1.6em; }
.t-hero__title { font-family: var(--serif); font-size: clamp(38px, 5vw, 68px); }
.t-hero__lead { font-family: var(--italic); font-size: clamp(20px, 2vw, 26px); color: var(--gold-deep); margin-left: auto; margin-right: auto; }
.t-hero__card .hero__actions { justify-content: center; }
.page-treatment .header:not(.is-scrolled) { background: rgba(250,246,240,.94); }
.t-body { padding-top: clamp(50px, 6vw, 80px); }
.goals li { border-radius: var(--round); }

/* ---------- WhatsApp flotante y aviso ---------- */
.wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 85; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ivory); color: #1F7A52; border: 1px solid var(--champagne);
  box-shadow: 0 18px 40px -16px rgba(43,38,33,.45); transition: transform .4s var(--ease-out), background .3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: #fff; }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.wa-float::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--champagne); animation: waPulse 2.8s var(--ease) infinite; }
@keyframes waPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
.wa-preview { margin: 18px 0 0; padding: 16px 18px; border-radius: 16px 16px 16px 4px; background: #E9F5EC; color: #1F3B2C; font-size: 15px; text-align: left; }
#wa-modal .modal__panel { max-width: 480px; }
.chat-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Pie ---------- */
.footer { background: #231F1B; }
.footer__logo { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 1em; line-height: 1; }
.footer__logo span { font-family: var(--serif); font-size: 42px; letter-spacing: .4em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__logo small { font-size: 9.5px; letter-spacing: .5em; text-transform: uppercase; color: rgba(250,246,240,.6); }
.footer__claim { font-family: var(--italic); font-size: 21px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(250,246,240,.2); display: grid; place-items: center; transition: all .3s; margin: 0; }
.socials a:hover { border-color: var(--champagne); color: var(--champagne); }
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* ---------- Elementos conectados a la base de datos ---------- */
.t-card__meta { font-size: 13px; color: var(--gold-deep); letter-spacing: .04em; margin: -4px 0 12px; }
.t-hero__meta { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: -1em 0 1.8em; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 4px; padding: 6px 14px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: #F5EBD9; color: var(--gold-deep); }
.status-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-chip.is-confirmed { background: #E7F0E5; color: #4F7A55; }
.status-chip:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.js-turnstile:empty { display: none; }
.js-turnstile { margin: 0; } /* invisible: no añade espacio al diseño */
.booking__alert { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: #F6E4E1; }
.booking-offline { text-align: center; padding: 20px 0; }
.booking-offline .split-cta__actions { justify-content: center; margin-top: 1.4em; }
.slots__none { grid-column: 1 / -1; padding: 8px 0; }
.logo__img { max-height: 46px; width: auto; }
.portrait-ph__img, .faces span img, .pro__mono img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.portrait-ph__img { position: absolute; inset: 0; }
.faces span { overflow: hidden; }
.pro__mono { overflow: hidden; }
.no-chatbot .chat-fab, .no-chatbot .chat { display: none !important; }
.promos { background: var(--cream); }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.promo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--round); overflow: hidden; }
.promo img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.promo__body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.promo__body h3 { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.promo__body p { margin: 0; color: var(--ink-soft); }
.promo:not(:has(img)) { grid-template-columns: 1fr; }

.carousel__controls[hidden] { display: none !important; }
.btn[hidden] { display: none !important; } /* los botones ocultos (Atrás / Enviar en reservas) no deben verse */

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-card:nth-child(2), .cat-card:nth-child(4) { margin-top: 0; }
  .page-home.menu-open .header { color: var(--ink); }
  .page-home.menu-open .logo__tag { color: var(--ink-soft); }
  .nav__mobile-foot .btn { margin-top: 14px; align-self: flex-start; }
}
@media (max-width: 900px) {
  .welcome__grid, .space-home__grid, .team-home__inner, .signature { grid-template-columns: minmax(0, 1fr); }
  .arch { max-width: 420px; }
  .signature__media { min-height: 420px; }
  .hero { padding-bottom: 130px; }
  .hero__ratings { bottom: 24px; }
  .t-hero__media { height: 48svh; margin: 0 12px; }
  .t-hero__card { margin-top: -70px; }
  .wa-float { display: none; } /* en móvil WhatsApp está en la barra inferior */
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cat-card__media { aspect-ratio: 3/4; }
  .cat-card h3 { font-size: 18px; }
  .cat-card p { display: none; }
  .logo__name { font-size: 22px; }
  .logo__tag { font-size: 7.5px; }
  .hero__actions .btn { width: 100%; }
  .hero__name { font-size: clamp(56px, 19vw, 90px); }
  .hero__sub { letter-spacing: .5em; }
  .faces span { font-size: 42px; }
  .mosaic figure:nth-child(2) { margin-top: 30px; }
  .rating-card { min-width: 0; flex: 1; padding: 16px 18px; }
  .signature__actions .btn { width: 100%; }
}
