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

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.7;
  opacity: 0;
  animation: fadeIn 0.9s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #00b7c2;
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER & NAV */

.site-header {
  background: #ffffff;
  padding: 1.2rem 0;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 32px;
  height: auto;
}

.logo-with-icon span span {
  color: #00b7c2;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #00b7c2;
  transition: width 0.18s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #00b7c2;
}

.nav-links a.active::after {
  width: 100%;
}

/* Theme switch */

.theme-switch {
  display: flex;
  align-items: center;
}

.theme-switch input {
  display: none;
}

.theme-switch label {
  cursor: pointer;
  font-size: 1.2rem;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
}

/* HERO */

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(to bottom right, #ffffff, #e6f9ff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero-subtitle {
  margin: 1rem 0 1.5rem;
  color: #475569;
  max-width: 34rem;
  font-size: 0.98rem;
}

/* variant used on services */
.hero-subtitle.small {
  font-size: 0.95rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.hero-tags span {
  background: #e0f7fb;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  font-size: 0.8rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.hero-logo-img {
  max-width: 260px;
}

.ai-caption {
  font-size: 0.95rem;
  color: #475569;
}

/* EYEBROW */

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #00b7c2;
  margin-bottom: 0.75rem;
}

/* BUTTONS */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.18s ease transform, 0.18s ease box-shadow, 0.18s ease opacity;
  font-size: 0.95rem;
}

.primary-btn {
  background: #00b7c2;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 183, 194, 0.28);
}

.ghost-btn {
  background: transparent;
  color: #00b7c2;
  border: 2px solid #00b7c2;
}

.btn:hover {
  opacity: 0.94;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  opacity: 0.9;
}

/* Share button */

.share-btn {
  background: #00b7c2;
  color: #ffffff;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.18s ease transform, 0.18s ease opacity;
}

.share-btn:hover {
  opacity: 0.94;
  transform: translateY(-2px);
}

/* SECTIONS */

.section {
  padding: 4rem 0;
}

.subtle-bg {
  background: #f1fafe;
}

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

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

/* GRID & CARDS */

.grid {
  display: grid;
  gap: 2.5rem;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.8rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-bottom: 0.4rem;
}

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

.card-list li {
  margin: 0.4rem 0;
  color: #475569;
  font-size: 0.92rem;
}

/* Card text link */

.card-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #00b7c2;
  font-weight: 600;
}

.card-link:hover {
  text-decoration: underline;
}

/* Pricing */

.pricing-card .price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0.4rem;
  font-size: 0.93rem;
}

.price {
  font-weight: 700;
  color: #00b7c2;
}

.full-btn {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

/* Service CTA anchor used in tracking */
.service-cta {
  margin-top: 1.2rem;
}

/* Page hero */

.page-hero {
  padding: 4rem 0 2rem;
}

/* Narrow text */

.narrow {
  max-width: 36rem;
}

/* Contact */

.contact-grid {
  gap: 3rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  margin-top: 0.3rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  border-color: #00b7c2;
}

.inline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.small-text {
  font-size: 0.8rem;
  color: #64748b;
}

.contact-panel {
  background: #f0fbfd;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #bae6fd;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.contact-list li {
  margin-bottom: 0.7rem;
}

/* Booking section / Calendly */

.booking-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.calendly-inline-widget {
  width: 100%;
  min-width: 320px;
  height: 750px;
}

/* Blog */

.blog-grid {
  gap: 2rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.6rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.blog-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.blog-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.6rem;
}

/* Values grid (About page) */

.values-grid {
  gap: 2rem;
}

/* Callout & highlight */

.callout {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2rem 2.5rem;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.callout .btn {
  background: #00b7c2;
  color: white;
}

.highlight-strip {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2.5rem 0;
}

.highlight-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.highlight-stats {
  display: flex;
  gap: 2rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* FOOTER */

.site-footer {
  background: #0f172a;
  color: white;
  padding: 3rem 0;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links a.active-footer {
  color: #00b7c2;
  font-weight: 600;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-logo span {
  color: #00b7c2;
}

.footer-tagline {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.footer-meta {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* WHATSAPP FAB & BOOK CTA */

.whatsapp-fab {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.4);
}

.book-now-cta {
  position: fixed;
  left: 1.3rem;
  bottom: 1.3rem;
  background: linear-gradient(90deg, #00b7c2, #c5a13e);
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  z-index: 998;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.book-now-cta a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

/* DARK MODE */

body.dark-mode {
  background: #020617;
  color: #e5e7eb;
}

body.dark-mode .site-header {
  background: #020617;
  border-bottom-color: #1e293b;
}

body.dark-mode .hero {
  background: radial-gradient(circle at top, #1e293b, #020617);
}

body.dark-mode .card {
  background: #020617;
  border-color: #1e293b;
  box-shadow: none;
}

body.dark-mode .subtle-bg {
  background: #020617;
}

body.dark-mode .section {
  background: transparent;
}

body.dark-mode .contact-panel {
  background: #020617;
  border: 1px solid #1e293b;
}

body.dark-mode .share-btn,
body.dark-mode .primary-btn {
  background: #00b7c2;
}

body.dark-mode .ghost-btn {
  border-color: #00b7c2;
  color: #00b7c2;
}

body.dark-mode .site-footer {
  background: #020617;
}

body.dark-mode .nav-links {
  background: #020617;
}

body.dark-mode .nav-links a {
  color: #cbd5e1;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .footer-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .hero-logo-img {
    max-width: 210px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .highlight-stats {
    margin-top: 1.5rem;
  }

  .inline-row {
    grid-template-columns: 1fr;
  }

  /* Mobile nav behaviour */
  .nav-right {
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 1.5rem;
    left: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    z-index: 60;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    margin: 0.35rem 0;
  }

  .book-now-cta {
    left: 1rem;
    bottom: 4.3rem;
  }

  .whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
  }

  .contact-panel {
    padding: 1.5rem;
  }

  .calendly-inline-widget {
    height: 650px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3.2rem 0 3rem;
  }

  .page-hero {
    padding: 3rem 0 1.5rem;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .site-header {
    padding: 0.9rem 0;
  }

  .booking-actions {
    align-items: stretch;
  }

  .booking-actions .btn {
    width: 100%;
    text-align: center;
  }

  .calendly-inline-widget {
    height: 600px;
  }
}
