/* ========================================
   SANFIEL BEAUTY STUDIO — STYLE
   Minimalista · Claro · Crema
   ======================================== */

:root {
  --cream: #faf7f2;          /* fondo principal */
  --cream-light: #fffdf9;    /* tarjetas */
  --sand: #efe7d8;           /* acentos suaves */
  --taupe: #c9b18c;          /* acento dorado/taupe */
  --taupe-dark: #a9895f;
  --ink: #4a4138;            /* texto principal */
  --muted: #8d8377;          /* texto secundario */
  --line: #e7dcc9;           /* bordes */

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(169, 137, 102, 0.12);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--cream-light);
  border: 1px solid var(--line);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  white-space: nowrap;
}

.logo-text span {
  color: var(--taupe-dark);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--taupe-dark);
}

.nav-instagram {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--taupe);
  border-radius: 50px;
  transition: all 0.3s;
}

.nav-instagram:hover {
  background: var(--taupe);
  color: var(--cream-light);
}

.close-menu {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  background: var(--sand);
  border: 1px solid var(--taupe);
  color: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-toggle:hover {
  background: var(--taupe);
  color: var(--cream-light);
}

.header-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--cream-light);
  padding: 0.65rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  transition: all 0.3s;
}

.header-book-btn:hover {
  background: var(--taupe-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(169, 137, 102, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Suave capa para conservar la estética clara/crema y la legibilidad */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 247, 240, 0.72) 0%,
    rgba(250, 247, 240, 0.55) 45%,
    rgba(250, 247, 240, 0.88) 100%
  );
  z-index: 1;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--taupe-dark);
}

.eyebrow-line {
  width: 70px;
  height: 1px;
  background: var(--taupe);
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 4.2rem;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.hero-word {
  display: block;
}

.hero-word.accent {
  color: var(--taupe-dark);
  font-style: italic;
  font-size: 4.8rem;
}

.hero p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--cream-light);
  padding: 1rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  transition: all 0.3s;
}

.primary-btn:hover {
  background: var(--taupe-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(169, 137, 102, 0.3);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--ink);
  padding: 1rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--taupe);
  border-radius: 50px;
  transition: all 0.3s;
}

.ghost-btn:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--taupe-dark);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--taupe);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--taupe);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.4; transform: translateX(-50%) translateY(6px); }
}

/* ========================================
   DIVIDER
   ======================================== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--taupe) 50%, transparent);
  opacity: 0.5;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
}

.title-underline {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--taupe), transparent);
  margin: 1.5rem auto;
}

.section-sub {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #7b7265;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ========================================
   ABOUT
   ======================================== */
.about-quote {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
  font-style: italic;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat {
  flex: 1;
  min-width: 200px;
  padding: 2rem 1rem;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--taupe-dark);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ========================================
   SERVICES
   ======================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(169, 137, 102, 0.15);
  border-color: var(--taupe);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--sand);
  border: 1px solid var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  color: var(--taupe-dark);
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.92rem;
  color: #7b7265;
}

.deposit-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding: 0.8rem 1.4rem;
  background: var(--sand);
  border: 1px solid var(--taupe);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--ink);
}

.deposit-note i {
  color: var(--taupe-dark);
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.3rem;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  transition: all 0.3s;
}

.info-card:hover {
  border-color: var(--taupe);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(169, 137, 102, 0.12);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sand);
  border: 1px solid var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  color: var(--taupe-dark);
  font-size: 1.1rem;
}

.info-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.info-card span {
  color: #7b7265;
  font-size: 0.95rem;
}

.map {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.9);
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--sand);
  border-top: 1px solid var(--line);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--cream-light);
  border: 1px solid var(--line);
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 1.5px;
}

.footer-loc {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--taupe-dark);
  font-size: 1.3rem;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .header {
    padding: 0.75rem 1.25rem;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .logo-img {
    height: 40px;
    width: 40px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--cream-light);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid var(--line);
    gap: 0;
    box-shadow: -8px 0 30px rgba(0,0,0,0.05);
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-instagram {
    margin-top: 1.5rem;
    justify-content: center;
    align-self: center;
  }

  .close-menu {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sand);
    border: 1px solid var(--line);
  }

  .menu-toggle {
    display: flex;
  }

  .header-book-btn {
    display: none;
  }

  .hero {
    padding: 6rem 1.25rem 4rem;
    min-height: 92vh;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-word.accent {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .primary-btn, .ghost-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.78rem;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 3px;
  }

  .about-quote {
    font-size: 1.25rem;
  }

  .stats-row {
    gap: 1rem;
  }

  .stat {
    min-width: 130px;
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .service-grid {
    gap: 1rem;
  }

  .service-card {
    padding: 2rem 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .map {
    height: 240px;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-word.accent {
    font-size: 2.6rem;
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 2px;
  }

  .eyebrow-line {
    width: 40px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .footer-links {
    gap: 1.25rem;
  }
}