/* =========================================================
   MAGIC ESTHETY — Professional Beauty Salon Theme
   Primary color: #476f55  |  Accent: #c9a96e (gold)
   Fonts: Playfair Display + Poppins + Cormorant Garamond
   ========================================================= */

/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
:root {
  --primary:       #476f55;
  --primary-dk:    #2d4a38;
  --primary-lt:    #6a9578;
  --primary-pale:  #e8f2ec;
  --accent:        #c9a96e;
  --accent-lt:     #e8d5b0;
  --bg:            #faf9f7;
  --bg-sage:       #f0f5f2;
  --text:          #2c2c2c;
  --text-md:       #5a5a5a;
  --text-lt:       #8a8a8a;
  --white:         #ffffff;
  --footer-bg:     #1e2e24;
  --font-head:     'Playfair Display', Georgia, serif;
  --font-body:     'Poppins', sans-serif;
  --font-accent:   'Cormorant Garamond', Georgia, serif;
  --radius-sm:     6px;
  --radius-md:     14px;
  --radius-lg:     24px;
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:     0 6px 28px rgba(0,0,0,0.11);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.16);
  --transition:    all 0.3s ease;
}

/*--------------------------------------------------------------
# Reset & Base
--------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.25;
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
}

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

section { padding: 80px 0; }

/*--------------------------------------------------------------
# Section helpers
--------------------------------------------------------------*/
.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 19px;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.section-title {
  text-align: center;
  padding-bottom: 44px;
}

.section-title::before {
  content: "";
  display: block;
  margin: 0 auto 18px;
  width: 56px;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  border-radius: 2px;
}

.section-title h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  margin: 6px 0 14px;
}

.section-title h2 span { color: var(--primary); }

.section-title p {
  font-size: 15px;
  color: var(--text-lt);
  max-width: 480px;
  margin: 0 auto;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  background: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  color: var(--white);
}

.back-to-top i {
  font-size: 24px;
  color: var(--white);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--primary-dk);
  color: var(--white);
  transform: translateY(-3px);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  padding: 0;
  font-size: 13px;
  height: 44px;
  transition: var(--transition);
  background: rgba(30, 46, 36, 0.92);
  backdrop-filter: blur(8px);
  z-index: 998;
  color: rgba(255,255,255,0.8);
}

#topbar.topbar-transparent {
  background: rgba(0,0,0,0.32);
  backdrop-filter: blur(4px);
}

#topbar.topbar-scrolled { top: -44px; }

#topbar i {
  color: var(--accent);
  line-height: 0;
  font-size: 14px;
}

#topbar i span {
  font-style: normal;
  padding-left: 6px;
  color: rgba(255,255,255,0.85);
}

#topbar i span a {
  color: rgba(255,255,255,0.85);
}

#topbar i span a:hover { color: var(--accent); }

.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  font-size: 13px;
  transition: var(--transition);
}

.topbar-social:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  top: 44px;
  height: 76px;
  z-index: 997;
  transition: var(--transition);
  padding: 0;
  background: transparent;
}

#header.header-transparent { background: transparent; }

#header.header-scrolled {
  top: 0 !important;
  height: 68px;
  background: rgba(26, 40, 31, 0.96) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,169,110,0.18);
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

#header .logo h1 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1;
}

#header .logo h1 a { color: var(--white); }

#header .logo h1 a:hover { color: var(--accent); }

.logo-accent { color: var(--accent); }

/*--------------------------------------------------------------
# Book / RDV button
--------------------------------------------------------------*/
.book-btn {
  background: var(--accent);
  color: var(--footer-bg) !important;
  border-radius: 28px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: var(--transition);
  white-space: nowrap;
  margin-left: 20px;
}

.book-btn:hover {
  background: #b8955c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201,169,110,0.38);
}

/*--------------------------------------------------------------
# Navigation — desktop
--------------------------------------------------------------*/
.navbar { padding: 0; }

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li { position: relative; }

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a { color: var(--accent); }

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 22px;
  top: calc(100% + 20px);
  padding: 8px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--footer-bg);
  border: 1px solid rgba(201,169,110,0.15);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  min-width: 180px;
}

.navbar .dropdown ul li { min-width: 180px; }

.navbar .dropdown ul a {
  padding: 9px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a { color: var(--accent); }

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul { left: -90%; }
  .navbar .dropdown .dropdown:hover > ul { left: -100%; }
}

/*--------------------------------------------------------------
# Navigation — mobile
--------------------------------------------------------------*/
.mobile-nav-toggle {
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: var(--transition);
}

@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
  #header { top: 44px; }
  #header.header-scrolled { top: 0 !important; }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(20, 36, 26, 0.97);
  transition: var(--transition);
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 64px;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 20px 0;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.14);
  overflow-y: auto;
  transition: var(--transition);
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 14px 24px;
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a { color: var(--accent); }

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus { margin: 15px; }

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 0;
  padding: 8px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: rgba(0,0,0,0.1);
  box-shadow: none;
}

.navbar-mobile .dropdown ul li { min-width: 200px; }
.navbar-mobile .dropdown ul a { padding: 10px 20px; }

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a { color: var(--accent); }

.navbar-mobile .dropdown > .dropdown-active { display: block; }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  position: relative;
}

#hero .carousel-item {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero .carousel-item::before {
  content: "";
  background: linear-gradient(
    150deg,
    rgba(20, 38, 28, 0.78) 0%,
    rgba(71,111,85, 0.42) 55%,
    rgba(0,0,0,0.58) 100%
  );
  position: absolute;
  inset: 0;
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
}

#hero .carousel-content {
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

#hero h2 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 64px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

#hero h2 span { color: var(--accent); }

.hero-tagline {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  letter-spacing: 0.4px;
}

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

.btn-hero-primary {
  background: var(--accent);
  color: var(--footer-bg);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 13px 30px;
  border-radius: 28px;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: #b8955c;
  color: var(--footer-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(201,169,110,0.38);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 12px 30px;
  border-radius: 28px;
  border: 2px solid rgba(255,255,255,0.55);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Carousel fade transition */
#hero .carousel-inner .carousel-item { transition-property: opacity; }

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end { opacity: 0; }

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end { opacity: 1; transition: 0.6s; }

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end { left: 0; transform: translate3d(0, 0, 0); }

/* Carousel controls */
#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 20px;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: var(--transition);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  background: rgba(201,169,110,0.28);
  border-color: var(--accent);
  color: var(--accent);
}

/* Carousel indicators (pill style) */
#hero .carousel-indicators li {
  cursor: pointer;
  list-style-type: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  margin: 0 4px;
  transition: var(--transition);
  opacity: 1;
}

#hero .carousel-indicators li.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #hero h2 { font-size: 38px; }
  .hero-subtitle { font-size: 15px; }
  .hero-tagline { font-size: 14px; margin-bottom: 28px; }
}

@media (min-width: 1024px) {
  #hero .carousel-control-prev,
  #hero .carousel-control-next { width: 5%; }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 0;
  background: var(--bg-sage);
}

.about-img {
  background-size: cover;
  background-position: center;
  min-height: 520px;
}

.about-content {
  padding: 64px 72px 64px 80px;
}

.about-content h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  margin: 6px 0 20px;
}

.about-content h2 span { color: var(--primary); }

.about-lead {
  font-size: 17px;
  color: var(--text-md);
  line-height: 1.75;
  margin-bottom: 14px;
  font-style: italic;
}

.about-content p {
  font-size: 15px;
  color: var(--text-lt);
  margin-bottom: 28px;
}

.about-services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.about-service-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid rgba(71,111,85,0.15);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-dk);
  transition: var(--transition);
}

.about-service-item i {
  font-size: 15px;
  color: var(--primary);
  transition: var(--transition);
}

.about-service-item:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.about-service-item:hover i { color: var(--white); }

.about-cta {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.about-cta:hover {
  background: var(--primary-dk);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(71,111,85,0.3);
}

@media (max-width: 1024px) {
  .about-content { padding: 48px 40px; }
}

@media (max-width: 992px) {
  .about-content { padding: 36px 24px; }
  .about-img { min-height: 340px; }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services { background: var(--white); }

.service-card {
  background: var(--bg);
  border: 1px solid rgba(71,111,85,0.1);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--white);
  border-color: rgba(71,111,85,0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-icon i {
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon { background: var(--primary); }
.service-card:hover .service-icon i { color: var(--white); }

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-lt);
  line-height: 1.7;
  margin: 0;
}

/* CTA card */
.service-card-cta {
  background: var(--bg-sage);
  border-color: rgba(71,111,85,0.18);
}

.service-card-cta .service-icon {
  background: rgba(201,169,110,0.14);
}

.service-card-cta .service-icon i { color: var(--accent); }

.service-card-cta:hover { background: var(--primary); }

.service-card-cta:hover h3,
.service-card-cta:hover p { color: rgba(255,255,255,0.9); }

.service-card-cta:hover .service-icon {
  background: rgba(255,255,255,0.18);
}

.service-card-cta:hover .service-icon i { color: var(--accent); }

.service-cta-btn {
  display: inline-block;
  margin-top: 16px;
  background: var(--accent);
  color: var(--footer-bg);
  padding: 9px 22px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.service-cta-btn:hover {
  background: #b8955c;
  color: var(--footer-bg);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  padding-bottom: 0;
  background: var(--bg);
}

.gallery-item {
  overflow: hidden;
  position: relative;
  border: 2px solid var(--white);
  aspect-ratio: 1;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 40, 28, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  font-size: 28px;
  color: var(--accent);
}

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

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact { background: var(--bg-sage); }

.map-container {
  width: 100%;
  overflow: hidden;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--bg-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact-icon i {
  font-size: 20px;
  color: var(--primary);
  transition: var(--transition);
}

.contact-info-card:hover .contact-icon { background: var(--primary); }
.contact-info-card:hover .contact-icon i { color: var(--white); }

.contact-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 14px;
  color: var(--text-lt);
  margin: 0;
  line-height: 1.6;
}

.contact-text a { color: var(--primary); }
.contact-text a:hover { color: var(--accent); }

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

@media (max-width: 576px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 44px;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand h3 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-brand h3 span { color: var(--accent); }

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  margin-bottom: 20px;
  font-style: italic;
}

.footer-brand .social-links { display: flex; gap: 10px; }

.footer-brand .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  transition: var(--transition);
}

.footer-brand .social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--footer-bg);
}

.footer-info h4,
.footer-services h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-info ul,
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info ul li,
.footer-services ul li {
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-info ul li i,
.footer-services ul li i {
  color: var(--primary-lt);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-info ul li a { color: rgba(255,255,255,0.5); }
.footer-info ul li a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p { margin: 0; }
.footer-bottom strong { color: rgba(255,255,255,0.55); }
.footer-credit a { color: var(--accent); }
.footer-credit a:hover { color: #b8955c; }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/*--------------------------------------------------------------
# Pearl Decorations
--------------------------------------------------------------*/
@keyframes pearl-shimmer {
  0%   { box-shadow: inset -3px -3px 6px rgba(255,255,255,0.9), inset 2px 2px 4px rgba(71,111,85,0.3), 0 0 8px rgba(255,255,255,0.5); }
  50%  { box-shadow: inset -4px -4px 8px rgba(255,255,255,1), inset 3px 3px 6px rgba(71,111,85,0.4), 0 0 14px rgba(255,255,255,0.8); }
  100% { box-shadow: inset -3px -3px 6px rgba(255,255,255,0.9), inset 2px 2px 4px rgba(71,111,85,0.3), 0 0 8px rgba(255,255,255,0.5); }
}

@keyframes pearl-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.pearl {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #d4e8db 40%, #a8c9b4 70%, #476f55);
  box-shadow: inset -3px -3px 6px rgba(255,255,255,0.9), inset 2px 2px 4px rgba(71,111,85,0.3), 0 0 8px rgba(255,255,255,0.5);
  animation: pearl-shimmer 3s ease-in-out infinite, pearl-float 4s ease-in-out infinite;
  vertical-align: middle;
}

.pearl-strand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  width: 100%;
}

.pearl-strand .pearl:nth-child(2n)  { width: 9px;  height: 9px;  animation-delay: 0.4s; }
.pearl-strand .pearl:nth-child(3n)  { width: 14px; height: 14px; animation-delay: 0.8s; }
.pearl-strand .pearl:nth-child(4n)  { animation-delay: 1.2s; }
.pearl-strand .pearl:nth-child(5n)  { animation-delay: 0.2s; }

.section-pearl-divider {
  text-align: center;
  line-height: 0;
  overflow: hidden;
  padding: 8px 0;
  background: var(--bg-sage);
}

.pearl-divider-alt { background: var(--white); }

.footer-pearl { background: var(--bg-sage); }
