:root {
  --primary: #0b4f8a;
  --primary-dark: #073863;
  --accent: #0ea5a4;
  --accent-soft: #e6f7f7;
  --bg-soft: #f0f7fc;
  --bg-white: #ffffff;
  --text-dark: #102a43;
  --text-body: #486581;
  --text-muted: #627d98;
  --border: #d9e2ec;
  --shadow-sm: 0 4px 14px rgba(11, 79, 138, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 79, 138, 0.12);
  --radius: 14px;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-top: 0;
  line-height: 1.25;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Topbar */
.topbar {
  background: var(--primary-dark);
  color: #e2ecf5;
  font-size: 0.84rem;
  padding: 9px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item, .topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}

.topbar-link:hover {
  color: #5eead4;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-dark);
  line-height: 1.1;
}

.brand-text small {
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 600;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color 0.2s;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 79, 138, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 79, 138, 0.28);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

.btn-outline-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
  border: 1px solid var(--border);
  color: var(--text-dark);
  background: #fff;
}

.btn-outline-sm:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: radial-gradient(circle at top right, #d9f2f2 0%, var(--bg-soft) 48%, #ffffff 100%);
  padding: 64px 0 104px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 164, 0.22);
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.05rem);
  margin-bottom: 18px;
  color: var(--primary-dark);
}

.hero-content p {
  font-size: 1.07rem;
  color: var(--text-body);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-slides-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #bcccdc;
  cursor: pointer;
  transition: all 0.25s;
}

.slide-dot.active {
  width: 28px;
  background: var(--primary);
}

.hero-image-frame {
  position: relative;
  border-radius: 24px;
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow-md);
}

.hero-image-frame img {
  border-radius: 18px;
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}

.hero-float-card.card-top {
  top: 24px;
  left: -24px;
}

.hero-float-card.card-bottom {
  bottom: 24px;
  right: -20px;
}

.float-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e6f0fa;
  color: var(--primary);
  display: grid;
  place-items: center;
}

.float-icon.teal {
  background: var(--accent-soft);
  color: var(--accent);
}

.hero-float-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.hero-float-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Feature Strip */
.feature-strip {
  margin-top: -54px;
  position: relative;
  z-index: 10;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-box-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.feature-box h3 {
  font-size: 1.04rem;
  margin-bottom: 6px;
}

.feature-box p {
  margin: 0;
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 42px;
}

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

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 12px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  height: 440px;
  width: 100%;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: -18px;
  right: 22px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.exp-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
}

.exp-label {
  font-size: 0.85rem;
  line-height: 1.3;
}

.lead-text {
  font-size: 1.04rem;
  color: var(--text-dark);
  font-weight: 500;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.94rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.phone-pill {
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.phone-pill span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.phone-pill strong {
  color: var(--primary);
  font-size: 0.98rem;
}

/* Services */
.services-section {
  background: var(--bg-soft);
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}

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

.service-card[hidden] {
  display: none;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.93rem;
  flex: 1;
  margin-bottom: 18px;
}

.service-cta {
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.service-cta:hover {
  color: var(--accent);
}

/* Stats Banner */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #5eead4;
}

.stat-item span {
  font-size: 0.94rem;
  color: #e2ecf5;
}

/* Appointment */
.appointment-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.info-cards {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-card strong {
  color: var(--primary-dark);
}

.appointment-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.appointment-form-card h3 {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-feedback {
  padding: 12px 15px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-feedback.success {
  background: #e6fffa;
  color: #065f46;
  border: 1px solid #99f6e4;
}

.form-feedback.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Team */
.team-section {
  background: var(--bg-soft);
}

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

.team-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.team-avatar.teal {
  background: var(--accent);
}

.team-avatar.navy {
  background: var(--primary-dark);
}

.team-role {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Testimonials */
.testimonial-slider {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  text-align: center;
}

.stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 1.06rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial-author strong {
  display: block;
  color: var(--primary-dark);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* Blog */
.blog-section {
  background: var(--bg-soft);
}

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

.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 0.9rem;
  flex: 1;
}

.blog-read-btn {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

.faq-answer {
  padding: 0 22px 18px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 44px;
}

.footer-brand strong {
  color: #fff;
}

.footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
}

.footer a:hover {
  color: #5eead4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 0.84rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 42, 67, 0.62);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 999;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  background: #fff;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 18px;
  padding: 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--bg-soft);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.modal-highlights {
  background: var(--bg-soft);
  padding: 16px 20px;
  border-radius: 12px;
  margin: 18px 0;
}

.modal-highlights ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .appointment-grid {
    grid-template-columns: 1fr;
  }
  .feature-strip-grid,
  .services-grid,
  .team-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav.open {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .feature-strip-grid,
  .services-grid,
  .team-grid,
  .blog-grid,
  .footer-grid,
  .form-row,
  .check-list {
    grid-template-columns: 1fr;
  }
  .hero-float-card {
    position: static;
    margin-top: 12px;
  }
}
