/* ==================== LANDING LAYOUT — uses Nunito + existing theme variables ==================== */

/* Landing-specific variables that adapt to both themes */
:root {
  --section-alt-bg: hsl(var(--hue-color), 40%, 95%);
  --section-alt-hover: hsl(var(--hue-color), 30%, 91%);
}

body.dark-theme {
  --section-alt-bg: hsl(var(--hue-color), 25%, 10%);
  --section-alt-hover: hsl(var(--hue-color), 25%, 14%);
}

/* Improve secondary text contrast in light mode */
body.landing-page {
  --text-color-light: hsl(var(--hue-color), 8%, 42%);
}

body.landing-page.dark-theme {
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
}

/* Override base for landing: top nav, no bottom margin */
body.landing-page {
  margin: 0;
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.7;
}

/* Glow blob — uses theme accent */
.glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, color-mix(in srgb, var(--first-color) 12%, transparent) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
  animation: driftGlow 12s ease-in-out infinite alternate;
}

@keyframes driftGlow {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, 80px) scale(1.15); }
}

/* ── NAV (top, fixed) ── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 6%;
  background: color-mix(in srgb, var(--body-color) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--scroll-bar-color);
  transition: padding 0.3s;
}

.landing-nav .nav-logo {
  font-family: var(--body-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--title-color);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.landing-nav .nav-logo span {
  color: var(--first-color);
  letter-spacing: 0;
  margin-left: -0.04em;
}

.landing-nav .nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-nav .nav-links a {
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.landing-nav .nav-links a:hover {
  color: var(--text-color);
}

.landing-nav .nav-cta {
  background: var(--first-color);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.landing-nav .nav-cta:hover {
  background: var(--first-color-alt) !important;
  color: #fff !important;
}

.landing-nav .change-theme {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  margin-left: 0.5rem;
  padding: 0.35rem;
  min-width: 2rem;
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

.landing-nav .change-theme:hover {
  color: var(--first-color);
}

/* ── SECTIONS ── */
#home,
#about,
#domains,
#services,
#testimonials,
#contact {
  position: relative;
  z-index: 1;
}

.landing-page .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 6%;
}

/* ── HERO ── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 6%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--first-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--first-color);
}

.hero-headline {
  font-family: var(--body-font);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.12;
  color: var(--title-color);
  margin-bottom: 1.8rem;
  max-width: 780px;
}

.hero-headline em {
  font-style: italic;
  color: var(--first-color);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-color-light);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.8rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--first-color);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--body-font);
}

.btn-primary:hover {
  background: var(--first-color-alt);
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
}

.btn-primary.btn-inline {
  margin-top: 0.5rem;
}

.btn-ghost {
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--text-color);
}

/* ── DIVIDER ── */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--scroll-bar-color);
}

/* ── ABOUT ── */
#about {
  padding: 7rem 0;
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--first-color);
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--first-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.about-photo-wrap {
  position: relative;
  margin-bottom: 2rem;
  width: 200px;
}

.about-photo {
  width: 200px;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  filter: none;
}

.about-photo-accent {
  position: absolute;
  inset: -5px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(160deg, color-mix(in srgb, var(--first-color) 15%, transparent) 0%, color-mix(in srgb, var(--body-color) 25%, transparent) 100%);
  pointer-events: none;
  width: 210px;
  height: 230px;
  z-index: 1;
}

.about-heading {
  font-family: var(--body-font);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--title-color);
}

.about-heading em {
  font-style: italic;
  color: var(--first-color);
}

.about-body p {
  color: var(--text-color-light);
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-body p:last-of-type {
  margin-bottom: 2rem;
}

.about-body strong {
  color: var(--text-color);
  font-weight: 600;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--scroll-bar-color);
}

.stat-num {
  font-family: var(--body-font);
  font-size: 2.2rem;
  color: var(--title-color);
  line-height: 1;
}

.stat-num span {
  color: inherit;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-color-light);
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}

/* ── DOMAINS ── */
#domains {
  padding: 4rem 0;
  background: var(--body-color);
}

.domains-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.domain-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-color);
  background: var(--container-color);
  border: 1px solid var(--scroll-bar-color);
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: border-color 0.2s, color 0.2s;
}

.domain-tag:hover {
  border-color: var(--first-color);
  color: var(--first-color);
}

/* ── SERVICES ── */
#services {
  padding: 7rem 0;
  background: var(--section-alt-bg);
}

.services-header {
  margin-bottom: 3.5rem;
  max-width: 600px;
}

.services-intro {
  color: var(--text-color-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.service-card {
  background: var(--container-color);
  border: 1px solid var(--scroll-bar-color);
  border-radius: 8px;
  padding: 2.4rem;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--first-color);
  transition: width 0.35s ease;
}

.service-card:hover {
  background: var(--section-alt-hover);
}

.service-card:hover::after {
  width: 100%;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: color-mix(in srgb, var(--first-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--first-color) 25%, transparent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--first-color);
}

.service-title {
  font-family: var(--body-font);
  font-size: 1.2rem;
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.service-tag {
  font-size: 0.75rem;
  color: var(--first-color);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-color-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

.service-items {
  list-style: none;
  margin-top: 1.4rem;
  padding: 0;
  border-top: 1px solid var(--scroll-bar-color);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-items li {
  font-size: 0.875rem;
  color: var(--text-color-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-items li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--first-color);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── TESTIMONIALS ── */
#testimonials {
  padding: 4rem 0;
  background: var(--section-alt-bg);
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonial-track {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  box-sizing: border-box;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--container-color);
  border: 1px solid var(--scroll-bar-color);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  display: block;
  color: var(--text-color-light);
  font-size: 0.88rem;
  line-height: 1.65;
  font-style: italic;
  margin: 0 0 0.75rem 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.testimonial-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.testimonial-photo--husain-ragib {
  background-image: url('../img/husain-ragib.webp');
  background-image: image-set(url('../img/husain-ragib.webp') type('image/webp'), url('../img/husain-ragib.jpeg') type('image/jpeg'));
}

.testimonial-photo--vick-panchad {
  background-image: url('../img/vick-panchad.webp');
  background-image: image-set(url('../img/vick-panchad.webp') type('image/webp'), url('../img/vick-panchad.jpeg') type('image/jpeg'));
}

.testimonial-photo--tabrez-mohammed {
  background-image: url('../img/tabrez-mohammed.webp');
  background-image: image-set(url('../img/tabrez-mohammed.webp') type('image/webp'), url('../img/tabrez-mohammed.jpeg') type('image/jpeg'));
}

.testimonial-name {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--title-color);
  line-height: 1.3;
}

a.testimonial-name {
  color: var(--title-color);
  text-decoration: none;
  transition: color 0.2s;
}

a.testimonial-name:hover {
  color: var(--first-color);
}

.testimonial-role {
  font-size: 0.72rem;
  color: var(--text-color-light);
  margin-top: 0.1rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.testimonial-arrow {
  background: none;
  border: 1px solid var(--scroll-bar-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-color);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.testimonial-arrow:hover {
  border-color: var(--first-color);
  color: var(--first-color);
  background: color-mix(in srgb, var(--first-color) 8%, transparent);
}

.testimonial-dots {
  display: flex;
  gap: 0.4rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--scroll-bar-color);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.testimonial-dot.active {
  background: var(--first-color);
  transform: scale(1.25);
}

@media (min-width: 769px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

/* ── CONTACT ── */
#contact {
  padding: 7rem 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-heading {
  font-family: var(--body-font);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--title-color);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.contact-body {
  color: var(--text-color-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-book-inline {
  color: var(--text-color-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-book-link {
  color: var(--first-color);
  text-decoration: none;
  font-weight: 500;
}

.contact-book-link:hover {
  text-decoration: underline;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--first-color);
}

.contact-link svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.contact-book-btn {
  margin-top: 1.8rem;
  display: inline-flex;
}

.contact-right {
  background: var(--container-color);
  border: 1px solid var(--scroll-bar-color);
  border-radius: 8px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-color-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--input-color);
  border: 1px solid var(--scroll-bar-color);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--first-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-color-light);
}

.form-submit {
  width: 100%;
  background: var(--first-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.9rem;
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.form-submit:hover {
  background: var(--first-color-alt);
  transform: translateY(-1px);
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-color-light);
}

.form-note a {
  color: var(--first-color);
  text-decoration: none;
}

/* ── FOOTER ── */
.landing-footer {
  border-top: 1px solid var(--scroll-bar-color);
  padding: 2.5rem 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
  background: var(--body-color);
}

.landing-footer .footer-links {
  display: flex;
  gap: 1.8rem;
}

.landing-footer .footer-links a {
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.landing-footer .footer-links a:hover {
  color: var(--first-color);
}

.landing-footer .footer-copy {
  font-size: 0.82rem;
  color: var(--text-color-light);
}

.landing-footer .footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.landing-footer .footer-social {
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}

.landing-footer .footer-social:hover {
  color: var(--first-color);
}

.landing-footer .footer-icon-speakerdeck {
  width: 1.25rem;
  height: 1.25rem;
}

/* ── FADE UP ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--title-color);
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-hamburger:hover span {
  background: var(--first-color);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.mobile-nav-backdrop--open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: var(--container-color);
  border-left: 1px solid var(--scroll-bar-color);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
}

.mobile-nav--open {
  transform: translateX(0);
}

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--title-color);
  cursor: pointer;
  padding: 0.25rem;
  margin-bottom: 2rem;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-close:hover {
  color: var(--first-color);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-links a {
  display: block;
  padding: 1rem 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--scroll-bar-color);
  transition: color 0.2s;
}

.mobile-nav-links a:hover {
  color: var(--first-color);
}

.mobile-nav-cta {
  margin-top: auto;
  justify-content: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .landing-nav .nav-links {
    display: none;
  }

  .about-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .about-stats {
    gap: 1.5rem;
  }

  .landing-footer .footer-links {
    justify-content: center;
  }
}

/* Hide original header when landing is used (no .header in markup) */
.landing-page .header {
  display: none;
}

/* ════════════════════════════════════════════════
   BOOKING MODAL
   ════════════════════════════════════════════════ */

.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 1rem;
}

.booking-overlay--open {
  opacity: 1;
  visibility: visible;
}

.booking-modal {
  background: var(--container-color);
  border: 1px solid var(--scroll-bar-color);
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  animation: bookingSlideUp 0.3s ease;
}

@keyframes bookingSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.booking-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color-light);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  z-index: 1;
}

.booking-close:hover {
  background: var(--scroll-bar-color);
  color: var(--title-color);
}

.booking-header {
  padding: 2rem 2rem 0;
  text-align: center;
}

.booking-title {
  font-family: var(--body-font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.booking-subtitle {
  font-size: 0.9rem;
  color: var(--text-color-light);
}

.booking-step {
  padding: 1.5rem 2rem 2rem;
}

/* ── Calendar + Slots layout ── */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  min-height: 340px;
}

/* ── Calendar ── */
.booking-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.booking-month-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--title-color);
}

.booking-arrow {
  background: none;
  border: 1px solid var(--scroll-bar-color);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-color);
  transition: border-color 0.2s, background 0.2s;
}

.booking-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.booking-arrow:not(:disabled):hover {
  border-color: var(--first-color);
  background: color-mix(in srgb, var(--first-color) 8%, transparent);
}

.booking-day-labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.25rem;
}

.booking-day-labels span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-color-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
}

.booking-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.booking-day {
  background: none;
  border: none;
  font-family: var(--body-font);
  font-size: 0.88rem;
  color: var(--text-color);
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.booking-day:not(.booking-day--disabled):not(.booking-day--blank):hover {
  background: color-mix(in srgb, var(--first-color) 12%, transparent);
  color: var(--first-color);
}

.booking-day--blank {
  cursor: default;
}

.booking-day--disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.booking-day--today {
  font-weight: 600;
  color: var(--first-color);
}

.booking-day--selected {
  background: var(--first-color) !important;
  color: #fff !important;
  font-weight: 600;
}

.booking-tz {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-color-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── Time Slots ── */
.booking-slots-side {
  border-left: 1px solid var(--scroll-bar-color);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
}

.booking-slots-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--title-color);
  margin-bottom: 0.75rem;
}

.booking-slots {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 280px;
  padding-right: 0.25rem;
}

.booking-slots::-webkit-scrollbar {
  width: 4px;
}

.booking-slots::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb-color);
  border-radius: 2px;
}

.booking-slot {
  background: none;
  border: 1px solid var(--scroll-bar-color);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  font-family: var(--body-font);
  font-size: 0.88rem;
  color: var(--text-color);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.booking-slot:hover {
  border-color: var(--first-color);
  background: color-mix(in srgb, var(--first-color) 6%, transparent);
}

.booking-slot--selected {
  border-color: var(--first-color);
  background: color-mix(in srgb, var(--first-color) 10%, transparent);
  color: var(--first-color);
  font-weight: 500;
}

.booking-slot-confirm {
  background: var(--first-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  font-family: var(--body-font);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.booking-slot-confirm:hover {
  background: var(--first-color-alt);
}

.booking-no-slots {
  color: var(--text-color-light);
  font-size: 0.9rem;
  text-align: center;
  padding-top: 2rem;
}

.booking-loading {
  color: var(--text-color-light);
  font-size: 0.9rem;
  text-align: center;
  padding-top: 2rem;
}

.booking-error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: #dc3545;
}

/* ── Step 2: Details Form ── */
.booking-back {
  background: none;
  border: none;
  color: var(--text-color-light);
  font-family: var(--body-font);
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
  padding: 0;
  transition: color 0.2s;
}

.booking-back:hover {
  color: var(--first-color);
}

.booking-selected-info {
  background: color-mix(in srgb, var(--first-color) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--first-color) 20%, transparent);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-color);
  line-height: 1.6;
}

.booking-selected-info strong {
  color: var(--title-color);
}

.booking-form .form-group {
  margin-bottom: 1.2rem;
}

/* ── Step 3: Confirmation ── */
.booking-confirmed {
  text-align: center;
  padding: 1rem 0;
}

.booking-check-icon {
  color: var(--first-color);
  margin-bottom: 1rem;
}

.booking-confirmed h3 {
  font-family: var(--body-font);
  font-size: 1.4rem;
  color: var(--title-color);
  margin-bottom: 0.75rem;
}

.booking-confirmed p {
  font-size: 0.95rem;
  color: var(--text-color-light);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.booking-confirm-note {
  font-size: 0.85rem !important;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem !important;
}

.booking-confirmed .btn-primary {
  margin-bottom: 0.75rem;
}

.booking-done-btn {
  background: none;
  border: 1px solid var(--scroll-bar-color);
  border-radius: 4px;
  padding: 0.6rem 1.5rem;
  font-family: var(--body-font);
  font-size: 0.9rem;
  color: var(--text-color-light);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  display: block;
  margin: 0 auto;
}

.booking-done-btn:hover {
  border-color: var(--text-color);
  color: var(--text-color);
}

/* ── Booking Modal Responsive ── */
@media (max-width: 640px) {
  .booking-modal {
    max-height: 95vh;
    border-radius: 8px;
  }

  .booking-layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .booking-slots-side {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--scroll-bar-color);
    padding-top: 1.2rem;
  }

  .booking-slots {
    max-height: 180px;
  }

  .booking-header {
    padding: 1.5rem 1.5rem 0;
  }

  .booking-step {
    padding: 1.2rem 1.5rem 1.5rem;
  }
}

/* ── Contact form status messages ── */
.contact-status {
  padding: .75rem 1rem;
  border-radius: .5rem;
  font-size: .875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact-status--success {
  background: hsl(145, 50%, 92%);
  color: hsl(145, 60%, 28%);
  border: 1px solid hsl(145, 40%, 80%);
}

.contact-status--error {
  background: hsl(0, 50%, 95%);
  color: hsl(0, 60%, 40%);
  border: 1px solid hsl(0, 40%, 85%);
}

body.dark-theme .contact-status--success {
  background: hsl(145, 30%, 15%);
  color: hsl(145, 50%, 70%);
  border-color: hsl(145, 30%, 25%);
}

body.dark-theme .contact-status--error {
  background: hsl(0, 30%, 15%);
  color: hsl(0, 50%, 70%);
  border-color: hsl(0, 30%, 25%);
}
