/* =========================================================
   LORENA ESCALANTE HAIR EXPERT — Ciudad del Este, Paraguay
   Tokens (replicando la identidad real: negro + dorado + crema)
   ========================================================= */

:root {
  --cream: #F7F2E7;
  --paper: #FDFBF6;
  --black: #14120F;
  --black-soft: #211D18;
  --gold: #C9A227;
  --gold-deep: #A9841E;
  --text-dark: #1A1A1A;
  --text-body: #4A4640;
  --line: rgba(20, 18, 15, 0.12);
  --line-on-dark: rgba(247, 242, 231, 0.16);
  --whatsapp: #2FA84F;
  --whatsapp-dark: #24893f;

  --font-head: "Poppins", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;

  --wrap: 1180px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 12px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 5.5vw, 38px);
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--text-dark);
}
.section-title--light { color: var(--cream); }

.section-lead {
  font-size: 15px;
  color: var(--text-body);
  max-width: 56ch;
  margin: 0 0 28px;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, opacity .18s ease;
  min-height: 48px;
  width: 100%;
}
@media (min-width: 560px) { .btn { width: auto; } }
.btn:hover { transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-deep); }

.btn-outline { background: transparent; color: var(--cream); border-color: rgba(247,242,231,0.6); }
.btn-outline:hover { border-color: var(--cream); }

.btn-small { padding: 10px 18px; font-size: 13px; min-height: 40px; }
.btn-block { width: 100%; margin-top: 22px; }
.btn-center { display: flex; margin: 40px auto 0; }

/* ================= HEADER ================= */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-color: rgba(247,242,231,0.1); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.brand-text {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--cream); display: flex; flex-direction: column; line-height: 1.2;
}
.brand-text em {
  font-style: normal; font-weight: 500; font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.brand-text--dark { color: var(--text-dark); }
.brand-text--dark em { color: var(--gold-deep); }

.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--cream); }
.main-nav a:hover { color: var(--gold); }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; flex: none;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--cream); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ================= HERO ================= */

.hero { background: var(--cream); }

.hero-inner { display: flex; flex-direction: column; gap: 0; padding: 0; }
@media (min-width: 860px) {
  .hero-inner { flex-direction: row; align-items: stretch; }
}

.hero-content {
  padding: 44px 20px 36px;
  display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 860px) {
  .hero-content { flex: 1; padding: 72px 40px 72px 0; }
  .wrap.hero-inner { padding: 0 20px; }
}

.hero-eyebrow {
  font-family: var(--font-head); font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 20px;
}

.hero-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  color: var(--text-dark);
  font-size: clamp(38px, 9vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.hero-lead { font-size: 16px; color: var(--text-body); max-width: 46ch; margin: 0 0 30px; }

.hero-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .hero-actions { flex-direction: row; } }

.hero-photo { position: relative; min-height: 320px; }
@media (min-width: 860px) { .hero-photo { flex: 0 0 44%; min-height: 620px; } }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.hero-badges { border-top: 1px solid var(--line); background: var(--cream); }
.hero-badges-inner {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  padding: 20px 20px;
  font-family: var(--font-head); font-size: 12px; font-weight: 500;
  color: var(--text-body);
}
.hero-badges-inner span { position: relative; }
.hero-badges-inner span::before { content: "✓ "; color: var(--gold-deep); font-weight: 700; }

.btn-dark { background: var(--black); color: var(--cream); }
.btn-dark:hover { background: var(--black-soft); }
.btn-outline-dark { background: transparent; color: var(--text-dark); border-color: var(--line); }
.btn-outline-dark:hover { border-color: var(--text-dark); }
.icon-wa { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ================= SERVICES (dark) ================= */

.services { background: var(--black); color: var(--cream); padding: 60px 0; }
.services .eyebrow { color: var(--gold); }
.services .section-title { color: var(--cream); }

.service-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 560px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-col h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 18px;
  color: var(--gold); margin: 0 0 14px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(247,242,231,0.2);
}

.service-menu { display: flex; flex-direction: column; }
.service-menu li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 9px 0; font-size: 13.5px; color: rgba(247,242,231,0.9);
  border-bottom: 1px solid rgba(247,242,231,0.08);
}
.service-menu li:last-child { border-bottom: none; }
.consult { font-size: 11px; font-weight: 600; color: rgba(247,242,231,0.5); white-space: nowrap; }

/* ================= GALLERY ================= */

.gallery { padding: 60px 0; background: var(--cream); }

.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(5, 1fr); } }

.gallery-item { position: relative; margin: 0; border-radius: 8px; overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 13px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(to top, rgba(20,18,15,0.85) 0%, rgba(20,18,15,0.4) 55%, rgba(20,18,15,0) 100%);
}

/* ================= ABOUT ================= */

.about { padding: 60px 0; background: var(--paper); }
.about-inner { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 860px) {
  .about-inner { flex-direction: row; align-items: center; gap: 60px; }
  .about-media { flex: 0 0 42%; align-self: stretch; }
  .about-content { flex: 1; }
}
.about-media img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.about-text { font-size: 15.5px; color: var(--text-body); margin: 0 0 16px; }

/* ================= TESTIMONIALS ================= */

.testimonials { padding: 72px 0; background: var(--cream); }
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 8px; }
@media (min-width: 640px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  position: relative;
  margin: 0;
  padding: 30px 26px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px -32px rgba(20,18,15,0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px; right: 20px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 84px; line-height: 1;
  color: var(--gold); opacity: 0.16;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -30px rgba(20,18,15,0.55); }
.stars { display: block; color: var(--gold); font-size: 14px; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial p {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 500; line-height: 1.6;
  color: var(--text-dark); margin: 0 0 16px;
  position: relative; z-index: 1;
}
.testimonial cite {
  font-family: var(--font-head); font-style: normal;
  font-size: 13px; font-weight: 600; color: var(--gold-deep); letter-spacing: 0.02em;
}

.reviews-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  margin: 4px 0 30px;
  font-family: var(--font-head);
}
.reviews-summary .rating-num { font-size: 34px; font-weight: 700; color: var(--text-dark); line-height: 1; }
.reviews-summary .rating-stars { color: var(--gold); font-size: 18px; letter-spacing: 3px; }
.reviews-summary .rating-text { font-size: 13.5px; color: var(--text-body); font-weight: 500; }

/* ================= CTA BAND ================= */

.cta-band { background: var(--black); padding: 56px 0; text-align: center; }
.cta-band-inner { display: flex; flex-direction: column; align-items: center; }
.cta-band-inner p { color: rgba(247,242,231,0.8); font-size: 15.5px; margin: 0 0 26px; max-width: 46ch; }

/* ================= LOCATION ================= */

.location { padding: 60px 0; background: var(--paper); }

.location-inner { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 860px) {
  .location-inner { flex-direction: row; align-items: stretch; gap: 48px; }
  .location-map { flex: 1.1; }
  .location-info { flex: 0 0 38%; }
}

.location-map { min-height: 300px; position: relative; border-radius: 6px; overflow: hidden; }
.location-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.location-info { display: flex; flex-direction: column; }
.location-info .brand-text { margin-bottom: 6px; }
.location-address {
  font-family: var(--font-body); font-size: 14px; color: var(--text-body);
  margin: 0 0 20px;
}

.hours-block { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.hours-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-body); padding: 4px 0; }

.map-link { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--gold-deep); margin-bottom: 22px; display: inline-block; }
.map-link:hover { color: var(--gold); }

.social-block { margin-bottom: 22px; }
.social-label {
  display: block; font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-body); margin-bottom: 10px;
}
.social-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.social-pills a {
  font-family: var(--font-head); font-size: 12.5px; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  color: var(--text-dark);
}
.social-pills a:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ================= FOOTER ================= */

.site-footer { background: var(--black); color: rgba(247,242,231,0.65); padding: 48px 0 0; }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.footer-brand .brand-text { margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; margin: 0; max-width: 34ch; color: rgba(247,242,231,0.55); }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-heading {
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,242,231,0.4); margin-bottom: 4px;
}
.footer-col a, .footer-col span { font-size: 13.5px; color: rgba(247,242,231,0.7); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(247,242,231,0.12);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: rgba(247,242,231,0.45);
}
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.55);
  z-index: 90; transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); background: var(--whatsapp-dark); }
.whatsapp-float svg { width: 26px; height: 26px; fill: #fff; }

/* ================= MOBILE NAV OVERLAY ================= */

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--black);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 28px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; }
  .main-nav a { padding: 16px 20px; border-bottom: 1px solid rgba(247,242,231,0.1); font-size: 16px; }
  .nav-cta-mobile { display: flex; margin: 20px 20px 0; width: auto; }
  .nav-cta-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* ================= SMALL-SCREEN REFINEMENTS ================= */

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero-inner { min-height: 600px; padding: 40px 16px 36px; }
  .services, .gallery, .about, .testimonials, .cta-band, .location { padding: 48px 0; }
}
