/* Savvy CX — site styles */
:root {
  --navy: #31394d;
  --navy-deep: #002f4a;
  --slate: #626b73;
  --gray: #666666;
  --tan: #d9c4b1;
  --cream: #ede3da;
  --gold: #dba237;
  --white: #ffffff;
  --ink: #002f4a;
  --maxw: 1160px;
  --radius: 14px;
  --head: "Lexend", Verdana, sans-serif;
  --body: Verdana, "Lexend", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.lead { font-size: 1.12rem; max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--head); font-weight: 600; font-size: 1rem;
  padding: .9em 1.6em; border-radius: 999px;
  text-decoration: none; transition: transform .15s ease, background .2s ease, color .2s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e6b24f; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.text-link {
  font-family: var(--head); font-weight: 600; color: var(--navy-deep);
  text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  padding: 22px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand span {
  font-family: var(--head); font-weight: 700; font-size: 1.35rem; color: var(--white);
  letter-spacing: .02em;
}
.brand span b { color: var(--gold); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--head); font-size: .98rem; font-weight: 500;
  color: rgba(255,255,255,.85); text-decoration: none; position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold);
}
.nav .btn { padding: .6em 1.25em; color: var(--navy); }
.nav .btn:hover { color: var(--navy); }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 6px;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: rgba(255,255,255,.82);
  padding: 190px 0 150px;
}
.hero::before { /* ambient glow, fabric-style */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 140%;
  background:
    radial-gradient(closest-side at 70% 40%, rgba(219,162,55,.18), transparent 75%),
    radial-gradient(closest-side at 35% 75%, rgba(0,47,74,.55), transparent 85%);
  filter: blur(20px);
  pointer-events: none;
}
.hero::after { /* brand diagonal rule */
  content: ""; position: absolute; left: -5%; right: -5%; bottom: 70px; height: 2px;
  background: var(--tan); transform: rotate(-4deg); transform-origin: left; opacity: .85;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.8); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.hero.compact { padding: 170px 0 120px; }
.hero.compact h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 22ch; }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,.8); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 56px; }

.intro-grid {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start;
}
.intro-grid h2 { margin: 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  background: var(--white); border-radius: var(--radius); padding: 38px 32px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 1px 2px rgba(49,57,77,.06), 0 10px 30px rgba(49,57,77,.07);
}
.pillar .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--navy);
  display: grid; place-items: center; margin-bottom: 22px;
}
.pillar .icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar .step {
  font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate); margin-bottom: .4rem;
}
.pillar p { margin-bottom: 0; }
.center-cta { text-align: center; margin-top: 56px; }

/* Outcomes strip */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.15); }
.outcome { padding: 34px 28px 0 0; }
.outcome + .outcome { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.15); }
.outcome h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.outcome p { font-size: .95rem; margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--cream); }
.cta-band::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: 40px; height: 2px;
  background: var(--white); transform: rotate(-3deg); transform-origin: left;
}
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 20ch; }

/* Services detail */
.service {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px;
  padding: 72px 0; border-top: 1px solid #e4dcd4;
}
.service:first-child { border-top: 0; padding-top: 0; }
.service .num {
  font-family: var(--head); font-weight: 700; font-size: 3.2rem; color: var(--tan); line-height: 1; margin-bottom: 16px;
}
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2331394d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checklist li strong { color: var(--ink); font-family: var(--head); font-weight: 600; }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.model {
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 34px 30px;
  background: rgba(255,255,255,.03);
}
.model .tag { font-family: var(--head); color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.model h3 { margin: .6rem 0 .7rem; }
.model p { margin: 0; font-size: .96rem; }

/* About */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.principle h3 { display: flex; align-items: baseline; gap: 12px; }
.principle h3 span { color: var(--gold); font-size: 1rem; }
.bg-navy .principle p { color: rgba(255,255,255,.78); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
.logo-panel {
  background: var(--navy); border-radius: var(--radius); padding: 56px; position: relative; overflow: hidden;
}
.logo-panel::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 14px; height: 2px; background: var(--tan); transform: rotate(-6deg);
}
.logo-panel img { width: 78%; margin: 0 auto; position: relative; z-index: 1; }

/* Contact */
.contact-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start;
}
.email-block {
  background: var(--navy); color: rgba(255,255,255,.8); border-radius: var(--radius); padding: 48px 44px;
}
.email-block h2 { color: var(--white); font-size: 1.7rem; }
.email-address {
  display: inline-block; font-family: var(--head); font-weight: 600; color: var(--gold);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); text-decoration: none; margin: .4rem 0 1.6rem; word-break: break-all;
}
.email-address:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 64px 0 36px; font-size: .92rem; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top .brand img { height: 36px; }
.footer-top p { max-width: 36ch; margin-top: 16px; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links h4 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links a { display: block; text-decoration: none; margin-bottom: 8px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pillars, .models, .principles { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: 1fr 1fr; }
  .outcome:nth-child(3) { padding-left: 0; border-left: 0; }
  .intro-grid, .service, .split, .contact-card { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); border-radius: var(--radius); padding: 10px; display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold); }
  .nav .btn { justify-content: center; margin-top: 6px; }
  .hero { padding: 150px 0 120px; }
  .hero.compact { padding: 140px 0 100px; }
  .outcomes { grid-template-columns: 1fr; }
  .outcome, .outcome + .outcome { padding: 26px 0 0; border-left: 0; }
  .logo-panel { padding: 40px 28px; }
  .email-block { padding: 36px 26px; }
  .footer-links { gap: 40px; }
}
