/* ============================================================
   ARBOL — Shared Stylesheet for SEO Landing Pages
   Matches arbolltd.com design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700&family=EB+Garamond:wght@400;500;600&display=swap');

:root {
  --accent: #1B3D2F;
  --accent-deep: #122A20;
  --gold: #B8956A;
  --gold-light: #D4B896;
  --bg: #F8F6F1;
  --surface: #FFFFFF;
  --ink: #111111;
  --text: #2A2A2A;
  --muted: #6B6B6B;
  --light: #999999;
  --border: #E0DDD6;
  --border-light: #EDEAE4;
  --tint: #F2F0EB;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
  font-size: 16px;
}

/* ---- Typography ---- */

h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--ink); }
h1 { font-size: 2.8rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 2rem; font-weight: 500; line-height: 1.25; }
h3 { font-size: 1.35rem; font-weight: 500; line-height: 1.35; }
h4 { font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--light); }

h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

strong { font-weight: 600; }

/* ---- Layout ---- */

.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 2rem; }

.section { padding: 5rem 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--accent-deep); color: #E8E5DF; }
.section--dark h2, .section--dark h3 { color: #FFFFFF; }
.section--dark h2 em { color: var(--gold-light); }
.section--dark h4 { color: var(--gold); }
.section--dark p { color: #C8C4BC; }
.section--dark a { color: var(--gold-light); }
.section--dark a:hover { color: #FFFFFF; }

/* ---- Navigation ---- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav__logo img { height: 32px; width: 32px; }

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--ink);
  line-height: 1.1;
  text-transform: uppercase;
}

.nav__logo-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--ink); }

.nav__cta {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--surface) !important;
  background: var(--accent);
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  transition: background 0.2s !important;
}

.nav__cta:hover { background: var(--accent-deep) !important; color: var(--surface) !important; }

/* ---- Hero ---- */

.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.hero h4 { margin-bottom: 1rem; }

.hero h1 { margin-bottom: 1.5rem; max-width: 700px; }

.hero__intro {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.hero__cta:hover { background: var(--accent-deep); color: var(--surface); transform: translateY(-1px); }

.hero__cta--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border);
  margin-left: 0.75rem;
}

.hero__cta--ghost:hover { border-color: var(--accent); background: transparent; color: var(--accent-deep); }

/* ---- Breadcrumb ---- */

.breadcrumb {
  font-size: 0.78rem;
  color: var(--light);
  padding: 1rem 0 0;
}

.breadcrumb a { color: var(--light); text-decoration: underline; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; }

/* ---- Content Blocks ---- */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.content-block h3 { margin-bottom: 0.75rem; }
.content-block p { font-size: 0.92rem; color: var(--muted); }

.content-block--accent {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #E8E5DF;
}
.content-block--accent h3 { color: #FFF; }
.content-block--accent p { color: #B8B4AB; }

/* ---- Stat Row ---- */

.stats {
  display: flex;
  gap: 3rem;
  padding: 2rem 0;
}

.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.stat__label {
  font-size: 0.78rem;
  color: var(--light);
  font-weight: 500;
  margin-top: 0.3rem;
}

/* ---- Framework / Diagnostic ---- */

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.framework-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.15s;
}

.framework-item:hover { border-color: var(--gold); transform: translateY(-2px); }

.framework-item__number {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.framework-item__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.framework-item__desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- FAQ ---- */

.faq-list { margin-top: 1.5rem; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after { content: '−'; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

.faq-answer p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; }

/* ---- Case Study Cards ---- */

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.15s;
}

.case-card:hover { border-color: var(--gold); transform: translateY(-2px); }

.case-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.case-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }

.case-card p { font-size: 0.88rem; color: var(--muted); flex-grow: 1; }

.case-card__insight {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.case-card__insight-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--light);
  margin-bottom: 0.35rem;
}

.case-card__insight-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--accent);
  line-height: 1.5;
}

/* ---- Author / E-E-A-T ---- */

.author-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 2rem;
}

.author-box__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
}

.author-box__info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

.author-box__info p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0;
}

.author-box__creds {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.author-box__cred {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--tint);
  color: var(--muted);
}

/* ---- CTA Banner ---- */

.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { font-size: 1rem; color: #C8C4BC; max-width: 550px; margin: 0 auto 2rem; }

/* ---- Footer ---- */

.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer__brand img { height: 28px; width: 28px; }

.footer__brand-name {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--ink);
  text-transform: uppercase;
}

.footer__tagline {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 300px;
  line-height: 1.6;
}

.footer__nav h4 { margin-bottom: 0.75rem; font-size: 0.68rem; }

.footer__nav ul { list-style: none; }

.footer__nav li { margin-bottom: 0.4rem; }

.footer__nav a { font-size: 0.82rem; color: var(--muted); }
.footer__nav a:hover { color: var(--ink); }

.footer__legal {
  width: 100%;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--light);
}

/* ---- Guarantee Strip ---- */

.guarantee {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 1.5rem 2rem;
  margin-top: 2.5rem;
}

.guarantee p {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0;
}

/* ---- Process Steps ---- */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-step {
  position: relative;
}

.process-step__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---- Internal Link Cards ---- */

.link-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.link-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.link-card:hover { border-color: var(--gold); transform: translateY(-2px); }

.link-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--ink); }
.link-card p { font-size: 0.82rem; color: var(--muted); margin-bottom: 0; }

.link-card__arrow {
  font-size: 0.82rem;
  color: var(--gold);
  margin-top: 0.75rem;
  font-weight: 600;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .content-grid { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .stats { flex-wrap: wrap; gap: 2rem; }
  .link-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav { padding: 1rem 1.25rem; flex-wrap: wrap; gap: 0.75rem; }
  .nav__links { gap: 1rem; flex-wrap: wrap; }
  .hero { padding: 3rem 0 2.5rem; }
  h1 { font-size: 1.7rem; }
  .framework-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  .footer { padding: 2rem 1.25rem; }
}
