/* ════════════════════════════════════════════════════════════
   MISUÑAS — Landing (Soft Pink · Nail Studio)
═══════════════════════════════════════════════════════════════ */

:root {
  --pink:        #E8AAB9;
  --pink-bright: #F2BFCD;
  --pink-dark:   #C97E92;
  --rose:        #FBE6EC;
  --cream:       #FFF8F5;
  --plum:        #5A2A3C;
  --text:        #2C2C2C;
  --muted:       #888;
  --border:      rgba(201,126,146,.15);
  --green:       #6DDC30;
  --red:         #E74C3C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100dvh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ════════ NAV ════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,248,245,.92); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 14px 26px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: 24px; font-weight: 700; color: #fff;
}
.nav-name {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: 18px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--plum);
}
.nav-sub { font-size: 10px; color: var(--pink-dark); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-link {
  background: transparent; border: 1px solid var(--border);
  color: var(--plum); font-size: 12px; font-weight: 700;
  padding: 10px 16px; border-radius: 30px;
  transition: all .2s;
}
.nav-link:hover { background: var(--rose); border-color: var(--pink); }
.nav-cta {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff; font-size: 12px; font-weight: 800;
  padding: 10px 18px; border-radius: 30px;
  box-shadow: 0 4px 14px rgba(201,126,146,.35);
  transition: transform .15s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,126,146,.45); }

/* ════════ HERO ════════ */
.hero {
  min-height: 100dvh; padding: 120px 26px 60px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(232,170,185,.22), transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(232,170,185,.18), transparent 60%);
}
.hero-grid {
  max-width: 1200px; width: 100%;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
@media(max-width:900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-eyebrow {
  display: inline-block; padding: 6px 14px;
  background: var(--rose); border: 1px solid var(--border);
  color: var(--pink-dark); font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; border-radius: 99px; margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: clamp(38px, 6vw, 60px); font-weight: 700; line-height: 1.05;
  margin-bottom: 22px; letter-spacing: -1px; color: var(--plum);
}
.hero h1 .accent { color: var(--pink-dark); font-style: italic; }
.hero-sub {
  font-size: 16px; color: #555; line-height: 1.7; margin-bottom: 28px; max-width: 520px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  font-size: 14px; font-weight: 800; letter-spacing: .5px;
  padding: 14px 26px; border-radius: 30px;
  box-shadow: 0 6px 22px rgba(201,126,146,.35);
  transition: transform .15s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,126,146,.5); }
.btn-ghost {
  background: transparent; border: 1px solid var(--border);
  color: var(--plum); font-size: 14px; font-weight: 700;
  padding: 14px 24px; border-radius: 30px;
  transition: all .2s;
}
.btn-ghost:hover { background: var(--rose); border-color: var(--pink); }

/* Hero visual: 3 cards */
/* Hero cards — grid limpio, sin solapamientos */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hcard {
  width: 100%; aspect-ratio: 3/4;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 20px 50px rgba(201,126,146,.15);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .3s, box-shadow .3s;
  padding: 16px 10px;
}
.hcard:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(201,126,146,.25); }
.hcard-emo { font-size: 56px; margin-bottom: 12px; }
.hcard-title {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: 18px; font-weight: 700; color: var(--plum);
  text-align: center;
}
.hcard-sub { font-size: 10px; color: var(--pink-dark); margin-top: 4px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; text-align: center; }

@media(max-width:520px){
  .hcard-emo { font-size: 42px; }
  .hcard-title { font-size: 14px; }
  .hcard-sub { font-size: 9px; }
  .hcard { padding: 12px 6px; }
}

/* ════════ SERVICES ════════ */
.section {
  padding: 80px 26px;
  max-width: 1200px; margin: 0 auto;
}
.sec-eyebrow {
  display: block; text-align: center;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--pink-dark); margin-bottom: 10px;
}
.sec-title {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: clamp(30px,4vw,46px); font-weight: 700; text-align: center;
  margin-bottom: 14px; letter-spacing: -.5px; color: var(--plum);
}
.sec-sub { text-align: center; color: #777; max-width: 560px; margin: 0 auto 50px; font-size: 15px; line-height: 1.7; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: 18px;
}
.service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 24px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px); border-color: var(--pink);
  box-shadow: 0 20px 40px rgba(201,126,146,.15);
}
.svc-emoji { font-size: 36px; margin-bottom: 14px; }
.svc-name {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: 18px; font-weight: 700; color: var(--plum); margin-bottom: 6px;
}
.svc-desc { font-size: 12px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.svc-price {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: 24px; font-weight: 700; color: var(--pink-dark);
}
.svc-time { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ════════ COMO FUNCIONA ════════ */
.how-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--rose) 100%);
  padding: 80px 26px;
}
.how-grid {
  max-width: 1100px; margin: 50px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 24px;
}
.how-card { text-align: center; padding: 24px; }
.how-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff; font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.how-title {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: 18px; font-weight: 700; color: var(--plum); margin-bottom: 8px;
}
.how-desc { font-size: 13px; color: #555; line-height: 1.6; }

/* ════════ ÚNETE AL EQUIPO ════════ */
.team-section {
  padding: 80px 26px;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(232,170,185,.15), transparent 60%);
}
.team-grid {
  max-width: 1100px; margin: 40px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
}
.team-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 22px; text-align: center;
  transition: transform .2s, border-color .2s;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--pink); }
.team-img {
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--rose), #fff);
  border: 2px solid var(--border);
  font-size: 44px;
}
.team-title {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: 18px; font-weight: 700; color: var(--plum); margin-bottom: 6px;
}
.team-desc { font-size: 12px; color: #666; line-height: 1.55; }
.team-cta {
  display: block; max-width: 280px; margin: 40px auto 0; text-align: center;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  font-size: 14px; font-weight: 800; letter-spacing: .5px;
  padding: 14px 26px; border-radius: 30px;
  box-shadow: 0 6px 22px rgba(201,126,146,.35);
  transition: transform .15s;
}
.team-cta:hover { transform: translateY(-2px); }

/* ════════ CTA FINAL ════════ */
.cta-final {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  margin: 0 26px 60px;
  border-radius: 28px;
  padding: 60px 30px;
  text-align: center; color: #fff;
  max-width: 1100px; margin-left: auto; margin-right: auto;
}
.cta-final h2 {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: clamp(28px,4vw,42px); font-weight: 700; margin-bottom: 14px;
}
.cta-final p { font-size: 15px; opacity: .92; margin-bottom: 22px; }
.cta-final .btn-primary {
  background: #fff; color: var(--pink-dark);
}
.cta-final .btn-primary:hover { background: var(--cream); }

/* ════════ FOOTER ════════ */
.footer {
  background: var(--rose); border-top: 1px solid var(--border);
  padding: 30px 26px; text-align: center;
  color: #777; font-size: 12px;
}
.footer-brand {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  color: var(--pink-dark); font-size: 18px; font-weight: 700; letter-spacing: 1.5px;
  margin-bottom: 8px;
}

/* ════════ CHAT MODAL (Únete) ════════ */
.chat-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(90,42,60,.55); backdrop-filter: blur(14px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
@media (min-width:600px) { .chat-overlay { align-items: center; padding: 20px; } }
.chat-overlay.open { opacity: 1; pointer-events: all; }
.chat-panel {
  background: #fff;
  border-radius: 18px 18px 0 0;
  width: 100%; max-width: 480px;
  height: 80dvh; max-height: 640px;
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border);
  transform: translateY(40px);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
@media (min-width:600px) { .chat-panel { border-radius: 18px; transform: scale(.94); } }
.chat-overlay.open .chat-panel { transform: none; }
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
}
.chat-brand { display: flex; align-items: center; gap: 12px; }
.chat-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff; font-weight: 900; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.chat-title {
  font-family: 'Playfair Display','Cormorant Garamond',serif;
  font-size: 16px; font-weight: 700; color: var(--plum);
}
.chat-sub { font-size: 10px; color: var(--pink-dark); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }
.chat-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--rose); color: var(--pink-dark); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.chat-close:hover { background: rgba(201,126,146,.18); }
.chat-body {
  flex: 1; overflow-y: auto;
  padding: 22px 18px; display: flex; flex-direction: column; gap: 10px;
}
.msg {
  max-width: 84%; padding: 13px 17px;
  border-radius: 14px; font-size: 14px; line-height: 1.55;
  animation: msgIn .3s both;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg-bot { align-self: flex-start; background: var(--rose); color: var(--plum); border-radius: 4px 14px 14px 14px; }
.msg-user { align-self: flex-end; background: var(--pink-dark); color: #fff; border-radius: 14px 4px 14px 14px; font-weight: 600; }
.chat-actions {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border);
}
.chat-input-row { display: flex; gap: 8px; }
.chat-input {
  flex: 1; background: var(--cream); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; padding: 12px 16px;
  border-radius: 10px; outline: none;
}
.chat-input:focus { border-color: var(--pink); }
.chat-send {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff; font-weight: 800; font-size: 13px;
  padding: 12px 18px; border-radius: 10px;
}
.chat-send:hover { opacity: .9; }
