/* Self-hosted critical fonts with swap */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/0QIvMX1D_JOuMwr7Iw.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDXbtM.woff2') format('woff2');
}
/* Peluquería Serrano · Diseño minimalista y clásico */

:root {
  --bg: #f7f4ec;
  --paper: #ffffff;
  --ink: #2a2a2a;
  --muted: #666666;
  --gold: #8b6914; /* Dorado más oscuro para mejor contraste */
  --gold-hover: #6d5010;
  --gold-light: #b8a082; /* Para elementos decorativos */
  --border: #e8e2d8;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --header-h: 80px;
}

/* Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Lora", Georgia, Cambria, "Times New Roman", Times, serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-h);
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand {
  text-decoration: none;
  color: inherit;
}

.brand-top {
  display: block;
  font-family: "Playfair Display", Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.4px;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: -2px;
  font-style: italic;
  letter-spacing: 0.8px;
  font-size: 13px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

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

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

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

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-title {
  font-family: "Playfair Display", Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 16px;
  line-height: 1.2;
}

.hero-sub {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 12px;
}

.hero-note {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--paper);
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 32px;
  text-align: center;
}

.muted {
  color: var(--muted);
  margin-bottom: 24px;
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Price groups */
.price-groups {
  display: grid;
  gap: 40px;
}

.price-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  margin: 0 0 16px;
  text-align: center;
  color: var(--ink);
}

.pill {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  color: white;
  background: var(--gold);
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

.pill.extra {
  background: #6b8e8e;
  color: white;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.price-list li {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  min-height: 56px;
}

.price-list strong {
  font-weight: 600;
  white-space: nowrap;
  color: var(--gold);
}

.price-list span {
  margin-right: 16px;
}

/* Extras section */
.extras-section {
  margin-top: 48px;
  padding: 32px;
  background: #f9f6f1;
  border: 2px dashed var(--border);
  border-radius: 16px;
  text-align: center;
}

.extras-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--ink);
}

.extras-note {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
  font-style: italic;
}

.extras-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.extra-item {
  background: var(--paper);
  border: 1px solid var(--gold-light);
  border-radius: 32px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  min-width: 160px;
  justify-content: space-between;
}

.extra-name {
  font-weight: 500;
  color: var(--ink);
}

.extra-price {
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* Contacto */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.contact-item {
  text-align: center;
}

.contact-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 600;
}

.contact-item a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

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

/* Horarios */
.hours-simple {
  max-width: 400px;
  margin: 0 auto 32px;
}

.hour-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.hour-line:last-child {
  border-bottom: none;
}

.hour-line span:first-child {
  font-weight: 500;
}

/* CTA Row */
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mapa */
.map-section {
  height: 400px;
  background: var(--border);
}

.map-container {
  height: 100%;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

.footer-inner {
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }
  
  .hero {
    padding: 60px 0 48px;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .cta-row {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    padding: 14px 28px;
  }
  
  .price-list {
    grid-template-columns: 1fr;
  }
  
  .map-section {
    height: 300px;
  }
}

/* Año dinámico */
#year {
  font-weight: 500;
}