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

:root {
  --blue: #1a6faf;
  --blue-dark: #145a8e;
  --blue-light: #e8f3fb;
  --teal: #0f9b8e;
  --gold: #c8973a;
  --text: #1a2535;
  --text-muted: #5a6a7e;
  --bg: #ffffff;
  --bg-light: #f7fafd;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26,111,175,0.10);
  --shadow-lg: 0 12px 48px rgba(26,111,175,0.16);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-muted); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.bg-light { background: var(--bg-light); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  padding: 11px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; }

/* ===== NAV ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26,111,175,0.08);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 1.5rem; }
.logo-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--blue); line-height: 1.1; }
.logo-sub { font-size: 0.72rem; color: var(--text-muted); }
.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 6px; font-weight: 500; color: var(--text); font-size: 0.9rem; transition: color var(--transition), background var(--transition); }
.nav-links a:hover { color: var(--blue); background: var(--blue-light); }
.nav-cta { margin-left: 8px; padding: 10px 20px; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--blue); margin-left: auto; }
.mobile-menu { display: none; flex-direction: column; list-style: none; padding: 16px 24px 20px; gap: 4px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: 10px 12px; border-radius: 6px; font-weight: 500; color: var(--text); }
.mobile-menu a:hover { background: var(--blue-light); color: var(--blue); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0d4f80 0%, #1a6faf 50%, #0f9b8e 100%);
  display: flex; align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  max-width: 1200px; margin: 0 auto; padding: 60px 24px 120px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-eyebrow { color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: #a8e6df; }
.hero-desc { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; max-width: 500px; }
.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-num { font-size: 1.5rem; font-weight: 700; color: #fff; }
.trust-item > span:last-child { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }
.hero-image-wrap { display: flex; justify-content: center; }
.hero-image-card {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  max-width: 420px;
  width: 100%;
}
.hero-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 540px;
}
.hero-badge {
  position: absolute;
  bottom: -20px; left: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
}
.badge-icon { width: 32px; height: 32px; background: var(--teal); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.hero-badge strong { display: block; color: var(--text); font-size: 0.9rem; }
.hero-badge span { color: var(--text-muted); font-size: 0.8rem; }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-wave svg { display: block; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text h2 { margin: 12px 0 20px; }
.about-text p { margin-bottom: 16px; }
.about-list { list-style: none; margin: 24px 0 32px; }
.about-list li { padding: 8px 0; color: var(--text); font-weight: 500; border-bottom: 1px solid rgba(26,111,175,0.08); }
.office-card {
  background: var(--bg-light);
  border: 1px solid rgba(26,111,175,0.1);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.office-info-row { display: flex; align-items: flex-start; gap: 16px; }
.office-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.office-info-row strong { display: block; color: var(--text); margin-bottom: 4px; }
.office-info-row p { margin: 0; font-size: 0.95rem; }
.office-info-row a { color: var(--blue); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-header h2 { margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { margin-bottom: 10px; color: var(--text); }
.service-card p { font-size: 0.95rem; }

/* ===== BOOKING ===== */
.booking-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Calendar */
.cal-wrap {
  background: #fff;
  border: 1px solid rgba(26,111,175,0.12);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-header h3 { font-size: 1.1rem; color: var(--text); font-family: 'Inter', sans-serif; font-weight: 600; }
.cal-nav {
  background: none; border: 1px solid rgba(26,111,175,0.2);
  color: var(--blue); width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.cal-nav:hover { background: var(--blue); color: #fff; }
.cal-days-header { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 8px; }
.cal-days-header span { text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); padding: 6px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  font-weight: 500;
}
.cal-day.empty { cursor: default; }
.cal-day.past { color: #ccc; cursor: default; }
.cal-day.today { background: var(--blue-light); color: var(--blue); font-weight: 700; }
.cal-day.has-appts::after {
  content: '';
  position: absolute; bottom: 4px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
}
.cal-day.selected { background: var(--blue); color: #fff; }
.cal-day.selected::after { background: #fff; }
.cal-day:not(.empty):not(.past):hover { background: var(--blue-light); color: var(--blue); }
.cal-day.selected:hover { background: var(--blue-dark); color: #fff; }
.cal-day.weekend:not(.past) { color: var(--text-muted); }

/* Time slots */
.time-slots { margin-top: 20px; border-top: 1px solid rgba(26,111,175,0.08); padding-top: 20px; }
.time-slots h4 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; color: var(--text); }
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-btn {
  padding: 8px 4px;
  border: 1.5px solid rgba(26,111,175,0.2);
  background: #fff;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
  text-align: center;
}
.slot-btn:hover:not(.booked) { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }
.slot-btn.booked { background: #f5f5f5; color: #bbb; cursor: default; border-color: #eee; text-decoration: line-through; }
.slot-btn.selected-slot { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Booking form */
.form-wrap {
  background: #fff;
  border: 1px solid rgba(26,111,175,0.12);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--text); }
.req { color: #e55; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(26,111,175,0.2);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,175,0.1);
}
.radio-group { display: flex; gap: 20px; padding-top: 6px; }
.radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.95rem; color: var(--text); }
.selected-slot-display {
  background: var(--blue-light);
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
}
.slot-check { font-weight: 700; font-size: 1.1rem; }
.form-note { text-align: center; font-size: 0.8rem; margin-top: 12px; color: var(--text-muted); }

/* Success */
.form-success { text-align: center; padding: 48px 24px; }
.success-icon {
  width: 64px; height: 64px; background: var(--teal); color: #fff;
  border-radius: 50%; font-size: 1.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 { margin-bottom: 12px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border-top: 4px solid var(--blue);
}
.stars { color: #f4a52a; font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-card p { font-size: 0.95rem; margin-bottom: 16px; font-style: italic; }
.reviewer { font-weight: 600; font-size: 0.85rem; color: var(--text); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-grid h2 { margin: 12px 0 16px; }
.contact-details { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-details a { color: var(--blue); }
.map-wrap iframe { width: 100%; height: 340px; border-radius: var(--radius); }

/* ===== FOOTER ===== */
.footer { background: #0d1f33; color: rgba(255,255,255,0.75); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.footer-tagline { font-size: 0.85rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 0.88rem; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 24px; text-align: center; font-size: 0.8rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .hero-content { grid-template-columns: 1fr; padding: 48px 24px 100px; text-align: center; }
  .hero-image-wrap { order: -1; }
  .hero-img { max-height: 380px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-badge { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .section-pad { padding: 60px 0; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
}
