/* =========================================================
   Student Helpline — styles
   Colors come from the logo (see SITE_DATA.md §4).
   ========================================================= */

:root {
  /* brand */
  --blue: #0055A4;          /* logo blue: links, accents */
  --blue-dark: #003F7D;
  --navy: #05224E;          /* logo navy: headings, footer */
  --gold: #DC9A10;          /* logo star: small highlights */
  --cta: #C2410C;           /* orange buttons */
  --cta-dark: #9A3412;

  /* tints */
  --blue-soft: #E6EFF9;
  --hero-bg: #EDF3FA;
  --grid-line: #D3E0F0;
  --peach: #FED7AA;
  --orange-soft: #FDEEE3;
  --orange-ink: #B4430B;
  --teal-soft: #E0F2EF;
  --teal: #0F766E;
  --green: #15803D;

  /* neutrals */
  --text: #344054;
  --muted: #475467;
  --subtle: #5B6472;
  --line: #E4E8EF;
  --line-strong: #D0D7E2;
  --input-line: #C4CCD8;
  --chip: #F1F3F7;
  --gray-bg: #F5F7FA;
  --white: #ffffff;

  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Sora', 'Manrope', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;

  --radius: 16px;
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: var(--header-h); }

.ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-check { color: var(--green); stroke-width: 2.5; }

.container { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px; background: var(--navy); color: var(--white); font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

.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;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 12px; border: 0;
  font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--cta); color: var(--white); }
.btn-cta:hover { background: var(--cta-dark); color: var(--white); }
.btn-outline { background: var(--white); border: 1.5px solid #C9D4EA; color: var(--navy); }
.btn-outline:hover { border-color: var(--blue); color: var(--navy); }
.btn-sm { height: 46px; padding: 0 20px; border-radius: 10px; font-size: 15px; gap: 8px; }
.btn-block { width: 100%; }

/* ---------- section headings ---------- */
.section { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--cta); }
.h2 { font-size: 40px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.mark {
  padding: 0 4px; border-radius: 4px;
  box-shadow: inset 0 -0.4em 0 var(--peach);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-bg); }
.bg-tint { background: var(--hero-bg); }

/* decorative layers */
.decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.decor > * { position: absolute; }
.grid-bg {
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.dots-bg { inset: 0; background-image: radial-gradient(#CDD5E2 1.4px, transparent 1.5px); background-size: 24px 24px; }
.blob { border-radius: 999px; background: var(--peach); }
.ring { border-radius: 999px; border: 2px dashed var(--blue); }
.dot-grid { background-image: radial-gradient(rgba(0, 85, 164, .3) 3px, transparent 3.2px); background-size: 16px 16px; }
.doodle { stroke-width: 1.5; }
.doodle.b { color: rgba(0, 85, 164, .2); }
.doodle.o { color: rgba(194, 65, 12, .28); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h); background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-name { font-family: var(--font-head); font-size: 23px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name span { color: var(--blue); }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a { font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; }
.main-nav a:hover { color: var(--blue); }

.header-actions { display: none; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 10px; display: none;
  align-items: center; justify-content: center; text-decoration: none; cursor: pointer;
}
.icon-btn.wa { background: var(--cta); color: var(--white); }
.icon-btn.menu { background: var(--white); border: 1px solid var(--line-strong); color: var(--navy); }
.icon-btn .ic { width: 22px; height: 22px; }
.menu .ic-close { display: none; }
.menu[aria-expanded="true"] .ic-open { display: none; }
.menu[aria-expanded="true"] .ic-close { display: block; }

.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 8px 20px 16px; background: var(--white);
  border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(21, 32, 51, .08);
  display: none; flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 0; border-bottom: 1px solid #EEF1F5;
  font-size: 16px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: 0; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 80px 0 88px; background: var(--hero-bg); }
.hero .container { display: flex; gap: 64px; align-items: center; }
.hero-copy { flex: 1 1 0; display: flex; flex-direction: column; gap: 22px; }
.pill {
  align-self: flex-start; padding: 7px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid #D5DEEF;
  font-size: 14px; font-weight: 700; color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
}
.pill .star { width: 14px; height: 14px; fill: var(--gold); stroke: none; }
.hero h1 { font-size: 52px; line-height: 1.12; font-weight: 700; letter-spacing: -0.035em; }
.hero h1 span { color: var(--blue); }
.hero-sub { font-size: 26px; line-height: 1.35; font-weight: 700; color: var(--navy); }
.hero-text { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 600px; }
.hero-text strong { color: var(--navy); font-weight: 700; }
.hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hand-note {
  display: flex; align-items: center; gap: 6px; margin-left: 4px;
  font-family: var(--font-hand); font-size: 27px; font-weight: 700; line-height: 1; color: var(--cta);
  transform: rotate(-4deg);
}
.hand-note svg { width: 38px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 8px 0 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.trust .trust-hl { flex-basis: 100%; }  /* the badge gets its own row */
.trust .trust-hl .hl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: #E7F6EC; border: 1px solid #B7E2C5; color: #14532D;
}
.trust .trust-hl .ic { width: 18px; height: 18px; color: var(--green); }
.trust .trust-hl strong { font-weight: 800; }

/* forms (shared) */
.card-form {
  background: var(--white); border: 1px solid #D5DEEF; border-radius: 18px;
  box-shadow: 0 12px 32px rgba(21, 32, 51, .08);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.quick-form { width: 440px; flex-shrink: 0; }
.form-head { display: flex; flex-direction: column; gap: 6px; }
.form-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.form-head p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; color: var(--text); }
.field label .opt { font-weight: 500; color: var(--subtle); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--input-line); border-radius: 10px; background: var(--white);
  font-size: 15px; color: var(--navy);
}
.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' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23475467' 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;
}
.field textarea { height: auto; min-height: 112px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 85, 164, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B42318; }
.field-error { font-size: 13px; font-weight: 600; color: #B42318; display: none; }
.field-error.show { display: block; }
.form-note { font-size: 13px; text-align: center; color: var(--subtle); }

/* =========================================================
   DEPARTMENTS
   ========================================================= */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dept-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  display: flex; flex-direction: column; gap: 20px;
}
.dept-card .bg-icon { position: absolute; right: -30px; bottom: -30px; width: 170px; height: 170px; z-index: -1; stroke-width: 1.5; }
.icon-tile { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.icon-tile .ic { width: 26px; height: 26px; }
.tile-blue { background: var(--blue-soft); color: var(--blue); }
.tile-orange { background: var(--orange-soft); color: var(--orange-ink); }
.tile-teal { background: var(--teal-soft); color: var(--teal); }
.dept-card h3 { font-size: 24px; font-weight: 700; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--text); }
.check-list li { display: flex; gap: 10px; align-items: center; }
.text-link { margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--blue); text-decoration: none; }
.text-link:hover .ic { transform: translateX(3px); }
.text-link .ic { transition: transform .15s ease; }

/* =========================================================
   SHOWCASE
   ========================================================= */
.filters { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.dept-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.dept-btn {
  height: 56px; padding: 0 24px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid var(--line-strong); background: var(--white); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 700;
}
.dept-btn .count {
  min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px;
  background: #EEF1F5; color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.dept-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.dept-btn[aria-pressed="true"] .count { background: rgba(255, 255, 255, .22); color: var(--white); }
.dept-btn .short { display: none; }

.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.type-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.type-btn {
  height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--text);
  font-size: 15px; font-weight: 600;
}
.type-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 700; }
.showcase-status { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--muted); }
.showcase-status.real { color: var(--green); }
.swipe-hint { display: none; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--subtle); }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.work-card {
  padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
}
.work-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge.project { background: var(--blue-soft); color: var(--blue); }
.badge.research { background: var(--teal-soft); color: var(--teal); }
.badge.thesis { background: var(--orange-soft); color: var(--orange-ink); }
.corner { font-size: 13px; font-weight: 600; color: var(--subtle); }
.work-card h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.work-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 4px 10px; border-radius: 6px; background: var(--chip); color: var(--text); font-size: 13px; font-weight: 600; }
.work-out {
  margin-top: auto; padding-top: 14px; border-top: 1px solid #EEF1F5;
  display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text);
}
.work-out .ic { margin-top: 1px; }
.work-out strong { color: var(--navy); }
.details-btn {
  height: 46px; margin-top: 4px; border-radius: 10px; background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 800; text-decoration: none; transition: background-color .15s ease;
}
.details-btn:hover { background: #D5E4F5; color: var(--blue-dark); }

/* =========================================================
   WHAT YOU GET
   ========================================================= */
.get-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; display: flex; gap: 16px; align-items: flex-start; background: var(--white); }
.get-card .icon-tile { width: 46px; height: 46px; flex-shrink: 0; }
.get-card .icon-tile .ic { width: 22px; height: 22px; }
.get-card div { display: flex; flex-direction: column; gap: 6px; }
.get-card h3 { font-size: 18px; font-weight: 700; }
.get-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { padding: 28px; background: var(--white); border-radius: var(--radius); border: 1px solid #D5DEEF; display: flex; flex-direction: column; gap: 14px; }
.step-num {
  width: 48px; height: 48px; border-radius: 999px; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 20px; font-weight: 800;
}
.step:last-child .step-num { background: var(--cta); }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* =========================================================
   WHY US
   ========================================================= */
.why .container { display: flex; gap: 56px; align-items: stretch; }
.why-main { flex: 1 1 0; }
.why-main .section-head { margin-bottom: 36px; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.why-item { display: flex; flex-direction: column; gap: 10px; }
.why-item .icon-tile { width: 44px; height: 44px; }
.why-item .icon-tile .ic { width: 22px; height: 22px; }
.why-item h3 { font-size: 18px; font-weight: 700; }
.why-item p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  width: 460px; flex-shrink: 0; padding: 40px; border-radius: 20px;
  background: var(--navy); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.cta-card .ring-thick { left: 260px; top: -90px; width: 300px; height: 300px; border-radius: 999px; border: 28px solid #12346A; }
.cta-card .ring-thin { left: 330px; top: -20px; width: 160px; height: 160px; border-radius: 999px; border: 2px dashed #24477E; }
.cta-card .dots { left: 30px; bottom: 30px; width: 72px; height: 72px; background-image: radial-gradient(rgba(253, 186, 116, .35) 3px, transparent 3.2px); background-size: 16px 16px; }
.cta-card .icon-tile { width: 56px; height: 56px; border-radius: 14px; background: #0E3368; color: #FDBA74; }
.cta-card .icon-tile .ic { width: 28px; height: 28px; }
.cta-card h3 { color: var(--white); font-size: 28px; line-height: 1.25; font-weight: 700; }
.cta-card h3 span { color: #FDBA74; }
.cta-card p { font-size: 17px; line-height: 1.6; color: #D5DCE8; }
.cta-card .btn { align-self: flex-start; height: 52px; padding: 0 24px; font-size: 16px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq-item h3 { font-size: 18px; font-weight: 700; }
.faq-btn {
  width: 100%; padding: 24px 28px 10px; border: 0; background: transparent; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: -0.015em;
  cursor: default;
}
.faq-btn .chev { display: none; color: var(--muted); transition: transform .2s ease; }
.faq-a { padding: 0 28px 24px; }
.faq-a p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.faq-a strong { color: var(--navy); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact .container { display: flex; gap: 64px; align-items: flex-start; }
.contact-info { flex: 1 1 0; display: flex; flex-direction: column; gap: 28px; }
.contact-info .section-head { margin-bottom: 0; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white);
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--navy);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-card:hover { color: var(--navy); border-color: #B9C7DD; box-shadow: 0 6px 18px rgba(21, 32, 51, .06); }
.contact-card .icon-tile { width: 46px; height: 46px; }
.contact-card .icon-tile .ic { width: 22px; height: 22px; }
.contact-card .label { display: block; font-size: 14px; font-weight: 600; color: var(--subtle); }
.contact-card .value { display: block; font-size: 17px; font-weight: 700; word-break: break-word; }
.contact-card > .ic { margin-left: auto; color: var(--subtle); }

.contact-form {
  width: 640px; flex-shrink: 0; padding: 36px; border-radius: 20px;
  background: var(--gray-bg); border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.contact-form .span-2 { grid-column: span 2; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding: 48px 0; background: var(--navy); color: #B8C4D9; }
.site-footer .container { display: flex; flex-direction: column; gap: 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; }
.footer-brand strong { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--white); }
.footer-brand small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9FB0CC; margin-top: 2px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a { font-size: 15px; color: #D5DCE8; text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
/* payment logos (FAQ + footer) */
.pay-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pay-logos li {
  height: 44px; padding: 0 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--navy); white-space: nowrap;
}
.pay-logos img { height: 28px; width: auto; max-width: 100%; object-fit: contain; }
.pay-logos .pay-bank .ic { width: 20px; height: 20px; color: var(--blue); }
/* in the FAQ: an even 2 x 2 grid of equal boxes */
.pay-logos.in-faq { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 420px; }
.pay-logos.in-faq li { height: 56px; border-color: var(--line-strong); }
.pay-logos.in-faq img { height: 32px; }
.footer-pay { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-pay > span { font-size: 14px; font-weight: 700; color: #D5DCE8; }
.footer-pay .pay-logos li { border-color: transparent; }

.footer-bottom {
  padding-top: 24px; border-top: 1px solid #1B3A68;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px;
}
.footer-bottom a { color: #D5DCE8; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav { gap: 24px; }
  .hero .container, .contact .container { gap: 40px; }
  .hero h1 { font-size: 46px; }
  .quick-form { width: 400px; }
  .contact-form { width: 560px; }
  .cta-card { width: 400px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .main-nav, .header-cta { display: none; }
  .header-actions { display: flex; }
  .icon-btn { display: inline-flex; }

  .hero .container, .why .container, .contact .container { flex-direction: column; align-items: stretch; }
  .quick-form, .contact-form, .cta-card { width: 100%; }
  .cards-3, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decor .hide-sm { display: none; }
}

@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; gap: 10px; }
  .eyebrow { font-size: 13px; }
  .h2 { font-size: 28px; line-height: 1.2; }
  .lead { font-size: 16px; }

  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .brand-name { font-size: 19px; }

  .hero { padding: 40px 0 48px; }
  .hero-copy { gap: 18px; }
  .pill { font-size: 13px; padding: 6px 12px; }
  .hero h1 { font-size: 31px; line-height: 1.18; letter-spacing: -0.03em; }
  .hero-sub { font-size: 20px; }
  .hero-text { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { height: 52px; font-size: 16px; }
  .hand-note { align-self: center; margin: 2px 0 0; }
  .trust { flex-direction: column; gap: 10px; align-items: flex-start; }
  .trust .trust-hl { flex-basis: auto; }
  .trust .trust-hl .hl { border-radius: 12px; padding: 8px 14px 8px 12px; }
  .quick-form { display: none; } /* phones use the Contact form instead */

  .cards-3, .why-grid, .faq-list { grid-template-columns: minmax(0, 1fr); }
  .dept-card { padding: 24px; gap: 16px; }
  .dept-card h3 { font-size: 21px; }
  .check-list { font-size: 15px; gap: 10px; }

  /* showcase: compact filters + swipe cards */
  .filters { gap: 12px; margin-bottom: 16px; }
  .dept-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .dept-btn { height: 52px; padding: 0 6px; font-size: 14px; }
  .dept-btn .count, .dept-btn .full { display: none; }
  .dept-btn .short { display: inline; }
  .type-filters { flex-wrap: nowrap; gap: 6px; }
  .type-btn { height: 44px; padding: 0 13px; font-size: 14px; }
  .type-btn .count { display: none; }
  .filter-row { gap: 12px; }
  .showcase-status { font-size: 14px; }
  .swipe-hint { display: inline-flex; }
  .work-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px; padding: 0 20px 8px; scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-card { width: 300px; flex-shrink: 0; scroll-snap-align: start; padding: 20px; gap: 12px; }
  .work-card h3 { font-size: 17px; }
  .work-card p { font-size: 14px; }
  .badge { font-size: 12px; padding: 4px 10px; }
  .corner, .tags li { font-size: 12px; }
  .work-out { font-size: 13px; }
  .details-btn { height: 44px; font-size: 14px; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step { padding: 22px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
  .step-num { width: 40px; height: 40px; font-size: 17px; }
  .step h3 { font-size: 18px; flex: 1; }
  .step p { flex-basis: 100%; }

  .cta-card { padding: 28px; }
  .cta-card h3 { font-size: 24px; }
  .cta-card p { font-size: 16px; }

  /* FAQ becomes an accordion */
  .faq-list { gap: 10px; }
  .faq-btn { padding: 16px 18px; min-height: 60px; font-size: 17px; cursor: pointer; }
  .faq-btn .chev { display: block; }
  .faq-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .faq-a { display: none; padding: 0 18px 18px; }
  .faq-item.open .faq-a { display: block; }

  .contact-form { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 16px; }
  .contact-form .span-2 { grid-column: auto; }

  .site-footer { padding: 40px 0; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .pay-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 360px; }
  .pay-logos li { height: 48px; padding: 0 10px; }
  .pay-logos img { height: 28px; }
  .pay-logos.in-faq li { height: 52px; }
  .pay-logos.in-faq img { height: 30px; }
  .footer-nav { gap: 12px 20px; }

  .decor .hide-xs { display: none; }
}

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