/* =============================================
   LULU'S PET SPA - Premium Spa Redesign
   Aesthetic: Luxurious, Minimalist, Serene
   ============================================= */

/* --- CSS Variables --- */
:root {
  --primary-red: #C75B5B;
  --light-red: #F6D6D6;
  --cream: #FAF7F2;
  --dark-brown: #4A3F35;
  --white: #ffffff;
  --text-muted: #6D5F54;
  --border-soft: rgba(74, 63, 53, 0.1);
  --shadow-premium: 0 20px 40px rgba(74, 63, 53, 0.05);
  --shadow-glass: 0 8px 32px 0 rgba(74, 63, 53, 0.08);
  --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.03);

  --radius-sm: 8px;
  --radius-md: 20px;
  --radius-lg: 40px;

  --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);

  --font-heading: 'Lora', serif;
  --font-body: 'Outfit', 'Montserrat', sans-serif;
  --header-h: 100px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-brown);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--dark-brown);
  line-height: 1.2;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.text-center {
  text-align: center;
}

/* --- Glassmorphism Utilities --- */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-glass);
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

/* --- Premium Animations --- */
@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.15) translate(-2%, -2%);
  }
}

.animate-ken-burns {
  animation: kenBurns 25s ease-in-out infinite alternate;
  transform-origin: center center;
}

/* --- Hero Text Overrides --- */
.hero-layered h1,
.hero-layered .hero-sub,
.hero-layered p {
  color: var(--white) !important;
}

.hero-layered p {
  opacity: 0.9;
}

.hero-bg-overlay {
  background: linear-gradient(rgba(44, 33, 23, 0.6), rgba(44, 33, 23, 0.4));
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-reveal {
  overflow: hidden;
}

.text-reveal>* {
  display: inline-block;
  animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* --- Subtle Shine Effect --- */
.shine-hover {
  position: relative;
  overflow: hidden;
}

.shine-hover::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(45deg);
  transition: 0.6s;
  pointer-events: none;
  opacity: 0;
}

.shine-hover:hover::after {
  opacity: 1;
  left: 100%;
  top: 100%;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

.section-pad {
  padding: 100px 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(199, 91, 91, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(199, 91, 91, 0.3);
  opacity: 0.95;
}

.btn-outline {
  background: transparent;
  color: var(--primary-red);
  border-color: var(--primary-red);
}

.btn-outline:hover {
  background: var(--primary-red);
  color: var(--white);
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark-brown);
}

.logo-text span {
  color: var(--primary-red);
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--dark-brown);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-link:hover {
  color: var(--primary-red);
}

/* Hamburger - styled at base level, hidden on desktop */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  position: relative;
  width: 32px;
  height: 26px;
  flex-shrink: 0;
  padding: 0;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 2.5px;
  background: var(--dark-brown);
  border-radius: 3px;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
  left: 0;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 12px;
}

.hamburger span:nth-child(3) {
  top: 24px;
}

.hamburger.active span:nth-child(1) {
  top: 12px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  top: 12px;
  transform: rotate(-45deg);
}

/* Mobile nav backdrop overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(74, 63, 53, 0.45);
  z-index: 999;
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-premium);
  border-radius: var(--radius-sm);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 25px;
  font-size: 0.85rem;
  color: var(--dark-brown);
  text-transform: capitalize;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--cream);
  color: var(--primary-red);
  padding-left: 30px;
}

/* Map Color Shift (Boutique Theme) */
.map-embed {
  filter: sepia(0.6) hue-rotate(-20deg) brightness(1.05) contrast(0.9);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* =============================================
   HERO (LAYERED)
   ============================================= */
.hero-layered {
  position: relative;
  height: 95vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  padding-bottom: 80px;
  /* Space for Trust Bar */
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-layered .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.hero-layered .btn-outline:hover {
  background: var(--white);
  color: var(--dark-brown);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-blend-mode: soft-light, overlay, normal;
}

/* Specific background styles for the premium feel */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 247, 242, 0.9) 0%, rgba(250, 247, 242, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.hero-text {
  max-width: 580px;
}

.hero-sub {
  display: block;
  color: var(--primary-red);
  font-weight: 600;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-text h1 br {
  display: none;
}

@media (min-width: 992px) {
  .hero-text h1 br {
    display: block;
  }
}

.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 40px;
}

/* Unique Image Shape (Refined) */
.hero-image-container {
  position: relative;
  width: min(500px, 100%);
  max-width: 500px;
  height: 550px;
  flex-shrink: 0;
}

.hero-image-shape {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  box-shadow: 30px 30px 0px var(--light-red);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white);
  padding: 10px;
}

.hero-image-shape:hover {
  border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  box-shadow: -30px 30px 0px var(--primary-red);
  transform: scale(1.02);
}

.hero-image-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  /* Matches the container shape */
}

/* =============================================
   SECTION VARIATIONS
   ============================================= */
.section-white {
  background: var(--white);
}

.section-dark {
  background: #F3EDE7;
}

.section-deep {
  background: var(--cream);
}

.section-pad {
  padding: 100px 0;
}

/* =============================================
   SERVICES & CARDS
   ============================================= */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.grid-3,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary-red);
}

.service-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
  margin-bottom: 25px;
  transition: var(--transition);
}

/* --- Trust Bar --- */
.trust-bar {
  margin-top: -60px;
  position: relative;
  z-index: 100;
  padding: 30px 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: flex !important;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  border-radius: var(--radius-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark-brown);
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .trust-bar {
    flex-direction: column;
    margin-top: -30px;
    padding: 25px;
    margin-left: 20px;
    margin-right: 20px;
    gap: 15px;
  }
}

.service-card:hover .service-card-img {
  transform: scale(1.02);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-brown);
}

.service-card p {
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-price {
  display: inline-block;
  padding: 8px 16px;
  background: var(--light-red);
  color: var(--primary-red);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 20px;
}



/* =============================================
   NEW PRICING LAYOUT
   ============================================= */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 40px;
  margin-bottom: 40px;
  border: 1px solid var(--border-soft);
  transition: var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-premium);
  border-color: var(--primary-red);
}

.pricing-header {
  margin-bottom: 30px;
  text-align: center;
}

.pricing-header h3 {
  color: var(--primary-red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.pricing-header p {
  color: var(--dark-brown);
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 10px;
  line-height: 1.6;
}

.pricing-disclaimer {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 15px;
}

.pricing-tiers {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 15px;
}

.tier {
  background: var(--cream);
  padding: 20px 25px;
  border-radius: var(--radius-sm);
  text-align: center;
  flex: 1;
  min-width: 130px;
  max-width: 180px;
  border: 1px solid var(--border-soft);
  transition: var(--transition);
}

.tier:hover {
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
  border-color: var(--primary-red);
}

.tier-size {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-brown);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.tier-price {
  display: block;
  color: var(--primary-red);
  font-size: 1.3rem;
  font-weight: 600;
}

.additional-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.add-on-item {
  background: var(--white);
  padding: 25px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  transition: var(--transition);
}

.add-on-item:hover {
  border-color: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-premium);
}

.add-on-name {
  font-weight: 500;
  color: var(--dark-brown);
  font-size: 1.05rem;
}

.add-on-price {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 1.15rem;
  white-space: nowrap;
  margin-left: 15px;
}

.size-chart-wrap {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 600px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

.size-chart-table {
  width: 100%;
  border-collapse: collapse;
}

.size-chart-table th,
.size-chart-table td {
  padding: 18px 25px;
  text-align: center;
  border-bottom: 1px solid var(--cream);
}

.size-chart-table th {
  background: var(--primary-red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.size-chart-table td {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.size-chart-table tr:last-child td {
  border-bottom: none;
}

.pricing-note-box {
  background: var(--light-red);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(199, 91, 91, 0.2);
}

/* =============================================
   GALLERY & OTHER
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-red);
}

/* 
   CONTACT & FOOTER
   */
.footer {
  background: var(--dark-brown);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer a p {
  color: var(--white) !important;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-family: var(--font-heading);
  font-weight: 600;
}


.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 25px;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: var(--light-red);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* 
   ANIMATIONS (AOS Style)
    */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* 
   GRID LAYOUTS
   */
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-badge-float {
  position: absolute;
  bottom: 30px;
  right: 30px;
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-premium);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.value-card {
  padding: 40px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-soft);
  text-align: center;
}

.value-card:hover {
  border: 2px solid;
  color: var(--primary-red);
  transform: scale(1.1);

}

/* =============================================
   FORMS
   ============================================= */
.form-card {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-brown);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-brown);
  background: var(--cream);
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(199, 91, 91, 0.05);
}

/* 
   DENTAL STUDIO SPECIALS
    */
.dental-featured {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  align-items: center;
}

.dental-comparison img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* 
   RESPONSIVE SYSTEM — ALL BREAKPOINTS */

/* ── Utility classes for responsive inline-style overrides  */
.flex-row {
  display: flex;
  flex-wrap: wrap;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Tablet: max 992px ── */
@media (max-width: 992px) {

  :root {
    --header-h: 70px;
  }

  /* Header */
  .site-header {
    height: 70px;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  /* Hamburger - show on mobile/tablet */
  .hamburger {
    display: block !important;
  }

  /* Mobile nav drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 90px 30px 40px;
    gap: 0;
    transition: right 0.4s ease-in-out;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-links li:last-child {
    border-bottom: none;
    padding-top: 20px;
  }

  .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 0.95rem;
  }

  .nav-links.active {
    right: 0;
  }

  /* Dropdown in mobile nav */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: var(--cream);
    padding: 5px 0 5px 20px;
    transform: none;
    display: block;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
  }

  .dropdown-menu li {
    border-bottom: none;
  }

  /* Hero */
  .hero-layered {
    height: auto;
    min-height: 100vh;
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 60px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text .flex-row,
  .hero-text>div[style*="flex"] {
    justify-content: center;
  }

  .hero-image-container {
    width: 100%;
    height: 380px;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Grids — single column */
  .grid-2,
  .grid-3,
  .services-grid,
  .dental-featured,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Section spacing */
  .section-pad {
    padding: 90px 0 70px;
  }

  /* About badge reposition */
  .about-badge-float {
    bottom: 15px;
    right: 15px;
  }



  /* Footer */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
  }

  /* Gallery */
  .gallery-item {
    height: 280px;
  }

  /* Booking form inline grids */
  .booking-wrap [style*="grid-template-columns: 1fr 1fr"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  /* Studio visuals images */
  .studio-img {
    height: 300px !important;
  }
}

/* ── Mobile: max 768px ── */
@media (max-width: 768px) {

  /* Container */
  .container {
    padding: 0 18px;
  }

  /* Typography */
  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    margin-bottom: 1.5rem;
  }

  h3 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  /* Section */
  .section-pad {
    padding: 90px 0 55px;
  }

  /* Hero */
  .hero-layered {
    padding-bottom: 50px;
  }

  .hero-image-container {
    height: 320px;
    max-width: 340px;
  }

  .hero-image-shape {
    box-shadow: 15px 15px 0px var(--light-red);
  }

  /* Inline flex rows that need wrapping */
  div[style*="display: flex"][style*="gap: 15px"],
  div[style*="display:flex"][style*="gap:15px"],
  div[style*="display: flex"][style*="gap: 20px"],
  div[style*="display:flex"][style*="gap:20px"] {
    flex-wrap: wrap;
  }

  /* Buttons in hero */
  .flex-row,
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .flex-row .btn,
  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* Services grid — 1 col on mobile */
  .grid-3,
  .services-grid {
    grid-template-columns: 1fr !important;
  }

  /* Service card image */
  .service-card-img {
    height: 220px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery-item {
    height: 200px;
  }

  /* Pricing table removed since tablet covers it */

  /* Form card */
  .form-card {
    padding: 30px 20px;
  }

  /* Footer */
  .footer {
    padding: 60px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 35px;
  }

  .footer-col:first-child {
    grid-column: auto;
  }

  .footer-col[style*="padding-left"] {
    padding-left: 0 !important;
  }

  /* Dental featured */
  .dental-featured {
    padding: 30px 20px;
  }

  /* Contact info items */
  .contact-info-item {
    gap: 12px !important;
  }

  /* Map embed */
  .map-embed iframe {
    height: 320px;
  }

  /* Studio visuals */
  .studio-img {
    height: 250px !important;
    border-radius: 20px !important;
  }

  /* Values grid */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Value card */
  .value-card {
    padding: 30px;
  }

  /* Booking form inline grid — stack on mobile */
  .booking-wrap [style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Booking step nav buttons */
  div[style*="justify-content: space-between"] {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* About badge float */
  .about-badge-float {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    display: inline-block;
    width: auto;
  }

  /* Lightbox close btn */
  .lightbox-close {
    top: 20px;
    right: 20px;
  }

  .lightbox {
    padding: 20px;
  }
}

/* ── Small Mobile: max 480px ── */
@media (max-width: 480px) {

  :root {
    --header-h: 62px;
  }

  /* Container */
  .container {
    padding: 0 15px;
  }

  /* Typography scale down */
  h1 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  h3 {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }

  .hero-sub {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }

  /* Section */
  .section-pad {
    padding: 85px 0 45px;
  }

  /* Header */
  .site-header {
    height: 62px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo img[style*="height: 50px"] {
    height: 38px !important;
  }

  /* Hero */
  .hero-layered {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-image-container {
    height: 260px;
    max-width: 280px;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: 0.8rem;
  }

  .flex-row .btn,
  .hero-btns .btn {
    width: 100%;
    max-width: 100%;
  }

  /* Service cards */
  .service-card {
    padding: 22px;
  }

  .service-card-img {
    height: 200px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  /* Gallery — single column on very small screens */
  .gallery-grid,
  .gallery-masonry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-item {
    height: 240px;
  }

  /* Pricing */
  .pricing-table th,
  .pricing-table td {
    padding: 10px 5px;
    font-size: 0.78rem;
  }

  /* Footer */
  .footer {
    padding: 50px 0 25px;
  }

  .footer-bottom {
    padding-top: 25px;
    font-size: 0.75rem;
  }

  /* Form card */
  .form-card {
    padding: 25px 15px;
    border-radius: var(--radius-sm);
  }

  /* FAQ cards */
  .form-card[style*="padding: 30px"] {
    padding: 20px !important;
  }

  /* Nav */
  .nav-links {
    width: 90%;
  }

  /* Dental featured */
  .dental-featured {
    padding: 25px 15px;
    gap: 25px;
  }

  /* Map embed */
  .map-embed iframe {
    height: 280px;
  }

  /* Testimonial cards */
  .service-card[style*="padding: 40px"] {
    padding: 25px !important;
  }

  /* Value card */
  .value-card {
    padding: 25px 20px;
  }

  /* CTA section text */
  section[style*="background: var(--dark-brown)"] h2 {
    font-size: 1.5rem;
  }
}

/* ── Extra Small: max 360px ── */
@media (max-width: 360px) {

  .container {
    padding: 0 12px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .btn {
    padding: 11px 18px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }

  .hero-image-container {
    height: 220px;
    max-width: 240px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .service-card-img {
    height: 180px;
  }

  .pricing-table {
    font-size: 0.72rem;
  }
}

/* ── Large Desktop: 1400px+ ── */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .hero-image-container {
    width: 550px;
    height: 600px;
  }
}