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

:root {
  --terracotta: #C0603A;
  --terracotta-dark: #A84E2C;
  --terracotta-light: #D4845E;
  --sand: #E8D5C0;
  --sand-light: #F5EDE3;
  --sand-lighter: #FBF7F3;
  --sand-dark: #C4A882;
  --cream: #FFF9F5;
  --text: #3A2218;
  --text-muted: #7A5C4F;
  --white: #FFFFFF;
  --green: #4A9E6B;
  --shadow-sm: 0 2px 8px rgba(62, 34, 24, 0.06);
  --shadow-md: 0 8px 30px rgba(62, 34, 24, 0.10);
  --shadow-lg: 0 16px 50px rgba(62, 34, 24, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --font-body: 'Nunito', sans-serif;
  --font-display: 'Playfair Display', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

img, svg { display: block; max-width: 100%; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--terracotta); color: white;
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700;
  border: 2px solid transparent; border-radius: var(--radius-md);
  cursor: pointer; transition: all 0.25s ease;
  white-space: nowrap; text-align: center;
}
.btn-primary {
  background: var(--terracotta); color: var(--white);
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background: var(--terracotta-dark); border-color: var(--terracotta-dark);
  color: var(--white); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 96, 58, 0.35);
}
.btn-secondary {
  background: var(--white); color: var(--terracotta);
  border-color: var(--terracotta);
}
.btn-secondary:hover {
  background: var(--sand-light); color: var(--terracotta-dark);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }
.btn-nav {
  background: var(--terracotta); color: var(--white);
  padding: 10px 24px; border-radius: var(--radius-md);
  font-size: 0.95rem;
}
.btn-nav:hover { background: var(--terracotta-dark); color: var(--white); transform: translateY(-1px); }

/* ─── Section shared ─── */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--terracotta); margin-bottom: 12px;
  background: rgba(192, 96, 58, 0.1); padding: 6px 16px;
  border-radius: 50px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--text); line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc { font-size: 1.1rem; color: var(--text-muted); }

/* ─── Header ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(251, 247, 243, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(192, 96, 58, 0.08);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 76px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); font-weight: 800; font-size: 1.1rem;
  line-height: 1.2;
}
.logo-icon { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-accent { color: var(--terracotta); font-size: 0.85rem; }

.nav-list {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-list a {
  color: var(--text); font-weight: 600; font-size: 0.95rem;
  padding: 8px 16px; border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.nav-list a:hover { background: rgba(192, 96, 58, 0.08); color: var(--terracotta); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text); padding: 8px;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 140px 0 0;
  background: linear-gradient(160deg, var(--sand-light) 0%, var(--cream) 50%, var(--sand-lighter) 100%);
  overflow: hidden;
  min-height: 100vh; display: flex; flex-direction: column;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(192, 96, 58, 0.06) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(232, 213, 192, 0.5) 0%, transparent 50%);
  pointer-events: none;
}
.hero-container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 60px; align-items: center;
  padding-top: 20px; padding-bottom: 80px;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 700; color: var(--terracotta);
  background: rgba(192, 96, 58, 0.1); padding: 8px 18px;
  border-radius: 50px; margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; line-height: 1.25;
  color: var(--text); margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.08rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Floating cards */
.hero-float-cards { position: relative; height: 480px; }
.float-card {
  position: absolute; background: var(--white);
  border-radius: var(--radius-lg); padding: 20px 24px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 0.95rem; color: var(--text);
  animation: float 4s ease-in-out infinite;
}
.float-card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--sand-light); color: var(--terracotta);
  flex-shrink: 0;
}
.float-card--1 { top: 0; right: 20px; animation-delay: 0s; }
.float-card--2 { top: 150px; left: 0; animation-delay: 1.2s; }
.float-card--3 { bottom: 30px; right: 10px; animation-delay: 2.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-wave { flex-shrink: 0; margin-top: -1px; }
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ─── Services ─── */
.services { background: var(--sand-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  height: 200px; background-size: cover; background-position: center;
}
.service-card-body { padding: 28px 24px; }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: rgba(192, 96, 58, 0.1); color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card-body h3 {
  font-family: var(--font-display); font-size: 1.25rem;
  font-weight: 700; margin-bottom: 10px; color: var(--text);
}
.service-card-body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ─── About ─── */
.about { background: var(--cream); }
.about-container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-main {
  border-radius: var(--radius-xl);
  height: 560px; background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg);
}
.about-image-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 200px; height: 200px;
  background: var(--sand); border-radius: var(--radius-xl);
  z-index: -1;
}
.about-experience-badge {
  position: absolute; bottom: 30px; left: -20px;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 18px 24px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
}
.about-experience-badge .exp-number {
  font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 700; color: var(--terracotta);
}
.about-experience-badge .exp-label {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
}
.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 20px; text-align: left; }
.about-text { color: var(--text-muted); margin-bottom: 16px; font-size: 1.02rem; }
.about-features {
  list-style: none; display: grid; gap: 12px;
  margin: 28px 0 32px;
}
.about-features li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 1rem;
}

/* ─── Testimonials ─── */
.patients { background: var(--sand-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 18px; }
.testimonial-quote {
  font-size: 1rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--text); }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

/* ─── Location ─── */
.location { background: var(--cream); }
.location-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 32px; align-items: stretch;
}
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); min-height: 400px;
}
.location-info { display: flex; flex-direction: column; gap: 20px; }
.location-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.location-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: rgba(192, 96, 58, 0.1); color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.location-card strong { display: block; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 4px;
}
.location-card p { font-size: 1rem; color: var(--text); line-height: 1.6; }
.location-card a { color: var(--terracotta); font-weight: 700; }

/* ─── Contact ─── */
.contact { background: var(--sand-light); }
.contact-container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.contact-content .section-title { text-align: left; margin-bottom: 16px; }
.contact-content .section-desc { text-align: left; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 1.05rem; color: var(--text);
  padding: 16px 20px; background: var(--white);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-detail:hover { transform: translateX(4px); box-shadow: var(--shadow-md); color: var(--terracotta); }
.contact-detail svg { color: var(--terracotta); flex-shrink: 0; }

.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 700; font-size: 0.9rem;
  color: var(--text); margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--sand); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem;
  color: var(--text); background: var(--sand-lighter);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(192, 96, 58, 0.12);
  background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--sand-dark); }
.form-success {
  display: flex; align-items: center; gap: 12px;
  margin-top: 20px; padding: 16px 20px;
  background: rgba(74, 158, 107, 0.1); border-radius: var(--radius-md);
  color: var(--green); font-size: 0.95rem;
}
.form-success strong { display: block; }

/* ─── Footer ─── */
.site-footer { background: var(--text); color: rgba(255,255,255,0.7); }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px; padding: 64px 24px;
}
.footer-brand p { margin-top: 16px; font-size: 0.95rem; line-height: 1.7; }
.footer-brand .logo-text { color: white; }
.footer-brand .logo-accent { color: var(--sand); }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong, .footer-contact strong {
  font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--sand);
}
.footer-links ul, .footer-contact ul {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.footer-links a, .footer-contact a {
  color: rgba(255,255,255,0.6); font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--sand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px; text-align: center;
  font-size: 0.88rem;
}

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Mobile ─── */
@media (max-width: 960px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-float-cards { display: none; }
  .hero-card { padding: 36px 28px; }
  .about-container { grid-template-columns: 1fr; }
  .about-image-main { height: 380px; }
  .location-grid { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-list {
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--cream); flex-direction: column;
    padding: 24px; gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 999;
  }
  .nav-list.open { transform: translateY(0); opacity: 1; }
  .nav-list a { padding: 14px 16px; font-size: 1.05rem; width: 100%; }
  .nav-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
  .hero { padding-top: 110px; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section { padding: 70px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-experience-badge { left: 10px; bottom: 10px; }
  .about-image-accent { display: none; }
}
