/*
Theme Name: NelNelSA
Theme URI: https://nelnelsa.co.za
Author: NelNelSA
Author URI: https://nelnelsa.co.za
Description: Premium, modern, elegant and fully responsive WordPress theme for NelNelSA – a South African female beauty and bespoke clothing brand. Luxury beauty studio + boutique fashion house aesthetic with black, white and gold palette. Designed as the front-end foundation for a separate booking plugin.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nelnelsa
Tags: beauty, fashion, boutique, luxury, custom, responsive, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   CSS Variables – Colour System
   ========================================================================== */
:root {
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gold: #C9A227;
  --color-dark-gold: #A88312;
  --color-soft-gold: #E5D28A;
  --color-light-grey: #F7F7F7;
  --color-medium-grey: #777777;
  --color-text: #000000;
  --color-text-muted: #777777;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-height: 80px;
  --header-height-scrolled: 70px;
  --transition: 0.3s ease;
  --border-gold: 1px solid var(--color-gold);
  --max-width: 1400px;
  --section-padding: 100px 0;
  --container-padding: 0 24px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

ul, ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 0.02em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.25em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.text-muted {
  color: var(--color-medium-grey);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section--light {
  background-color: var(--color-light-grey);
}

.section--dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

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

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

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

.btn--outline:hover,
.btn--outline:focus {
  background-color: var(--color-black);
  color: var(--color-white);
}

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

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

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

.btn--outline-gold:hover,
.btn--outline-gold:focus {
  background-color: var(--color-gold);
  color: var(--color-black);
}

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

.btn--white:hover,
.btn--white:focus {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.75rem;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background-color var(--transition), height var(--transition), box-shadow var(--transition);
}

.site-header--transparent {
  background-color: transparent;
}

.site-header--transparent .site-logo,
.site-header--transparent .main-nav a,
.site-header--transparent .menu-toggle {
  color: var(--color-white);
}

.site-header--scrolled,
.site-header--solid {
  background-color: var(--color-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  height: var(--header-height-scrolled);
}

.site-header--scrolled .site-logo,
.site-header--scrolled .main-nav a,
.site-header--scrolled .menu-toggle,
.site-header--solid .site-logo,
.site-header--solid .main-nav a,
.site-header--solid .menu-toggle {
  color: var(--color-black);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
  z-index: 1001;
}

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

.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }
}

.main-nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav .current-menu-item a::after {
  width: 100%;
}

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

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--color-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
}

.mobile-menu .btn {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-black);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 900px;
  padding: 0 24px;
}

.hero__content h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.hero__content p {
  font-size: 1.125rem;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Decorative gold line */
.gold-line {
  width: 60px;
  height: 1px;
  background-color: var(--color-gold);
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   About Preview
   ========================================================================== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-preview {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-preview__image {
  position: relative;
  overflow: hidden;
}

.about-preview__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-preview__image:hover img {
  transform: scale(1.03);
}

.about-preview__content .eyebrow {
  margin-bottom: 0.75rem;
}

.about-preview__content h2 {
  margin-bottom: 1.5rem;
}

.about-preview__content p {
  margin-bottom: 2rem;
  color: var(--color-medium-grey);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.service-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--color-gold);
}

.service-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1.75rem;
}

.service-card__category {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--color-medium-grey);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.service-card__price {
  font-weight: 500;
  color: var(--color-black);
}

.service-card__duration {
  color: var(--color-medium-grey);
}

/* ==========================================================================
   Category Blocks
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-black);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.category-card:hover img {
  opacity: 0.5;
  transform: scale(1.05);
}

.category-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--color-white);
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.category-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.category-card__desc {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* ==========================================================================
   Featured Bespoke
   ========================================================================== */
.featured-bespoke {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .featured-bespoke {
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
  }
}

.featured-bespoke__image {
  overflow: hidden;
}

.featured-bespoke__image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-bespoke__image:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   Beauty Services Cards
   ========================================================================== */
.beauty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .beauty-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.beauty-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color var(--transition);
}

.beauty-card:hover {
  border-color: var(--color-gold);
}

.beauty-card__image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--color-soft-gold);
}

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

.beauty-card__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.beauty-card__desc {
  font-size: 0.9375rem;
  color: var(--color-medium-grey);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Before & After
   ========================================================================== */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .before-after-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ba-item {
  position: relative;
}

.ba-item__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 1rem;
}

.ba-item__images img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  top: 12px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-black);
  color: var(--color-white);
  padding: 4px 10px;
}

.ba-label--before {
  left: 12px;
}

.ba-label--after {
  right: 12px;
  background: var(--color-gold);
  color: var(--color-black);
}

.ba-item__info h4 {
  margin-bottom: 0.35rem;
}

.ba-item__info p {
  font-size: 0.875rem;
  color: var(--color-medium-grey);
  margin-bottom: 0;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.gallery-filter {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--color-medium-grey);
  transition: all var(--transition);
  background: transparent;
}

.gallery-filter:hover,
.gallery-filter.is-active {
  border-color: var(--color-gold);
  color: var(--color-black);
  background: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

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

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__caption {
  color: var(--color-white);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   Why Choose
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  color: var(--color-gold);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--color-medium-grey);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  position: relative;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-item {
  display: none;
}

.testimonial-item.is-active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--color-black);
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-service {
  font-size: 0.8125rem;
  color: var(--color-gold);
  margin-top: 0.35rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.testimonial-dot.is-active {
  background: var(--color-gold);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background-color: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: 100px 24px;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 60px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand .site-logo {
  color: var(--color-white);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9375rem;
  opacity: 0.7;
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.footer-links a {
  display: block;
  font-size: 0.9375rem;
  opacity: 0.75;
  margin-bottom: 0.75rem;
  transition: opacity var(--transition), color var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer-contact p {
  font-size: 0.9375rem;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: border-color var(--transition), color var(--transition);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  opacity: 0.6;
}

.footer-bottom a:hover {
  color: var(--color-gold);
  opacity: 1;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   Page Hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background-color: var(--color-black);
  color: var(--color-white);
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  opacity: 0.8;
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
  }
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--color-gold);
}

.contact-info-item__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.contact-info-item__value {
  font-size: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--color-medium-grey);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--color-white);
  margin-bottom: 1.5rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-black);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-gold);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--color-medium-grey);
  margin-bottom: 0;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color var(--transition);
}

.blog-card:hover {
  border-color: var(--color-gold);
}

.blog-card__image {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__category {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-medium-grey);
  margin-bottom: 1rem;
}

.blog-card__meta {
  font-size: 0.8125rem;
  color: var(--color-medium-grey);
}

/* Single Post */
.single-post__header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.single-post__content {
  max-width: 720px;
  margin: 0 auto;
}

.single-post__content p {
  margin-bottom: 1.5rem;
}

.single-post__content h2,
.single-post__content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   404
   ========================================================================== */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.error-404 h1 {
  margin-bottom: 1rem;
}

.error-404 p {
  color: var(--color-medium-grey);
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   Booking Container
   ========================================================================== */
.booking-container {
  background: var(--color-light-grey);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 3rem 2rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.booking-placeholder {
  color: var(--color-medium-grey);
}

.booking-placeholder h3 {
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Plugin Integration Placeholders
   ========================================================================== */
.nelnelsa-placeholder {
  padding: 3rem 2rem;
  background: var(--color-light-grey);
  border: 1px dashed rgba(0, 0, 0, 0.15);
  text-align: center;
  color: var(--color-medium-grey);
}

.nelnelsa-placeholder p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Section heading */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header .eyebrow {
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-medium-grey);
  margin-bottom: 0;
}

/* Gold decorative border */
.gold-border {
  border: 1px solid var(--color-gold);
}

.gold-border-top {
  border-top: 1px solid var(--color-gold);
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ==========================================================================
   Animations (subtle)
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --section-padding: 70px 0;
  }

  .hero {
    min-height: 85vh;
  }

  .page-hero {
    padding: 140px 0 60px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   LAYOUT ALIGNMENT FIX (v1.0.1)
   Consistent containers, header offset, plugin bridge
   ========================================================================== */

/* ---- Fixed header clearances ---- */
.site-main {
  display: block;
  width: 100%;
}

body:not(.home) .site-main {
  padding-top: 0;
}

/* Admin bar + fixed header */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* ---- Unified container ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1200px) {
  .container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* Narrow content (pages / blog) */
.container--narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Section headings always centered ---- */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.section-heading .eyebrow {
  display: block;
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--color-medium-grey);
}

/* ---- Page hero alignment ---- */
.page-hero {
  padding: calc(var(--header-height) + 80px) 0 80px;
  text-align: center;
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero .eyebrow {
  margin-bottom: 0.75rem;
}

.page-hero p {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Grids: equal columns, stretch ---- */
.services-grid,
.nelnelsa-services-grid,
.category-grid,
.gallery-grid,
.nelnelsa-gallery-grid,
.before-after-grid,
.features-grid,
.beauty-grid,
.footer-grid {
  width: 100%;
  align-items: stretch;
}

.services-grid > *,
.nelnelsa-services-grid > *,
.category-grid > *,
.gallery-grid > *,
.features-grid > * {
  min-width: 0; /* prevent grid blowout */
}

/* ---- Bridge: plugin service cards → theme service cards ---- */
.nelnelsa-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .nelnelsa-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nelnelsa-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.nelnelsa-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color var(--transition);
}

.nelnelsa-service-card:hover {
  border-color: var(--color-gold);
}

.nelnelsa-service-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.nelnelsa-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nelnelsa-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.75rem;
}

.nelnelsa-service-card__category {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.nelnelsa-service-card__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.nelnelsa-service-card__desc {
  font-size: 0.9375rem;
  color: var(--color-medium-grey);
  margin-bottom: 1.25rem;
  flex: 1;
}

.nelnelsa-service-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.nelnelsa-service-card__price {
  font-weight: 500;
  font-size: 1rem;
}

.nelnelsa-service-card__duration {
  font-size: 0.8125rem;
  color: var(--color-medium-grey);
}

.nelnelsa-service-card__fee {
  font-size: 0.8rem;
  color: var(--color-medium-grey);
  margin-bottom: 1rem;
}

.nelnelsa-service-card .nelnelsa-btn,
.nelnelsa-service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Plugin buttons match theme buttons */
.nelnelsa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
  text-decoration: none;
  line-height: 1;
  transition: all var(--transition);
  cursor: pointer;
}

.nelnelsa-btn:hover,
.nelnelsa-btn:focus {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
}

/* ---- Booking form centered in page ---- */
.nelnelsa-booking-app,
#nelnelsa-booking-app {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.booking-container {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Gallery plugin bridge ---- */
.nelnelsa-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}

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

@media (min-width: 1200px) {
  .nelnelsa-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.nelnelsa-gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.nelnelsa-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nelnelsa-gallery-item figcaption {
  padding: 0.75rem;
  font-size: 0.85rem;
}

/* ---- Before/after plugin ---- */
.nelnelsa-ba-list {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Theme service cards equal height ---- */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__body .btn,
.service-card__body .nelnelsa-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---- Category cards ---- */
.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.category-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* ---- About preview: prevent misaligned columns ---- */
.about-preview {
  width: 100%;
}

.about-preview__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 899px) {
  .about-preview__content {
    align-items: center;
    text-align: center;
  }
}

/* ---- Footer alignment ---- */
.site-footer .container {
  width: 100%;
}

.footer-grid {
  align-items: start;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---- WordPress content alignment ---- */
.entry-content,
.page-content,
.container .wp-block-group {
  max-width: 100%;
}

.entry-content > *,
.page-content > * {
  max-width: 100%;
}

.entry-content img,
.page-content img {
  height: auto;
  max-width: 100%;
}

.entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.entry-content .alignwide,
.entry-content .alignfull {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Lists / paragraphs in content */
.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ---- Hero actions wrap centered ---- */
.hero__actions {
  width: 100%;
  justify-content: center;
}

/* ---- Utility: center block ---- */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

/* ---- Prevent horizontal scroll from misaligned elements ---- */
body {
  overflow-x: hidden;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Tables in content */
table {
  width: 100%;
  border-collapse: collapse;
}

/* Form fields full width inside containers */
.container form input[type="text"],
.container form input[type="email"],
.container form input[type="tel"],
.container form input[type="date"],
.container form input[type="time"],
.container form input[type="number"],
.container form select,
.container form textarea {
  max-width: 100%;
  width: 100%;
}

/* ---- Mobile menu full viewport alignment ---- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mobile-menu nav {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

/* ---- Section vertical rhythm ---- */
.section > .container {
  width: 100%;
}

/* Text muted utility */
.text-muted {
  color: var(--color-medium-grey);
}

@media (max-width: 767px) {
  .page-hero {
    padding: calc(var(--header-height) + 48px) 0 48px;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
  }
}
