/* ============================================================
   Northside Trades — sample Web Presence client website
   A clean, professional local-business site. Plain CSS.
   (This is the CLIENT's brand — deliberately NOT SunShare's
   dark/gold look. It shows the kind of output a Web Presence client gets.)
   ============================================================ */

:root {
  --navy: #101a2e;
  --navy-2: #16233b;
  --slate: #55617a;
  --slate-2: #6b7793;
  --line: #e7ebf2;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-tint: #eef3fd;

  --blue: #2f6df6;
  --blue-deep: #1b3fae;
  --blue-soft: #dbe7ff;
  --gold: #f5a623;

  --shadow-sm: 0 1px 2px rgba(16, 26, 46, 0.06);
  --shadow: 0 10px 30px rgba(16, 26, 46, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 26, 46, 0.12);

  --radius: 16px;
  --radius-lg: 22px;
  --container: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(47, 109, 246, 0.18);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.container--narrow {
  max-width: 760px;
}

.section {
  padding-block: clamp(56px, 9vw, 104px);
}

.section--soft {
  background: var(--bg-soft);
}

.section--tint {
  background:
    radial-gradient(120% 90% at 85% 0%, var(--bg-tint) 0%, transparent 55%),
    var(--bg);
}

.center {
  text-align: center;
  margin-inline: auto;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--navy);
}

.h-xl {
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
}

.h-lg {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
}

.h-md {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
}

.lede {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--slate);
  max-width: 60ch;
}

.muted {
  color: var(--slate);
}

.text-blue {
  color: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:focus-visible {
  outline: 3px solid rgba(47, 109, 246, 0.4);
  outline-offset: 3px;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 8px 20px rgba(47, 109, 246, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47, 109, 246, 0.36);
}

.btn--ghost {
  color: var(--navy-2);
  border-color: #d3dae6;
  background: #fff;
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--dark {
  color: #fff;
  background: var(--navy-2);
}

.btn--dark:hover {
  transform: translateY(-2px);
  background: var(--navy);
}

.btn--lg {
  padding: 17px 32px;
  font-size: 17px;
}

.btn--block {
  width: 100%;
}

.btn .ico {
  width: 18px;
  height: 18px;
}

/* ---------- Sample ribbon (honest label + soft lead surface) ---------- */
.ribbon {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
}

.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 20px;
  text-align: center;
}

.ribbon b {
  font-weight: 700;
}

.ribbon a {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.ribbon a:hover {
  border-color: #fff;
}

.ribbon .dot {
  opacity: 0.4;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.brand-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 3px 8px rgba(47, 109, 246, 0.4);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--bg-soft);
}

.nav-links a.is-active {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: var(--navy-2);
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--navy) !important;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 88% -10%, var(--bg-tint) 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}

.hero h1 {
  margin-bottom: 18px;
}

.hero .lede {
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--slate);
  font-size: 14.5px;
  font-weight: 600;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badge .ico {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

/* Hero illustration — pure CSS/SVG "booking" card stack */
.hero-art {
  position: relative;
  min-height: 340px;
}

.hero-card {
  position: absolute;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
}

.hero-card--main {
  inset: 20px 0 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card--float {
  right: -6px;
  bottom: 8px;
  width: 210px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.hero-card--pill {
  top: -4px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.hero-map {
  flex: 1;
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(47, 109, 246, 0.08), rgba(47, 109, 246, 0.02)),
    var(--bg-soft);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

.hero-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 109, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 109, 246, 0.1) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-pin {
  position: absolute;
  top: 44%;
  left: 52%;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 6px 16px rgba(47, 109, 246, 0.5);
}

.hero-pin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.hero-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-soft), #bcd2ff);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--blue-deep);
  flex-shrink: 0;
}

.hero-lines {
  flex: 1;
  display: grid;
  gap: 6px;
}

.hero-line {
  height: 9px;
  border-radius: 999px;
  background: var(--bg-soft);
}

.hero-line--short {
  width: 60%;
}

.hero-check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6f7ec;
  color: #1a9d4f;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-check svg {
  width: 18px;
  height: 18px;
}

.pill-live {
  color: #1a9d4f;
  background: #e6f7ec;
}

.pill-live .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a9d4f;
  box-shadow: 0 0 0 4px rgba(26, 157, 79, 0.18);
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 40px);
  background: var(--navy);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.stat-num span {
  color: var(--gold);
}

.stat-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-head.center {
  margin-inline: auto;
}

.section-head h2 {
  margin-bottom: 14px;
}

/* ---------- Cards / services ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-soft);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--bg-tint);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  color: var(--slate);
  font-size: 15.5px;
}

.card-list {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--slate);
}

.card-list .tick {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue);
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  gap: 14px;
}

.feature-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--bg-tint);
}

.feature-ico svg {
  width: 22px;
  height: 22px;
}

.feature-list h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
}

.feature-list p {
  font-size: 15px;
  color: var(--slate);
}

.art-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-2), var(--navy));
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.art-panel .art-quote {
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 22px;
}

.art-attrib {
  display: flex;
  align-items: center;
  gap: 12px;
}

.art-attrib .hero-avatar {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.art-name {
  font-weight: 700;
}

.art-role {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Reviews ---------- */
.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 16px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-body {
  font-size: 16px;
  color: var(--navy-2);
}

.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.review-name {
  font-weight: 700;
  font-size: 15px;
}

.review-meta {
  font-size: 13.5px;
  color: var(--slate-2);
}

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.rating-big {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  padding: 20px 22px;
  background: none;
  border: 0;
  cursor: pointer;
}

.faq-q .chev {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}

.faq-item.open .chev {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-a p {
  padding: 0 22px 20px;
  color: var(--slate);
  font-size: 15.5px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -80px;
  top: -160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 14px;
  position: relative;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin: 0 auto 26px;
  position: relative;
}

.cta-band .btn--light {
  position: relative;
  color: var(--blue-deep);
  background: #fff;
}

.cta-band .btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 22px;
}

.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--bg-tint);
}

.info-ico svg {
  width: 22px;
  height: 22px;
}

.info-row h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.info-row a,
.info-row p {
  color: var(--slate);
  font-size: 15.5px;
}

.info-row a:hover {
  color: var(--blue);
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 38px);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--navy-2);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--navy);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--bg-soft);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

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

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

.form-note {
  font-size: 13px;
  color: var(--slate-2);
  margin-top: 12px;
  text-align: center;
}

/* Auto-responder success state */
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-success.show {
  display: block;
  animation: pop 0.5s var(--ease);
}

.form-success .success-ring {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e6f7ec;
  color: #1a9d4f;
  display: grid;
  place-items: center;
}

.form-success .success-ring svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  margin-bottom: 8px;
}

@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(44px, 6vw, 72px) 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 15px;
  max-width: 34ch;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 13.5px;
}

.footer-credit a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.footer-credit a:hover {
  border-color: #fff;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    min-height: 300px;
    max-width: 460px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-cta {
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .grid-3,
  .grid-2,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}
