/*
Theme Name:   Desert Valley Dentistry & Spa
Theme URI:    https://desertvalleydentistry.com
Author:       iTech19
Author URI:   https://itech19.com
Description:  Custom WordPress theme for Desert Valley Dentistry and Spa. Built by iTech19.
Version:      1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License:      All Rights Reserved
License URI:
Text Domain:  desert-valley-dentistry
Tags:         custom, business, responsive
*/

/* ============================================
   DESERT VALLEY DENTISTRY & SPA
   Main Stylesheet
   ============================================
   1. Font Face Declarations
   2. CSS Custom Properties
   3. CSS Reset / Base Styles
   4. Utility Classes
   5. Header / Navigation
   6. Footer
   7. Hero Sections
   8. Homepage Sections
   9. Cosmetic Dentistry Page
   10. General Dentistry Page
   11. Spa Services Page
   12. Appointment Page
   13. Contact Page
   14. Components (Cards, Buttons, Forms)
   15. Animations
   16. Media Queries
   ============================================ */

/* ============================================
   1. FONT FACE DECLARATIONS
   ============================================ */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================
   2. CSS CUSTOM PROPERTIES
   ============================================ */

:root {
  /* Colors */
  --color-primary: #0067A5;
  --color-primary-dark: #004F80;
  --color-primary-light: #3388BB;
  --color-secondary: #7EC8E3;
  --color-secondary-light: #B8E2F2;
  --color-secondary-pale: #E8F4FA;
  --color-white: #FFFFFF;
  --color-off-white: #F7FAFC;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-900: #0F172A;
  --color-gold: #C9A96E;
  --color-gold-light: #D4BC8E;
  --color-success: #16A34A;
  --color-error: #DC2626;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-padding: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Header */
  --banner-height: 38px;
  --header-height: 90px;
  --header-total: calc(var(--header-height) + var(--banner-height));
}

/* ============================================
   3. CSS RESET / BASE STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-total);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  color: var(--color-gray-900);
  font-weight: 700;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

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

/* ============================================
   4. UTILITY CLASSES
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section-padding {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.eyebrow--gold {
  color: var(--color-gold);
}

.section-heading {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  color: var(--color-gray-900);
}

.section-subheading {
  font-size: var(--text-lg);
  color: var(--color-gray-500);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: var(--space-lg) auto;
  border: none;
}

.gold-line--left {
  margin-left: 0;
  margin-right: auto;
}

.btn--block {
  width: 100%;
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

/* Page hero background images */
.page-hero--cosmetic {
  background-image: url('assets/images/hero-cosmetic.png');
  background-size: cover;
  background-position: center;
}

.page-hero--general {
  background-image: url('assets/images/hero-general.png');
  background-size: cover;
  background-position: center;
}

.page-hero--spa {
  background-image: url('assets/images/hero-spa.png');
  background-size: cover;
  background-position: center;
}

.page-hero--appointment {
  background-image: url('assets/images/hero-appointment.png');
  background-size: cover;
  background-position: center;
}

.page-hero--contact {
  background-image: url('assets/images/hero-contact.png');
  background-size: cover;
  background-position: center;
}

/* Section backgrounds */
.bg-off-white {
  background-color: var(--color-off-white);
}

/* Call CTA phone styling */
.cta-phone {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  margin-bottom: var(--space-lg);
}

.cta-phone:hover {
  color: var(--color-primary-dark);
}

/* Hours list in contact page */
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-gray-100);
  font-size: var(--text-sm);
}

.hours-list li:last-child {
  border-bottom: none;
}

/* Map iframe border */
.map-container iframe {
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline-dark:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--white:hover {
  background-color: var(--color-off-white);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--gold:hover {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--text-lg);
}

/* Fade-in animation targets */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   5. HEADER / NAVIGATION
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-total);
  background-color: var(--color-white);
  box-shadow: 0 1px 0 var(--color-gray-200), var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

/* Subtle gold accent line at bottom of header */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), var(--color-secondary), var(--color-gold), transparent);
  opacity: 0.6;
}

/* Elevated state on scroll */
.site-header.header-scrolled {
  box-shadow: 0 2px 20px rgba(0, 103, 165, 0.1), var(--shadow-md);
}

/* Slightly taller header on large screens for premium feel */
@media (min-width: 1024px) {
  :root {
    --header-height: 88px;
  }
}

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

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1001;
}

.site-logo img {
  height: 64px;
  width: auto;
  max-width: 200px;
  transition: filter var(--transition-base);
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-700);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-cta {
  padding: 0.625rem 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--transition-base);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-gray-700);
  margin: 3px 0;
  transition: all var(--transition-base);
  border-radius: 2px;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.is-visible {
  opacity: 1;
}

/* ============================================
   PROMO BANNER
   ============================================ */

.promo-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #005a94 100%);
  padding: 10px 16px;
  text-align: center;
  position: relative;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.promo-banner .container {
  display: contents;
}

.promo-banner-text {
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.promo-banner-text svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-gold);
}

.promo-banner-link {
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.promo-banner-link:hover {
  opacity: 0.8;
}

/* ============================================
   6. FOOTER
   ============================================ */

.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
}

.footer-main {
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.footer-brand p {
  color: var(--color-white);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer-logo {
  display: none;
}

.footer-brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.footer-brand-name .brand-main {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.footer-brand-name .brand-sub {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-secondary);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Gold accent divider above brand name */
.footer-brand-name::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Facebook */
.footer-social a[aria-label="Facebook"] {
  background-color: #1877F2;
  color: var(--color-white);
}

/* Instagram */
.footer-social a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: var(--color-white);
}

/* Google */
.footer-social a[aria-label="Google"] {
  background-color: var(--color-white);
  color: #4285F4;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--color-white);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  color: var(--color-secondary-light);
  font-size: var(--text-sm);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--color-white);
}

.footer-contact-item a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-secondary-light);
}

.footer-bottom a {
  color: var(--color-secondary-light);
}

.footer-bottom a:hover {
  color: var(--color-white);
}

/* ============================================
   7. HERO SECTIONS
   ============================================ */

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 79, 128, 0.45) 0%,
    rgba(0, 103, 165, 0.55) 60%,
    rgba(0, 79, 128, 0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--header-total) + var(--space-3xl)) var(--container-padding) var(--space-3xl);
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: var(--text-5xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition-base);
}

.hero-scroll:hover {
  color: var(--color-white);
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* Inner Page Hero */
.page-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-primary-dark);
  padding-top: var(--header-total);
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 79, 128, 0.9) 0%,
    rgba(0, 103, 165, 0.8) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-3xl) var(--container-padding);
}

.page-hero-title {
  font-size: var(--text-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.page-hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb-separator {
  font-size: var(--text-xs);
}

/* ============================================
   8. HOMEPAGE SECTIONS
   ============================================ */

/* Introduction */
.intro {
  overflow: hidden;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.intro-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.intro-image::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.intro-text .eyebrow {
  color: var(--color-gold);
}

.intro-text h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
}

.intro-text p {
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
}

/* Services Overview */
.services-overview {
  background-color: var(--color-off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-secondary);
  transition: all var(--transition-base);
}

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

.service-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary-pale);
  border-radius: var(--radius-full);
}

.service-card-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--color-gray-900);
}

.service-card p {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.service-card .btn {
  font-size: var(--text-sm);
}

/* Why Choose Us */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.why-us-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.why-us-item:hover {
  background-color: var(--color-off-white);
}

.why-us-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-lg);
}

.why-us-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

.why-us-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-gray-900);
}

.why-us-item p {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Testimonials */
.testimonials {
  background-color: var(--color-secondary-pale);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-secondary);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  opacity: 0.5;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-lg);
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-gray-900);
  font-size: var(--text-sm);
}

.testimonial-role {
  color: var(--color-gray-500);
  font-size: var(--text-xs);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  text-align: center;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(126, 200, 227, 0.1);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(126, 200, 227, 0.08);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: var(--leading-relaxed);
}

/* ============================================
   9. COSMETIC DENTISTRY PAGE
   ============================================ */

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

.cosmetic-intro p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-gray-600);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

/* Smile Transformations */
.transformations {
  background-color: var(--color-off-white);
}

.transformation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.transformation-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.transformation-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 20%;
}

.transformation-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 79, 128, 0.85));
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
  color: var(--color-white);
  font-weight: 600;
  font-size: var(--text-lg);
}

.transformation-caption h3 {
  color: var(--color-white);
}

/* Cosmetic Services — Premium Editorial Layout */
.cosmetic-services-section {
  background-color: var(--color-white);
}

.cosmetic-services-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-3xl);
}

.cosmetic-service-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-gray-200);
  transition: background-color var(--transition-base);
  position: relative;
}

.cosmetic-service-item:first-child {
  border-top: 1px solid var(--color-gray-200);
}

.cosmetic-service-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.cosmetic-service-item:hover::before {
  opacity: 1;
}

.cosmetic-service-item:hover {
  background-color: var(--color-secondary-pale);
  padding-left: var(--space-lg);
}

/* Left: number + tag */
.csi-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.csi-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-secondary-light);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: color var(--transition-base);
}

.cosmetic-service-item:hover .csi-number {
  color: var(--color-primary);
}

.csi-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  background-color: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Vertical divider — hidden on mobile, shown on desktop */
.csi-divider {
  display: none;
}

/* Body: heading, description, meta */
.csi-body h3 {
  font-size: var(--text-2xl);
  color: var(--color-gray-900);
  margin-bottom: var(--space-md);
}

.csi-body p {
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

/* Treatment meta pills */
.csi-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: 0;
}

.csi-detail {
  display: flex;
  flex-direction: column;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--color-gray-700);
  font-weight: 600;
  transition: border-color var(--transition-fast);
}

.csi-detail span:first-child {
  font-weight: 400;
  color: var(--color-gray-500);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cosmetic-service-item:hover .csi-detail {
  border-color: var(--color-secondary);
}

/* Action button */
.csi-action {
  margin-top: var(--space-xl);
}

/* ============================================
   10. GENERAL DENTISTRY PAGE
   ============================================ */

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

.general-intro p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-gray-600);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.general-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.general-service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.general-service-card:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.general-service-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary-pale);
  border-radius: var(--radius-lg);
}

.general-service-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--color-primary);
}

.general-service-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-gray-900);
}

.general-service-card p {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Process Steps */
.process {
  background-color: var(--color-off-white);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

/* Mobile: vertical layout with line on the left */
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-lg);
  position: relative;
}

.process-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step-number {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 103, 165, 0.3);
}

.process-step-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--color-secondary), var(--color-secondary-light));
  margin-top: var(--space-sm);
  border-radius: 2px;
}

.process-step-body {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-md);
}

.process-step-body h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-sm);
}

.process-step-body p {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

/* ============================================
   11. SPA SERVICES PAGE
   ============================================ */

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

.spa-philosophy p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-gray-600);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.amenity-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
}

.amenity-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-gold-light);
}

.amenity-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary-pale), var(--color-off-white));
  border-radius: var(--radius-full);
}

.amenity-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
}

.amenity-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-gray-900);
}

.amenity-card p {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Spa Experience */
.spa-experience {
  background-color: var(--color-off-white);
}

.spa-experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.spa-experience-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.spa-experience-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.spa-experience-image--portrait img {
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: 600px;
  margin: 0 auto;
  display: block;
}

.spa-experience-text h2 {
  margin-bottom: var(--space-lg);
}

.spa-experience-text p {
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.spa-feature-list {
  margin-top: var(--space-lg);
}

.spa-feature-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  color: var(--color-gray-700);
  font-weight: 500;
}

.spa-feature-list li svg {
  width: 20px;
  height: 20px;
  fill: var(--color-success);
  flex-shrink: 0;
}


/* ============================================
   11b. DENTAL IMPLANTS PAGE
   ============================================ */

.page-hero--implants {
  background-image: url('assets/images/DesertValleryDentisry.jpeg');
}

.page-hero--invisalign {
  background-image: url('assets/images/hero-cosmetic.png');
}

.implant-partner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-gold);
}

.implant-partner img {
  flex-shrink: 0;
  max-width: 180px;
  height: auto;
}

.implant-partner p {
  color: var(--color-gray-600);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
}

.implant-feature-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.implant-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .implant-partner {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   12. APPOINTMENT PAGE
   ============================================ */

.appointment-section {
  background-color: var(--color-off-white);
}

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.appointment-form-wrapper {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.appointment-form-wrapper h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.appointment-form-wrapper > p {
  color: var(--color-gray-500);
  margin-bottom: var(--space-2xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

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

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: var(--space-sm);
}

.form-group label .required {
  color: var(--color-error);
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 103, 165, 0.1);
}

.form-control.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-control.success {
  border-color: var(--color-success);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-xs);
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success-message {
  display: none;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  color: var(--color-success);
  font-weight: 600;
}

.form-success-message.visible {
  display: block;
}

/* Appointment Sidebar */
.appointment-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.sidebar-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
}

.sidebar-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--color-gray-900);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sidebar-card h3 svg {
  width: 22px;
  height: 22px;
  fill: var(--color-primary);
}

.sidebar-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-gray-600);
}

.sidebar-info-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.sidebar-info-item a {
  color: var(--color-primary);
  font-weight: 600;
}

.sidebar-hours {
  font-size: var(--text-sm);
}

.sidebar-hours dt {
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: var(--space-xs);
}

.sidebar-hours dd {
  color: var(--color-gray-500);
  margin-bottom: var(--space-sm);
}

/* Insurance Note */
.insurance-note {
  text-align: center;
  background-color: var(--color-white);
}

.insurance-note p {
  max-width: 600px;
  margin: var(--space-md) auto 0;
  color: var(--color-gray-500);
}

/* ============================================
   13. CONTACT PAGE
   ============================================ */

.contact-section {
  background-color: var(--color-off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.contact-form-wrapper {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.contact-form-wrapper > p {
  color: var(--color-gray-500);
  margin-bottom: var(--space-2xl);
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
}

.contact-info-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--color-gray-900);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary-pale);
  border-radius: var(--radius-md);
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-primary);
}

.contact-detail h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-xs);
}

.contact-detail p,
.contact-detail a {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
}

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

/* Hours card */
.hours-list {
  font-size: var(--text-sm);
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item span:first-child {
  font-weight: 600;
  color: var(--color-gray-700);
}

.hours-item span:last-child {
  color: var(--color-gray-500);
}

/* Map */
.map-section {
  padding: 0;
}

.map-container {
  width: 100%;
  height: 400px;
  background-color: var(--color-gray-100);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Call CTA */
.call-cta {
  text-align: center;
  background-color: var(--color-white);
}

.call-cta h2 {
  margin-bottom: var(--space-md);
}

.call-cta .phone-number {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.call-cta .phone-number a {
  color: inherit;
}

.call-cta .phone-number a:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   14. COMPONENTS
   ============================================ */

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* ============================================
   15. ANIMATIONS
   ============================================ */

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   16. MEDIA QUERIES
   ============================================ */

/* Tablet - 768px */
@media (min-width: 768px) {
  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-4xl); }

  .hero-title {
    font-size: var(--text-5xl);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .transformation-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .cosmetic-service-item {
    grid-template-columns: 140px 1px 1fr auto;
    gap: 0;
    align-items: center;
    padding: var(--space-2xl) var(--space-lg);
  }

  .cosmetic-service-item:hover {
    padding-left: calc(var(--space-lg) + var(--space-sm));
  }

  .csi-left {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: 0;
    padding-right: var(--space-xl);
  }

  .csi-number {
    font-size: 4rem;
  }

  .csi-divider {
    display: block;
    width: 1px;
    align-self: stretch;
    background: var(--color-gray-200);
    margin: 0 var(--space-xl);
    flex-shrink: 0;
  }

  .csi-body {
    padding-right: var(--space-xl);
  }

  .csi-action {
    margin-top: 0;
    flex-shrink: 0;
  }

  .general-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Desktop: horizontal stepper */
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: start;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    padding: 0 var(--space-md);
  }

  .process-step-indicator {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    position: relative;
  }

  .process-step-number {
    width: 64px;
    height: 64px;
    font-size: var(--text-2xl);
    flex-shrink: 0;
  }

  /* Horizontal connecting line between steps */
  .process-step-line {
    position: absolute;
    left: calc(50% + 32px);
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 32px);
    height: 2px;
    min-height: unset;
    background: linear-gradient(to right, var(--color-secondary), var(--color-secondary-light));
    margin: 0;
  }

  /* Extend line across the gap to next step */
  .process-step:not(:last-child) .process-step-line {
    width: calc(100% + var(--space-md) * 2 - 32px);
  }

  .process-step-body {
    padding-top: 0;
    padding-bottom: 0;
  }

  .process-step-body p {
    max-width: 220px;
    margin: 0 auto;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spa-experience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .appointment-grid {
    grid-template-columns: 1.5fr 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

/* Laptop - 1024px */
@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--text-6xl);
  }

  .page-hero-title {
    font-size: var(--text-5xl);
  }

  .section-heading {
    font-size: var(--text-4xl);
  }

  /* Show desktop nav, hide hamburger */
  .hamburger {
    display: none !important;
  }

  .nav-menu {
    display: flex !important;
    position: static;
    background: transparent;
    flex-direction: row;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    box-shadow: none;
  }

  .nav-overlay {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }

  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-banner h2 {
    font-size: var(--text-4xl);
  }
}

/* Mobile - below 768px */
@media (max-width: 767px) {
  :root {
    --header-height: 76px;
    --container-padding: 1rem;
  }

  .site-logo img {
    height: 54px;
    max-width: 160px;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
    order: 3;
  }

  .main-navigation {
    order: 2;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    padding: calc(var(--header-total) + var(--space-xl)) var(--space-xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    z-index: 1000;
    gap: 0;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: var(--space-md) 0;
    font-size: var(--text-lg);
    color: var(--color-gray-700) !important;
    border-bottom: 1px solid var(--color-gray-100);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--color-primary) !important;
    padding-left: var(--space-sm);
    transition: all var(--transition-fast);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    display: block;
    text-align: center;
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    border-radius: var(--radius-md);
  }

  .nav-cta:hover {
    background-color: var(--color-primary-dark) !important;
    color: var(--color-white) !important;
    transform: none;
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
    opacity: 0;
  }

  .nav-overlay.is-visible {
    pointer-events: auto;
    opacity: 1;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .page-hero {
    min-height: 280px;
  }

  .page-hero-title {
    font-size: var(--text-3xl);
  }

  .section-padding {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }

  .section-heading {
    font-size: var(--text-2xl);
  }

  .cta-banner h2 {
    font-size: var(--text-2xl);
  }

  .cta-banner p {
    font-size: var(--text-base);
  }

  .intro-image::after {
    display: none;
  }

  .intro-image img {
    height: 300px;
  }

  .transformation-card img {
    aspect-ratio: 9 / 16;
  }

  .testimonial-card {
    padding: var(--space-xl);
  }

  .appointment-form-wrapper,
  .contact-form-wrapper {
    padding: var(--space-lg);
  }

  .map-container {
    height: 300px;
  }

  .call-cta .phone-number {
    font-size: var(--text-2xl);
  }
}

/* Large Desktop - 1440px */
@media (min-width: 1440px) {
  :root {
    --container-max: 1320px;
  }

  .hero-title {
    font-size: 4.5rem;
  }
}
