/* =========================================================
   Amie Andrada Remote Jobs
   Colour tokens matched to logo.svg (emerald green and gold).
   Token names follow the build brief, Section 4.
   ========================================================= */
:root {
  --ink: #24603A;
  --ink-deep: #1B4A2B;
  --body: #3A4A40;
  --muted: #56665C;
  --accent: #367F26;
  --accent-dark: #2A6A1F;
  --accent-tint: #EEF7E6;
  --eyebrow: #8A5F0A;
  --eyebrow-on-dark: #F7E08E;
  --on-dark-muted: #E3EDE0;
  --ground: #F6FAF2;
  --border: #E1ECD9;
  --field-border: #7E9384;
  --gold-line: linear-gradient(90deg, #C28A16 0%, #F2D36D 35%, #BD8514 70%, #E3B53A 100%);
  --white: #FFFFFF;
  --error: #B42318;

  /* From logo.svg */
  --logo-emerald: #0A6439;
  --logo-green: #3B7D22;
  --logo-gold: #C28A16;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: 24px;
  --section-y: 96px;
  --header-h: 72px;

  --r-card: 16px;
  --r-tile: 10px;
  --r-btn: 8px;
  --r-chip: 999px;

  --shadow-card: 0 1px 2px rgba(14, 59, 39, .04), 0 8px 24px rgba(14, 59, 39, .06);
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
p { margin: 0 0 16px; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--r-btn);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: calc(820px + var(--gutter) * 2); }
.center { text-align: center; }

.section { padding: var(--section-y) 0; }
.section-ground { background: var(--ground); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p:last-child { font-size: 17px; margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--eyebrow);
  margin-bottom: 14px;
  line-height: 1.4;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--accent-tint); color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row.center { justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Icons ---------- */
.icon-tile {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-tile);
  background: var(--accent-tint);
  color: var(--accent);
}
.icon-tile svg, .why-icon, .success-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 0;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold-line);
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  flex: none;
  width: auto;
  height: 46px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
/* Echoes the logo lockup: serif "AMIE ANDRADA" over spaced "REMOTE JOBS" */
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--logo-emerald);
  white-space: nowrap;
}
.brand-sub {
  margin-top: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--logo-green);
  white-space: nowrap;
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 4px; }
.primary-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--r-btn);
}
.primary-nav ul a:hover { color: var(--accent); background: var(--accent-tint); }
.nav-cta { min-height: 44px; padding: 10px 18px; }

.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--r-btn);
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(14, 59, 39, .1);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { width: 100%; padding: 0 8px; font-size: 16px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-cta { width: 100%; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand-logo { height: 38px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 10px; letter-spacing: .26em; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 var(--section-y);
  background:
    radial-gradient(900px 480px at 100% 0%, var(--accent-tint) 0%, rgba(238, 247, 230, 0) 70%),
    var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

/* Hero photo with floating task labels and overlapping card */
.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(14, 59, 39, .16);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 40%;
  border-radius: 20px;
}
.hero-photo::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -6px;
  height: 6px;
  border-radius: 0 0 6px 6px;
  background: var(--gold-line);
}
.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: var(--r-chip);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(14, 59, 39, .18);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.float-chip-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
}
.float-chip-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.float-chip-a { top: 28px; left: -28px; }
.float-chip-b { top: 44%; right: -24px; }
.float-chip-b .float-chip-icon { background: var(--logo-gold); color: var(--white); }

@media (prefers-reduced-motion: no-preference) {
  .float-chip-a { animation: chip-float 6s ease-in-out infinite; }
  .float-chip-b { animation: chip-float 7s ease-in-out -3s infinite; }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-visual .delegate-card {
  position: relative;
  z-index: 2;
  width: 88%;
  margin: -72px 0 0 auto;
}
.hero-visual .delegate-list li { padding: 12px 0; }

.hero .lead {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin-top: 8px;
}
.hero-copy > p:not(.eyebrow):not(.lead):not(.small-line) { font-size: 17px; }
.small-line {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.delegate-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.delegate-title {
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--eyebrow);
  margin: 0;
  padding: 24px 28px 8px;
}
.delegate-list { padding: 0 28px 12px; }
.delegate-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.delegate-list li:last-child { border-bottom: 0; }
.delegate-list strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 2px;
}
.delegate-list li > span:last-child > span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.delegate-foot {
  margin: 0;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--eyebrow-on-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border-top: 3px solid var(--logo-gold);
}

/* ---------- Welcome ---------- */
.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.promise-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--logo-gold);
  border-radius: var(--r-card);
  padding: 36px 32px;
}
.promise-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  padding: 6px 14px;
  border-radius: var(--r-chip);
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card { display: flex; flex-direction: column; }
.service-card .text-link, .service-card .btn { margin-top: auto; align-self: flex-start; }
.service-card .btn { margin-top: auto; }
.service-card { overflow: hidden; }
.service-media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: -32px -32px 24px;
  overflow: hidden;
  background: var(--accent-tint);
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--gold-line);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover .service-media img { transform: scale(1.06); }
}
.service-num {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--r-chip);
  background: var(--white);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(14, 59, 39, .18);
}
.service-sub { color: var(--muted); font-size: 15px; font-style: italic; }

.check-list { margin: 4px 0 24px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.service-card-dark { background: var(--ink); border-color: var(--ink); }
.service-card-dark h3 { color: var(--white); }
.service-card-dark p { color: var(--on-dark-muted); }
.service-card-dark .service-sub { color: var(--eyebrow-on-dark); }
.service-card-dark .service-num { background: var(--eyebrow-on-dark); color: var(--ink); }
.service-card-dark .btn { margin-top: auto; }
.service-card-dark :focus-visible { outline-color: var(--eyebrow-on-dark); }

.disclaimer {
  margin: 32px 0 0;
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

/* ---------- Dark sections ---------- */
.section-dark { background: var(--ink); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--eyebrow-on-dark); }
.section-dark a:not(.btn) { color: var(--white); }
.section-dark :focus-visible { outline-color: var(--eyebrow-on-dark); }
.section-dark .small-line { color: var(--on-dark-muted); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-card);
  overflow: hidden;
}
.why-item { background: var(--ink); padding: 36px 32px; }
.why-item p { margin: 0; font-size: 15px; }
.why-icon { color: var(--eyebrow-on-dark); margin-bottom: 18px; width: 28px; height: 28px; }

.why-close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
}
.why-close-line {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--white);
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: none;
}
.step { position: relative; padding-top: 28px; border-top: 4px solid var(--logo-gold); }
.step-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--eyebrow);
  margin-bottom: 12px;
}
.step p:last-child { margin: 0; font-size: 15px; }

.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding: 32px 40px;
  border-radius: var(--r-card);
  background: var(--accent-dark);
}
.banner-line {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--white);
}
.banner :focus-visible { outline-color: var(--eyebrow-on-dark); }

/* ---------- Who we support ---------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.who-card .icon-tile { margin-bottom: 20px; }
.who-card p { margin: 0; font-size: 15px; }
.center-cta { text-align: center; margin-top: 48px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-card);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink) 0%, var(--accent-dark) 100%);
}
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.photo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 96px;
  color: rgba(255, 255, 255, .22);
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badges li {
  padding: 8px 14px;
  border-radius: var(--r-chip);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.role-line {
  font-weight: 600;
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 24px;
}
.about-copy > p:not(.eyebrow):not(.role-line) { font-size: 17px; }
.quote {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--ground);
  border-left: 4px solid var(--logo-gold);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}
.quote figcaption { font-size: 15px; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }

/* ---------- Work without borders ---------- */
.section-teal { background: var(--accent-dark); color: var(--on-dark-muted); }
.section-teal h2 { color: var(--white); }
.section-teal .eyebrow { color: var(--eyebrow-on-dark); }
.section-teal p { font-size: 17px; }
.section-teal :focus-visible { outline-color: var(--eyebrow-on-dark); }
.band-line {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  font-size: 19px !important;
  margin: 28px 0;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 18px 64px 18px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 24px 22px; font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  .faq summary::after, .nav-toggle-bar, .btn { transition: none; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.contact-intro > p:not(.eyebrow) { font-size: 17px; }
.contact-list { margin-top: 32px; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  line-height: 1.4;
}
.contact-list a {
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  word-break: break-word;
}
.contact-list a:hover { text-decoration: underline; }

.form-card { box-shadow: var(--shadow-card); }
.form-title { font-size: 21px; margin-bottom: 24px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-bottom: 24px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--muted); }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--field-border);
  border-radius: var(--r-btn);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 132px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-note { margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.field-check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.field-check label { font-weight: 400; color: var(--body); line-height: 1.55; cursor: pointer; }

.form-error {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: var(--r-btn);
  background: #FEF3F2;
  color: var(--error);
  font-size: 14px;
  font-weight: 500;
}
.form-error a { color: var(--error); font-weight: 600; }

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 8px;
}
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 20px;
}
.success-icon svg { width: 28px; height: 28px; stroke-width: 2.5; }
.form-success p { font-size: 17px; color: var(--ink); max-width: 460px; margin: 0; }

button[disabled] { opacity: .7; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--on-dark-muted);
  padding: 72px 0 0;
  font-size: 15px;
}
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--eyebrow-on-dark); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--white);
}
.footer-logo img { width: 240px; height: auto; }
.footer-brand p { margin-top: 20px; }
.footer-head {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--eyebrow-on-dark);
  margin-bottom: 16px;
}
.site-footer ul li { margin-bottom: 4px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 36px; word-break: break-word; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 24px; }
.footer-bottom ul li { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  :root { --section-y: 80px; }
  .hero-grid, .welcome-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-media { max-width: 440px; }
}
@media (max-width: 680px) {
  :root { --section-y: 64px; --gutter: 16px; --header-h: 64px; }
  .hero { padding-top: 56px; }
  .section-head { margin-bottom: 40px; }
  .card { padding: 24px; }
  .service-media { margin: -24px -24px 20px; }
  .services-grid, .who-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { padding: 28px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .banner { padding: 28px 24px; }
  .quote { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn-row .btn { flex: 1 1 100%; }
  .delegate-title { padding: 20px 20px 4px; }
  .delegate-list { padding: 0 20px 8px; }
  .delegate-foot { padding: 14px 20px; }
}

/* ---------- Hero on tablets and phones ---------- */
@media (max-width: 1023px) {
  /* Photo above the headline, delegate card after the copy */
  .hero-visual { display: contents; }
  .hero-photo { order: -1; max-width: 640px; }
  .hero-visual .delegate-card { width: 100%; max-width: 640px; margin: 0; }
  .float-chip-a { left: 12px; top: 16px; }
  .float-chip-b { right: 12px; top: auto; bottom: 20px; }
}
@media (max-width: 680px) {
  .hero-grid { gap: 32px; }
  .hero { padding-top: 24px; }
  .float-chip { font-size: 13px; padding: 7px 12px 7px 7px; gap: 8px; }
  .float-chip-icon { width: 26px; height: 26px; }
}

/* ---------- Scroll fade-ins (only when JS runs and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Card hover lift ---------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card, .who-card, .step,
  .js-reveal .reveal.service-card, .js-reveal .reveal.who-card, .js-reveal .reveal.step {
    transition: transform .3s ease, box-shadow .3s ease, opacity .6s ease;
  }
  .service-card:hover, .who-card:hover, .step:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(14, 59, 39, .14);
  }
  .js-reveal .reveal.is-visible.service-card:hover,
  .js-reveal .reveal.is-visible.who-card:hover,
  .js-reveal .reveal.is-visible.step:hover { transform: translateY(-6px); transition-delay: 0ms; }
}

/* ---------- Sticky WhatsApp button (phones and small tablets) ---------- */
.whatsapp-fab { display: none; }
@media (max-width: 767px) {
  .whatsapp-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 18px 0 14px;
    border-radius: var(--r-chip);
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(14, 59, 39, .3);
  }
  .whatsapp-fab:hover { background: var(--accent-dark); color: var(--white); }
  .whatsapp-fab svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .site-footer { padding-bottom: 72px; }
}

/* ---------- Guided chat assistant ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 119;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px 0 18px;
  border: 0;
  border-radius: var(--r-chip);
  background: var(--accent);
  color: var(--white);
  font: 600 15px var(--font-body);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(14, 59, 39, .32);
  transition: background-color .2s ease, transform .2s ease;
}
.chat-launcher:hover { background: var(--accent-dark); }
.chat-launcher svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.chat-launcher-close { display: none; }
.chat-launcher.is-open .chat-launcher-open { display: none; }
.chat-launcher.is-open .chat-launcher-close { display: block; }
.chat-launcher.is-open { padding: 0 16px; }
.chat-launcher.is-open .chat-launcher-label { display: none; }
.chat-launcher::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid var(--logo-gold);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .chat-launcher:not(.is-open)::before { animation: chat-pulse 3.2s ease-out 2s 3; }
}
@keyframes chat-pulse {
  0% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18); }
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: 380px;
  height: min(620px, calc(100vh - 128px));
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(14, 59, 39, .25);
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .chat-panel:not([hidden]) { animation: chat-in .25s ease-out; }
}
@keyframes chat-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px 14px 16px;
  background: var(--ink);
  border-bottom: 3px solid var(--logo-gold);
}
.chat-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 6px 4px;
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}
.chat-head > div { flex: 1; min-width: 0; }
.chat-title { margin: 0; color: var(--white); font: 700 15px/1.3 var(--font-head); }
.chat-sub { margin: 0; color: var(--on-dark-muted); font-size: 12px; line-height: 1.4; }
.chat-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.chat-close:hover { background: rgba(255, 255, 255, .12); }
.chat-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chat-head :focus-visible { outline-color: var(--eyebrow-on-dark); }

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--ground);
}
.chat-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.chat-msg-bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--body);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg-user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-msg ul { margin: 6px 0 0; }
.chat-msg li { position: relative; padding-left: 18px; margin-top: 3px; }
.chat-msg li::before {
  content: "";
  position: absolute;
  left: 3px; top: 6px;
  width: 4px; height: 8px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.chat-typing { display: inline-flex; gap: 4px; padding: 14px; }
.chat-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .4;
}
@media (prefers-reduced-motion: no-preference) {
  .chat-typing span { animation: chat-dot 1s infinite ease-in-out; }
  .chat-typing span:nth-child(2) { animation-delay: .15s; }
  .chat-typing span:nth-child(3) { animation-delay: .3s; }
}
@keyframes chat-dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px 4px;
  background: var(--ground);
}
.chat-quick:empty { display: none; }
.chat-chip {
  min-height: 36px;
  padding: 6px 14px;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-chip);
  background: var(--white);
  color: var(--accent-dark);
  font: 600 13px var(--font-body);
  cursor: pointer;
}
.chat-chip:hover { background: var(--accent); color: var(--white); }

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 12px 6px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.chat-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid var(--field-border);
  border-radius: var(--r-chip);
  font: 16px var(--font-body);
  color: var(--ink);
}
.chat-form input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.chat-form button {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
}
.chat-form button:hover { background: var(--accent-dark); }
.chat-form button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-note {
  margin: 0;
  padding: 0 16px 10px;
  background: var(--white);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .chat-launcher { right: 16px; bottom: 16px; min-height: 52px; padding: 0 18px 0 14px; }
  .whatsapp-fab { right: auto; left: 16px; }
  .chat-panel {
    left: 8px;
    right: 8px;
    bottom: 80px;
    width: auto;
    height: calc(100vh - 96px);
    height: calc(100dvh - 96px);
  }
  body.chat-open .whatsapp-fab { display: none; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 var(--section-y); }
.legal h1 { font-size: clamp(32px, 4vw, 44px); }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal .placeholder {
  padding: 16px 20px;
  border-radius: var(--r-btn);
  background: #FFF7EB;
  border: 1px solid #F2C27B;
  color: var(--ink);
}
