/* BarberCitas — sitio legal y marketing */
:root {
  --gold: #ffd700;
  --gold-dim: #c9ae00;
  --black: #000000;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #333333;
  --text: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --success: #4caf50;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --max: 960px;
  --legal-max: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--black);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--black);
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(255, 215, 0, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 60%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 80%, rgba(255, 215, 0, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.25);
}

.brand-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
  text-decoration: none;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 20px 64px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 215, 0, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero-logo {
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.3));
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(255, 215, 0, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* —— Sections —— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 10px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

/* —— Feature grid —— */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* —— Pricing —— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #1a1500 0%, var(--surface) 100%);
  box-shadow: var(--shadow);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card h3 {
  margin: 8px 0 4px;
  font-size: 1.1rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin: 8px 0;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.price-trial {
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 10px;
}

/* —— Contact cards —— */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 48px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card h3 {
  margin: 0 0 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.contact-card .value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  word-break: break-all;
}

.contact-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* —— Info boxes —— */
/* —— Page hero (inner pages) —— */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 20px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.08) 0%, transparent 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 50% -10%, rgba(255, 215, 0, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.page-hero p {
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.55;
}

.page-hero-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 16px rgba(255, 215, 0, 0.25));
  display: block;
}

.page-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 16px;
}

.page-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
}

.page-panel-inner {
  padding: 8px 8px 16px;
}

.legal-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px 32px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.support-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  max-width: var(--max);
  margin: -20px auto 32px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.support-highlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
}

.support-highlight span {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.support-highlight strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: 2px;
}

.support-highlight small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.info-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 24px auto;
  max-width: var(--max);
}

.contact-grid {
  padding-bottom: 24px;
}

.info-box h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--gold);
}

.info-box ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.info-box li {
  margin-bottom: 6px;
}

/* —— FAQ —— */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 12px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* —— Legal content —— */
.legal-wrap {
  max-width: var(--legal-max);
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.legal-wrap .legal-panel {
  margin-top: 0;
}

.legal-meta {
  background: var(--surface-2);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-highlight {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.legal-content code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--gold);
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.legal-content a {
  color: var(--gold);
}

/* —— Privacy summary (App Store alignment) —— */
.privacy-summary {
  margin: 28px 0 32px;
}

.privacy-summary h2 {
  margin-top: 0 !important;
  font-size: 1.05rem;
}

.privacy-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 520px;
}

.privacy-table th,
.privacy-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.privacy-table th {
  background: var(--surface-2);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.privacy-table tr:last-child td {
  border-bottom: none;
}

.privacy-table td {
  color: var(--text-secondary);
}

.privacy-table .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  margin: 2px 4px 2px 0;
  white-space: nowrap;
}

.privacy-table .tag-yes {
  background: rgba(76, 175, 80, 0.15);
  color: var(--success);
  border: 1px solid rgba(76, 175, 80, 0.35);
}

.privacy-table .tag-no {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.privacy-table .tag-local {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.privacy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 20px 0 8px;
}

.privacy-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.privacy-card strong {
  display: block;
  color: var(--text);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.privacy-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.legal-toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.legal-toc h2 {
  margin: 0 0 12px !important;
  padding-top: 0 !important;
  font-size: 0.95rem !important;
  color: var(--text) !important;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 24px;
}

.legal-toc li {
  font-size: 0.85rem;
  margin-bottom: 6px;
  break-inside: avoid;
}

.legal-toc a {
  color: var(--text-secondary);
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.legal-callout {
  background: var(--surface-2);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.legal-callout strong {
  color: var(--gold);
}

/* —— CTA band —— */
.cta-band {
  background: linear-gradient(135deg, #1a1500 0%, var(--surface) 50%, #0a0a0a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 20px;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.cta-band p {
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.app-store-badge strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 20px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 40px 16px 48px;
  }

  .hero-logo {
    font-size: 3.5rem;
  }

  .support-highlights {
    margin-top: 0;
  }

  .legal-toc ol {
    columns: 1;
  }
}
