/* ============================================================
   Extra Hands — Stamford, CT
   Mobile-first, navy + lime, bold friendly type
   ============================================================ */

:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --navy-3: #1B3F73;
  --lime: #A7E635;
  --lime-dark: #84CC16;
  --lime-ink: #3d5a09;
  --sand: #F4A259;
  --paper: #F6F9FC;
  --white: #ffffff;
  --ink: #0B2545;
  --muted: #5b6b82;
  --line: #e3eaf3;
  --shadow: 0 10px 30px rgba(11, 37, 69, .10);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

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

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

a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 3.5vw, 1.4rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime-ink); background: var(--lime);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.eyebrow--onnavy { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 700; font-size: 1rem; padding: 14px 24px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--lime); color: var(--navy); box-shadow: 0 8px 18px rgba(132,204,22,.35); }
.btn--primary:hover { background: var(--lime-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn--lg { padding: 17px 30px; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,37,69,.98); color: #fff;
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 3px solid var(--lime);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 46px; height: auto; flex: none; }
.brand__name { font-size: 1.18rem; letter-spacing: -.01em; line-height: 1.05; }
.brand__name small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .12em; color: var(--lime); text-transform: uppercase; }

.nav__links { display: none; }
.nav__links a { color: #dfe7f2; font-weight: 600; font-size: .96rem; padding: 6px 2px; }
.nav__links a:hover, .nav__links a.active { color: #fff; text-decoration: none; }
.nav__links a.active { color: var(--lime); }
.nav__cta { display: none; }

.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none; background: var(--navy-2); border-bottom: 3px solid var(--lime);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: #e7eefb; font-weight: 600; padding: 14px 24px; border-top: 1px solid rgba(255,255,255,.08); }
.mobile-menu a:hover { background: rgba(255,255,255,.06); text-decoration: none; }
.mobile-menu .btn { margin: 16px 24px; display: flex; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(167,230,53,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%);
  color: #fff; overflow: hidden;
}
.hero__inner { padding: 52px 0 60px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--lime); }
.hero p { color: #cdd9ea; font-size: 1.16rem; max-width: 52ch; }
.hero__promise { font-weight: 800; font-size: 1.05rem; color: var(--lime); letter-spacing: .01em; margin-bottom: 6px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: #aebfd6; font-size: .92rem; font-weight: 600; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__art { margin-top: 34px; }

/* ---------- Brand card (full logo lockup on light) ---------- */
.brand-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.5); padding: 30px; display: flex; align-items: center; justify-content: center;
}
.brand-card__logo { width: 100%; max-width: 340px; height: auto; }

/* ---------- Photo frames (swap for real photos) ---------- */
.photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--navy-2), var(--navy-3));
  border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  color: #cdd9ea; text-align: center; padding: 20px;
}
.photo svg { width: 84px; height: 84px; opacity: .9; margin-bottom: 10px; }
.photo .photo__label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; opacity: .8; }
.photo--lime { background: linear-gradient(150deg, #d9f79b, var(--lime)); color: var(--navy); border-color: rgba(11,37,69,.12); }
.photo--tall { aspect-ratio: 3 / 4; }

/* ---------- Grid utilities ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); height: 100%;
}
.card h3 { margin-top: 6px; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--lime); color: var(--navy); margin-bottom: 8px;
}
.card .icon svg { width: 28px; height: 28px; }
.card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.card ul li { margin-bottom: 6px; }

/* Service cards */
.service-card { border-top: 5px solid var(--lime); }
.service-card--big { border-top-color: var(--sand); }
.service-card .tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}

/* ---------- Recurring callout ---------- */
.callout {
  background: linear-gradient(120deg, var(--lime) 0%, #c8f06a 100%);
  border-radius: var(--radius); padding: 32px 28px; color: var(--navy);
  display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow);
  border: 2px solid var(--lime-dark);
}
.callout h2 { color: var(--navy); margin: 0; }
.callout p { margin: 0; font-weight: 500; }
.callout__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.callout__pills span { background: rgba(11,37,69,.1); color: var(--navy); font-weight: 700; padding: 8px 16px; border-radius: 999px; font-size: .9rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 66px; margin-bottom: 26px; }
.step__num {
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--lime); font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Reviews ---------- */
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }
.review-card { display: flex; flex-direction: column; gap: 10px; }
.review-card p { font-size: 1.02rem; margin: 0; }
.review-card .who { font-weight: 700; color: var(--navy); }
.review-card .who small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }

/* ---------- Forms ---------- */
.form-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 26px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 700; margin-bottom: 7px; color: var(--navy); font-size: .96rem; }
.field .req { color: #d33; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; color: var(--ink); background: #fdfefe; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--lime-dark); box-shadow: 0 0 0 4px rgba(132,204,22,.18);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"],
.chips[aria-invalid="true"] { border-color: #e0554f; box-shadow: 0 0 0 4px rgba(224,85,79,.14); }
.error-msg { display: none; color: #c0392b; font-size: .85rem; font-weight: 600; margin-top: 6px; }
.error-msg.show { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0; border-radius: var(--radius-sm); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 11px 18px; border: 2px solid var(--line); border-radius: 999px;
  font-weight: 600; color: var(--navy); background: #fff; cursor: pointer; transition: .15s; user-select: none;
}
.chip input:checked + span { background: var(--navy); color: var(--lime); border-color: var(--navy); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(132,204,22,.25); }
.hint { color: var(--muted); font-size: .85rem; font-weight: 500; margin: 2px 0 0; }

.form-status { margin-top: 8px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eaf7d9; color: var(--lime-ink); border: 1px solid var(--lime-dark); }
.form-status.err { background: #fdeceb; color: #b5322c; border: 1px solid #e0554f; }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row .chip span { min-width: 120px; text-align: center; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; gap: 26px; align-items: center; grid-template-columns: 1fr; }
.split--reverse .split__media { order: -1; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius); padding: 40px 26px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd9ea; max-width: 52ch; margin: 0 auto 20px; }

/* ---------- Contact blocks ---------- */
.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.contact-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start;
}
.contact-item .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center; }
.contact-item .icon svg { width: 24px; height: 24px; }
.contact-item strong { display: block; color: var(--navy); }
.contact-item a { color: var(--navy-2); font-weight: 600; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat b { display: block; font-size: 1.7rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: .86rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c7d4e6; padding: 44px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.site-footer a { color: #c7d4e6; }
.site-footer a:hover { color: var(--lime); text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 48px; }
.footer-brand b { color: #fff; font-size: 1.15rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: .84rem; color: #8ea3c0; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.footer-promise { color: var(--lime); font-weight: 700; }

/* ---------- Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.badge { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .88rem; color: var(--navy); }
.divider { height: 1px; background: var(--line); border: 0; margin: 34px 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Meet the Team ---------- */
.team-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); }
.team-photo { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(150deg, var(--navy-2), var(--navy-3)); display: flex; align-items: center; justify-content: center; color: #cdd9ea; border: 3px solid var(--lime); overflow: hidden; }
.team-photo svg { width: 52px; height: 52px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin: 0 0 2px; }
.team-role { color: var(--lime-ink); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.team-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ============================================================
   Responsive — tablet & up
   ============================================================ */
@media (min-width: 680px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .stat-strip { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 0; }
  .hero__inner { padding: 70px 0 76px; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .callout { flex-direction: row; align-items: center; justify-content: space-between; padding: 34px 40px; }
  .callout__text { max-width: 60%; }
}

@media (min-width: 992px) {
  .nav__links { display: flex; gap: 20px; }
  .nav__links a { font-size: .92rem; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
  .hero__art { margin-top: 0; }
  .grid-3.reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
