/* Bahia Nails — shared stylesheet for /city pages
   Homepage uses its own inline CSS; this file is for the location landing pages only. */

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

:root {
  --cream:      #fdf8f4;
  --cream-dark: #f3ebe4;
  --deep:       #844850;
  --deep-dark:  #6a3840;
  --rose:       #b27370;
  --mauve:      #a07876;
  --mauve-light:#c9a8a6;
  --rule:       #d9c4c0;
  --text:       #2a1e1e;
  --text-soft:  #6b5050;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; line-height: 1.55; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: rgba(253,248,244,0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo { font-family: 'Italiana', serif; font-size: 1.6rem; color: var(--deep); text-decoration: none; letter-spacing: 0.03em; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--text-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--deep); }
.nav-cta { background: var(--deep); color: #fff !important; padding: 9px 20px; border-radius: 2px; font-weight: 500 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--deep-dark) !important; }
.nav-toggle-checkbox { display: none; }
.nav-toggle { display: none; cursor: pointer; width: 36px; height: 36px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--deep); transition: transform 0.3s, opacity 0.3s; }

/* ── A11Y FOCUS ── */
a:focus-visible, button:focus-visible, label:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── HERO (compact city version) ── */
.hero {
  height: 64vh; min-height: 440px;
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-image: url('/images/hero.jpg'); background-image: image-set(url('/images/hero.webp') type('image/webp'), url('/images/hero.jpg') type('image/jpeg')); background-size: cover; background-position: center 30%; filter: brightness(0.5) saturate(0.88); }
.hero-content { position: relative; z-index: 1; padding: 0 24px; max-width: 820px; }
.hero-eyebrow { font-size: 0.73rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mauve-light); margin-bottom: 14px; }
.hero-title { font-family: 'Italiana', serif; font-size: clamp(2.6rem, 6vw, 4.4rem); color: #fff; line-height: 1.05; margin-bottom: 18px; letter-spacing: 0.01em; }
.hero-rule { width: 50px; height: 1px; background: var(--mauve-light); margin: 0 auto 18px; }
.hero-tagline { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.88); margin-bottom: 28px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--deep); color: #fff; text-decoration: none; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.08em; padding: 15px 32px; border-radius: 2px; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--deep-dark); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,0.4); color: rgba(255,255,255,0.88); text-decoration: none; font-size: 0.86rem; letter-spacing: 0.08em; padding: 14px 32px; border-radius: 2px; margin-left: 12px; transition: border-color 0.2s, color 0.2s; }
.btn-secondary:hover { border-color: rgba(255,255,255,0.7); color: #fff; }

/* ── SHARED ── */
section { padding: 64px 48px; }
.container { max-width: 880px; margin: 0 auto; }
.section-eyebrow { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mauve); margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--deep); margin-bottom: 14px; line-height: 1.25; }
.section-rule { width: 44px; height: 2px; background: var(--rose); margin-bottom: 22px; }
p { line-height: 1.7; color: var(--text); margin-bottom: 16px; }
p.lead { font-size: 1.05rem; color: var(--text-soft); }

/* ── REASONS GRID ── */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.reason { background: var(--cream-dark); border-left: 3px solid var(--deep); padding: 22px 22px 24px; }
.reason h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--deep); margin-bottom: 8px; }
.reason p { font-size: 0.92rem; color: var(--text-soft); margin: 0; }

/* ── DRIVE PANEL ── */
#drive { background: var(--cream-dark); }
.drive-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; max-width: 1000px; margin: 0 auto; }
.drive-facts { list-style: none; }
.drive-facts li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; color: var(--text); display: flex; gap: 14px; align-items: baseline; }
.drive-facts li:last-child { border-bottom: 0; }
.drive-facts strong { color: var(--deep); font-family: 'Playfair Display', serif; min-width: 110px; flex-shrink: 0; font-weight: 500; }
.drive-cta { background: var(--cream); border: 1px solid var(--rule); padding: 24px; }
.drive-cta h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--deep); margin-bottom: 10px; }
.drive-cta a { display: inline-flex; align-items: center; gap: 8px; color: var(--deep); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 10px 0; }
.drive-cta a:hover { text-decoration: underline; }

/* ── PRICING ── */
.price-list { max-width: 720px; margin: 32px auto 0; }
.price-list h3 { text-align: center; font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--deep); margin-bottom: 22px; }
.price-list ul { list-style: none; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.98rem; }
.price-list li:last-child { border-bottom: 0; }
.price-list li span:last-child { color: var(--rose); font-family: 'Playfair Display', serif; font-weight: 500; }
.price-list-link { display: block; text-align: center; margin-top: 22px; font-size: 0.9rem; color: var(--mauve); text-decoration: none; letter-spacing: 0.04em; }
.price-list-link:hover { color: var(--deep); text-decoration: underline; }

/* ── BOOKING ── */
#booking { background: var(--deep); text-align: center; padding: 72px 48px; }
#booking .section-eyebrow { color: var(--mauve-light); }
#booking .section-title { color: #fff; margin: 0 auto 14px; }
#booking .section-rule { background: rgba(255,255,255,0.3); margin: 0 auto 20px; }
.booking-text { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.7; max-width: 560px; margin-left: auto; margin-right: auto; }
.booking-cta { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--deep); text-decoration: none; font-size: 1rem; font-weight: 500; padding: 16px 40px; border-radius: 2px; transition: background 0.2s, transform 0.15s; }
.booking-cta:hover { background: var(--cream); transform: translateY(-2px); }
.booking-note { margin-top: 18px; font-size: 0.78rem; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; }

/* ── FOOTER ── */
footer { background: #1a0e0e; color: rgba(255,255,255,0.4); text-align: center; padding: 36px 48px; font-size: 0.78rem; letter-spacing: 0.06em; line-height: 1.8; }
footer a { color: var(--mauve-light); text-decoration: none; }
footer a:hover { color: #fff; }
.footer-logo { font-family: 'Italiana', serif; font-size: 1.5rem; color: rgba(255,255,255,0.65); display: block; margin-bottom: 8px; }

/* ── WHATSAPP FLOAT ── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 200; width: 54px; height: 54px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(37,211,102,0.4); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(253,248,244,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-toggle-checkbox:checked ~ .nav-links { max-height: 360px; }
  .nav-links li { text-align: center; border-bottom: 1px solid var(--rule); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 18px 24px; font-size: 0.9rem; }
  .nav-cta { margin: 14px 24px; border-radius: 2px; }
  .nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  section { padding: 52px 24px; }
  .reasons { grid-template-columns: 1fr; gap: 16px; }
  .drive-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .btn-secondary { display: none; }
  .hero-title { font-size: 2.2rem; }
}
