/* ============================================
   Boutique Smiles NYC — Angela P. Abernathy, DDS
   Bold Editorial Design | Plum + Amber Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --plum-900: #1A0A2E;
  --plum-800: #2D1B4E;
  --plum-700: #4A235A;
  --plum-600: #6B3478;
  --plum-500: #8B4598;
  --plum-100: #F3E8F9;
  --plum-50:  #FBF5FD;

  --amber-500: #F5C518;
  --amber-400: #FFD740;
  --amber-300: #FFE566;
  --amber-100: #FFF8E1;

  --neutral-900: #0D0D0D;
  --neutral-700: #2A2A2A;
  --neutral-500: #6B6B6B;
  --neutral-300: #B8B8B8;
  --neutral-100: #F0EDE8;
  --neutral-50:  #FAFAF8;
  --white: #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(26,10,46,0.06), 0 1px 2px rgba(26,10,46,0.04);
  --shadow-md: 0 4px 16px rgba(26,10,46,0.08), 0 2px 4px rgba(26,10,46,0.04);
  --shadow-lg: 0 12px 40px rgba(26,10,46,0.12), 0 4px 12px rgba(26,10,46,0.06);
  --shadow-xl: 0 24px 60px rgba(26,10,46,0.16), 0 8px 20px rgba(26,10,46,0.08);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--neutral-700);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-2xl); }
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--plum-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.preloader-icon {
  animation: preloaderPulse 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.preloader-bar {
  width: 80px;
  height: 2px;
  background: var(--plum-700);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--amber-500);
  border-radius: 2px;
  animation: preloaderSlide 1s ease-in-out infinite;
}

@keyframes preloaderSlide {
  0% { transform: translateX(-200%); }
  100% { transform: translateX(600%); }
}

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

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--plum-700);
  color: var(--amber-500);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.site-header.scrolled .logo-mark {
  background: var(--plum-700);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* --- Navigation --- */
.main-nav {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--amber-500);
  transition: width var(--transition-fast);
}

.main-nav a:hover { color: var(--plum-700); }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--plum-700) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--plum-600) !important;
  transform: translateY(-1px);
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
  z-index: 1001;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Nav Overlay --- */
@media (max-width: 767px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--neutral-900);
  }

  .nav-cta {
    font-size: 1.1rem !important;
    padding: 0.8rem 2rem !important;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--plum-700);
  border: 1.5px solid var(--plum-700);
}

.btn-ghost:hover {
  background: var(--plum-700);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-ghost-light:hover {
  background: var(--white);
  color: var(--plum-700);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* --- Section Eyebrow --- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--plum-500);
  margin-bottom: var(--space-md);
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--amber-500);
}

.section-eyebrow--light {
  color: var(--amber-300);
}

.section-eyebrow--light::before {
  background: var(--amber-500);
}

/* --- Section Title --- */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.section-title em {
  font-style: italic;
  color: var(--plum-600);
}

.section-header {
  margin-bottom: var(--space-3xl);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-800) 50%, var(--plum-700) 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 600px 600px at 80% 20%, rgba(245,197,24,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 20% 80%, rgba(107,52,120,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--amber-500);
  flex-shrink: 0;
}

.hero-eyebrow span {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-300);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.hero-headline em {
  font-style: italic;
  color: var(--amber-500);
}

.hero-subheadline {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-actions .btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.hero-actions .btn-ghost:hover {
  background: var(--white);
  color: var(--plum-700);
  border-color: var(--white);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

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

.hero-image-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--amber-500);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* Stat Cards */
.stat-card {
  position: absolute;
  background: var(--white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 2;
}

.stat-card--top {
  top: -20px;
  right: -10px;
}

.stat-card--bottom {
  bottom: 40px;
  left: -30px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--plum-700);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }

  .hero-image-card img {
    height: 560px;
  }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-base);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--plum-700), var(--amber-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  background: var(--white);
  border-color: var(--plum-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--plum-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum-700);
  margin-bottom: var(--space-md);
  transition: background var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--plum-700);
  color: var(--amber-500);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--neutral-500);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--plum-700);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition-fast);
}

.service-link:hover { gap: 0.6rem; }

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

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

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--space-4xl) 0;
  background: var(--neutral-50);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}

.about-img-secondary img {
  width: 240px;
  height: 180px;
  object-fit: cover;
  display: block;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--plum-700);
  color: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.exp-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber-500);
  line-height: 1;
}

.exp-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 0.3rem;
}

.about-content .section-title {
  margin-bottom: var(--space-md);
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--neutral-700);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.about-content > p {
  color: var(--neutral-500);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.pillar {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.pillar-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-500);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pillar h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.3rem;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--neutral-500);
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
  padding: var(--space-4xl) 0;
  background: var(--plum-900);
  position: relative;
  overflow: hidden;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 800px 800px at 90% 10%, rgba(245,197,24,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.philosophy-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote {
  position: relative;
  margin-bottom: var(--space-xl);
}

.philosophy-quote svg {
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.3;
}

.philosophy-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.philosophy-quote p em {
  color: var(--amber-400);
  font-style: italic;
}

.philosophy-cite {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-500);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: 1px solid transparent;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  background: var(--white);
  border-color: var(--plum-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.testimonial-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--neutral-700);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--plum-100);
}

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

.testimonial-name {
  font-weight: 600;
  color: var(--neutral-900);
  font-size: 0.95rem;
}

.testimonial-detail {
  font-size: 0.8rem;
  color: var(--neutral-500);
}

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

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: var(--space-4xl) 0;
  background: var(--plum-800);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 600px 400px at 10% 50%, rgba(245,197,24,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 90% 50%, rgba(107,52,120,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.cta-title em {
  font-style: italic;
  color: var(--amber-400);
}

.cta-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .cta-inner {
    grid-template-columns: 1fr auto;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--neutral-50);
}

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

.contact-lead {
  font-size: 1.05rem;
  color: var(--neutral-500);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--plum-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum-700);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-900);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: var(--neutral-500);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--plum-700);
  text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--plum-100);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-lg);
}

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

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neutral-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--neutral-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--neutral-700);
  background: var(--neutral-50);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--plum-500);
  box-shadow: 0 0 0 3px rgba(74,35,90,0.1);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--neutral-300);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--neutral-500);
  text-align: center;
  margin-top: var(--space-sm);
}

/* Form Success */
.form-success {
  text-align: center;
  padding: var(--space-2xl);
}

.form-success .success-icon {
  width: 72px;
  height: 72px;
  background: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--neutral-500);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.form-success .btn {
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--plum-900);
  color: rgba(255,255,255,0.7);
  padding: var(--space-4xl) 0 var(--space-lg);
}

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

.footer-brand .logo-mark {
  background: var(--plum-600);
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-tagline {
  color: rgba(255,255,255,0.5);
}

.footer-desc {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255,255,255,0.6);
}

.footer-nav strong,
.footer-services strong,
.footer-contact strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-500);
  margin-bottom: var(--space-md);
}

.footer-nav a,
.footer-services a,
.footer-contact a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  padding: 0.3rem 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-nav a:hover,
.footer-services a:hover,
.footer-contact a:hover {
  color: var(--white);
  padding-left: 0.3rem;
}

.footer-contact address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  font-size: 0.75rem !important;
}

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  background: var(--plum-700);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 99;
}

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

.back-to-top:hover {
  background: var(--plum-600);
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
