/* ─────────────────────────────────────────────────────────────────────────
   Knitted Logic — demo site (Neural Draft tenant: knittedlogic-moycx4dv)
   Design notes: Inter for UI / Plus Jakarta Sans for headlines, blue + slate
   palette pulled from real knittedlogic.com (#3B82F6 primary, #0F172A slate).
   Generous whitespace, soft neutral background, restrained motion.
   ───────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0F172A;
  background: #FAFBFD;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: #3B82F6; text-decoration: none; transition: color .15s ease; }
a:hover { color: #1d4ed8; }

h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; line-height: 1.12; letter-spacing: -0.02em; margin: 0; color: #0F172A; font-feature-settings: "ss01", "kern"; }
h1 { font-weight: 800; letter-spacing: -0.03em; }
h2, h3, h4 { font-weight: 700; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap; line-height: 1;
}
.btn--lg { padding: 16px 28px; font-size: 16px; border-radius: 12px; }
.btn--primary {
  background: #3B82F6; color: #fff;
  box-shadow: 0 8px 24px -8px rgba(59,130,246,.55), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn--primary:hover { background: #2563EB; transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(37,99,235,.6); color: #fff; }
.btn--ghost { background: #fff; color: #0F172A; border-color: #E2E8F0; }
.btn--ghost:hover { border-color: #3B82F6; color: #1d4ed8; transform: translateY(-1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ── Badge ─────────────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 6px 14px;
  background: rgba(59,130,246,.10); color: #1d4ed8;
  border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .01em; margin-bottom: 16px;
}

/* ── Nav ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 32px; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; color: #0F172A; font-weight: 700; }
.nav__logo {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 10px; background: linear-gradient(135deg, #3B82F6, #1d4ed8);
  color: #fff; font-weight: 800; font-family: "Plus Jakarta Sans"; box-shadow: 0 6px 16px -6px rgba(59,130,246,.6);
}
.nav__name { font-family: "Plus Jakarta Sans"; font-size: 18px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: #475569; font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: #0F172A; }
.nav__cta { padding: 10px 20px; font-size: 14px; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { padding: 9px 16px; }
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(59,130,246,.16), transparent 60%),
    radial-gradient(60% 60% at 0% 90%, rgba(99,102,241,.12), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(15,23,42,.06) 1px, transparent 0);
  background-size: auto, auto, 32px 32px;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__title {
  font-size: clamp(40px, 5.4vw, 64px);
  margin: 16px 0 24px; letter-spacing: -0.025em;
  font-feature-settings: "ss01", "kern";
}
.hero__title .grad {
  background: linear-gradient(90deg,#3B82F6,#1d4ed8); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: clamp(17px, 1.6vw, 19px); color: #475569; max-width: 580px; margin: 0 0 36px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 16px; padding: 24px;
  max-width: 580px; box-shadow: 0 30px 60px -30px rgba(15,23,42,.18);
}
.stat__num { font-family: "Plus Jakarta Sans"; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; color: #0F172A; line-height: 1; letter-spacing: -0.02em; }
.stat__label { color: #64748B; font-size: 13px; margin-top: 6px; }

/* Hero visual — real Unsplash photo with floating chips */
.hero__visual {
  position: relative; margin: 0;
  width: 100%; max-width: 560px; justify-self: end;
  aspect-ratio: 4 / 4.5;
  border-radius: 22px;
  overflow: visible;
}
.hero__photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 22px;
  box-shadow: 0 40px 80px -32px rgba(15, 23, 42, 0.45), 0 8px 24px -10px rgba(15, 23, 42, 0.18);
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.hero__visual:hover .hero__photo { transform: scale(1.02); }
.hero__chip {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 13px; font-weight: 600; color: #0F172A;
  box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.25);
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.hero__chip--top { top: 48px; left: -28px; color: #16A34A; }
.hero__chip--top .hero__chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}
.hero__chip--bot {
  bottom: 36px; right: -28px;
  flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 16px 22px;
}
.hero__chip--bot strong {
  font-family: "Plus Jakarta Sans"; font-size: 22px; font-weight: 800;
  color: #1d4ed8; letter-spacing: -0.02em; line-height: 1;
}
.hero__chip--bot span {
  font-size: 12px; font-weight: 500; color: #64748B;
  letter-spacing: 0.01em;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { justify-self: center; max-width: 480px; }
  .hero__chip--top { left: -16px; }
  .hero__chip--bot { right: -16px; }
}
@media (max-width: 600px) {
  .hero__stats { grid-template-columns: 1fr; }
  .hero__chip--top { left: 0; padding: 10px 14px; font-size: 12px; }
  .hero__chip--bot { right: 0; padding: 12px 16px; }
  .hero__chip--bot strong { font-size: 18px; }
}

/* ── Trust strip ──────────────────────────────────────────────────── */
.trust { padding: 28px 0 36px; }
.trust__caption { color: #94A3B8; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; text-align: center; margin: 0 0 16px; }
.trust__logos { display: flex; gap: clamp(20px, 5vw, 56px); justify-content: center; flex-wrap: wrap; }
.trust__logos span { color: #94A3B8; font-weight: 600; font-size: 15px; letter-spacing: .02em; }

/* ── Section base ─────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--alt { background: #F1F5F9; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.section__sub { color: #475569; font-size: 17px; margin: 0; }

/* ── Services grid ────────────────────────────────────────────────── */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; padding: 32px; border-radius: 18px;
  border: 1px solid rgba(15,23,42,.06);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15,23,42,.18); border-color: rgba(59,130,246,.35); }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(59,130,246,.05));
  color: #3B82F6; display: grid; place-items: center; margin-bottom: 20px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: #64748B; font-size: 15px; margin: 0; }
@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services__grid { grid-template-columns: 1fr; } }

/* ── Process ──────────────────────────────────────────────────────── */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process li {
  background: #fff; border: 1px solid rgba(15,23,42,.06); border-radius: 16px; padding: 28px;
  position: relative;
}
.process li span {
  display: inline-block; font-family: "Plus Jakarta Sans"; font-size: 13px; font-weight: 700;
  color: #3B82F6; background: rgba(59,130,246,.10); padding: 4px 10px; border-radius: 8px; letter-spacing: .04em;
}
.process li h4 { font-size: 18px; margin: 16px 0 8px; }
.process li p { color: #64748B; margin: 0; font-size: 15px; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* ── About ────────────────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about__copy p { color: #475569; font-size: 17px; margin: 16px 0; }
.about__features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about__features li { padding-left: 24px; position: relative; color: #475569; }
.about__features li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
  background: #3B82F6; border-radius: 4px; transform: rotate(45deg);
}
.about__features li strong { color: #0F172A; font-weight: 600; }
.about__panel {
  position: relative; aspect-ratio: 4/4.6;
  background: linear-gradient(135deg, #DBEAFE, #EEF2FF);
  border-radius: 22px; border: 1px solid rgba(15,23,42,.06);
  overflow: visible;
}
.about__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.3);
}
.about__chip {
  position: absolute; background: #fff; border: 1px solid rgba(15,23,42,.06);
  padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 13.5px; color: #0F172A;
  box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.25);
  z-index: 1;
}
.about__chip--a { top: 8%;  left: -16px;  }
.about__chip--b { top: 28%; right: -20px; }
.about__chip--c { bottom: 28%; left: -20px; }
.about__chip--d { bottom: 8%; right: -10px; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__panel { aspect-ratio: 16/10; max-width: 560px; margin: 0 auto; }
  .about__chip--a { left: 4%; top: 10%; }
  .about__chip--b { right: 4%; top: 28%; }
  .about__chip--c { left: 4%; bottom: 28%; }
  .about__chip--d { right: 4%; bottom: 10%; }
}
@media (max-width: 520px) {
  .about__chip { padding: 8px 12px; font-size: 12px; }
}

/* ── Booking widget ───────────────────────────────────────────────── */
.booking__widget {
  background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 22px;
  display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 0;
  overflow: hidden; box-shadow: 0 40px 80px -40px rgba(15,23,42,.25);
}
.booking__panel, .booking__form { padding: 28px; min-height: 380px; }
.booking__panel { border-right: 1px solid rgba(15,23,42,.06); }
.booking__panel h3, .booking__form h3 { font-size: 16px; margin: 0 0 16px; color: #0F172A; }

.booking__calendar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.booking__day {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 8px; border-radius: 10px; border: 1px solid rgba(15,23,42,.08);
  cursor: pointer; background: #fff; transition: all .15s ease; font-family: inherit;
}
.booking__day:hover { border-color: #3B82F6; background: rgba(59,130,246,.04); }
.booking__day[aria-selected="true"] { border-color: #3B82F6; background: #3B82F6; color: #fff; }
.booking__day[aria-selected="true"] .booking__day-num { color: #fff; }
.booking__day-name { font-size: 11px; color: #94A3B8; text-transform: uppercase; letter-spacing: .08em; }
.booking__day-num { font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 18px; color: #0F172A; }

.booking__slots { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: auto; }
.booking__slot {
  padding: 12px 14px; border: 1px solid rgba(15,23,42,.08); border-radius: 10px;
  background: #fff; cursor: pointer; font-family: inherit; font-size: 14px; color: #0F172A;
  text-align: left; transition: all .15s ease;
}
.booking__slot:hover { border-color: #3B82F6; background: rgba(59,130,246,.04); }
.booking__slot[aria-selected="true"] { border-color: #3B82F6; background: #3B82F6; color: #fff; }
.booking__hint { color: #94A3B8; font-size: 14px; margin: 0; }

.booking__form label, .contact__form label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 14px; }
.booking__form input, .booking__form textarea,
.contact__form input, .contact__form textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 11px 14px; font-family: inherit; font-size: 15px; color: #0F172A;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.booking__form input:focus, .booking__form textarea:focus,
.contact__form input:focus, .contact__form textarea:focus {
  outline: none; border-color: #3B82F6; box-shadow: 0 0 0 3px rgba(59,130,246,.16);
}
.booking__status, .contact__status { margin-top: 14px; font-size: 14px; min-height: 20px; }
.booking__status.is-error, .contact__status.is-error { color: #DC2626; }
.booking__status.is-success, .contact__status.is-success { color: #16A34A; }

@media (max-width: 980px) {
  .booking__widget { grid-template-columns: 1fr; }
  .booking__panel { border-right: 0; border-bottom: 1px solid rgba(15,23,42,.06); min-height: 0; }
}

/* ── Blog ─────────────────────────────────────────────────────────── */
.blog__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog__loading { color: #94A3B8; grid-column: 1 / -1; text-align: center; }
.blog-card {
  background: #fff; border: 1px solid rgba(15,23,42,.06); border-radius: 18px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15,23,42,.22); border-color: rgba(59, 130, 246, 0.18); }
.blog-card__cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #DBEAFE, #EEF2FF);
}
.blog-card__cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.blog-card:hover .blog-card__cover img { transform: scale(1.04); }
.blog-card__body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-card__date { font-size: 13px; color: #94A3B8; font-weight: 500; }
.blog-card__title { font-size: 22px; margin: 0; line-height: 1.2; }
.blog-card__excerpt { color: #475569; margin: 0; font-size: 15px; line-height: 1.6; }
.blog-card__more { color: #3B82F6; font-weight: 600; font-size: 14px; margin-top: auto; }
@media (max-width: 720px) { .blog__grid { grid-template-columns: 1fr; } }

/* ── Contact ──────────────────────────────────────────────────────── */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__info { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact__info li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(15,23,42,.06); }
.contact__info li strong { color: #94A3B8; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.contact__info a { color: #0F172A; font-weight: 500; }
.contact__info a:hover { color: #3B82F6; }

.contact__form {
  background: #fff; padding: 32px; border-radius: 18px; border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.15);
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { padding: 40px 0; background: #0F172A; color: #cbd5e1; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: "Plus Jakarta Sans"; font-size: 18px; }
.footer__brand .nav__logo { box-shadow: none; }
.footer__copy, .footer__demo { font-size: 13px; margin: 0; color: #94A3B8; }
.footer__demo a { color: #93C5FD; }

/* ── Animation: fade-in on scroll ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
