/* Quin Financial Group — "Classic Trust" brand kit. Navy ~60%, ivory ~30%, gold ≤10% accent only.
   Gold text is used ONLY on navy. Never gold on ivory/white. */
:root {
  --navy: #1B2A4A;
  --ivory: #F7F4EC;
  --gold: #C9A24A;
  --slate: #5B6472;
  --charcoal: #1F2328;
  --white: #FFFFFF;
  --line: #E4DFD3;
  --navy-soft: #24365C;
  --focus: #8A6D1F;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(27, 42, 74, .08);
  --header-h: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "Lato", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, .font-display {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .6rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-family: "Lato", Arial, sans-serif; font-weight: 700; color: var(--navy); margin: 0 0 .4rem; }
p { margin: 0 0 1rem; max-width: 65ch; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
section { padding: 48px 0; }
@media (min-width: 900px) { section { padding: 64px 0; } }
.section-white { background: var(--white); }
.section-ivory { background: var(--ivory); }
.section-navy { background: var(--navy); color: var(--ivory); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--ivory); }
.section-navy p { color: var(--ivory); }
.eyebrow {
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate); margin: 0 0 .6rem;
}
.section-navy .eyebrow { color: var(--gold); }
.lead { font-size: 1.125rem; color: var(--slate); max-width: 65ch; }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--ivory); padding: 12px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--ivory); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px;
  font-family: "Lato", Arial, sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  text-align: center;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #D9B45E; }
.btn-secondary { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-secondary:hover { background: rgba(27, 42, 74, .06); }
.btn-light { background: transparent; border-color: var(--ivory); color: var(--ivory); }
.btn-light:hover { background: rgba(247, 244, 236, .12); }
.btn-small { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ivory); border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner {
  width: min(1200px, 100% - 32px); margin-inline: auto; height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { height: 40px; width: auto; }
@media (min-width: 900px) { .brand img { height: 48px; } }
.main-nav { display: none; }
@media (min-width: 900px) {
  .main-nav { display: flex; gap: 4px; margin-left: auto; }
  .main-nav a {
    padding: 10px 12px; border-radius: 8px; text-decoration: none;
    color: var(--navy); font-weight: 700; font-size: .98rem; white-space: nowrap;
  }
  .main-nav a:hover { background: rgba(27, 42, 74, .06); }
}
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 900px) { .header-actions { margin-left: 8px; } }
.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--navy); border-radius: 999px;
  overflow: hidden; flex: 0 0 auto;
}
.lang-toggle button {
  min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; cursor: pointer;
  background: transparent; color: var(--navy); font-family: "Lato", Arial, sans-serif;
  font-weight: 700; font-size: .92rem;
}
.lang-toggle button.is-active { background: var(--navy); color: var(--ivory); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy);
  background: transparent; color: var(--navy); cursor: pointer; text-decoration: none; flex: 0 0 auto;
}
.icon-btn svg { width: 20px; height: 20px; }
.header-book { display: none; }
@media (min-width: 900px) { .header-book { display: inline-flex; } .header-call { display: inline-flex; } }
@media (max-width: 899px) { .header-call { display: none; } }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--navy); font-weight: 700; font-size: 1rem; min-height: 44px; min-width: 44px; padding: 0 6px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .menu-btn { display: none; } }
.mobile-menu {
  background: var(--ivory); border-bottom: 1px solid var(--line);
  padding: 12px 20px 24px; position: sticky; top: var(--header-h); z-index: 99;
}
.mobile-menu nav { display: grid; gap: 4px; margin-bottom: 16px; }
.mobile-menu nav a {
  display: block; padding: 12px 8px; font-weight: 700; font-size: 1.15rem;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line);
}
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 56px; }
@media (min-width: 900px) { .hero { padding: 64px 0 72px; } }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; } }
.hero h1 .accent { font-style: italic; color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 1rem; }
.hero-micro { color: var(--slate); font-size: .98rem; margin: 0; }
.hero-visual {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; position: relative; overflow: hidden;
}
.hero-visual::before { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--gold); }
.hero-card-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 4px;
  border-bottom: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: 1.1rem;
}
.hero-card-row:last-of-type { border-bottom: 0; }
.check-dot {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center; color: var(--navy);
  font-weight: 700;
}
.hero-visual svg.arrow { display: block; width: 100%; height: 64px; margin-top: 8px; }
.hero-caption { color: var(--slate); font-size: .95rem; margin: 12px 0 0; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: var(--ivory); padding: 36px 0; }
.trust-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item svg { flex: 0 0 auto; width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.trust-item h3 { color: var(--ivory); margin-bottom: .25rem; }
.trust-item p { color: var(--ivory); opacity: .92; margin: 0; font-size: 1rem; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips-intro { font-weight: 700; color: var(--navy); margin-right: 4px; }
.chip {
  display: inline-block; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; font-size: .95rem; font-weight: 700; color: var(--navy);
}

/* ---------- Service cards ---------- */
.cards-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; height: 100%;
}
.card-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--ivory);
  border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center;
  color: var(--navy); margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; }
.card p { color: var(--slate); flex: 1; }
.card-link { font-weight: 700; color: var(--navy); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }
.cta-row { margin-top: 2rem; text-align: center; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: min(360px, 40%) 1fr; gap: 48px; } }
.founder-photo { margin: 0; max-width: 360px; width: 100%; }
.founder-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow);
}
.role { color: var(--slate); font-weight: 700; margin-top: -.3rem; }
blockquote.quote {
  margin: 1.5rem 0 0; padding: 0 0 0 20px; border-left: 3px solid var(--gold);
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  font-size: 1.3rem; line-height: 1.45; color: var(--navy); max-width: 65ch;
}
blockquote.quote .qmark { color: var(--gold); font-size: 1.6em; line-height: 0; vertical-align: -0.2em; }
blockquote.quote footer { font-family: "Lato", Arial, sans-serif; font-style: normal; font-size: 1rem; font-weight: 700; color: var(--slate); margin-top: .6rem; }

/* ---------- Reviews ---------- */
.notice {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 24px; max-width: 900px;
}
.notice svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--navy); margin-top: 2px; }
.notice p { margin: 0; }
.review-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { position: relative; }
.badge {
  display: inline-block; background: var(--ivory); border: 1px solid var(--line);
  color: var(--slate); font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  border-radius: 999px; padding: 4px 10px; margin-bottom: 12px;
}
.stars { color: var(--gold); display: flex; gap: 3px; margin-bottom: 10px; }
.stars svg { width: 19px; height: 19px; }
.review-card p { color: var(--slate); }
.review-name { font-weight: 700; color: var(--navy); font-size: .95rem; }

/* ---------- Closing CTA + form ---------- */
.cta-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.steps { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: baseline; }
.steps .num { font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; font-weight: 600; color: var(--gold); flex: 0 0 auto; line-height: 1; }
.steps span:last-child { color: var(--ivory); font-weight: 700; }
.cta-divider { color: var(--ivory); font-weight: 700; margin: 1.5rem 0 .8rem; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border: 1.5px solid var(--ivory); border-radius: 999px; color: var(--ivory);
  text-decoration: none; font-weight: 700;
}
.quick-links a:hover { background: rgba(247, 244, 236, .12); }
.quick-links svg { width: 18px; height: 18px; }
.form-card {
  background: var(--white); color: var(--charcoal); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}
.form-card h3 { margin-bottom: 1rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field label .req { color: var(--slate); font-weight: 400; font-size: .88rem; }
.field input {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--charcoal);
}
.field input:focus { border-color: var(--navy); outline: 3px solid var(--focus); outline-offset: 1px; }
.field-error { color: #8B1E1E; font-size: .92rem; font-weight: 700; margin: .4rem 0 0; }
.consent { font-size: .88rem; color: var(--slate); margin: .8rem 0 0; }
.form-message { border-radius: 10px; padding: 12px 14px; margin-top: 14px; font-weight: 700; }
.form-message.is-success { background: #EAF3E8; color: #1E5B2A; }
.form-message.is-error { background: #FBECEC; color: #8B1E1E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Services page ---------- */
.page-hero { padding: 48px 0 40px; }
@media (min-width: 900px) { .page-hero { padding: 56px 0 48px; } }
.jump-nav {
  position: sticky; top: var(--header-h); z-index: 90;
  background: var(--ivory); border-bottom: 1px solid var(--line); padding: 10px 0;
}
.jump-nav .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.jump-nav a {
  flex: 0 0 auto; padding: 10px 14px; min-height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
  font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
}
.jump-nav a:hover { border-color: var(--navy); }
.service-detail { scroll-margin-top: calc(var(--header-h) + 70px); }
.detail-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.promise { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.35rem; color: var(--navy); margin: 0 0 1rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.checklist span { color: var(--charcoal); }
.detail-label { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 0 0 .6rem; }
.result-line { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; }
.result-line p { margin-bottom: 1.2rem; }
.result-line strong { color: var(--navy); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 0; }
.notfound .section-head { margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--ivory); padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 48px; width: auto; }
.footer-descriptor { font-size: .9rem; margin: 0 0 .4rem; opacity: .9; }
.footer-tagline { font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; color: var(--ivory); margin-bottom: .4rem; }
.footer-serving { opacity: .9; font-size: .98rem; }
.site-footer h3 { color: var(--ivory); font-size: 1.05rem; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: var(--ivory); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; }
.social-row { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ivory);
  color: var(--ivory); text-decoration: none;
}
.social-row a:hover { background: rgba(247, 244, 236, .12); }
.social-row svg { width: 20px; height: 20px; }
.disclaimer { border-top: 1px solid rgba(247, 244, 236, .25); margin-top: 32px; padding-top: 20px; font-size: .88rem; opacity: .8; max-width: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 20px; font-size: .92rem; opacity: .9; }
.footer-bottom p { margin: 0; }
.back-top { background: none; border: 0; color: var(--ivory); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; padding: 10px 0; min-height: 44px; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  display: none;
}
@media (max-width: 899px) {
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: var(--navy); border-top: 1px solid var(--gold);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 64px; color: var(--ivory); font-weight: 700; text-decoration: none;
    font-size: .98rem; border-right: 1px solid rgba(247, 244, 236, .2);
  }
  .mobile-bar a:last-child { border-right: 0; }
  .mobile-bar svg { width: 18px; height: 18px; color: var(--gold); }
  .site-footer { padding-bottom: 24px; }
}
