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

  :root {
    --navy: #2A3744;
    --light-blue: #7DB2E0;
    --navy-light: #3D4D5E;
    --amber: #FF6F59;
    --amber-light: #FFE8E4;
    --amber-dark: #D6492F;
    --teal: #2F8FBF;
    --teal-light: #E3F2FA;
    --surface: #F5F6F7;
    --white: #FFFFFF;
    --border: #DDE2E6;
    --text-primary: #2A3744;
    --text-secondary: #5B6B7A;
    --text-muted: #98A6B2;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-hover: 0 4px 8px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.12);
    /* safe area insets for notched phones */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* prevent horizontal scroll on mobile */
    overflow-x: hidden;
  }

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

  /* ─── TOUCH TARGETS ─── minimum 44px for all interactive elements */
  button, a, select, input[type="submit"] {
    min-height: 44px;
    touch-action: manipulation;
  }

  /* ── NAV ── */
  nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--light-blue);
    padding: 0 1.25rem;
    padding-left: calc(1.25rem + var(--safe-left));
    padding-right: calc(1.25rem + var(--safe-right));
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .nav-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    min-height: 44px;
  }
  .logo-dot { color: var(--amber-dark); }
  .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
  }
  .nav-links a {
    color: rgba(42,55,68,0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .15s;
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .nav-links a:hover { color: var(--navy); }
  .nav-cta { display: flex; gap: 8px; align-items: center; }

  .btn-ghost {
    padding: 8px 16px;
    border: 1.5px solid rgba(42,55,68,0.35);
    border-radius: var(--radius-md);
    color: var(--navy);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    background: none;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, background .15s;
    display: flex;
    align-items: center;
  }
  .btn-ghost:hover { border-color: rgba(42,55,68,0.6); background: rgba(42,55,68,0.07); }

  .btn-primary {
    padding: 9px 18px;
    background: var(--amber);
    border: none;
    border-radius: var(--radius-md);
    color: var(--navy);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, transform .1s;
    white-space: nowrap;
    display: flex;
    align-items: center;
  }
  .btn-primary:hover { background: #FF8A77; }
  .btn-primary:active { transform: scale(0.97); }

  /* hamburger button */
  .nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* mobile drawer */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0; right: 0; bottom: 0;
    background: var(--navy);
    z-index: 190;
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding-bottom: calc(1.5rem + var(--safe-bottom));
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    display: block;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    min-height: 52px;
    display: flex;
    align-items: center;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu-cta {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-menu-cta .btn-ghost,
  .mobile-menu-cta .btn-primary {
    justify-content: center;
    width: 100%;
    font-size: 16px;
    padding: 14px;
  }

  /* ── HERO ── */
  .hero {
    background: var(--navy);
    padding: 56px 1.25rem 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 80% 20%, rgba(244,166,35,0.12) 0%, transparent 60%),
      radial-gradient(ellipse 50% 60% at 10% 80%, rgba(29,158,117,0.10) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero-eyebrow {
    display: inline-block;
    background: var(--amber-light);
    color: var(--amber-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 1.1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  .hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(18px, 7vw, 60px);
    color: var(--white);
    line-height: 1.15;
    max-width: 700px;
    margin: 0 auto 0.9rem;
  }
  .hero h1 em { font-style: normal; color: var(--amber); }
  .hero-sub {
    color: rgba(255,255,255,0.65);
    font-size: clamp(15px, 3.5vw, 18px);
    max-width: 480px;
    margin: 0 auto 2rem;
  }

  /* search bar — stacked on mobile, inline on desktop */
  .search-bar {
    display: flex;
    flex-direction: column;
    max-width: 620px;
    margin: 0 auto 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    gap: 0;
  }
  .search-bar-main {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
  }
  .search-bar-main input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background: transparent;
    min-height: 52px;
  }
  .search-bar-main input::placeholder { color: var(--text-muted); }
  .search-bar-bottom {
    display: flex;
    align-items: center;
  }
  .zip-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background: transparent;
    min-height: 50px;
  }
  .zip-input::placeholder { color: var(--text-muted); }
  .search-btn {
    margin: 6px;
    padding: 11px 20px;
    background: var(--amber);
    border: none;
    border-radius: 10px;
    color: var(--navy);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
    min-height: 44px;
  }
  .search-btn:hover { background: #FF8A77; }
  .search-btn:active { background: var(--amber-dark); }

  .hero-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 0 0.25rem;
  }
  .hero-tag {
    padding: 8px 14px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    cursor: pointer;
    transition: background .15s;
    min-height: 36px;
    display: flex;
    align-items: center;
  }
  .hero-tag:hover, .hero-tag:active { background: rgba(255,255,255,0.22); }

  /* ── TRUST BAR ── */
  .trust-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 14px 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
  }
  .trust-icon {
    width: 22px;
    height: 22px;
    background: var(--teal-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
    font-size: 11px;
  }

  /* ── SECTION ── */
  .section { padding: 52px 1.25rem; }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--teal);
    margin-bottom: .4rem;
  }
  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(24px, 5vw, 38px);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: .65rem;
  }
  .section-sub {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  /* ── CATEGORIES ── */
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .category-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 10px;
    text-align: center;
    cursor: pointer;
    transition: box-shadow .18s, border-color .18s;
    text-decoration: none;
    color: inherit;
    display: block;
    -webkit-tap-highlight-color: transparent;
  }
  .category-card:active { border-color: var(--amber); background: var(--amber-light); }
  @media (hover: hover) {
    .category-card:hover { box-shadow: var(--shadow-hover); border-color: var(--amber); }
  }
  .category-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  .category-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
  }
  .category-count {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
  }

  /* ── HOW IT WORKS ── */
  .hiw { background: var(--surface); }
  .steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
  }
  .step-number {
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    flex-shrink: 0;
  }
  .step-number.accent { background: var(--amber); color: var(--navy); }
  .step-text h3 { font-size: 16px; font-weight: 700; margin-bottom: .3rem; }
  .step-text p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

  /* ── PRO CARDS ── */
  .pros-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pro-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow .2s;
  }
  @media (hover: hover) {
    .pro-card:hover { box-shadow: var(--shadow-hover); }
  }
  .pro-card:active { background: #FAFAF9; }
  .pro-card-header {
    padding: 16px 16px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .pro-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
  }
  .pro-info { flex: 1; min-width: 0; }
  .pro-name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pro-title { font-size: 12px; color: var(--text-secondary); margin: 2px 0 5px; }
  .pro-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; }
  .stars { color: var(--amber); }
  .review-count { color: var(--text-muted); font-weight: 400; }
  .badge-verified {
    padding: 3px 8px;
    background: var(--teal-light);
    color: var(--teal);
    font-size: 10px;
    font-weight: 700;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .pro-card-body { padding: 12px 16px 0; }
  .pro-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
  .pro-tag {
    padding: 3px 9px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    color: var(--text-secondary);
  }
  .pro-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .pro-card-footer {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    margin-top: 12px;
    gap: 8px;
  }
  .pro-rate { font-size: 13px; color: var(--text-secondary); }
  .pro-rate strong { font-size: 17px; font-weight: 700; color: var(--text-primary); }
  .pro-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
    padding: 0 16px 10px;
  }
  .btn-contact {
    padding: 10px 16px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    min-height: 44px;
  }
  .btn-contact:active { background: var(--navy-light); }

  /* controls bar above pros */
  .pros-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.25rem;
  }
  .pros-controls-left h2 { font-size: clamp(20px, 4vw, 32px); margin-bottom: 0; }

  /* ── POST JOB ── */
  .post-job {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 52px 1.25rem;
  }
  .post-job-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  .post-job h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(26px, 5vw, 42px);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: .75rem;
  }
  .post-job h2 em { color: var(--amber); font-style: normal; }
  .post-job-copy p {
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  .perks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.5rem; }
  .perk { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.85); }
  .perk-check {
    width: 22px;
    height: 22px;
    background: rgba(29,158,117,0.25);
    border: 1.5px solid var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--teal);
  }
  .job-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .job-form h3 { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
  .form-row { display: flex; flex-direction: column; gap: 12px; }
  .form-group { display: flex; flex-direction: column; gap: 5px; }
  .form-label { font-size: 11px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; }
  .form-input {
    padding: 13px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 16px; /* 16px prevents iOS zoom on focus */
    color: var(--text-primary);
    background: var(--white);
    outline: none;
    transition: border-color .15s;
    width: 100%;
    min-height: 50px;
    -webkit-appearance: none;
    appearance: none;
  }
  .form-input:focus { border-color: var(--navy); }
  .form-input::placeholder { color: var(--text-muted); }
  select.form-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6778' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
  }
  textarea.form-input { resize: vertical; min-height: 90px; line-height: 1.5; }
  .btn-submit {
    padding: 15px;
    background: var(--amber);
    border: none;
    border-radius: var(--radius-md);
    color: var(--navy);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    margin-top: 2px;
    width: 100%;
    min-height: 52px;
  }
  .btn-submit:active { background: var(--amber-dark); }
  .form-note { font-size: 12px; color: var(--text-muted); text-align: center; }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--surface); }
  /* horizontal scroll on mobile */
  .testimonials-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
    scrollbar-width: none;
  }
  .testimonials-scroll-wrap::-webkit-scrollbar { display: none; }
  .testimonials-grid {
    display: flex;
    gap: 14px;
    padding-bottom: 4px;
    width: max-content;
  }
  .testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    width: 280px;
    flex-shrink: 0;
  }
  .testimonial-stars { color: var(--amber); font-size: 15px; margin-bottom: 10px; }
  .testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
    font-style: italic;
  }
  .testimonial-author { display: flex; align-items: center; gap: 10px; }
  .author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
  }
  .author-name { font-size: 13px; font-weight: 600; }
  .author-location { font-size: 11px; color: var(--text-muted); }

  /* scroll indicator dots */
  .scroll-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
  }
  .scroll-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: background .2s, width .2s;
  }
  .scroll-dot.active { background: var(--teal); width: 18px; border-radius: 3px; }

  /* ── JOIN PRO ── */
  .join-pro { padding: 52px 1.25rem; text-align: center; }
  .join-pro .section-title { margin: .6rem auto; }
  .join-pro .section-sub { margin: 0 auto 1.5rem; text-align: center; }
  .pro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 2rem;
  }
  .feature-box {
    padding: 18px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
  }
  .feature-emoji { font-size: 26px; margin-bottom: 8px; }
  .feature-title { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
  .feature-desc { font-size: 12px; color: var(--text-secondary); }

  /* ── FOOTER ── */
  footer {
    background: var(--light-blue);
    padding: 44px 1.25rem 0;
    padding-bottom: calc(28px + var(--safe-bottom));
  }
  .footer-inner { max-width: 1100px; margin: 0 auto; }
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(42,55,68,0.15);
    margin-bottom: 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand p {
    color: rgba(42,55,68,0.65);
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.6;
    max-width: 300px;
  }
  .footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(42,55,68,0.55);
    margin-bottom: .75rem;
  }
  .footer-col a {
    display: block;
    color: rgba(42,55,68,0.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color .15s;
    min-height: 32px;
    display: flex;
    align-items: center;
  }
  .footer-col a:hover { color: var(--navy); }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 1rem;
  }
  .footer-bottom p { color: rgba(42,55,68,0.5); font-size: 12px; }
  .footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
  .footer-links a {
    color: rgba(42,55,68,0.5);
    font-size: 12px;
    text-decoration: none;
    transition: color .15s;
    min-height: 32px;
    display: flex;
    align-items: center;
  }
  .footer-links a:hover { color: var(--navy); }

  /* ── BOTTOM NAV (mobile only) ── */
  .bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 150;
    padding-bottom: var(--safe-bottom);
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
  }
  .bottom-nav-inner {
    display: flex;
    align-items: stretch;
  }
  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    transition: color .15s;
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
  }
  .bottom-nav-item.active { color: var(--navy); }
  .bottom-nav-item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .bottom-nav-post {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
  }
  .bottom-nav-post-btn {
    background: var(--amber);
    color: var(--navy);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
    min-height: 40px;
    -webkit-tap-highlight-color: transparent;
  }

  /* ── MODAL ── */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,43,69,0.55);
    z-index: 1000;
    align-items: flex-end; /* slides up from bottom on mobile */
    justify-content: center;
    padding: 0;
  }
  .modal-overlay.open { display: flex; }
  .modal {
    background: var(--white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 24px 20px;
    padding-bottom: calc(24px + var(--safe-bottom));
    width: 100%;
    max-width: 560px;
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-handle {
    width: 36px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 20px;
  }
  .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--surface);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
  }
  .modal h3 { font-size: 20px; font-weight: 700; margin-bottom: 5px; }
  .modal p { font-size: 14px; color: var(--text-secondary); margin-bottom: 1.25rem; }
  .modal-pro {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: var(--surface);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
  }

  /* ── TOAST ── */
  #toast {
    position: fixed;
    bottom: calc(80px + var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: var(--navy);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    opacity: 0;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .3s;
    max-width: calc(100vw - 2.5rem);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

  /* ─────────────── TABLET (≥ 600px) ─────────────── */
  @media (min-width: 600px) {
    .search-bar { flex-direction: row; }
    .search-bar-main { border-bottom: none; border-right: 1px solid var(--border); flex: 1; }
    .search-bar-bottom { border-left: none; }
    .zip-input { width: 120px; flex: none; border-left: 1px solid var(--border); }

    .trust-bar { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
    .trust-item { font-size: 13px; }

    .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }

    .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .step { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; }
    .step-text h3 { font-size: 17px; }

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

    .form-row { flex-direction: row; }

    .testimonials-scroll-wrap { margin: 0; overflow: visible; }
    .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); width: auto; }
    .testimonial-card { width: auto; }
    .scroll-dots { display: none; }

    .pro-features { grid-template-columns: repeat(4, 1fr); }

    .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  }

  /* ─────────────── DESKTOP (≥ 900px) ─────────────── */
  @media (min-width: 900px) {
    nav { padding: 0 2rem; height: 64px; }
    .nav-hamburger { display: none !important; }
    .nav-links { display: flex !important; }
    .nav-cta { display: flex !important; }
    .bottom-nav { display: none !important; }

    .hero { padding: 80px 2rem 90px; }
    .hero h1 { font-size: 60px; }
    .search-bar { flex-direction: row; }

    .section { padding: 72px 2rem; }
    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .category-card { padding: 20px 16px; }
    .category-icon { width: 48px; height: 48px; font-size: 22px; }
    .category-name { font-size: 13px; }

    .steps-grid::before {
      content: '';
      position: absolute;
      top: 28px;
      left: calc(33.3% - 30px);
      right: calc(33.3% - 30px);
      height: 2px;
      background: repeating-linear-gradient(90deg, var(--amber) 0, var(--amber) 8px, transparent 8px, transparent 16px);
      pointer-events: none;
    }
    .steps-grid { position: relative; }
    .step { position: relative; }
    .step-number { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 1.25rem; }

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

    .post-job { padding: 80px 2rem; }
    .post-job-inner { flex-direction: row; gap: 4rem; align-items: center; }
    .job-form { padding: 32px; }

    .modal-overlay { align-items: center; padding: 1rem; }
    .modal { border-radius: var(--radius-xl); max-height: 90vh; }
    .modal-handle { display: none; }

    .footer-top { gap: 3rem; }
    #toast { bottom: 24px; left: auto; right: 24px; transform: translateY(40px); white-space: normal; max-width: 320px; }
    #toast.show { transform: translateY(0); }
  }

  /* ─────────────── MOBILE ONLY (< 900px) ─────────────── */
  @media (max-width: 899px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .bottom-nav { display: block; }
    /* push footer content above bottom nav */
    footer { margin-bottom: 56px; }

    /* sign in btn visible on nav for small screens */
    .nav-signin-small {
      padding: 7px 14px;
      border: 1.5px solid rgba(42,55,68,0.35);
      border-radius: var(--radius-md);
      color: var(--navy);
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
      background: none;
      cursor: pointer;
      text-decoration: none;
      display: flex;
      align-items: center;
      min-height: 38px;
    }
  }
  @media (min-width: 900px) {
    .nav-signin-small { display: none; }
  }

.code-input { letter-spacing: 6px; font-size: 22px; text-align: center; }

/* ══════════════════════════════════════════════════════════════
   MOBILE / iPHONE FIXES
   Everything below only adds to the rules above.
   ══════════════════════════════════════════════════════════════ */

/* Stop iOS Safari from enlarging text on rotate */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Long words, emails and URLs wrap instead of pushing the page wider */
h1, h2, h3, p, li, td, th, .form-note, .pro-name { overflow-wrap: anywhere; }

/* Wide content scrolls inside its own box instead of the page */
pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }
iframe, video, svg, canvas { max-width: 100%; }

/* Trust bar: an odd last item spans the full width on phones instead of sitting alone */
.trust-bar .trust-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Search fields can shrink so the Search button stays on screen */
.zip-input, .search-bar-main input { min-width: 0; }

/* Logo: the tagline is its own line so the nav fits a phone screen */
.logo-tag { font: inherit; }

/* Services cards on the home page: a proper grid (not a 1,700px-wide row) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: auto;
}
.services-grid .testimonial-card { width: auto; padding: 16px; color: var(--text-primary); }
.services-grid .author-name { color: var(--navy); }

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .services-grid .testimonial-card { padding: 20px; }
}

@media (max-width: 899px) {
  /* Nav: logo shrinks and stacks its tagline under the name */
  nav { gap: 10px; }
  .nav-logo {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    column-gap: 4px;
    row-gap: 0;
    align-content: center;
    white-space: normal;
    font-size: 17px;
    line-height: 1.1;
  }
  .logo-tag {
    flex-basis: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--navy-light);
  }
  .nav-signin-small, .nav-hamburger { flex-shrink: 0; }

  /* iOS zooms into any field with text smaller than 16px — keep them at 16px */
  input, select, textarea, .form-input, .zip-input, #search-input { font-size: 16px !important; }
  .code-input { font-size: 22px !important; }

  /* Toast messages wrap onto two lines instead of being cut off with "…" */
  #toast { white-space: normal; text-overflow: clip; width: max-content; }

  /* Keep the footer clear of the bottom nav and the iPhone home-indicator bar */
  footer { margin-bottom: calc(56px + var(--safe-bottom)); }
}

/* Phones: long call-to-action buttons wrap instead of running off screen */
@media (max-width: 599px) {
  .btn-primary { white-space: normal; text-align: center; justify-content: center; max-width: 100%; }
  .bottom-nav-post-btn { white-space: nowrap; padding: 10px 10px; }
}

/* Small phones (iPhone SE, mini): tighter side padding and headings */
@media (max-width: 400px) {
  nav { padding-left: calc(1rem + var(--safe-left)); padding-right: calc(1rem + var(--safe-right)); }
  .nav-logo { font-size: 15px; }
  .logo-tag { font-size: 9px; }
  .nav-signin-small { padding: 6px 10px !important; }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .job-form, .profile-card { padding: 18px; }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER: menu titles clearly different from the menu links
   ══════════════════════════════════════════════════════════════ */
.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy);
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  position: relative;
}
/* short accent bar under each title */
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;              /* bar runs the full width of the title */
  height: 3px;
  border-radius: 2px;
  background: var(--amber-dark);
}
.footer-col h4 { width: fit-content; max-width: 100%; }
.footer-col a {
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 2px;
}
/* Readable text on the light-blue footer (the faded greys were too light) */
.footer-brand p,
.footer-bottom p,
.footer-links a,
.footer-legal a { color: var(--navy); }
.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Dashboard / activation pages use .footer-legal — match .footer-links */
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a {
  font-size: 12px;
  text-decoration: none;
  min-height: 32px;
  display: flex;
  align-items: center;
}
.footer-legal a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Phones: the three footer menus sit side by side on one row, like the website */
@media (max-width: 599px) {
  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 1.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col h4 {
    font-size: 11px;
    letter-spacing: .06em;
    line-height: 1.3;
    min-height: calc(2.6em + .5rem);  /* titles that wrap to 2 lines keep all 3 menus aligned */
    display: flex;
    align-items: flex-end;
  }
  .footer-col a { font-size: 13px; line-height: 1.3; }
}

/* ══════════════════════════════════════════════════════════════
   PRO PHOTOS — logo + project photo pickers (join-as-pro.html,
   pro-dashboard.html) and the homeowner's pro profile page
   ══════════════════════════════════════════════════════════════ */
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo-slot {
  position: relative; aspect-ratio: 1 / 1; border: 1.5px dashed var(--border);
  border-radius: 12px; overflow: hidden; background: #F7F9FB;
}
.photo-slot.filled { border-style: solid; }
.photo-slot .photo-add {
  width: 100%; height: 100%; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--text-secondary);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 6px; text-align: center; min-height: 44px;
}
.photo-slot .photo-add .plus { font-size: 24px; line-height: 1; color: var(--teal); }
.photo-slot .photo-add .hint { font-size: 11px; font-weight: 400; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-slot.logo img { object-fit: contain; background: #fff; padding: 8px; }
.photo-slot .photo-remove {
  position: absolute; top: 4px; right: 4px; width: 30px; height: 30px;
  min-width: 30px; min-height: 30px; padding: 0; border: 0; border-radius: 50%;
  cursor: pointer; color: #fff; background: rgba(20, 30, 40, .72);
  font: inherit; font-size: 13px; font-weight: 700; line-height: 30px;
  display: flex; align-items: center; justify-content: center;
}
/* Dashboard: tap a filled tile to replace that image */
.photo-slot .photo-tap {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; margin: 0;
  background: none; cursor: pointer; position: relative;
}
.photo-slot .photo-tap-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 0;
  background: rgba(20, 30, 40, .6); color: #fff; font-size: 12px; font-weight: 600;
}
.photo-slot .photo-size {
  position: absolute; left: 6px; bottom: 6px; font-size: 11px; color: #fff;
  background: rgba(20, 30, 40, .6); padding: 2px 7px; border-radius: 6px;
}
.photo-slot.busy::after {
  content: 'Shrinking…'; position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; background: rgba(255,255,255,.85);
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.photo-note { font-size: 12.5px; color: var(--text-secondary); margin: 6px 0 0; }
