/* =====================================================
   THE PM OFFICE — Brand-Compliant Stylesheet v2
   
   Colours:  Navy #1B3A6B | Teal #0E7C7B | Amber #E8A020
             White #FFFFFF | Light #F4F6F9 | Mid #D9DDE4
             Dark #12131F  | Ink #1C1C1C  | Body #4A4A5A
   Fonts:    Raleway (display/hero headings)
             DM Sans (all UI, body, nav, labels)
             Space Mono (labels, eyebrows, mono accents)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Raleway:wght@700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  --navy:   #1B3A6B;
  --teal:   #0E7C7B;
  --amber:  #E8A020;
  --white:  #FFFFFF;
  --light:  #F4F6F9;
  --mid:    #D9DDE4;
  --dark:   #12131F;
  --ink:    #1C1C1C;
  --body:   #4A4A5A;
  --transition: 0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
/* Raleway: display/hero only */
.display, h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
}
/* DM Sans: all other headings */
h2 { font-family: 'DM Sans', sans-serif; font-size: clamp(1.5rem, 3vw, 1.75rem); font-weight: 700; color: var(--navy); line-height: 1.25; }
h3 { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
h4 { font-family: 'Space Mono', monospace; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--amber); }

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }

p { color: var(--body); margin-bottom: 1.1rem; font-size: 15px; line-height: 1.7; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

.mono { font-family: 'Space Mono', monospace; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 2rem; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(27,58,107,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14,124,123,0.25);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px; margin: 0 auto;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-text {
  display: flex; flex-direction: column; line-height: 1;
}
.nav__logo-the {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1px;
}
.nav__logo-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.nav__logo-name span { color: var(--teal); }
.nav__logo-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 2px;
}

.nav__links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav__links a {
  color: rgba(255,255,255,0.75);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a.active { border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.nav__cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 600 !important;
  border-bottom: none !important;
}
.nav__cta:hover { background: #0a6665 !important; color: var(--white) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; }

/* ── SVG LOGO MARK ── */
.logo-mark { flex-shrink: 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover { background: #0a6665; border-color: #0a6665; color: var(--white); }

.btn--amber {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.btn--amber:hover { background: #d4901c; border-color: #d4901c; color: var(--ink); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline:hover { border-color: var(--white); color: var(--white); }

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

.btn--lg { padding: 1rem 2.2rem; font-size: 0.95rem; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,124,123,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 1; max-width: 740px; }
.hero__eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 1.2rem;
}
.hero__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}
.hero__title em { color: var(--teal); font-style: normal; }
.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero--inner {
  min-height: 52vh;
  padding: 9rem 0 4.5rem;
}

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); }
.section--teal { background: var(--teal); }
.section--dark { background: var(--dark); }

.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.6); }
.section--teal h2, .section--teal h3 { color: var(--white); }
.section--teal p { color: rgba(255,255,255,0.75); }

.section__eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.8rem;
}
.section__title { margin-bottom: 1rem; }
.section__intro { font-size: 1rem; color: var(--body); max-width: 620px; margin-bottom: 3rem; }

/* ── DIVIDER ── */
.rule { width: 40px; height: 3px; background: var(--amber); margin: 1.2rem 0 2rem; display: block; }

/* ── GRID ── */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--mid);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 6px 28px rgba(27,58,107,0.1); transform: translateY(-2px); }
.card--teal-top { border-top: 3px solid var(--teal); }
.card--amber-top { border-top: 3px solid var(--amber); }
.card--dark { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.card--dark:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.2); }

.card__icon {
  width: 42px; height: 42px;
  background: var(--light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.card__eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.card h3 { color: var(--navy); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.7rem; font-family: 'DM Sans', sans-serif; }
.card--dark h3 { color: var(--white); }
.card--dark .card__eyebrow { color: var(--amber); }

/* ── SPLIT LAYOUT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split--flip .split__visual { order: -1; }

.split__visual {
  background: var(--navy);
  border-radius: 8px;
  height: 380px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.split__visual::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,124,123,0.18) 0%, transparent 70%);
}
.split__visual-inner {
  position: relative; z-index: 1;
  text-align: center; padding: 2rem;
}
.split__visual-big {
  font-family: 'Raleway', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.07);
  line-height: 1.1;
}
.split__stat {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: var(--amber);
  padding: 0.7rem 1.1rem; border-radius: 6px;
}
.split__stat strong { display: block; font-family: 'Raleway', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1; }
.split__stat span { font-family: 'Space Mono', monospace; font-size: 0.55rem; color: rgba(28,28,28,0.7); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── STATS ROW ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--mid); border-radius: 8px; overflow: hidden; }
.stat { padding: 2.5rem 1.5rem; text-align: center; border-right: 1px solid var(--mid); background: var(--white); }
.stat:last-child { border-right: none; }
.stat__num { font-family: 'Raleway', sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--navy); display: block; line-height: 1; }
.stat__label { font-size: 0.82rem; color: var(--body); margin-top: 0.4rem; }

/* ── TESTIMONIALS ── */
.testimonial {
  background: var(--white);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 1.8rem 2rem 1.8rem 2.2rem;
  box-shadow: 0 2px 12px rgba(27,58,107,0.07);
}
.testimonial__quote { font-size: 1rem; font-style: italic; color: var(--ink); margin-bottom: 1rem; line-height: 1.65; }
.testimonial__cite { font-family: 'Space Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--body); text-transform: uppercase; }

/* ── STEPS ── */
.steps { }
.step {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 1.8rem; margin-bottom: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--mid);
}
.step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step__num {
  width: 52px; height: 52px;
  background: var(--navy);
  color: var(--amber);
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step__title { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; font-family: 'DM Sans', sans-serif; }

/* ── ACCORDION ── */
.accordion { border: 1px solid var(--mid); border-radius: 8px; overflow: hidden; }
.accordion__item { border-bottom: 1px solid var(--mid); }
.accordion__item:last-child { border-bottom: none; }
.accordion__trigger {
  width: 100%; text-align: left;
  padding: 1.2rem 1.6rem;
  background: none; border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition);
}
.accordion__trigger:hover { background: var(--light); }
.accordion__trigger::after { content: '+'; font-size: 1.3rem; color: var(--teal); transition: transform var(--transition); }
.accordion__trigger.open::after { transform: rotate(45deg); }
.accordion__body { padding: 0 1.6rem; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; }
.accordion__body.open { padding: 0 1.6rem 1.3rem; max-height: 500px; }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; }
.feature-list li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--body);
  border-bottom: 1px solid var(--mid);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '→'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ── CONTACT FORM ── */
.form__group { margin-bottom: 1.4rem; }
.form__label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 0.45rem; }
.form__input, .form__select, .form__textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--mid); border-radius: 6px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: var(--ink); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,124,123,0.12);
}
.form__textarea { min-height: 130px; resize: vertical; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__radio-group { display: flex; flex-direction: column; gap: 0.55rem; }
.form__radio { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; cursor: pointer; color: var(--body); }
.form__radio input { accent-color: var(--teal); width: 15px; height: 15px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
  border-top: 3px solid var(--teal);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,124,123,0.12) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1rem; font-weight: 300; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand-the { font-family: 'DM Sans', sans-serif; font-size: 0.55rem; font-weight: 400; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 2px; }
.footer__brand-name { font-family: 'DM Sans', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer__brand-name span { color: var(--teal); }
.footer__brand-tag { font-family: 'Space Mono', monospace; font-size: 0.45rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-top: 3px; }
.footer__desc { font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.45); margin-top: 1rem; }
.footer__heading { font-family: 'Space Mono', monospace; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.1rem; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.45rem; }
.footer__links a { color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__contact-item { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-bottom: 0.45rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.25);
  font-family: 'Space Mono', monospace; letter-spacing: 0.05em;
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-amber { color: var(--amber); }
.text-teal { color: var(--teal); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 2rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.55s ease forwards; opacity: 0; }
.fade-up--1 { animation-delay: 0.05s; }
.fade-up--2 { animation-delay: 0.2s; }
.fade-up--3 { animation-delay: 0.35s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split--flip .split__visual { order: 0; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stats .stat:nth-child(2) { border-right: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 680px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem; gap: 1.2rem;
    border-bottom: 1px solid rgba(14,124,123,0.3);
  }
  .hamburger { display: flex; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(even) { border-right: none; }
}
