/* ===== CSS Variables ===== */
:root {
  --background: #f7f9fc;
  --foreground: #1a2744;
  --card: #ffffff;
  --card-foreground: #1a2744;
  --primary: #4a90b8;
  --primary-foreground: #ffffff;
  --secondary: #e8eef5;
  --secondary-foreground: #2a3a54;
  --muted: #f0f4f8;
  --muted-foreground: #5a6a7a;
  --accent: #6aa8c8;
  --accent-foreground: #ffffff;
  --border: #d8e2ec;
  --radius: 0.75rem;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ===== Utilities ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }
.text-small { font-size: 0.875rem; }
.text-label { 
  font-weight: 600; 
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.mt-2 { margin-top: 0.5rem; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(26, 39, 68, 0.8);
  transition: color 0.2s;
}

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

.phone-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

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

.phone-link svg {
  color: var(--primary);
}

@media (min-width: 768px) {
  .phone-link { display: flex; }
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--muted);
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle.active .icon-menu {
  display: none;
}

.menu-toggle.active .icon-close {
  display: block;
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.nav-mobile.active {
  display: flex;
}

@media (min-width: 768px) {
  .nav-mobile { display: none !important; }
}

.phone-link-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

.phone-link-mobile:hover {
  color: var(--primary);
}

.phone-link-mobile svg {
  color: var(--primary);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--secondary), var(--background), var(--background));
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-circle-1 {
  top: 5rem;
  right: 2.5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(74, 144, 184, 0.05);
}

.hero-circle-2 {
  bottom: 5rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(106, 168, 200, 0.05);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  padding: 0 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  font-weight: 300;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.5rem; }
}

.hero-subtitle-small {
  font-size: 1.125rem;
  color: rgba(90, 106, 122, 0.8);
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background: rgba(74, 144, 184, 0.9);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted-foreground);
  transition: color 0.2s;
  animation: bounce 1s infinite;
}

.scroll-indicator:hover {
  color: var(--primary);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-0.5rem); }
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: rgba(232, 238, 245, 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 3rem; }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.section-divider {
  width: 5rem;
  height: 0.25rem;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 9999px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 1.5rem auto 0;
}

/* ===== Grid ===== */
.grid-2 {
  display: grid;
  gap: 3rem;
}

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

.grid-3 {
  display: grid;
  gap: 2rem;
  margin-bottom: 5rem;
}

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

/* ===== Cards ===== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border: none;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 2rem;
}

.card-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(74, 144, 184, 0.1);
  flex-shrink: 0;
}

.icon-circle svg {
  color: var(--primary);
}

.icon-circle-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(74, 144, 184, 0.1);
  margin: 0 auto 1.5rem;
  transition: background 0.2s;
}

.card:hover .icon-circle-large {
  background: rgba(74, 144, 184, 0.2);
}

.icon-circle-large svg {
  color: var(--primary);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
}

.card-title-center {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

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

.card-body {
  color: rgba(26, 39, 68, 0.8);
}

.card-body > p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card-body > p:last-child {
  margin-bottom: 0;
}

.text-block {
  margin-bottom: 1.5rem;
}

.text-block:last-child {
  margin-bottom: 0;
}

.list {
  list-style: none;
  margin-top: 0.75rem;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.bullet {
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.card-footer-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.footer-icon-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-icon-row svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.icon-primary {
  color: var(--primary);
}

/* ===== Gallery ===== */
.gallery-section {
  margin-top: 2rem;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(74, 144, 184, 0.3);
}

.gallery-caption {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-hint {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-content {
  max-width: 56rem;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Testimonials ===== */
.testimonials-wrapper {
  position: relative;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.testimonial-nav:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.testimonial-prev { left: -1rem; }
.testimonial-next { right: -1rem; }

@media (min-width: 768px) {
  .testimonial-nav { display: flex; }
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  scroll-snap-align: start;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.quote-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(74, 144, 184, 0.1);
}

.quote-icon svg {
  color: var(--primary);
}

.testimonial-info {
  flex: 1;
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--primary);
  color: var(--primary);
}

.testimonial-type {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(74, 144, 184, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-text {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.scroll-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .scroll-hint { display: none; }
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-label {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.practitioner-info {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.practitioner-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.map-container {
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .map-container { height: 100%; min-height: 400px; }
}

/* ===== Footer ===== */
.footer {
  background: var(--foreground);
  color: var(--background);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

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

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--background);
  transition: color 0.2s;
}

.footer-logo:hover {
  color: rgba(247, 249, 252, 0.8);
}

.footer-info {
  margin-top: 1rem;
  color: rgba(247, 249, 252, 0.7);
}

.footer-title {
  font-weight: 600;
  color: var(--background);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(247, 249, 252, 0.7);
  transition: color 0.2s;
}

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

.footer-address {
  font-style: normal;
  color: rgba(247, 249, 252, 0.7);
}

.footer-address p {
  margin-bottom: 0.25rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 249, 252, 0.2);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(247, 249, 252, 0.5);
}
