@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Lato:wght@300;400;700&display=swap');

/* ── Variables ── */
:root {
  --teal-dark:   #04342C;
  --teal-mid:    #085041;
  --teal:        #0F6E56;
  --teal-bright: #1D9E75;
  --teal-light:  #9FE1CB;
  --teal-pale:   #E1F5EE;
  --warm-white:  #F8F6F1;
  --white:       #FFFFFF;
  --text-dark:   #1A2B25;
  --text-mid:    #3D5248;
  --text-muted:  #6B8277;
  --gold:        #C9A84C;
  --radius:      6px;
  --shadow:      0 2px 16px rgba(4,52,44,0.10);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--teal-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-brand-text {
  font-family: 'Playfair Display', serif;
  color: var(--teal-light); font-size: 1.1rem; letter-spacing: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a {
  color: rgba(225,245,238,0.80); font-size: 0.875rem;
  font-weight: 400; letter-spacing: 0.04em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal-light); }
.nav-links a.active { color: var(--teal-light); font-weight: 700; }
.nav-cta {
  background: var(--teal-bright) !important; color: var(--white) !important;
  padding: 0.5rem 1.25rem; border-radius: 30px;
  font-weight: 700 !important; opacity: 1 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #17856A !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--teal-light); margin: 5px 0; transition: 0.3s; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 560px;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--teal-dark); overflow: hidden;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 3rem 4rem 4rem; position: relative; z-index: 2;
}
.hero-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--teal-bright); text-transform: uppercase; margin-bottom: 1rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--teal-light); font-style: italic; }
.hero-sub { color: rgba(225,245,238,0.80); font-size: 1.05rem; max-width: 440px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: 4px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.03em; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--teal-bright); color: var(--white); }
.btn-primary:hover { background: #17856A; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(29,158,117,0.35); }
.btn-outline { border: 2px solid var(--teal-light); color: var(--teal-light); background: transparent; }
.btn-outline:hover { background: rgba(159,225,203,0.1); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-mid); transform: translateY(-1px); }
.hero-image { position: relative; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(0.85); }
.hero-image-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--teal-dark) 0%, transparent 40%); }
.hero-badge {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  background: rgba(4,52,44,0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--teal-bright); border-radius: 40px;
  padding: 0.6rem 1.5rem; color: var(--teal-light);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  white-space: nowrap; z-index: 3;
}

/* ── Trust Bar ── */
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--teal-mid); border-top: 1px solid rgba(29,158,117,0.3); }
.trust-item { padding: 1.25rem 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.trust-item:last-child { border-right: none; }
.trust-num { display: block; font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--teal-light); line-height: 1; margin-bottom: 0.25rem; }
.trust-label { font-size: 0.75rem; color: rgba(225,245,238,0.65); letter-spacing: 0.05em; font-weight: 700; text-transform: uppercase; }

/* ── Sections ── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 0.75rem; }
.section-title { margin-bottom: 1rem; color: var(--text-dark); }
.section-sub { font-size: 1.05rem; color: var(--text-mid); max-width: 600px; line-height: 1.75; }
.section-alt { background: var(--warm-white); }
.section-dark { background: var(--teal-dark); }
.section-dark .section-label { color: var(--teal-bright); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(225,245,238,0.75); }

/* ── Two Column ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-text .section-label { display: block; margin-bottom: 0.5rem; }

/* ── Photo Cards ── */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--teal-pale); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(4,52,44,0.85)); color: var(--white); padding: 2rem 1rem 0.85rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; }

/* ── Dr. Steve ── */
.dr-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dr-photo img { width: 100%; }
.dr-name { margin-bottom: 0.15rem; }
.dr-credentials { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 1.25rem; display: block; }
.dr-bio p { color: var(--text-mid); margin-bottom: 0.9rem; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.svc-card { background: var(--white); border: 1px solid rgba(15,110,86,0.12); border-radius: var(--radius); padding: 1.75rem 1.5rem; transition: box-shadow 0.2s, transform 0.2s; }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-icon { width: 48px; height: 48px; background: var(--teal-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.svc-icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svc-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.svc-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ── Testimonials ── */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; }
.review-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(159,225,203,0.2); border-radius: var(--radius); padding: 1.5rem; }
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.review-text { font-style: italic; color: rgba(225,245,238,0.85); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.75rem; }
.review-author { font-size: 0.8rem; color: var(--teal-light); font-weight: 700; letter-spacing: 0.06em; }

/* ── CTA Strip ── */
.cta-strip { background: var(--teal-bright); padding: 4rem 2rem; text-align: center; }
.cta-strip h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-strip p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-strip-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--teal); }
.btn-white:hover { background: var(--teal-pale); transform: translateY(-1px); }
.btn-white-outline { border: 2px solid rgba(255,255,255,0.6); color: var(--white); background: transparent; }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); }

/* ── Forms ── */
.form-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-mid); }
input, select, textarea {
  padding: 0.7rem 1rem; border: 1.5px solid #D0DDD9; border-radius: var(--radius);
  font-family: 'Lato', sans-serif; font-size: 0.95rem; color: var(--text-dark);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}
textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 1.25rem; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }
.form-success { display: none; padding: 1rem; background: var(--teal-pale); border-radius: var(--radius); color: var(--teal); font-weight: 700; margin-top: 1rem; text-align: center; }

/* ── Info Box ── */
.info-box { background: var(--teal-pale); border-left: 4px solid var(--teal-bright); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.info-box p { margin: 0; color: var(--teal); font-size: 0.925rem; }
.info-box strong { color: var(--teal-dark); }

/* ── Contact Details ── */
.contact-detail { display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 1.25rem; }
.contact-icon { width: 40px; height: 40px; min-width: 40px; background: var(--teal-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.15rem; }
.contact-value { font-size: 0.95rem; color: var(--text-dark); font-weight: 400; }
.contact-value a:hover { color: var(--teal-bright); }

/* ── Hours Table ── */
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours-table tr { border-bottom: 1px solid rgba(15,110,86,0.1); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.6rem 0; }
.hours-table td:last-child { text-align: right; color: var(--teal); font-weight: 700; }
.hours-closed { color: var(--text-muted) !important; font-style: italic; }

/* ── Page Header ── */
.page-header { background: var(--teal-dark); padding: 4rem 2rem 3rem; text-align: center; }
.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header p { color: rgba(225,245,238,0.75); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ── Booking Slots ── */
.slots-container { margin-top: 1.5rem; }
.slots-date-group { margin-bottom: 1.5rem; }
.slots-date-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-mid); margin-bottom: 0.6rem; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.5rem; }
.slot-btn {
  padding: 0.6rem 0.5rem; border: 1.5px solid rgba(15,110,86,0.25);
  border-radius: var(--radius); background: var(--white); color: var(--teal);
  font-family: 'Lato', sans-serif; font-size: 0.85rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.slot-btn:hover { background: var(--teal-pale); border-color: var(--teal-bright); }
.slot-btn.selected { background: var(--teal-bright); color: var(--white); border-color: var(--teal-bright); }
.slot-btn.booked { background: #f5f5f5; color: #bbb; border-color: #ddd; cursor: not-allowed; text-decoration: line-through; }
.booking-form { display: none; margin-top: 1.5rem; }
.booking-form.visible { display: block; }
.selected-slot-display { background: var(--teal-pale); border-radius: var(--radius); padding: 0.85rem 1.25rem; margin-bottom: 1.25rem; font-size: 0.9rem; color: var(--teal-dark); }
.selected-slot-display strong { color: var(--teal); }

/* ── Gallery Grid ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--teal-pale); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s, filter 0.4s; filter: brightness(0.95); }
.gallery-item:hover img { transform: scale(1.04); filter: brightness(1.05); }

/* ── Footer ── */
.site-footer { background: var(--teal-dark); color: rgba(225,245,238,0.65); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand-name { font-family: 'Playfair Display', serif; color: var(--teal-light); font-size: 1.2rem; margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.875rem; font-style: italic; margin-bottom: 1rem; }
.footer-heading { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal-light); margin-bottom: 0.85rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.25rem 2rem; text-align: center; font-size: 0.8rem; max-width: 1100px; margin: 0 auto; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 300px; }
  .hero-image-overlay { background: linear-gradient(to bottom, transparent 40%, var(--teal-dark) 100%); }
  .hero-content { padding: 2.5rem 1.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--teal-dark); padding: 1rem 1.5rem; gap: 0.75rem; box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3rem 1.25rem; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
}
