/* =============================================
   Your IT Buddy — Playful Direction Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Caveat:wght@500;600;700&display=swap');

/* ── Variables ── */
:root {
  --bg:         #FFFFFF;
  --ink:        #0E2A4A;
  --ink2:       #3D5A8A;
  --blue:       #2F7BD9;
  --blue-dark:  #1A4F9E;
  --blue-soft:  #DCEBFB;
  --accent:     #1FB6B0;
  --accent-ink: #06302F;
  --accent-soft:#C6EEEC;
  --green:      #3FC9A1;
  --pink:       #9FE0FF;
  --line:       #0E2A4A;
  --shadow:     0 2px 0 #0E2A4A, 6px 8px 0 #0E2A4A;
  --shadow-sm:  0 2px 0 #0E2A4A, 3px 4px 0 #0E2A4A;
  --font:       'Nunito', system-ui, sans-serif;
  --script:     'Caveat', cursive;
  --radius:     16px;
  --radius-sm:  10px;
  --radius-pill:999px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
main { flex: 1; }

/* ── Typography helpers ── */
.script { font-family: var(--script); }
.ink2   { color: var(--ink2); }

/* ────────────────────────────────────────────
   NAV
──────────────────────────────────────────── */
.nav {
  background: var(--bg);
  border-bottom: 2px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.2px;
  line-height: 1;
}
.nav__logo span { color: var(--blue); }
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--blue);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 0 var(--line);
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  font-weight: 700;
  font-size: 13.5px;
}
.nav__links a {
  position: relative;
  padding-bottom: 4px;
}
.nav__links a.active { color: var(--blue); }
.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 3px;
  background: var(--blue);
  border-radius: 99px;
}
.btn-book {
  margin-left: 8px;
  font-weight: 800;
  font-size: 13px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 2px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  white-space: nowrap;
}
.btn-book:hover { background: var(--accent-soft); }

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: #EAF4FB;
  padding: 40px 40px 32px;
  font-size: 13px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  border-top: 2px solid var(--line);
  margin-top: auto;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 900;
  font-size: 18px;
}
.footer__logo span { color: var(--accent); }
.logo-mark--dark { background: #fff; }
.logo-mark--dark svg .monitor { fill: var(--blue); }
.footer__tagline {
  opacity: 0.8;
  line-height: 1.55;
  max-width: 280px;
}
.footer__script {
  margin-top: 14px;
  font-family: var(--script);
  font-size: 22px;
  color: var(--accent);
}
.footer__heading {
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--accent);
}
.footer__links { list-style: none; }
.footer__links li { opacity: 0.85; padding: 4px 0; }
.footer__links a:hover { color: var(--accent); }
.footer__contact p { opacity: 0.85; padding: 3px 0; }
.footer__copy { margin-top: 14px; opacity: 0.5; font-size: 11.5px; }

/* ────────────────────────────────────────────
   SHARED COMPONENTS
──────────────────────────────────────────── */

/* Tag / pill badge */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--line);
  box-shadow: 0 2px 0 var(--line);
}
.tag--blue  { background: var(--blue-soft); }
.tag--white { background: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .1s, box-shadow .1s;
  white-space: nowrap;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--line); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-soft); }
.btn--secondary { background: #fff; color: var(--ink); }
.btn--secondary:hover { background: var(--blue-soft); }
.btn--lg { font-size: 16px; padding: 14px 24px; }

/* Card */
.card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card--sm { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

/* Icon circles */
.icon-box {
  width: 44px; height: 44px;
  border-radius: 11px;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--ink);
}
.icon-box--accent { background: var(--accent); }
.icon-box--blue   { background: var(--blue-soft); }
.icon-box--green  { background: var(--green); }
.icon-box--pink   { background: var(--pink); }

/* Dotted pattern */
.dot-pattern {
  background-image: radial-gradient(var(--blue) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.35;
}

/* ────────────────────────────────────────────
   HOME PAGE
──────────────────────────────────────────── */
.hero {
  padding: 40px 40px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow { margin-bottom: 14px; }
.hero__headline {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.hero__headline .underline-wave {
  position: relative;
  display: inline-block;
}
.hero__headline .underline-wave::after {
  content: '';
  position: absolute;
  left: 0; bottom: -8px;
  width: 100%; height: 6px;
  background: var(--accent);
  border-radius: 99px;
}
.hero__sub {
  font-size: 17px;
  line-height: 1.55;
  max-width: 480px;
  color: var(--ink2);
  margin-bottom: 22px;
}
.hero__ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero__social-proof {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink2);
}
.avatar-stack { display: flex; }
.avatar-stack__item {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--line);
  margin-left: -8px;
}
.avatar-stack__item:first-child { margin-left: 0; }

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero__dot-bg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 360px; height: 360px;
  background-image: radial-gradient(var(--blue) 1.8px, transparent 1.8px);
  background-size: 14px 14px;
  opacity: 0.3;
  border-radius: 50%;
}
.hero__mascot {
  position: relative;
  z-index: 1;
  height: 420px;
  width: auto;
}
.hero__badge {
  position: absolute;
  top: 18px; left: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 99px;
  padding: 6px 12px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
  z-index: 2;
  font-weight: 800;
  font-size: 12px;
}
.hero__badge-dot {
  width: 9px; height: 9px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(63,201,161,.3);
}

/* Services strip on home */
.services-strip { padding: 36px 40px 40px; }
.services-strip__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.services-strip__title { font-weight: 900; font-size: 28px; }
.services-strip__note { font-family: var(--script); font-size: 22px; color: var(--blue); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.service-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
}
.service-card__title { font-weight: 900; font-size: 15px; }
.service-card__blurb { font-size: 12.5px; color: var(--ink2); line-height: 1.45; }

/* Testimonials */
.testimonials { padding: 0 40px 40px; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.testimonial-card__quote {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}
.testimonial-card__author { font-weight: 900; font-size: 13px; }
.testimonial-card__loc { font-size: 12px; color: var(--ink2); }

/* ────────────────────────────────────────────
   SERVICES PAGE
──────────────────────────────────────────── */
.page-hero { padding: 36px 40px 0; }
.page-hero__title {
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.02;
  margin: 14px 0 6px;
  letter-spacing: -1.2px;
}
.page-hero__title .highlight {
  background: var(--accent);
  padding: 0 8px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.page-hero__sub { font-size: 16px; color: var(--ink2); max-width: 620px; }

.services-full-grid {
  padding: 24px 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-full-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.service-full-card__body { flex: 1; }
.service-full-card__title { font-weight: 900; font-size: 15px; margin-bottom: 4px; }
.service-full-card__blurb { font-size: 12.5px; color: var(--ink2); line-height: 1.45; }

.process-strip {
  margin: 28px 40px 40px;
  background: var(--ink);
  color: #EAF4FB;
  border-radius: var(--radius);
  padding: 24px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.process-step__num {
  font-family: var(--script);
  font-size: 34px;
  color: var(--accent);
  line-height: 1;
}
.process-step__title { font-weight: 900; font-size: 16px; margin: 6px 0 4px; }
.process-step__desc { font-size: 12.5px; opacity: 0.82; line-height: 1.5; }

/* ────────────────────────────────────────────
   PRICING PAGE
──────────────────────────────────────────── */
.pricing-cards {
  padding: 22px 40px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pricing-card {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card--accent { background: var(--accent); }
.pricing-card--white  { background: #fff; }
.pricing-card--blue   { background: var(--blue-soft); }
.pricing-card__category { font-family: var(--script); font-size: 22px; color: var(--blue); line-height: 1; }
.pricing-card__label  { font-weight: 900; font-size: 18px; }
.pricing-card__price-row { display: flex; align-items: baseline; gap: 6px; }
.pricing-card__price  { font-weight: 900; font-size: 38px; letter-spacing: -1px; }
.pricing-card__unit   { font-weight: 800; font-size: 14px; color: var(--ink2); }
.pricing-card__note   { font-size: 12.5px; color: var(--ink2); line-height: 1.45; }

.flat-rate { padding: 28px 40px 40px; }
.flat-rate__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.flat-rate__title { font-weight: 900; font-size: 26px; }
.flat-rate__note  { font-family: var(--script); font-size: 20px; color: var(--blue); }
.flat-rate__table {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.flat-rate__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.flat-rate__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px dashed rgba(14,42,74,.25);
  border-right: 1px dashed rgba(14,42,74,.25);
}
.flat-rate__row:nth-child(even) { border-right: none; }
.flat-rate__row:nth-last-child(-n+2) { border-bottom: none; }
.flat-rate__name  { font-weight: 700; font-size: 13.5px; }
.flat-rate__price {
  font-weight: 900;
  font-size: 14px;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 99px;
  border: 2px solid var(--line);
  white-space: nowrap;
}
.flat-rate__footer { margin-top: 14px; font-size: 13px; color: var(--ink2); }
.flat-rate__footer a { color: var(--blue); font-weight: 800; }

/* ────────────────────────────────────────────
   BLOG PAGE
──────────────────────────────────────────── */
.blog-grid {
  padding: 24px 40px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.blog-featured {
  background: var(--ink);
  color: #EAF4FB;
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.blog-featured__sticker {
  position: absolute;
  top: -10px; right: -10px;
  transform: rotate(8deg);
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 10px;
  border: 2px solid var(--line);
  font-size: 12px;
  box-shadow: var(--shadow-sm);
}
.blog-featured__title {
  font-weight: 900;
  font-size: 32px;
  line-height: 1.1;
  margin: 14px 0 10px;
}
.blog-featured__dek { font-size: 14.5px; opacity: .85; line-height: 1.55; max-width: 520px; }
.blog-featured__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  font-size: 12.5px;
  opacity: .8;
}
.blog-featured__cta { margin-top: 16px; }

.blog-sidebar { display: flex; flex-direction: column; gap: 14px; }
.blog-post-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 14px;
}
.blog-post-card__meta {
  display: flex;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
}
.blog-post-card__title { font-weight: 900; font-size: 17px; line-height: 1.2; margin-bottom: 6px; }
.blog-post-card__dek   { font-size: 12.5px; color: var(--ink2); line-height: 1.45; }

.blog-categories { padding: 24px 40px 40px; }
.blog-categories__list { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill {
  font-weight: 800;
  font-size: 13px;
  background: #fff;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 99px;
  border: 2px solid var(--line);
  box-shadow: 0 2px 0 var(--line);
  cursor: pointer;
}
.cat-pill--active { background: var(--ink); color: var(--bg); }
.cat-pill:hover:not(.cat-pill--active) { background: var(--blue-soft); }

/* ────────────────────────────────────────────
   CONTACT PAGE
──────────────────────────────────────────── */
.contact-grid {
  padding: 32px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-info__sub {
  font-size: 15.5px;
  color: var(--ink2);
  max-width: 460px;
  margin: 0 0 22px;
  line-height: 1.55;
}
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.contact-channel {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-channel__label { font-weight: 800; font-size: 13px; color: var(--ink2); }
.contact-channel__value { font-weight: 900; font-size: 17px; }
.contact-channel__hint  { font-size: 12px; color: var(--ink2); margin-left: auto; white-space: nowrap; }

.contact-form-wrap {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
}
.contact-form__sticker {
  position: absolute;
  top: -16px; right: 18px;
  transform: rotate(4deg);
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 10px;
  border: 2px solid var(--line);
  font-size: 12.5px;
  box-shadow: var(--shadow-sm);
}
.contact-form__title { font-weight: 900; font-size: 22px; margin: 4px 0 12px; }
.form-group { margin-bottom: 12px; }
.form-label { display: block; font-weight: 800; font-size: 12.5px; margin-bottom: 5px; }
.form-input, .form-textarea {
  width: 100%;
  padding: 11px 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  background: #fff;
  color: var(--ink);
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--blue); }
.form-textarea { resize: vertical; min-height: 80px; line-height: 1.45; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.topic-chip {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 99px;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.topic-chip.active { background: var(--accent); }
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.form-footer__script { font-family: var(--script); font-size: 22px; color: var(--blue); }

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 240px; }
  .hero__mascot { height: 240px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-full-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
  .flat-rate__grid { grid-template-columns: 1fr; }
  .flat-rate__row { border-right: none !important; }
  .blog-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container, .nav__inner, .hero, .page-hero, .services-strip,
  .services-full-grid, .process-strip, .pricing-cards, .flat-rate,
  .blog-grid, .blog-categories, .contact-grid, .testimonials {
    padding-left: 20px;
    padding-right: 20px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; padding: 28px 20px; }
}
