:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Colors */
  --teal-50: #e6f6f6;
  --teal-100: #c9eded;
  --teal-500: #12b1b1;
  --teal-600: #109c9c;
  --teal-800: #0d7474;
  --teal-900: #064949;

  --ink: #1f2327;
  --ink-soft: #4b5563;
  --ink-lighter: #6b7280;

  --grey-25: #f9fafb;
  --grey-50: #f3f4f6;
  --grey-100: #e5e7eb;
  --grey-300: #d1d5db;

  --white: #fff;
  --gold: #f59e0b;
  --green: #10b981;

  /* Layout */
  --radius: 16px;
  --space: clamp(1.5rem, 4vw, 3rem);
  --shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);

  /* Header Fixed Height - Prevents squashing */
  --header-height: 72px;
}

/* --- RESET & BASE --- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* FIX: Ensures the sticky header doesn't cover section titles */
  scroll-padding-top: calc(var(--header-height) + 2rem);
}

body {
  margin: 0;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--grey-25);
  -webkit-font-smoothing: antialiased;
}

/* FIX: Prevents scrolling when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Global Image Reset */
img { max-width: 100%; height: auto; display: block; }

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
}

.site-logo {
  max-height: 44px;
  width: auto;
}

a { color: var(--teal-600); transition: color 0.2s; }
a:hover { color: var(--teal-900); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 1rem 0; letter-spacing: -0.02em; }

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
}

/* Explicitly size headings inside section/article to avoid UA fallback deprecation */
section h1,
article h1,
aside h1,
nav h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
}

.text-center { text-align: center; }
.text-muted { color: var(--ink-lighter); font-size: 0.9em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* --- HEADER --- */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-100);
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  width: 100%;
  height: 100%;
}

/* --- LOGO FIX --- */
.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
  height: 44px; /* Fixed height to ensure SVG renders correctly */
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--teal-600); }

.nav-item--dropdown { position: relative; }

.nav-dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
}

.nav-dropdown-toggle::after {
  content: '';
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--ink);
  transition: transform 0.2s ease;
}

.nav-item--dropdown.open .nav-dropdown-toggle::after { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 0.75rem);
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 0.85rem;
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  min-width: 260px;
  display: none;
  flex-direction: column;
  z-index: 20;
}

.nav-item--dropdown.open .nav-dropdown { display: flex; }

.nav-dropdown a {
  padding: 0.6rem 1.25rem;
  display: block;
  color: var(--ink);
}

.nav-dropdown a:hover {
  background: var(--grey-50);
  color: var(--teal-600);
}

.nav-cta {
  background: var(--teal-50);
  color: var(--teal-600) !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.hamburger-icon::before, .hamburger-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--ink);
  left: 0;
  transition: transform 0.2s, top 0.2s; /* Added transition for smooth 'X' */
}

.hamburger-icon::before { top: -7px; }
.hamburger-icon::after { top: 7px; }

/* FIX: Hamburger Animation States */
.nav-toggle.open .hamburger-icon {
  background: transparent;
}
.nav-toggle.open .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle.open .hamburger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* --- HERO SECTION --- */

.hero { padding: calc(var(--space) * 1.5) 0; overflow: hidden; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: calc(var(--space) * 1.5);
  align-items: center;
}

.badge-pill {
  display: inline-block;
  background: var(--teal-50);
  color: var(--teal-900);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.hero__content h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--ink);
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__visual { position: relative; }

.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.hero__trust {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero__trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero__trust svg { color: var(--teal-500); }

.popular-help {
  background: var(--white);
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
  min-height: 132px;
  display: flex;
  align-items: center;
}

.popular-help .container {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popular-help .eyebrow {
  margin: 0;
  flex-shrink: 0;
}

.popular-help__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 48px;
}

.popular-help__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  background: var(--grey-50);
  color: var(--ink);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--grey-100);
  min-height: 48px;
  line-height: 1.2;
  flex: 1 0 auto; /* Allow items to grow but not shrink too much */
  max-width: 100%;
  text-align: center;
}

.popular-help__links a:hover {
  background: var(--grey-100);
  color: var(--teal-600);
  border-color: var(--teal-100);
}

@media (min-width: 640px) {
  .popular-help .container {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .popular-help__links {
    flex: 1;
  }
}

/* --- BUTTONS --- */

.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn {
  border-radius: 99px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--teal-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(18, 177, 177, 0.3);
}

.btn-primary:hover {
  background: var(--teal-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(18, 177, 177, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--grey-300);
}

.btn-secondary:hover {
  border-color: var(--teal-500);
  color: var(--teal-600);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-block { width: 100%; }

.cta-contact-row {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--ink-soft);
}

.cta-contact-row a {
  color: var(--ink-soft);
  text-decoration: underline;
  font-weight: 500;
}

.cta-contact-row a:hover {
  color: var(--ink);
}

/* --- TRUST BAR --- */

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* --- SECTIONS GENERAL --- */

.section { padding: var(--space) 0; }
.section--light-bg { background: var(--grey-50); }
.section--alt { background: var(--white); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--teal-600);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

/* --- CONCIERGE PROMO --- */

.concierge-promo { background: linear-gradient(to bottom, var(--teal-50), var(--white)); }
.concierge-promo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.concierge-benefits { list-style: none; padding: 0; margin: 2rem 0; }
.concierge-benefits li { margin-bottom: 1.2rem; padding-left: 1rem; border-left: 3px solid var(--teal-500); }

/* --- CARDS & GRIDS --- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--grey-100);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--teal-100);
}

.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); flex-grow: 1; font-size: 0.95rem; }

.card-link {
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}



/* De-emphasised cards (e.g., remote follow-ups) */
.card--muted {
  background: rgba(243, 244, 246, 0.7);
  border-color: var(--grey-100);
}
.card--muted h3 {
  color: var(--ink-soft);
}
.pricing-grid .card--muted .price-tag {
  color: var(--ink-soft);
  font-size: 1.45rem;
}
/* Pricing Cards */
.price-card {
  border: 1px solid var(--teal-100);
  background: rgba(255,255,255,0.7);
}

.price-card .card-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--grey-100);
  padding-bottom: 1rem;
}

.price {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-600);
  margin-top: 0.25rem;
}

.price-clarification {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--grey-100);
  padding-top: 1rem;
}

/* Lists with checkmarks */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-500);
  font-weight: bold;
}

.pricing-grid .card {
  text-align: center;
  justify-content: flex-start;
}

.pricing-grid .card .price-tag {
  flex-grow: 0;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.pricing-grid .card p {
  flex-grow: 0;
}

/* Fix for pricing grid layout to prevent 3+1 orphan row */
@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.price-tag {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal-600);
  margin: 1rem 0;
}

/* --- POPULAR JOBS --- */
.job-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.job-link {
  background: var(--white);
  border: 1px solid var(--grey-100);
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  transition: all 0.2s;
}

.job-link:hover {
  background: var(--teal-50);
  border-color: var(--teal-100);
  color: var(--teal-900);
  transform: translateY(-2px);
}


/* --- ABOUT SECTION --- */

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }

.profile-img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
}

.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-100);
}

.stat strong { display: block; font-size: 1.5rem; color: var(--teal-600); line-height: 1; }
.stat span { font-size: 0.85rem; color: var(--ink-lighter); }

/* --- REVIEWS --- */

.review-card { text-align: center; border: none; background: var(--grey-50); }
.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-card blockquote { font-size: 1.05rem; font-style: italic; color: var(--ink); margin: 0 0 1.5rem 0; }

/* --- PROCESS STEPS --- */

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.process-steps--stacked {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.step { text-align: center; position: relative; }

.step-number {
  background: var(--teal-600);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem auto;
  font-size: 1.1rem;
}

/* --- PRIVACY & TEXT PAGES --- */

.legal-content { max-width: 700px; margin: 0 auto; }
.legal-content h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.legal-content p, .legal-content li { font-size: 1.05rem; color: var(--ink-soft); }
.legal-content ul, .legal-content ol { margin-bottom: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; }

/* --- CONTACT SECTION --- */

.contact { background: var(--grey-25); }
.contact__layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }

.contact-methods { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--grey-100);
  transition: transform 0.2s;
}

.contact-method:hover { transform: translateX(5px); border-color: var(--teal-500); }
.contact-method .icon { font-size: 1.5rem; }

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  background: #ecfdf5;
  color: #065f46;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Form Styles */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--grey-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(18, 177, 177, 0.1);
}

/* Status messages */
.status.success { color: var(--green); font-weight: 600; margin-top: 1rem; }
.status.error { color: #dc2626; font-weight: 600; margin-top: 1rem; }

/* --- CTA BANNER --- */

.cta-banner {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.cta-banner h2 { color: var(--white); }
.cta-banner p { color: var(--grey-300); max-width: 600px; margin: 0 auto 2rem auto; }

/* --- FOOTER --- */

.footer {
  background: #111827; /* Darker charcoal/almost black */
  color: #9ca3af; /* Cool grey text */
  padding: 5rem 0 3rem 0;
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 0.8fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.5rem;
  max-width: 300px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-heading {
  color: var(--white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.85rem;
}

.footer-nav a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--teal-500);
  transform: translateX(2px);
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

.social-link {
  color: white;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
}

.social-link:hover {
  opacity: 1;
  color: var(--teal-500);
  transform: translateY(-2px);
}

/* --- MEDIA QUERIES --- */

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr; /* 3 columns tablet */
    gap: 3rem 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1; /* Brand takes full width on tablet */
    margin-bottom: 1rem;
  }
}

@media (max-width: 900px) {
  .hero__grid, .concierge-promo__grid, .split, .contact__layout {
    grid-template-columns: 1fr; /* Stack everything */
    gap: 2rem;
  }

  .hero__grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero__visual { margin: 0 auto; max-width: 500px; width: 100%; }

  /* Mobile Navigation */
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--grey-100);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);

    /* Ensure menu is scrollable if it's taller than the screen */
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .nav.nav--open { transform: translateY(0); }
  .nav-toggle { display: block; }

  .nav-item--dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .nav-dropdown {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0.25rem 0 0 0;
    background: transparent;
    min-width: auto;
  }
  .nav-dropdown a { padding: 0.4rem 0; }

  .process-steps { grid-template-columns: 1fr; max-width: 400px; margin: 2rem auto; }
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; }

  /* Adjustments for smaller padding */
  .container { padding: 0 1rem; }
  .contact-form, .card { padding: 1.5rem; }
}

/* --- UTILITIES --- */

.container--narrow { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }

.mb-md { margin-bottom: 1rem; }
.my-lg { margin-top: 2rem; margin-bottom: 2rem; }