:root {
  --bg: #070812;
  --bg-soft: #10142a;
  --surface: #171d39;
  --text: #f7f8ff;
  --text-muted: #b5bdd7;
  --primary: #68f0d0;
  --primary-dark: #2eb796;
  --line: rgba(255, 255, 255, 0.12);
  --danger: #ff6f8b;
  --ok: #75f3a9;
  --radius: 14px;
  --container: min(1120px, 92vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(104, 240, 208, 0.2), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(131, 143, 255, 0.2), transparent 35%),
    var(--bg);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--primary);
  color: #04130f;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  z-index: 999;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 18, 0.87);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.main-nav {
  display: none;
  gap: 1.2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--primary);
}

@media (min-width: 760px) {
  .main-nav {
    display: flex;
  }
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible,
.icon-btn:focus-visible,
.date-btn:focus-visible,
.time-btn:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #03231b;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(104, 240, 208, 0.25);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.btn-small {
  display: none;
}

@media (min-width: 760px) {
  .btn-small {
    display: inline-flex;
  }
}

.hero {
  padding: 4.2rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
  }
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.25;
}

h1 {
  margin-top: 0.6rem;
  font-size: clamp(1.9rem, 6vw, 3.4rem);
}

h1 span {
  color: var(--primary);
}

.hero-text {
  color: var(--text-muted);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stats {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.stats li {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
}

.stats strong {
  font-size: 1.1rem;
}

.stats span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.profile-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  padding: 1.3rem;
}

.profile-role {
  margin-top: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.profile-card p {
  color: var(--text-muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.83rem;
}

.section {
  padding: 3.2rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.3rem;
}

.section-head p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.cards-services {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cards-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Projects carousel */
.projects-carousel {
  position: relative;
}

.carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.carousel-counter {
  margin: 0;
  color: var(--text-muted);
  font-weight: 700;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(104, 240, 208, 0.5);
  background: rgba(104, 240, 208, 0.12);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
  flex: 0 0 auto;
  padding: 0.35rem;
  box-sizing: border-box;
}

.carousel-slide .card {
  height: 100%;
  opacity: 0.55;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.carousel-slide.is-active .card {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border-color: rgba(104, 240, 208, 0.35);
}

.carousel-dots {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dot.is-active {
  width: 24px;
  background: var(--primary);
}

.carousel-dot:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-top: 0.85rem;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Laptop screen mockup */
.laptop-mockup {
  width: 100%;
}

.laptop-lid {
  position: relative;
  border: 2px solid #2a3148;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, #1e2438 0%, #141a2c 100%);
  padding: 10px 10px 8px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.laptop-camera {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a425c;
  box-shadow: 0 0 0 2px #252b40;
}

.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(104, 240, 208, 0.12), rgba(131, 143, 255, 0.12)),
    #0b1020;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.laptop-screen img.is-hidden {
  display: none;
}

.screen-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-muted);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 8px,
      rgba(255, 255, 255, 0.01) 8px,
      rgba(255, 255, 255, 0.01) 16px
    );
}

.laptop-screen.has-image .screen-placeholder {
  display: none;
}

.laptop-base {
  height: 10px;
  margin: 0 auto;
  width: 92%;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #2a3148, #1a2034);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.laptop-base::after {
  content: "";
  display: block;
  width: 18%;
  height: 3px;
  margin: 3px auto 0;
  border-radius: 999px;
  background: #3d4663;
}

.booking-layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 980px) {
  .booking-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.calendar-box,
.booking-step h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.booking-form-title {
  margin-top: 1rem;
}

.booking-box form.booking-step h3.booking-form-title {
  margin-top: 1.25rem;
}

.thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.thanks-modal[hidden] {
  display: none;
}

.thanks-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 14, 0.72);
  backdrop-filter: blur(4px);
}

.thanks-modal__card {
  position: relative;
  width: min(360px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: thanks-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.thanks-modal__badge {
  margin: 0 0 0.5rem;
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(104, 240, 208, 0.15);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.thanks-modal__text {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

@keyframes thanks-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .thanks-modal__card {
    animation: none;
  }
}

.booking-box,
.saved-bookings {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 1rem;
}

.calendar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.calendar-top h3 {
  font-size: 1rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.weekdays span {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.date-btn {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.date-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.date-btn.active {
  background: var(--primary);
  color: #03231b;
  border-color: var(--primary);
  font-weight: 700;
}

.selected-info {
  margin-top: 0.85rem;
  color: var(--text-muted);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.time-btn {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.time-btn.active {
  border-color: var(--primary);
  color: var(--primary);
}

form {
  display: grid;
  gap: 0.55rem;
}

label {
  margin-top: 0.3rem;
  font-weight: 600;
}

input,
select {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font: inherit;
}

option {
  color: #111;
}

.full {
  width: 100%;
  margin-top: 0.6rem;
}

.form-message {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.95rem;
}

.form-message.ok {
  color: var(--ok);
}

.form-message.error {
  color: var(--danger);
}

.booking-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
}

.time-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#booking-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

#booking-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
}

.sticky-book-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #03231b;
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    0 12px 30px rgba(104, 240, 208, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    opacity 0.25s ease,
    box-shadow 0.2s ease;
}

.sticky-book-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(104, 240, 208, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.4);
  color: #021612;
}

.sticky-book-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.sticky-book-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.sticky-book-btn__icon {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .sticky-book-btn__text {
    font-size: 0.92rem;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1rem 0 4.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel-track {
    transition: none;
  }

  .carousel-slide .card {
    transition: none;
  }
}
