/* ═══════════════════════════════════════════════════════
   TEMPLATE G — BEAUTY / NAIL SALON
   Elegant, feminine aesthetic with Playfair Display headings.
   ═══════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --primary: #3d2b3d;
  --primary-dark: #2a1d2a;
  --accent: #c9a96e;
  --accent-dark: #b8924f;
  --light: #faf8f5;
  --dark: #2d2d2d;
  --text: #3d3d3d;
  --text-light: #7a7a7a;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1160px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-eyebrow--light {
  color: rgba(201, 169, 110, 0.9);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 12px;
  text-align: center;
}

.section-title--left { text-align: left; }

.section-title--light {
  color: #fff;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 48px;
}

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover { background: var(--primary-dark); }

.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: var(--accent-dark); }

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ─── HEADER ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61,43,61,0.08);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(61,43,61,0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header__nav {
  display: none;
  gap: 28px;
  margin-left: auto;
}

.header__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.header__link:hover { color: var(--primary); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
}
.header__phone:hover { color: var(--primary); }

.header__cta {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.header__hamburger span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.header__nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 24px;
  border-bottom: 1px solid rgba(61,43,61,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  gap: 20px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #5c3d5c 40%, #8b5c7e 100%);
  background-size: cover;
  background-position: center;
  padding: 100px 0 60px;
  text-align: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(45,20,45,0.6) 0%, rgba(45,20,45,0.4) 60%, rgba(45,20,45,0.7) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid rgba(61,43,61,0.08);
  padding: 32px 0;
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.trust-badge__icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 4px;
}

.trust-badge__value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.trust-badge__label {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

/* ─── GALLERY ─── */
.gallery {
  padding: 88px 0;
  background: var(--light);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.gallery__item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: #e8e0ea;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover img { transform: scale(1.04); }

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,43,61,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px 16px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover .gallery__overlay { opacity: 1; }

.gallery__caption {
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
}

.gallery__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.8);
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(61,43,61,0.35);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 16px;
}

.gallery__cta { text-align: center; }

/* ─── SERVICES ─── */
.services {
  padding: 88px 0;
  background: #fff;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--light);
  border: 1px solid rgba(61,43,61,0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card__body { flex: 1; }

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.service-card__price {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  border-top: 1px solid rgba(201,169,110,0.25);
  padding-top: 12px;
  width: 100%;
}

.services__cta { text-align: center; }

/* ─── ABOUT ─── */
.about {
  padding: 88px 0;
  background: var(--light);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}

.about__image {
  text-align: center;
}

.about__photo {
  width: 220px;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto 16px;
  background: #e8e0ea;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(61,43,61,0.3);
}

.about__owner-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.about__owner-title {
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about__text {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.about__highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.about__highlights li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── BOOKING — Instagram CTA variant ─── */
.booking {
  padding: 88px 0;
  background: var(--primary);
  text-align: center;
}

.booking__ig-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.booking__ig-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 300;
}

.booking__ig-btn {
  font-size: 1rem;
  padding: 16px 40px;
  gap: 10px;
}

.booking__ig-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

.booking__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.booking__info .section-title {
  color: #fff;
  margin-bottom: 16px;
}

.booking__sub {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
}

.booking__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.booking__detail svg { color: var(--accent); flex-shrink: 0; }
.booking__detail a { color: rgba(255,255,255,0.85); }
.booking__detail a:hover { color: var(--accent); }

.booking__form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.booking__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(61,43,61,0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

.form-group textarea { resize: vertical; }

.booking__success {
  text-align: center;
  padding: 48px 24px;
  color: var(--primary);
}

.booking__success svg {
  margin: 0 auto 20px;
  color: var(--accent);
}

.booking__success h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.booking__success p {
  color: var(--text-light);
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 88px 0;
  background: #fff;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--light);
  border: 1px solid rgba(61,43,61,0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.testimonial-card__stars {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-card__author {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.testimonial-card__location {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

/* ─── CONTACT BAR ─── */
.contact {
  background: var(--light);
  border-top: 1px solid rgba(61,43,61,0.08);
  border-bottom: 1px solid rgba(61,43,61,0.08);
  padding: 48px 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.contact__block h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact__block a,
.contact__block p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.contact__block a:hover { color: var(--primary); }

/* ─── FOOTER ─── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
}

.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 14px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--accent);
  color: #fff;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  transition: color var(--transition);
  line-height: 1.5;
}

.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ─── MOBILE CALL BAR ─── */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid rgba(61,43,61,0.1);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

.mobile-call-bar .btn {
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  padding: 14px;
}

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20,10,20,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__inner img {
  max-height: 80vh;
  max-width: 85vw;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__caption {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close {
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.25);
}

/* ─── SCROLL ANIMATIONS ─── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (min-width: 768px) {
  .header__nav { display: flex; }
  .header__phone { display: flex; }
  .header__hamburger { display: none; }
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    grid-template-columns: 1fr;
  }
  .about__image { display: none; }

  .booking__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .services__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .booking__form-wrap {
    padding: 24px 20px;
  }

  .mobile-call-bar { display: block; }
  body { padding-bottom: 72px; }
}
