/* ==========================================================================
   Executive Support — executivesupport.biz
   Shared stylesheet. Palette locked to es-brand-kit/source/brand.py.

   Navy  #142C48  primary    | Navy deep #0B192B  | Navy mid #22466C
   Gold  #C98F2D  accent     | Charcoal #343A42  | Slate #606A78
   Mist  #E2E7EE  rules      | Cream #F7F5F0     | White  #FFFFFF
   ========================================================================== */

/* --------------------------------------------------------------- tokens */
:root {
  --navy:       #142C48;
  --navy-deep:  #0B192B;
  --navy-mid:   #22466C;
  --charcoal:   #343A42;
  --slate:      #606A78;
  --mist:       #E2E7EE;
  --cream:      #F7F5F0;
  --gold:       #C98F2D;
  --white:      #FFFFFF;

  --font-serif: Georgia, 'Times New Roman', Times, serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
                 Helvetica, Arial, sans-serif;

  --wrap: 1160px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(11, 25, 43, .06), 0 2px 8px rgba(11, 25, 43, .05);
  --shadow-md: 0 2px 6px rgba(11, 25, 43, .07), 0 12px 28px rgba(11, 25, 43, .08);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.06rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: .01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

strong { color: var(--navy); font-weight: 700; }

hr { border: 0; border-top: 1px solid var(--mist); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--cream { background: var(--cream); }
.section--mist { background: #F4F6F9; }
.section--navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy a { color: var(--white); }
.section--navy .eyebrow { color: var(--gold); }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 56px; align-items: start; }

.stack-sm > * + * { margin-top: 14px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------- eyebrow */
.eyebrow {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  max-width: 90px;
  background: currentColor;
  opacity: .45;
}
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { display: none; }
.section--navy .eyebrow { color: var(--gold); }

/* ------------------------------------------------------------- lede/lead */
.lede {
  font-size: 1.13rem;
  line-height: 1.72;
  color: var(--slate);
  max-width: 62ch;
}
.section--navy .lede { color: rgba(255,255,255,.8); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-mid); color: var(--white); }

.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #B37E22; color: var(--navy-deep); }

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

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.center .btn-row { justify-content: center; }

/* ------------------------------------------------------------------ card */
.card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 30px 28px;
  height: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease),
              transform .18s var(--ease);
}
.card--link:hover {
  border-color: var(--navy-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card h3 { margin-bottom: .45rem; }
.card > :last-child { margin-bottom: 0; }

.card__num {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  display: block;
  margin-bottom: .7rem;
}
.card__rule {
  height: 1px;
  background: var(--mist);
  margin: 18px 0;
}
.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--navy);
}
.card__icon svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- chips */
.chip {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--mist);
  border-radius: 2px;
  padding: 6px 12px;
}
.chip--gold { color: var(--navy-deep); background: rgba(201,143,45,.16); border-color: rgba(201,143,45,.4); }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--mist);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 55%, var(--gold) 100%);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .93rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 9px 13px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav a:hover { color: var(--navy); background: var(--cream); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------- hero */
.hero {
  background:
    linear-gradient(115deg, rgba(11,25,43,.97) 0%, rgba(20,44,72,.94) 52%, rgba(34,70,108,.9) 100%),
    url('../img/es-hero.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 92px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero h1 .accent { color: var(--gold); }
.hero__lede {
  font-size: 1.16rem;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
  max-width: 54ch;
}
.hero__tag {
  display: inline-block;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero__creds {
  margin-top: 2.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .88rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}
.hero__creds strong { color: var(--white); font-weight: 700; }
.hero__figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero__figure img { width: 100%; }
.hero__figure figcaption {
  background: rgba(11,25,43,.82);
  color: rgba(255,255,255,.78);
  font-size: .8rem;
  padding: 11px 16px;
  letter-spacing: .03em;
}

/* ------------------------------------------------------------ trust strip */
.trustbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  border-top: 1px solid rgba(201,143,45,.28);
}
.trustbar__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.1);
}
.trustbar__item {
  background: var(--navy-deep);
  padding: 24px 22px;
  text-align: center;
}
.trustbar__item .k {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: .25rem;
}
.trustbar__item .v {
  font-size: .78rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(255,255,255,.66);
}

/* --------------------------------------------------------------- panels */
.panel {
  background: var(--white);
  border: 1px solid var(--mist);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.panel--navy {
  background: var(--navy);
  border: 1px solid var(--navy);
  border-left: 3px solid var(--gold);
  color: rgba(255,255,255,.85);
}
.panel--navy h3, .panel--navy h4 { color: var(--white); }

/* ---------------------------------------------------------------- lists */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: .7rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 13px;
  height: 1.5px;
  background: var(--gold);
}
.section--navy .feature-list li::before { background: var(--gold); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: .55rem;
  font-size: .96rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ----------------------------------------------------------------- media */
.figure { margin: 0; }
.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption {
  font-size: .82rem;
  color: var(--slate);
  padding-top: 10px;
  line-height: 1.55;
}
.section--navy .figure figcaption { color: rgba(255,255,255,.6); }

/* ---------------------------------------------------------------- steps */
.steps { counter-reset: step; display: grid; gap: 26px; }
.step {
  counter-increment: step;
  position: relative;
  padding-left: 68px;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--gold);
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.section--navy .step::before { color: var(--gold); }
.step h3 { font-size: 1.16rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--slate); font-size: .97rem; }
.section--navy .step p { color: rgba(255,255,255,.74); }

/* --------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.plan {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured { border-color: var(--gold); border-width: 2px; box-shadow: var(--shadow-md); }
.plan__badge {
  position: absolute;
  top: -1px;
  right: 22px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.plan h3 { margin-bottom: .25rem; }
.plan__for { font-size: .86rem; color: var(--slate); margin-bottom: 1.1rem; min-height: 2.6em; }
.plan__price {
  font-family: var(--font-serif);
  font-size: 1.72rem;
  color: var(--navy);
  font-weight: 700;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--mist);
  margin-bottom: 1.1rem;
}
.plan__price span { display: block; font-family: var(--font-sans); font-size: .82rem; font-weight: 400; color: var(--slate); letter-spacing: 0; margin-top: .3rem; }
.plan ul { flex: 1; }
.plan .btn { width: 100%; margin-top: .6rem; }

/* ----------------------------------------------------------------- table */
.table-wrap { overflow-x: auto; border: 1px solid var(--mist); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 540px; }
caption { caption-side: top; text-align: left; font-size: .86rem; color: var(--slate); padding: 0 0 10px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--mist); vertical-align: top; }
thead th { background: var(--navy); color: var(--white); font-weight: 700; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #FAFBFC; }

/* ------------------------------------------------------------------ faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--mist);
  padding: 20px 0;
}
.faq summary {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-right: 34px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -.1em;
  font-size: 1.5rem;
  color: var(--gold);
  font-family: var(--font-sans);
  line-height: 1;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .9rem 0 0; color: var(--slate); font-size: .97rem; }

/* ------------------------------------------------------------- form/cta */
.form-grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: .98rem;
  color: var(--charcoal);
  padding: 12px 14px;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background: var(--white);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(34,70,108,.13);
}
.field textarea { resize: vertical; min-height: 130px; }
.field__hint { font-size: .82rem; color: var(--slate); margin-top: 6px; }
.form-note { font-size: .84rem; color: var(--slate); margin-top: 1rem; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mist);
  align-items: flex-start;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-list .k {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
}
.contact-list .v { color: var(--navy); font-weight: 600; word-break: break-word; }

/* -------------------------------------------------------------- footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.66);
  font-size: .92rem;
  padding: 68px 0 0;
}
.site-footer h4 {
  font-family: var(--font-sans);
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid li { margin-bottom: .55rem; }
.footer__grid a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer__grid a:hover { color: var(--gold); text-decoration: underline; }
.footer__logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer__creds {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(255,255,255,.62);
}
.footer__creds strong { color: rgba(255,255,255,.9); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.13);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.48);
}
.footer__bottom a { color: rgba(255,255,255,.6); }

/* ------------------------------------------------------------------ cta */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 62px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 60ch; }
.cta-band .btn-row { margin-top: 1.6rem; }

/* ----------------------------------------------------------------- blog */
.post-list { display: grid; gap: 24px; }
.post {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.post:hover { border-color: var(--navy-mid); box-shadow: var(--shadow-sm); }
.post__body { padding: 26px 28px; }
.post__meta {
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: .7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.post h3 { margin-bottom: .45rem; font-size: 1.2rem; }
.post h3 a { color: var(--navy); }
.post h3 a:hover { color: var(--navy-mid); text-decoration: none; }
.post p { font-size: .95rem; color: var(--slate); margin-bottom: 1rem; }
.post__more {
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-mid);
}
.post__more:hover { color: var(--gold); text-decoration: none; }

/* ------------------------------------------------------------ page head */
.page-head {
  background: var(--navy);
  color: var(--white);
  padding: 62px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: var(--white); margin-bottom: .35em; }
.page-head p { color: rgba(255,255,255,.8); max-width: 62ch; font-size: 1.08rem; }

.breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.1rem;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* -------------------------------------------------------------- service */
.service-block { padding: 72px 0; border-bottom: 1px solid var(--mist); }
.service-block:last-of-type { border-bottom: 0; }
.service-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}
.service-block--reverse .service-block__grid { direction: rtl; }
.service-block--reverse .service-block__grid > * { direction: ltr; }
.service-block__media img { border-radius: var(--radius); width: 100%; }
.service-block h2 { margin-bottom: .5em; }
.service-block__body > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- about */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
}
.portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.portrait img { width: 100%; }
.portrait__plate {
  background: var(--navy);
  color: var(--white);
  padding: 22px 24px;
}
.portrait__plate .name {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: .2rem;
}
.portrait__plate .role { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.portrait__plate .creds { font-size: .84rem; color: rgba(255,255,255,.76); margin-top: 12px; line-height: 1.65; }

.cred-list { list-style: none; padding: 0; margin: 0; }
.cred-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mist);
  align-items: flex-start;
}
.cred-list li:last-child { border-bottom: 0; }
.cred-list .badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cred-list .badge svg { width: 16px; height: 16px; }
.cred-list .t { font-weight: 700; color: var(--navy); display: block; }
.cred-list .d { font-size: .9rem; color: var(--slate); }

/* ---------------------------------------------------------------- misc */
.notice {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  border-radius: var(--radius);
  font-size: .92rem;
  color: var(--charcoal);
}
.notice strong { color: var(--navy); }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }

.divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 3rem 0;
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  background: var(--mist);
  flex: 1;
}
.divider span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; color: var(--white); text-decoration: none; }

/* Scroll reveal. The `js` class on <html> is set by an inline script in
   <head>; without it the content is visible immediately, so a JS failure can
   never leave a section permanently invisible. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__figure { max-width: 620px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-block__grid { grid-template-columns: 1fr; gap: 34px; }
  .service-block--reverse .service-block__grid { direction: ltr; }
  .grid--sidebar { grid-template-columns: 1fr; gap: 40px; }
  .trustbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--mist);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 22px;
    gap: 2px;
    box-shadow: 0 14px 30px rgba(11,25,43,.11);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; width: 100%; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 60px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .trustbar__inner { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
}
