/* Lya Hair Extensions — Borrador Web ($0) */
:root {
  --bg: #fff9fb;
  --surface: #ffffff;
  --surface-soft: #fdeef4;
  --surface-tint: #f9dce8;
  --primary: #d95b8a;
  --primary-dark: #b93d6c;
  --primary-light: #f3a6c3;
  --text: #2e1e26;
  --text-muted: #6e5561;
  --border: #f0d4e0;
  --success: #1f8a5b;
  --warning: #b9770e;
  --shadow: 0 12px 32px rgba(185, 61, 108, 0.1);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Draft Banner */
.draft-bar {
  background: var(--text);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.draft-bar .badge {
  background: var(--primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.draft-bar-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.draft-bar a.panel-link {
  background: rgba(255, 255, 255, 0.14);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s;
}

.draft-bar a.panel-link:hover {
  background: var(--primary);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 249, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.brand-text strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

nav.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}

nav.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 91, 138, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(217, 91, 138, 0.4);
}

.btn-outline {
  background: var(--surface);
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-light);
}

.btn-outline:hover {
  background: var(--surface-soft);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 56px 0 44px;
  background: radial-gradient(circle at top right, #fdeef4 0%, #fff9fb 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.hero-card .sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Cotizador */
.gram-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.gram-btn {
  padding: 10px 6px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}

.gram-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-soft);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.quote-box {
  background: var(--bg);
  border: 1px dashed var(--primary-light);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.quote-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
}

.quote-details {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Sections */
section {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 8px;
}

.section-head p {
  color: var(--text-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(46, 30, 38, 0.04);
}

.card-soft {
  background: var(--surface-soft);
  border-color: var(--surface-tint);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.price-tag {
  display: inline-block;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--surface-soft);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.list-clean {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.list-clean li::before {
  content: "✦ ";
  color: var(--primary);
  font-weight: 700;
}

/* Policies */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.policy-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.policy-item strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.policy-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  background: var(--text);
  color: #f7e9ef;
  padding: 40px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.social-links a:hover {
  background: var(--primary);
}

/* Floating Bot Widget */
.bot-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 12px 28px rgba(185, 61, 108, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bot-window {
  position: fixed;
  bottom: 84px;
  right: 22px;
  width: min(380px, calc(100vw - 32px));
  height: 520px;
  max-height: calc(100vh - 110px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(46, 30, 38, 0.22);
  z-index: 60;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.bot-window.open {
  display: flex;
}

.bot-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bot-header strong {
  display: block;
  font-size: 0.95rem;
}

.bot-header span {
  font-size: 0.75rem;
  opacity: 0.9;
}

.bot-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}

.bot-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fffafc;
}

.msg {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-line;
}

.msg.bot {
  align-self: flex-start;
  background: var(--surface-soft);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.msg.user {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-cta {
  display: inline-block;
  margin-top: 8px;
  background: #25d366;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
}

.bot-chips {
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.chip {
  flex: 0 0 auto;
  background: var(--surface-soft);
  color: var(--primary-dark);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.chip:hover {
  background: var(--surface-tint);
}

.bot-input-row {
  display: flex;
  padding: 10px;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.bot-input-row input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.88rem;
  outline: none;
}

.bot-input-row input:focus {
  border-color: var(--primary);
}

.bot-input-row button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .policy-grid {
    grid-template-columns: 1fr;
  }
  nav.nav-links {
    display: none;
  }
  .gram-options {
    grid-template-columns: repeat(3, 1fr);
  }
}
