/* ============================================
   Dr. V's Mountain Meds — Stylesheet
   Warm, friendly, terracotta + sand palette
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --color-terracotta: #C0603A;
  --color-terracotta-dark: #A84E2C;
  --color-terracotta-light: #D4845E;
  --color-sand: #FDF6EE;
  --color-sand-dark: #F5E6D3;
  --color-sand-mid: #FAF0E4;
  --color-cream: #FFFCF8;
  --color-bark: #3D2B1F;
  --color-bark-light: #5C4033;
  --color-text: #2E1F14;
  --color-text-muted: #6B5344;
  --color-text-light: #8A7060;
  --color-white: #FFFFFF;
  --color-success: #4A7C59;
  --color-success-light: #E8F4EE;
  --color-accent-green: #4A7C59;
  --color-accent-purple: #6B5B95;
  --color-accent-blue: #4A6B9C;
  --color-accent-gold: #C4883A;
  --color-border: #E8D5C4;
  --color-border-light: #F0E0D0;

  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(61,43,31,0.06), 0 1px 2px rgba(61,43,31,0.04);
  --shadow-md: 0 4px 16px rgba(61,43,31,0.08), 0 2px 4px rgba(61,43,31,0.04);
  --shadow-lg: 0 12px 40px rgba(61,43,31,0.12), 0 4px 12px rgba(61,43,31,0.06);
  --shadow-xl: 0 24px 60px rgba(61,43,31,0.14);
  --shadow-card: 0 2px 12px rgba(61,43,31,0.07), 0 1px 3px rgba(61,43,31,0.05);
  --shadow-card-hover: 0 8px 30px rgba(61,43,31,0.12), 0 4px 8px rgba(61,43,31,0.06);

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

  --container-max: 1200px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-bark);
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

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

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

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

.btn-outline:hover {
  background: var(--color-terracotta);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-terracotta);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--color-sand);
  color: var(--color-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

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

/* ---- Section Headers ---- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-terracotta);
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(192,96,58,0.12) 0%, rgba(192,96,58,0.04) 100%);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  color: var(--color-bark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

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

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253,246,238,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow 0.3s ease;
  height: var(--header-height);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-bark);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-bark);
}

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--color-terracotta);
  background: rgba(192,96,58,0.08);
}

.nav-cta {
  background: var(--color-terracotta) !important;
  color: var(--color-white) !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--color-terracotta-dark) !important;
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(192,96,58,0.08);
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 2px;
  background: var(--color-bark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--color-bark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 0;
  background: linear-gradient(145deg, #FDF6EE 0%, #FAF0E4 40%, #F5E6D3 100%);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-right: 16px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-terracotta);
  margin-bottom: 20px;
  background: rgba(192,96,58,0.1);
  padding: 8px 18px;
  border-radius: var(--radius-full);
}

.hero-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-terracotta);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--color-bark);
  margin-bottom: 24px;
}

.hero-title em {
  color: var(--color-terracotta);
  font-style: italic;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-terracotta);
  line-height: 1;
}

.trust-label {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-weight: 600;
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 680px;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-float {
  position: absolute;
  bottom: -20px;
  left: -40px;
  width: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-white);
}

.hero-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: 24px;
  right: -16px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badge svg {
  color: var(--color-terracotta);
}

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(192,96,58,0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 100px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(74,124,89,0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* ---- Services ---- */
.services {
  background: var(--color-sand);
  padding: 96px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border-light);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(192,96,58,0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-bark);
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ---- About ---- */
.about {
  background: var(--color-cream);
  padding: 96px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-stack {
  position: relative;
}

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

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

.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--color-white);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--color-terracotta);
  color: var(--color-white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 2;
}

.about-experience-badge .exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.about-experience-badge .exp-label {
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0.9;
  line-height: 1.3;
}

.about-content .section-title {
  text-align: left;
}

.about-lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-content > p:not(.about-lead) {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-values {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.value-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(192,96,58,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ---- Patient Info ---- */
.patient-info {
  background: var(--color-sand);
  padding: 96px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s ease;
}

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

.info-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(192,96,58,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-bark);
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.info-list {
  display: grid;
  gap: 10px;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-light);
}

.info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-list li span:first-child {
  font-weight: 600;
  color: var(--color-text);
}

.info-list li span:last-child {
  color: var(--color-text-muted);
}

.info-address {
  font-style: normal;
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 8px;
}

.info-note {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.info-paragraph {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.info-steps {
  display: grid;
  gap: 14px;
}

.info-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.info-steps a {
  color: var(--color-terracotta);
  font-weight: 700;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-terracotta);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--color-cream);
  padding: 96px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  position: relative;
  transition: all 0.3s ease;
}

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

.testimonial-quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-terracotta);
  opacity: 0.12;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-bark);
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-bark);
}

.author-detail {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-bark) 0%, var(--color-bark-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(192,96,58,0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(192,96,58,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-content {
  flex: 1;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-description {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ---- Contact ---- */
.contact {
  background: var(--color-sand);
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
}

.contact-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(192,96,58,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-bark);
  margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

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

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}

.form-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-bark);
  margin-bottom: 28px;
  font-family: var(--font-body);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-bark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-cream);
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-terracotta);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(192,96,58,0.1);
}

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

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

.form-group select {
  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 d='M1 1l5 5 5-5' stroke='%236B5344' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

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

.form-success h4 {
  font-size: 1.375rem;
  color: var(--color-bark);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto;
}

.form-success a {
  font-weight: 700;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-bark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo-text {
  color: var(--color-white);
  font-size: 1.125rem;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 18px;
}

.footer-links ul {
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-terracotta-light);
}

.footer-contact p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-contact a {
  color: var(--color-terracotta-light);
  font-weight: 600;
}

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

.footer-hours {
  margin-top: 12px !important;
  font-size: 0.875rem !important;
  opacity: 0.6 !important;
}

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

.footer-bottom p {
  font-size: 0.8125rem;
  opacity: 0.5;
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  max-width: 500px;
  text-align: right;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Default state for reveal — visible for no-JS */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 32px;
  }
  
  .hero-visual {
    height: 540px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }
  
  .nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-sand);
    padding: 100px 32px 40px;
    box-shadow: var(--shadow-xl);
    transition: right 0.35s ease;
    z-index: 999;
  }
  
  .main-nav.open {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  
  .main-nav a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
  
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }
  
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(46,31,20,0.4);
    z-index: 998;
  }
  
  .nav-overlay.active {
    display: block;
  }
  
  /* Hero */
  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }
  
  .hero-content {
    padding-right: 0;
    order: 1;
  }
  
  .hero-visual {
    order: 2;
    height: 380px;
  }
  
  .hero-img-float {
    left: -16px;
    bottom: -12px;
    width: 200px;
  }
  
  .hero-badge {
    right: 0;
    top: 16px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    justify-content: center;
  }
  
  .hero-trust {
    gap: 16px;
  }
  
  .trust-number {
    font-size: 1.25rem;
  }
  
  /* Services */
  .services {
    padding: 64px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service-card {
    padding: 28px 24px;
  }
  
  /* About */
  .about {
    padding: 64px 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-visual {
    order: -1;
  }
  
  .about-img-secondary {
    right: -16px;
    bottom: -20px;
  }
  
  .about-experience-badge {
    left: -12px;
    top: -12px;
    padding: 16px 20px;
  }
  
  .about-experience-badge .exp-number {
    font-size: 1.75rem;
  }
  
  .about-content .section-title {
    text-align: center;
  }
  
  .about-content > p {
    text-align: center;
  }
  
  .about-content .btn {
    display: inline-flex;
    margin: 0 auto;
  }
  
  /* Patient Info */
  .patient-info {
    padding: 64px 0;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  /* Testimonials */
  .testimonials {
    padding: 64px 0;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
  
  /* CTA */
  .cta-banner {
    padding: 56px 0;
  }
  
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  
  .cta-actions .btn {
    justify-content: center;
  }
  
  /* Contact */
  .contact {
    padding: 64px 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info .section-title {
    text-align: center;
  }
  
  .contact-desc {
    text-align: center;
  }
  
  .contact-form-wrapper {
    padding: 28px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-disclaimer {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-visual {
    height: 300px;
  }
  
  .hero-img-float {
    width: 160px;
    left: -8px;
    bottom: -8px;
  }
  
  .section-title {
    font-size: 1.625rem;
  }
  
  .contact-form-wrapper {
    padding: 20px;
  }
}
