/* =========================================================
   BEAUTY BOOSTERR — QUIET LUXURY
   Base: Warm Nude (Editorial)
   Accents: Soft Lavender (Emotional)
   ========================================================= */

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Base */
  --bg-main: #F7F2ED;
  --bg-section: #EFE6DE;

  /* Text */
  --text-main: #2A2624;
  --text-muted: #6E6460;

  /* Accents */
  --lavender-soft: #E6DDF2;
  --lavender-glow: rgba(201,184,232,0.35);
  --gold-soft: #BFA06A;

  /* Glass */
  --glass-bg: rgba(255,255,255,0.20);
  --glass-border: rgba(255,255,255,0.35);
  --glass-shadow: 0 20px 50px rgba(42,38,36,0.12);
  --blur: 18px;
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- BACKGROUND ATMOSPHERE ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 600px at 12% 15%, var(--lavender-glow), transparent 55%),
    radial-gradient(900px 600px at 85% 30%, rgba(191,160,106,0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-main) 0%, #FFFFFF 40%, var(--bg-main) 100%);
}

/* Subtle grain */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---------- GLASS UTILITY ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--glass-shadow);
}

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 18px;
  width: min(1120px, calc(100% - 48px));
  margin: 18px auto 0;
  padding: 14px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--gold-soft);
}

.nav a {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-main);
  margin-left: 20px;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

/* ---------- LAYOUT ---------- */
.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-left: 260px; /* espacio para el sidebar */
  padding: 70px 0 110px;
}

/* ---------- HERO ---------- */
.hero {
  min-height: calc(85vh - 80px);
  display: flex;
  align-items: center;
}

.heroCard {
  width: min(760px, 100%);
  border-radius: 28px;
  padding: 32px;
}

.heroTop {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pill {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.55);
}

.pill.soft {
  background: var(--lavender-soft);
  border-color: rgba(201,184,232,0.45);
}

/* ---------- TYPOGRAPHY ---------- */
h1 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 26px;
}

/* ---------- BUTTONS ---------- */
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--bg-section);
  color: var(--text-main);
  border-color: rgba(191,160,106,0.35);
}

.btn-primary:hover {
  background: var(--lavender-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(42,38,36,0.15);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.35);
}

/* ---------- TRUST ROW ---------- */
.trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(191,160,106,0.22);
}

.trustItem {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 4px rgba(191,160,106,0.18);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .header {
    top: 12px;
    margin-top: 12px;
  }

  .wrap {
    padding: 50px 0 90px;
  }

  h1 {
    font-size: 36px;
  }

  .heroCard {
    padding: 24px;
    border-radius: 24px;
  }

  .nav a {
    margin-left: 14px;
  }
}

/* =========================================================
   SIGNATURE SERVICES
   ========================================================= */

.services {
  padding: 120px 0;
}

.services-header {
  max-width: 520px;
  margin-bottom: 70px;
}

.services-header h2 {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.services-header p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* Cards */
.service-card {
  padding: 30px 26px;
  border-radius: 26px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      400px 200px at top left,
      var(--lavender-glow),
      transparent 60%
    );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* Typography inside cards */
.service-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* Small note */
.service-note {
  font-size: 12px;
  color: var(--gold-soft);
  letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services {
    padding: 90px 0;
  }

  .services-header {
    margin-bottom: 50px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(31,31,31,0.12);
}

/* =========================================================
   WHAT TO EXPECT
   ========================================================= */

.expect {
  padding: 120px 0;
}

.expect-header {
  max-width: 520px;
  margin-bottom: 70px;
}

.expect-header h2 {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.expect-header p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Steps */
.expect-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.expect-step {
  padding: 34px 28px;
  border-radius: 26px;
  transition: transform 0.35s ease;
}

.expect-step:hover {
  transform: translateY(-6px);
}

.step-number {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold-soft);
  margin-bottom: 14px;
}

.expect-step h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.expect-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .expect-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .expect {
    padding: 90px 0;
  }

  .expect-header {
    margin-bottom: 50px;
  }
}

.expect-step:nth-child(2) {
  transform: translateY(-10px);
}

@media (max-width: 900px) {
  .expect-step:nth-child(2) {
    transform: none;
  }
}

/* =========================================================
   ABOUT JUDY (MINI)
   ========================================================= */

.about {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
}

.about-lead {
  font-size: 16px;
  margin-bottom: 14px;
}

.about-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-note {
  font-size: 12px;
  color: var(--gold-soft);
  letter-spacing: 0.4px;
  margin-top: 10px;
}

/* Right card */
.about-card {
  border-radius: 28px;
  padding: 34px 30px;
}

.about-card ul {
  list-style: none;
}

.about-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(191,160,106,0.22);
}

.about-card li:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================
   STICKY CTA
   ========================================================= */

.sticky-cta {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.sticky-cta a {
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease;
}

.sticky-cta a:hover {
  transform: translateY(-2px);
}

/* Text */
.cta-text {
  background: rgba(255,255,255,0.85);
  color: var(--text-main);
  border: 1px solid rgba(191,160,106,0.35);
}

/* WhatsApp */
.cta-whatsapp {
  background: var(--lavender-soft);
  color: var(--text-main);
  border: 1px solid rgba(201,184,232,0.45);
}

/* Mobile */
@media (max-width: 600px) {
  .sticky-cta {
    bottom: 16px;
    right: 16px;
  }
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 240px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  z-index: 200;
}

.sidebar-logo {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.sidebar-logo span {
  color: var(--gold-soft);
}

.sidebar-nav a {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  text-decoration: none;
  padding: 10px 0;
  opacity: 0.85;
}

.sidebar-nav a:hover {
  opacity: 1;
}

.sidebar-nav .logout {
  margin-top: 30px;
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================================
   EDITORIAL DIVIDERS
   ========================================================= */

.divider-editorial {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(191,160,106,0.35),
    transparent
  );
  margin: 0px 0;
}

/* =========================================================
   EDITORIAL SHAPES
   ========================================================= */

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
}

.shape.lavender {
  background: rgba(201,184,232,0.6);
}

.shape.gold {
  background: rgba(191,160,106,0.35);
}

.shape.one {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -120px;
}

.shape.two {
  width: 360px;
  height: 360px;
  bottom: -140px;
  right: -120px;
}

/* =========================================================
   HERO FOCUS GRAPHIC
   ========================================================= */

.hero-focus {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.focus-line {
  width: 48px;
  height: 1px;
  background: rgba(191,160,106,0.6);
}

.focus-text {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ===============================
   SECTION RHYTHM TUNING
   =============================== */

.services,
.expect,
.about {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero {
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(191,160,106,0.25),
    transparent
  );
}

/* =========================================================
   MICRO ANIMATIONS (FADE / RISE)
   ========================================================= */

.fade-rise {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-rise.show {
  opacity: 1;
  transform: translateY(0);
}

/* Slight variation for subtle stagger */
.fade-rise.delay-1 {
  transition-delay: 0.15s;
}

.fade-rise.delay-2 {
  transition-delay: 0.3s;
}

.fade-rise.delay-3 {
  transition-delay: 0.45s;
}

/* =========================================================
   MOBILE TUNING
   ========================================================= */

@media (max-width: 768px) {

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .heroCard {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  .hero .sub {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .actions {
    gap: 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-focus {
    flex-direction: column;
    gap: 8px;
  }

  .focus-line {
    width: 32px;
  }
}

/* =========================================================
   FOOTER — EMOTIONAL & TRUST
   ========================================================= */

.footer {
  padding: 90px 0 60px;
}

.footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 40px;
  border-radius: 30px;
}

.footer-brand {
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.footer-logo span {
  color: var(--gold-soft);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 38ch;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-col p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-main);
  text-decoration: none;
  margin-bottom: 6px;
  opacity: 0.85;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-login {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid rgba(191,160,106,0.25);
  padding-top: 18px;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {

  .footer {
    padding: 70px 0 50px;
  }

  .footer-inner {
    padding: 34px 26px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================================================
   CENTERED LANDING ALIGNMENT
   ========================================================= */

/* HERO */
.heroCard {
  text-align: center;
  margin: 0 auto;
}

.heroTop {
  justify-content: center;
}

.hero .sub {
  margin-left: auto;
  margin-right: auto;
}

.hero-focus {
  justify-content: center;
}

/* SERVICES */
.services-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.services-header p {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  justify-content: center;
}

/* WHAT TO EXPECT */
.expect-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.expect-header p {
  margin-left: auto;
  margin-right: auto;
}

/* ABOUT */
.about-text {
  text-align: center;
}

.about-text p,
.about-lead {
  margin-left: auto;
  margin-right: auto;
}

.about-note {
  justify-content: center;
}

/* =========================================================
   SOCIAL PROOF (EDITORIAL)
   ========================================================= */

.social-proof {
  padding: 60px 0 40px;
  text-align: center;
}

.social-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.4px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.social-links a {
  font-size: 14px;
  color: var(--text-main);
  text-decoration: none;
  position: relative;
  opacity: 0.8;
}

.social-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: rgba(191,160,106,0.4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.social-links a:hover {
  opacity: 1;
}

.social-links a:hover::after {
  transform: scaleX(1);
}

/* Mobile */
@media (max-width: 768px) {
  .social-links {
    gap: 20px;
  }

  .social-links a {
    font-size: 13px;
  }
}

/* =========================================================
   VISUAL SERVICES (WAXING & SKINCARE)
   ========================================================= */

.visual-services {
  padding: 60px 0 40px;
  text-align: center;
}

.visual-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.visual-item img {
  width: 160px;
  opacity: 0.9;
}

.visual-item p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}

/* Mobile */
@media (max-width: 768px) {
  .visual-grid {
    flex-direction: column;
    gap: 40px;
  }

  .visual-item img {
    width: 130px;
  }
}

/* =========================================================
   CLIENT DASHBOARD
   ========================================================= */

.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.dashboard-sidebar {
  width: 260px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
}

.sidebar-logo {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 36px;
}

.sidebar-logo span {
  color: var(--gold);
}

.sidebar-nav a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  opacity: 0.8;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  opacity: 1;
}

.sidebar-nav .logout {
  margin-top: auto;
  font-size: 13px;
  opacity: 0.6;
}

/* Main */
.dashboard-main {
  flex: 1;
  padding: 48px 56px;
}

.dashboard-header h1 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 6px;
}

.dashboard-header p {
  color: var(--muted);
  margin-bottom: 36px;
}

/* Cards */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dashboard-card {
  padding: 24px;
  border-radius: 20px;
}

.dashboard-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.dashboard-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.dashboard-card .link {
  font-size: 13px;
  text-decoration: none;
  color: var(--gold);
}

/* Mobile */
@media (max-width: 900px) {
  .dashboard-layout {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
  }

  .sidebar-nav {
    display: flex;
    gap: 18px;
  }

  .dashboard-main {
    padding: 32px 24px;
  }

  .dashboard-cards {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   AUTH (LOGIN)
   ========================================================= */

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 36px 32px;
  border-radius: 26px;
  text-align: center;
}

.auth-card h2 {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 8px;
}

.auth-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-card input {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: inherit;
  font-size: 14px;
}

.auth-card input:focus {
  outline: none;
  border-color: var(--gold);
}

.auth-card button {
  margin-top: 8px;
}

.auth-divider {
  margin: 22px 0;
  position: relative;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

.auth-foot {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.auth-foot a {
  color: var(--gold);
  text-decoration: none;
}

 /* =========================================================
   SERVICE HISTORY
   ========================================================= */

.history-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.history-item {
  padding: 20px;
  border-radius: 20px;
}

.history-item h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.history-item p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.history-item span {
  font-size: 12px;
  color: var(--text);
}

.aftercare {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.35);
}

.aftercare-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.aftercare ul {
  padding-left: 16px;
}

.aftercare li {
  font-size: 12px;
  margin-bottom: 4px;
}

/* ===============================
   PROFILE FORM – CLEAN & SPACED
   =============================== */

.profile-form {
  max-width: 820px;
  margin-top: 24px;
  padding: 32px;
  border-radius: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  opacity: 0.8;
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 14px;
  font-family: inherit;
  background: rgba(255,255,255,0.85);
}

.form-group textarea {
  min-height: 90px;
  resize: vertical;
}

.form-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

/* Mobile */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .form-actions {
    justify-content: center;
  }
}

.aftercare-section {
  margin-top: 40px;
  padding: 26px;
  border-radius: 20px;
}

.aftercare-section h2 {
  font-weight: 500;
  margin-bottom: 6px;
}

.aftercare-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.aftercare-card {
  margin-top: 14px;
}

.aftercare-card h3 {
  font-weight: 500;
  margin-bottom: 10px;
}

.aftercare-steps {
  padding-left: 18px;
}

.aftercare-steps li {
  margin-bottom: 8px;
}

.aftercare-product {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gold);
}

.store-section {
  margin-top: 2.5rem;
}

.product-card {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  margin-top: 1.5rem;
  align-items: center;
}

.product-image {
  width: 160px;
  border-radius: 12px;
}

.product-info h3 {
  margin-bottom: 0.5rem;
}

.product-desc {
  margin-bottom: 1rem;
  color: #555;
}

.product-tag {
  display: inline-block;
  font-size: 0.85rem;
  color: #a38b6d;
  margin-bottom: 1rem;
}

.btn-primary {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: #e6d8c8;
  border: none;
  cursor: pointer;
}

/* AFTERCARE VISUAL */

.aftercare-section {
  margin-top: 3rem;
}

.aftercare-card {
  padding: 2rem;
  border-radius: 18px;
  margin-top: 1.5rem;
  animation: fadeUp 0.6s ease forwards;
}

.aftercare-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.aftercare-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.aftercare-steps li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.aftercare-steps li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #9c8c7a; /* suave, elegante */
  font-size: 0.9rem;
}

.aftercare-product {
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.95rem;
  color: #444;
}

/* Soft entrance */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SIGNATURE SERVICES – INLINE ACCORDION (FIXED) ===== */

.service-accordion {
  cursor: default;
}

/* Ocultar detalles por defecto */
.service-details {
  display: none;
  margin-top: 18px;
}

/* Mostrar solo cuando está activo */
.service-accordion.active .service-details {
  display: block;
}

/* Resaltar card activa */
.service-accordion.active {
  transform: scale(1.015);
  box-shadow: 0 30px 80px rgba(31,31,31,.18);
}

/* Summary sí es clickeable */
.service-summary {
  cursor: pointer;
}

/* Atenuar cards no activas */
.services-grid.has-active .service-accordion {
  opacity: .55;
}

.services-grid.has-active .service-accordion.active {
  opacity: 1;
}

/* Precio */
.detail-price {
  font-size: 18px;
  font-weight: 500;
}

/* CTA spacing */
.detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== DETAILS / SUMMARY ACCORDION ===== */

details.service-card {
  transition: box-shadow .25s ease, transform .25s ease;
}

details.service-card[open] {
  transform: scale(1.015);
  box-shadow: 0 30px 80px rgba(31,31,31,.18);
}

summary.service-summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.service-details {
  margin-top: 18px;
}

.detail-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.detail-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.detail-price {
  font-size: 18px;
  font-weight: 500;
}

.bg {
  pointer-events: none;
}

/* === SERVICE ACCORDION === */

.service-accordion {
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-details {
  display: none;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.3s ease;
}

.service-accordion.active .service-details {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.service-accordion.active {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* =========================
   SERVICE ACCORDION
========================= */

.service-accordion {
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-details {
  display: none;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.3s ease;
}

.service-accordion.active {
  transform: scale(1.04);
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
  z-index: 3;
}

.service-accordion.active .service-details {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.service-summary {
  pointer-events: auto;
}

.service-book-btn {
  margin-top: 14px;
  pointer-events: auto;
}

/* =========================
   SERVICE ACCORDION (REAL)
========================= */

.service-summary {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.accordion-icon {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.service-details {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.35s ease;
  margin-top: 0;
}

.service-accordion.active .service-details {
  max-height: 500px; /* suficiente para contenido */
  opacity: 1;
  margin-top: 16px;
}

.service-accordion.active .accordion-icon {
  transform: rotate(45deg);
}

.service-accordion.active {
  transform: scale(1.04);
  z-index: 5;
}

.service-card {
  cursor: pointer;
  transition: all .25s ease;
}

.service-card.active {
  border: 1px solid rgba(255,255,255,.6);
  transform: scale(1.03);
}

.service-detail {
  margin-top: 40px;
  padding: 32px;
  max-width: 760px;
}

.detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.detail-price {
  font-size: 22px;
  font-weight: 500;
}
