/* =========================================================
   Pinn Partners — Shared Styles
   Brand: Navy + Gold · Serif headings (Cormorant) · Barlow body
   Palette per official brand pack
   ========================================================= */

:root {
  --navy: #0B1D3A;
  --navy-2: #102a52;
  --ink: #071529;
  --gold: #C9A24A;
  --gold-soft: #E7CB7A;
  --gold-deep: #9D7228;
  --ivory: #F7F4EE;
  --light-grey: #E6E6E6;
  --slate: #6B7280;
  --white: #ffffff;

  --line: rgba(201, 162, 74, 0.22);
  --line-dark: #e7e2d8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 26px 60px -22px rgba(11, 29, 58, 0.45);
  --shadow-soft: 0 18px 44px -24px rgba(11, 29, 58, 0.3);
  --grad-gold: linear-gradient(120deg, #E7CB7A 0%, #C9A24A 45%, #9D7228 100%);
  --grad-gold-soft: linear-gradient(120deg, #F2DA8C 0%, #C9A24A 100%);

  --max: 1180px;
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Barlow", "Inter", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.1; font-weight: 700; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 14px 28px; border-radius: 8px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
  border-color: var(--gold-deep);
  box-shadow: 0 14px 28px -12px rgba(201, 162, 74, 0.6);
}
.btn-primary:hover { transform: translateY(-3px); background: var(--gold-soft); box-shadow: 0 20px 34px -12px rgba(201, 162, 74, 0.7); }
.btn-ghost {
  background: transparent; color: var(--ivory);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-dark {
  background: var(--navy); color: var(--ivory);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-soft);
}
.btn-dark:hover { transform: translateY(-3px); background: var(--navy-2); }
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 29, 58, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand-wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 2.9rem;
  letter-spacing: 0.01em; line-height: 1; white-space: nowrap;
}
.brand-wordmark .n { color: var(--ivory); }
.brand-wordmark .g { color: var(--gold); }
.site-footer .brand-wordmark { font-size: 2.1rem; }
.site-footer .brand-wordmark .n { color: var(--ivory); }
.site-footer .brand-wordmark .g { color: var(--gold); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 110px;
}
.brand { display: flex; align-items: center; }
.brand .logo { height: 62px; width: auto; }
.brand .logo-mono { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: rgba(247, 244, 238, 0.82); font-weight: 500; font-size: 0.96rem; letter-spacing: 0.02em;
  padding: 10px 16px; border-radius: 8px; transition: all 0.2s ease;
}
.nav-links a:hover { color: var(--gold-soft); background: rgba(201, 162, 74, 0.1); }
.nav-links a.active { color: var(--gold); }
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2.5px; width: 26px; background: var(--ivory); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--ivory);
  background:
    radial-gradient(900px 520px at 84% -10%, rgba(201,162,74,0.18), transparent 60%),
    radial-gradient(720px 460px at 6% 110%, rgba(201,162,74,0.12), transparent 55%),
    linear-gradient(170deg, var(--navy) 0%, var(--ink) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,162,74,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(201,162,74,0.12) 1px, transparent 1px);
  background-size: 64px 64px; opacity: 0.5; mask-image: radial-gradient(circle at 72% 28%, #000 0%, transparent 72%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 50px;
  align-items: center; padding: 92px 0 104px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); background: rgba(201,162,74,0.1);
  border: 1px solid rgba(201,162,74,0.32); padding: 8px 16px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,0.22); }
.hero h1 { font-size: clamp(3rem, 6vw, 5rem); font-weight: 600; margin: 26px 0 22px; letter-spacing: -0.01em; }
.hero p.lede { font-size: 1.18rem; color: rgba(247,244,238,0.78); max-width: 560px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-trust { display: flex; gap: 34px; margin-top: 48px; flex-wrap: wrap; }
.hero-trust .t-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; }
.hero-trust .t-lab { font-size: 0.84rem; color: rgba(247,244,238,0.6); letter-spacing: 0.02em; }

/* Hero card / visual */
.hero-card {
  background: linear-gradient(160deg, rgba(247,244,238,0.07), rgba(247,244,238,0.02));
  border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.hero-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 22px; color: var(--ivory); }
.meter { margin-bottom: 18px; }
.meter .meter-top { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 8px; color: rgba(247,244,238,0.82); }
.meter .bar { height: 8px; border-radius: 999px; background: rgba(247,244,238,0.1); overflow: hidden; }
.meter .fill { height: 100%; border-radius: 999px; background: var(--grad-gold); }
.hero-card .savings { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
.hero-card .savings b { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; }
.hero-card .savings span { color: rgba(247,244,238,0.58); font-size: 0.9rem; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 100px 0; }
.section.tight { padding: 76px 0; }
.section-head { max-width: 740px; margin: 0 auto 58px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep);
}
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; margin: 12px 0 16px; color: var(--navy); }
.section-head p { color: var(--slate); font-size: 1.1rem; font-weight: 300; }

.bg-ivory { background: var(--ivory); }
.bg-navy { background: linear-gradient(170deg, var(--navy), var(--ink)); color: var(--ivory); }
.bg-navy .section-head h2 { color: var(--ivory); }
.bg-navy .section-head p { color: rgba(247,244,238,0.72); }
.bg-navy .kicker { color: var(--gold); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 34px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.card .ic {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); border: 1px solid var(--gold); margin-bottom: 22px; color: var(--gold);
}
.card h3 { font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 1rem; font-weight: 300; }
.card .more { font-family: var(--sans); display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 600; font-size: 0.92rem; color: var(--gold-deep); letter-spacing: 0.02em; }

/* feature list */
.feature-list { list-style: none; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 300; }
.feature-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  background: rgba(201,162,74,0.16); color: var(--gold-deep); margin-top: 3px; font-size: 0.8rem;
}
.bg-navy .feature-list li, .info-card .feature-list li { color: rgba(247,244,238,0.85); }
.bg-navy .feature-list .tick, .info-card .feature-list .tick { background: rgba(201,162,74,0.22); color: var(--gold); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.flip > div:first-child { order: 2; }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: rgba(247,244,238,0.04); border: 1px solid var(--line); }
.stat .n { font-family: var(--serif); font-size: 3rem; font-weight: 600; }
.stat .l { color: rgba(247,244,238,0.66); font-size: 0.92rem; margin-top: 4px; font-weight: 300; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num {
  flex: none; counter-increment: step; width: 50px; height: 50px; border-radius: 12px;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
  background: var(--navy); border: 1px solid var(--gold); color: var(--gold);
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h4 { color: var(--navy); font-size: 1.35rem; font-weight: 600; margin-bottom: 4px; }
.step p { color: var(--slate); font-weight: 300; }

/* partners */
.partners { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.partner-chip {
  font-family: var(--sans); padding: 13px 26px; border-radius: 8px; font-weight: 500; color: var(--navy);
  background: var(--white); border: 1px solid var(--line-dark); font-size: 0.96rem; letter-spacing: 0.01em;
}

/* supplier strip */
.supplier-strip { padding: 46px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--white); }
.supplier-strip .lab { text-align: center; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 26px; }
.supplier-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.supplier-row span {
  font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--navy);
  opacity: 0.6; letter-spacing: 0.01em; transition: opacity 0.2s ease;
}
.supplier-row span:hover { opacity: 1; }
@media (max-width: 680px) { .supplier-row { gap: 14px 26px; } .supplier-row span { font-size: 1.2rem; } }

/* CTA band */
.cta-band {
  border-radius: 22px; padding: 68px 56px; color: var(--ivory); position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 88% 8%, rgba(201,162,74,0.22), transparent 62%),
    linear-gradient(130deg, var(--navy) 0%, var(--ink) 100%);
  border: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 600; margin-bottom: 14px; }
.cta-band p { color: rgba(247,244,238,0.78); max-width: 560px; margin: 0 auto 30px; font-weight: 300; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(247,244,238,0.68); padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .footer-logo { height: 54px; width: auto; margin-bottom: 18px; }
.site-footer p { font-size: 0.96rem; font-weight: 300; }
.footer-col h4 { font-family: var(--sans); color: var(--gold); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-weight: 300; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { margin-bottom: 11px; font-size: 0.95rem; font-weight: 300; }
.footer-accred {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 46px; padding-top: 28px; border-top: 1px solid rgba(201,162,74,0.18);
}
.footer-accred .badge { background: #fff; border-radius: 8px; padding: 9px 15px; display: inline-flex; }
.footer-accred .badge img { height: 30px; width: auto; display: block; }
.footer-accred p { margin: 0; font-size: 0.9rem; font-weight: 300; color: rgba(247,244,238,0.62); max-width: 440px; }
.footer-bottom {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(201,162,74,0.18);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: rgba(247,244,238,0.5);
}
.footer-accred + .footer-bottom { border-top: none; margin-top: 24px; padding-top: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow-soft); border: 1px solid var(--line-dark); }
.field { margin-bottom: 20px; }
.field label { font-family: var(--sans); display: block; font-weight: 600; font-size: 0.86rem; letter-spacing: 0.03em; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 8px;
  font-family: var(--sans); font-size: 1rem; background: var(--ivory); transition: border 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.84rem; color: var(--slate); margin-top: 14px; font-weight: 300; }

/* contact info card */
.info-card { background: linear-gradient(160deg, var(--navy), var(--ink)); color: var(--ivory); border-radius: var(--radius); padding: 42px; border: 1px solid var(--line); }
.info-card h3 { font-size: 1.7rem; font-weight: 600; margin-bottom: 26px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.info-item .ic { flex: none; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: rgba(201,162,74,0.16); border: 1px solid rgba(201,162,74,0.3); color: var(--gold); }
.info-item .lab { font-family: var(--sans); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(247,244,238,0.55); }
.info-item .val { font-size: 1.08rem; font-weight: 400; color: var(--ivory); }

/* page hero (sub pages) */
.page-hero { color: var(--ivory); padding: 74px 0 68px; background:
  radial-gradient(720px 380px at 86% -20%, rgba(201,162,74,0.16), transparent 60%),
  linear-gradient(170deg, var(--navy), var(--ink)); position: relative; overflow: hidden; }
.page-hero .crumb { font-family: var(--sans); font-size: 0.86rem; color: rgba(247,244,238,0.6); margin-bottom: 16px; letter-spacing: 0.02em; }
.page-hero .crumb a:hover { color: var(--gold); }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; }
.page-hero p { color: rgba(247,244,238,0.76); max-width: 640px; margin-top: 16px; font-size: 1.12rem; font-weight: 300; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Testimonials / reviews ---------- */
.stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; line-height: 1; }
.tcard { display: flex; flex-direction: column; gap: 16px; }
.tcard .quote { color: var(--navy); font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; font-weight: 500; }
.tcard .t-author { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.tcard .t-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.tcard .t-name { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.tcard .t-meta { color: var(--slate); font-size: 0.82rem; }
.review-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 44px; align-items: center; }
.google-rating { display: inline-flex; align-items: center; gap: 10px; color: var(--slate); font-size: 0.95rem; }
.google-rating b { color: var(--navy); font-size: 1.05rem; }

/* ---------- Footer credential badge ---------- */
.footer-creds { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cred-badge {
  display: inline-flex; align-items: center;
  padding: 9px 15px; border-radius: 10px;
  background: #fff;
}
.cred-badge img { height: 30px; width: auto; display: block; }
.cred-note { margin: 0; font-size: 0.85rem; font-weight: 300; color: rgba(247,244,238,0.62); max-width: 320px; }
.cred-badge .cb-mark { flex: none; }
.cred-badge .cb-t { font-family: var(--sans); font-size: 0.84rem; color: var(--ivory); font-weight: 600; letter-spacing: 0.02em; line-height: 1.2; display: block; }
.cred-badge .cb-s { font-family: var(--sans); font-size: 0.68rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; display: block; }

/* ---------- Footer brand card (logo on white) ---------- */
.footer-brand-card {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: 12px; padding: 13px 24px; margin-bottom: 18px;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-brand-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); }
.footer-brand-card .brand-wordmark { font-size: 2rem; }
.footer-brand-card .brand-wordmark .n { color: var(--navy); }
.footer-brand-card .brand-wordmark .g { color: var(--gold-deep); }

/* ---------- Brand sign-off band ---------- */
.brand-band {
  background: var(--white); text-align: center;
  padding: 78px 0; border-top: 1px solid var(--line-dark);
}
.brand-band .brand-wordmark {
  display: inline-block; font-size: clamp(2.8rem, 6.5vw, 4.6rem); line-height: 1;
}
.brand-band .brand-wordmark .n { color: var(--navy); }
.brand-band .brand-wordmark .g { color: var(--gold); }
.brand-band .band-rule {
  width: 54px; height: 2px; background: var(--grad-gold);
  border: none; margin: 22px auto 16px; border-radius: 2px;
}
.brand-band .band-tag {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 64px 0 76px; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 34px; }
  .split.flip > div:first-child { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; inset: 110px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--navy); padding: 16px 24px 26px; gap: 4px; border-bottom: 1px solid var(--line);
    transform: translateY(calc(-100% - 130px)); opacity: 0; visibility: hidden;
    transition: transform 0.35s ease, opacity 0.3s ease, visibility 0.35s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 16px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 46px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 72px 0; }
}
