/*
 * Shemroske IT - design system.
 *
 * Mobile-first. Every layout rule below starts from the phone and widens
 * at min-width breakpoints. One file, custom properties at the top: change
 * a colour or spacing step once and it updates site-wide.
 */

/* ------------------------------------------------------------------ */
/* Tokens                                                             */
/* ------------------------------------------------------------------ */

:root {
  /* Brand: deep teal reads as technical and trustworthy without the
     generic "computer repair blue". */
  --ink:        #0b1b20;
  --ink-soft:   #42565c;
  --ink-mute:   #6b7f85;
  --line:       #e3e8ea;
  --line-soft:  #eef1f2;
  --bg:         #ffffff;
  --bg-tint:    #f6f8f8;
  --bg-deep:    #0b2a31;

  --brand:      #0f766e;
  --brand-dark: #0b5a54;
  --brand-tint: #e6f3f1;
  --accent:     #f59e0b;

  --ok:         #07663c;
  --ok-bg:      #dcfae6;
  --err:        #b42318;
  --err-bg:     #fee4e2;
  --warn-bg:    #fffaeb;
  --warn-line:  #fedf89;
  --warn-ink:   #7a2e0e;

  --radius:     14px;
  --radius-sm:  10px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 2px rgba(11, 27, 32, .06);
  --shadow:     0 4px 16px rgba(11, 27, 32, .08);
  --shadow-lg:  0 12px 32px rgba(11, 27, 32, .12);

  --wrap:       72rem;
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;

  /* Height of the sticky mobile booking bar, so content can clear it. */
  --dock: 4.75rem;
}

/* ------------------------------------------------------------------ */
/* Reset                                                              */
/* ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.021em; margin: 0; }
p { margin: 0; }
a { color: var(--brand); }

button, input, select, textarea { font: inherit; color: inherit; }

/* Visible focus for keyboard users, invisible for mouse users. */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ------------------------------------------------------------------ */
/* Layout primitives                                                  */
/* ------------------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

section { padding-block: 3rem; }

@media (min-width: 48rem) {
  .wrap { padding-inline: 2rem; }
  section { padding-block: 4.5rem; }
}

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .6rem;
}

.section-head { max-width: 34rem; margin-bottom: 1.75rem; }
.section-head h2 {
  font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  font-weight: 800;
}
.section-head p {
  margin-top: .65rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                           */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 1.6rem;
  min-height: 3.25rem;           /* comfortable thumb target */
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink-mute); background: var(--bg-tint); }

.btn-light {
  background: #fff;
  color: var(--bg-deep);
}
.btn-light:hover { background: #eef3f3; }

.btn-block { width: 100%; }

.btn[disabled], .btn[aria-disabled='true'] {
  opacity: .5; cursor: not-allowed; box-shadow: none;
}

/* ------------------------------------------------------------------ */
/* Header                                                             */
/* ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.9rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 1.95rem; height: 1.95rem;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-size: .78rem; font-weight: 800; letter-spacing: -.03em;
  flex: none;
}

/* The header booking button is hidden on phones, where the sticky dock
   already carries the CTA. */
.site-header .btn { display: none; padding: .7rem 1.15rem; min-height: 2.6rem; font-size: .94rem; }
@media (min-width: 40rem) { .site-header .btn { display: inline-flex; } }

/* ------------------------------------------------------------------ */
/* Hero                                                              */
/* ------------------------------------------------------------------ */

.hero {
  padding-block: 2.75rem 2.5rem;
  background:
    radial-gradient(90rem 32rem at 110% -12%, var(--brand-tint), transparent 60%),
    var(--bg);
}
@media (min-width: 48rem) { .hero { padding-block: 4.5rem 4rem; } }

.hero h1 {
  font-size: clamp(2.1rem, 9vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -.035em;
  max-width: 18ch;
}
.hero p.sub {
  margin-top: 1rem;
  font-size: clamp(1.03rem, 3.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
@media (min-width: 30rem) {
  .hero-actions { flex-direction: row; align-items: center; }
}

.trust-chip {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .85rem;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-chip svg { width: 1rem; height: 1rem; color: var(--brand); flex: none; }

.hero-meta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  font-size: .87rem;
  color: var(--ink-mute);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-meta svg { width: .95rem; height: .95rem; color: var(--brand); flex: none; }

/* ------------------------------------------------------------------ */
/* Service cards                                                      */
/* ------------------------------------------------------------------ */

#services { background: var(--bg-tint); }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media (min-width: 34rem) { .cards { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (min-width: 60rem) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.card-icon {
  width: 2.4rem; height: 2.4rem;
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  color: var(--brand-dark);
  display: grid; place-items: center;
  margin-bottom: .85rem;
}
.card-icon svg { width: 1.25rem; height: 1.25rem; }
.card h3 { font-size: 1.04rem; font-weight: 700; }
.card p { margin-top: .4rem; font-size: .92rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ */
/* Steps                                                              */
/* ------------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.step { position: relative; padding-left: 3.25rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: -.1rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--bg-deep);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1rem;
}
.step h3 { font-size: 1.06rem; font-weight: 700; }
.step p { margin-top: .3rem; color: var(--ink-soft); font-size: .94rem; }

/* ------------------------------------------------------------------ */
/* Trust                                                              */
/* ------------------------------------------------------------------ */

#trust { background: var(--bg-tint); }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media (min-width: 40rem) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.trust-item {
  display: flex;
  gap: .85rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.trust-item svg {
  width: 1.4rem; height: 1.4rem; color: var(--brand); flex: none; margin-top: .1rem;
}
.trust-item h3 { font-size: .99rem; font-weight: 700; }
.trust-item p { margin-top: .25rem; font-size: .9rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ */
/* Pricing                                                            */
/* ------------------------------------------------------------------ */

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media (min-width: 48rem) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.price-card h3 { font-size: 1rem; font-weight: 700; }
.price-card .amount {
  margin-top: .7rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.price-card .amount.placeholder { color: var(--ink-mute); }
.price-card .unit { font-size: .84rem; color: var(--ink-mute); font-weight: 600; }
.price-card p { margin-top: .5rem; font-size: .9rem; color: var(--ink-soft); }

.placeholder-tag {
  display: inline-block;
  margin-top: .7rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  color: var(--warn-ink);
  padding: .2rem .5rem;
  border-radius: 999px;
}

.price-note {
  margin-top: 1.1rem;
  font-size: .89rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ */
/* Final CTA                                                          */
/* ------------------------------------------------------------------ */

.cta-band {
  background: var(--bg-deep);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.55rem, 6vw, 2.4rem);
  font-weight: 800;
  max-width: 24ch;
  margin-inline: auto;
}
.cta-band p {
  margin-top: .8rem;
  color: #a9c9cc;
  font-size: 1.02rem;
  max-width: 34rem;
  margin-inline: auto;
}
.cta-band .btn { margin-top: 1.6rem; }

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem;
  padding-bottom: calc(2rem + var(--dock));  /* clear the sticky dock */
  font-size: .88rem;
  color: var(--ink-mute);
}
@media (min-width: 40rem) { .site-footer { padding-bottom: 2rem; } }

.site-footer .wrap { display: grid; gap: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-area { max-width: 42rem; line-height: 1.5; }

/* ------------------------------------------------------------------ */
/* Sticky mobile booking dock                                         */
/* ------------------------------------------------------------------ */

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 14px rgba(11, 27, 32, .07);
}
.dock .btn { width: 100%; }
@media (min-width: 40rem) { .dock { display: none; } }

/* ------------------------------------------------------------------ */
/* Forms (shared by booking + manage)                                 */
/* ------------------------------------------------------------------ */

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.field .hint {
  font-size: .81rem;
  color: var(--ink-mute);
  font-weight: 500;
  margin-top: .15rem;
}

.input, .textarea, .select {
  width: 100%;
  padding: .85rem .95rem;
  /* 1rem minimum prevents iOS Safari from zooming on focus. */
  font-size: 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}
.textarea { min-height: 7rem; resize: vertical; }

.input[aria-invalid='true'], .textarea[aria-invalid='true'] {
  border-color: var(--err);
}
.field-error {
  display: none;
  margin-top: .35rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--err);
}
.field-error.show { display: block; }

.two-col { display: grid; gap: 1.1rem; }
@media (min-width: 34rem) { .two-col { grid-template-columns: 1fr 1fr; } }

.notice {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 1.1rem;
}
.notice-err  { background: var(--err-bg); color: var(--err); }
.notice-ok   { background: var(--ok-bg);  color: var(--ok); }
.notice-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); }
.notice-info { background: var(--brand-tint); color: var(--brand-dark); }

/* ------------------------------------------------------------------ */
/* Price strip + availability (hero)                                  */
/* ------------------------------------------------------------------ */

/* States the price before the customer commits to the booking flow. */
.price-strip {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.price-strip span {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  padding: .45rem .8rem;
  background: var(--brand-tint);
  border: 1px solid #cfe6e3;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.price-strip strong { font-size: 1.02rem; font-weight: 800; }

.avail-line {
  margin-top: 1rem;
  font-size: .88rem;
  color: var(--ink-soft);
  min-height: 1.2rem;
}
.avail-line strong { color: var(--ink); font-weight: 700; }

/* ------------------------------------------------------------------ */
/* Pricing additions                                                  */
/* ------------------------------------------------------------------ */

.price-dur {
  margin-top: .3rem !important;
  font-size: .82rem !important;
  font-weight: 700;
  color: var(--brand-dark) !important;
}

.price-card-soft { background: var(--bg-tint); }

.addl-list { list-style: none; margin: .8rem 0 0; padding: 0; }
.addl-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .89rem;
  color: var(--ink-soft);
}
.addl-list li:last-child { border-bottom: 0; }
.addl-list strong { color: var(--ink); font-weight: 800; white-space: nowrap; }

/* ------------------------------------------------------------------ */
/* Booking step 1: price + duration on each choice                    */
/* ------------------------------------------------------------------ */

.choice-price { text-align: right; line-height: 1.3; }
.choice-price .amt {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.choice-price .per {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-mute);
}
.choice-next {
  grid-column: 2 / -1;
  margin-top: .5rem;
  font-size: .79rem;
  font-weight: 700;
  color: var(--brand-dark);
}

/* Policy callout on the details step. */
.policy-box {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  font-size: .84rem;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.policy-box strong { color: var(--ink); }

/* ------------------------------------------------------------------ */
/* Service area                                                       */
/* ------------------------------------------------------------------ */

#service-area { background: var(--bg-tint); }

/*
 * A plain list of towns, not a wall of repeated place names. Enough for
 * a visitor to recognise their own town at a glance, and enough for a
 * search engine to understand the area, without reading as keyword spam.
 */
.town-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.town-list li {
  padding: .4rem .8rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.area-note {
  margin-top: 1rem;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 42rem;
}
