/* ==========================================================================
   Handy100 — D2026
   A darker, editorial take: deep-teal hero, oversized display type, and
   services as alternating full-width rows instead of a grid of cards.
   Brand colours and all copy carry over from the previous design.
   ========================================================================== */

:root {
  --deep:       #0d2b34;
  --deep-soft:  #16404d;
  --teal:       #1c8cac;
  --teal-tint:  #e4f1f6;
  --orange:     #ec740c;
  --orange-dk:  #cf6208;
  --wa:         #25d366;   /* WhatsApp brand green */
  --wa-dk:      #1eb85a;
  --cream:      #fbf7f3;
  --white:      #ffffff;
  --ink:        #16323b;
  --muted:      #5d7078;
  --muted-lt:   #9fb3ba;
  --line:       #e6ddd4;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);

  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 247, 243, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}

.topbar-phone {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-phone svg { width: 16px; height: 16px; color: var(--orange); }
.topbar-phone:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--deep);
  line-height: 0;
}

.nav-toggle svg { width: 20px; height: 20px; }

.mainnav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mainnav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--deep);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}

.mainnav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.mainnav a:hover::after,
.mainnav a[aria-current="page"]::after { transform: scaleX(1); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); }

.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* WhatsApp brand green. Ink-dark label rather than white: white on #25d366
   is about 2.1:1, which fails contrast; the dark green clears 9:1. */
.btn-whatsapp {
  background: var(--wa);
  border-color: var(--wa);
  color: #06281a;
}

.btn-whatsapp:hover { background: var(--wa-dk); border-color: var(--wa-dk); }

.btn-teal { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn-teal:hover { background: #16748f; border-color: #16748f; }

.btn-outline { background: transparent; border-color: var(--deep); color: var(--deep); }
.btn-outline:hover { background: var(--deep); color: var(--white); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.hero {
  background: var(--deep);
  color: var(--white);
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 116px);
  position: relative;
  overflow: hidden;
}

/* Soft teal wash bleeding in from the right. */
.hero::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 46vw;
  height: 132%;
  background: radial-gradient(circle at 50% 50%, rgba(28,140,172,.42), transparent 62%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  margin: 0 0 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-lede {
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  color: #d3e2e7;
  margin: 0 0 16px;
  max-width: 46ch;
}

.hero-area {
  color: var(--muted-lt);
  font-size: 0.98rem;
  margin: 0 0 32px;
  max-width: 46ch;
}

/* Single-column hero for the utility pages, which have no side panel. */
.hero-solo .wrap { grid-template-columns: 1fr; }

.hero-logo {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: 0 26px 60px rgba(0,0,0,.28);
}

.hero-logo img { width: 100%; height: auto; }

/* ---------- Section furniture ---------- */

.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--deep);
  margin: 0 0 12px;
}

.section-head p { color: var(--muted); margin: 0; font-size: 1.06rem; }

/* ---------- Service rows ---------- */

/* The photo is a fixed-width thumbnail; the list takes the rest of the row. */
.srow {
  display: grid;
  grid-template-columns: minmax(0, 260px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.srow + .srow { margin-top: clamp(40px, 6vw, 72px); }

/* Alternate which side the photo sits on. The column widths swap with it,
   otherwise the flipped rows would land the photo in the wide column. */
.srow-flip { grid-template-columns: 1fr minmax(0, 260px); }
.srow-flip .srow-media { order: 2; }

.srow-media { position: relative; }

/* Square thumbnails. height is pinned as well as aspect-ratio: the source
   photos carry width/height attributes and are portrait (up to 1080x1919),
   so relying on aspect-ratio alone let them render at their natural height. */
.srow-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-md);
  position: relative;
  z-index: 1;
}

/* Offset accent block peeking out behind the photo. */
.srow-media::before {
  content: "";
  position: absolute;
  inset: auto -10px -10px auto;
  width: 62%;
  height: 62%;
  background: var(--teal-tint);
  border-radius: var(--r-md);
  z-index: 0;
}

.srow-flip .srow-media::before {
  inset: auto auto -10px -10px;
  background: #fbe6d3;
}

.srow-num {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin: 0 0 10px;
}

.srow h3 {
  font-size: clamp(1.4rem, 2.7vw, 1.95rem);
  color: var(--deep);
  margin: 0 0 18px;
}

.srow ul { margin: 0; padding: 0; list-style: none; }

.srow li {
  position: relative;
  padding: 7px 0 7px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.srow li:last-child { border-bottom: 0; }

.srow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 2px;
  background: var(--teal);
}

/* ---------- Area strip ---------- */

.strip {
  background: var(--teal-tint);
  padding: 26px 0;
  text-align: center;
}

.strip p {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  color: var(--deep);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

/* ---------- CTA band ---------- */

.band {
  background: var(--orange);
  color: var(--white);
  padding: clamp(50px, 7vw, 84px) 0;
  text-align: center;
}

.band h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0 0 14px;
}

.band p { margin: 0 0 30px; color: #ffe6d2; font-size: 1.06rem; }
.band .actions { justify-content: center; }
.band .btn-ghost { border-color: rgba(255,255,255,.6); }
.band .btn-light { background: var(--white); color: var(--orange); border-color: var(--white); }
.band .btn-light:hover { background: #fff2e6; border-color: #fff2e6; }

/* ---------- QR ---------- */

.qr-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 44px);
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

/* The "scan to add contact" caption is part of the artwork itself. */
.qr-panel img { width: 100%; max-width: 340px; margin: 0 auto; }

/* ---------- Form ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 48px);
  max-width: 680px;
  margin: 0 auto;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--deep);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
  font: inherit;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(28,140,172,.16);
}

.field textarea { min-height: 140px; resize: vertical; }

/* Honeypot — hidden from humans, visible to naive bots. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 0; height: 0; opacity: 0;
}

.form-note { margin: 16px 0 0; font-size: 0.9rem; color: var(--muted); }

.form-status {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  display: none;
}

.form-status.is-ok { display: block; background: #e7f4ea; border: 1px solid #b5dcbf; color: #1d6b33; }
.form-status.is-error { display: block; background: #fdecea; border: 1px solid #f5c2bd; color: #a12c1e; }

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

.footer {
  background: var(--deep);
  color: #a9c2c9;
  padding: clamp(40px, 6vw, 64px) 0 32px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}

.footer p { margin: 0; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer-links { display: flex; gap: 26px; font-family: var(--display); font-weight: 600; }

.footer-bottom {
  padding-top: 22px;
  font-size: 0.9rem;
  color: #7f9aa2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-logo { max-width: 340px; order: -1; }
  .hero-lede, .hero-area { max-width: none; }

  .srow,
  .srow-flip { grid-template-columns: 1fr; gap: 22px; }
  .srow-flip .srow-media { order: 0; }
  /* Keep the photo a thumbnail once the row stacks, rather than letting
     it stretch the full container width. */
  .srow-media { max-width: 300px; }
  .srow-media::before { display: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .topbar .wrap { position: relative; }

  .mainnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
  }

  .mainnav.is-open { display: block; }

  .mainnav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 14px;
  }

  .mainnav li { border-top: 1px solid var(--line); }
  .mainnav li:first-child { border-top: 0; }
  .mainnav a { display: block; padding: 14px 0; }
  .mainnav a::after { display: none; }
  .mainnav a[aria-current="page"] { color: var(--orange); }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .actions .btn { width: 100%; }
}
