/* ==========================================================================
   Vasistha Corporate Services Pvt. Ltd.
   Shared stylesheet — one file, no framework, no build step.
   Palette and type are defined once as tokens below; change them here
   and the whole site follows.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   TYPEFACES — self-hosted, no Google Fonts request
   These were previously pulled from the Google Fonts CDN. They are now served
   from assets/fonts/ (latin subset): one fewer third-party connection on every
   page, no cross-border request per visitor, and the site renders correctly
   where fonts.gstatic.com is slow or unreachable.
   Kaushan Script sets the brand line only; it is never used for body copy.
   --------------------------------------------------------------------------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Kaushan Script"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("../fonts/kaushan-script-latin-400-normal.woff2") format("woff2"); }

/* ---------------------------------------------------------------------------
   BRAND PALETTE
   Default is navy + gold, matching the direction of the company's own
   preferred draft. The printed company profile uses deep green + gold.
   To switch the whole site to green, add data-brand="green" to the <html>
   tag on every page (see README.md → "Switching the brand colour").
   --------------------------------------------------------------------------- */
:root {
  /* Navy (default) */
  --brand-900: #0D1630;
  --brand-800: #16224A;
  --brand-700: #1F2E62;
  --brand-600: #2E4088;
  --gold-600:  #A8812B;
  --gold-500:  #C39A3C;
  --gold-400:  #D6B25F;
  --gold-100:  #F2E6C9;

  /* Neutrals */
  --cream:     #F9F6F0;
  --paper:     #FFFFFF;
  --ink-900:   #15192B;
  --ink-700:   #3A4056;
  --ink-500:   #666E86;
  --line:      #E7DFD1;

  /* Semantic (light) */
  --bg:         var(--cream);
  --surface:    var(--paper);
  --surface-2:  #F2EEE5;
  --link:       #2E4088;
  --text:       var(--ink-900);
  --text-muted: var(--ink-500);
  --border:     var(--line);
  --accent:     var(--gold-600);
  --brand:      var(--brand-800);
  --brand-text: #FFFFFF;
  /* Primary button surface. A token rather than --brand-800 direct, because on
     the dark page that navy is all but invisible and has to lift; the hero
     gradient still needs the deep value. */
  --btn-bg:       var(--brand-800);
  --btn-bg-hover: var(--brand-700);
  --btn-border:   transparent;
  --btn-fg:       #FFFFFF;
  --field-border: #8E8878;
  /* Gold at small text sizes: --accent is 3.3:1 on cream, which fails AA. */
  --accent-text:  #7A5E1F;
  --ok:           #1F7A4D;
  --err:          #B3261E;

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  /* The brand line only - the handwritten tagline on the company's own collateral. */
  --font-script: "Kaushan Script", "Segoe Script", "Brush Script MT", cursive;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Space */
  --gutter: 20px;
  --maxw: 1140px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 43, 32, .06), 0 2px 8px rgba(11, 43, 32, .05);
  --shadow-md: 0 4px 12px rgba(11, 43, 32, .08), 0 12px 32px rgba(11, 43, 32, .07);
}

/* Green variant of the identity, from the printed company profile. */
:root[data-brand="green"] {
  --brand-900: #0B2B20;
  --brand-800: #103B2C;
  --brand-700: #17513C;
  --brand-600: #1F6A4E;
  --cream:     #FBF8F2;
  --ink-900:   #14231D;
  --ink-700:   #35473F;
  --ink-500:   #64776E;
  --line:      #E3DCCE;
}

/* Dark mode: opt-out with <html data-theme="light"> */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:         #0B0F1E;
    --surface:    #121829;
    --surface-2:  #171E33;
    --text:       #EEF1F8;
    --text-muted: #A3ABC2;
    --border:     #262E47;
    --accent:     var(--gold-400);
    --brand:      #121B38;
    --brand-text: #F3F5FB;
    /* Lifted so they clear 4.5:1 on the dark page: the light-mode navy
       link and the navy button surface both measured under 2:1 here. */
    --link:         #9DB2F0;
    --btn-bg:       var(--gold-600);
    --btn-bg-hover: var(--gold-500);
    --btn-border:   transparent;
    --btn-fg:       #1B1405;
    --field-border: #626A8C;
    --accent-text:  var(--gold-400);
    --ok:           #5FD39A;
    --err:          #FF8A80;
  }
}
:root[data-theme="dark"] {
  --bg:         #0B0F1E;
  --surface:    #121829;
  --surface-2:  #171E33;
  --text:       #EEF1F8;
  --text-muted: #A3ABC2;
  --border:     #262E47;
  --accent:     var(--gold-400);
  --brand:      #121B38;
  --brand-text: #F3F5FB;
  /* Lifted so they clear 4.5:1 on the dark page: the light-mode navy
     link and the navy button surface both measured under 2:1 here. */
  --link:         #9DB2F0;
  --btn-bg:       var(--gold-600);
  --btn-bg-hover: var(--gold-500);
  --btn-border:   transparent;
  --btn-fg:       #1B1405;
  --field-border: #626A8C;
  --accent-text:  var(--gold-400);
  --ok:           #5FD39A;
  --err:          #FF8A80;
}

/* --------------------------------------------------------------- base --- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-family: var(--font-body); font-weight: 650; letter-spacing: -0.005em; }
h4 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 650; }

p { margin: 0 0 1em; }
a { color: var(--link, #2E4088); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
img, svg { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--border); margin: 3rem 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-800); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ layout --- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.tight { padding-block: clamp(2.2rem, 4.5vw, 3.2rem); }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 .9rem;
}

.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 0; }

.lede { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--text-muted); max-width: 60ch; }

.grid { display: grid; gap: 1.25rem; }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

.alt { background: var(--surface-2); }

/* ------------------------------------------------------------ header --- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  /* Opaque white, not a tint of the page: the header has to read as its own
     bar, otherwise the logo sits in a cream-on-cream field and disappears. */
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 2px 14px rgba(13, 22, 48, .09);
}
/* Brand rule along the bottom edge — gives the bar a defined end and carries
   the gold from the mark across the full width. */
.site-header::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400) 30%, transparent 78%);
}
/* The logo is dark ink and is never recoloured, so the header keeps a light
   surface in BOTH colour schemes — in dark mode the bar used to go near-black
   and the deep-green wordmark vanished into it. Tokens are re-scoped here
   rather than colours hard-coded, so the nav links, hover states, the current-
   page marker and the menu button all stay correct inside the bar. */
.site-header {
  --text:       #15192B;
  --text-muted: #666E86;
  --border:     #E7DFD1;
  --surface-2:  #F2EEE5;
  --accent:     #A8812B;
  --link:       #2E4088;
  --btn-bg:       var(--brand-800);
  --btn-bg-hover: var(--brand-700);
}

.topbar {
  background: var(--brand-900);
  color: #D8E5DE;
  font-size: .8rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: .4rem 1.6rem;
  align-items: center; justify-content: flex-end;
  padding-block: .5rem;
}
.topbar a { color: #E9F1ED; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar svg { width: 14px; height: 14px; flex: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar .tag { margin-right: auto; letter-spacing: .16em; text-transform: uppercase; font-size: .68rem; color: var(--gold-400); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 1.05rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand svg { width: 40px; height: 40px; flex: none; }

/* Official logo lockup. Height-driven so the aspect ratio is never forced. */
.brand .logo { display: block; height: 64px; width: auto; }
@media (max-width: 900px) { .brand .logo { height: 52px; } }
@media (max-width: 560px) { .brand .logo { height: 44px; } }
.footer-brand .logo { height: 46px; }
/* Light plate: lets the mark keep its real colours on a dark panel. */
.logo-plate {
  display: inline-block; background: #fff;
  padding: .6rem .85rem; border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.42rem; font-weight: 600; letter-spacing: .06em;
  line-height: 1; color: var(--text);
}
.brand-sub {
  display: block; font-family: var(--font-body);
  font-size: .56rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted); margin-top: .3rem; font-weight: 500;
}

.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a {
  text-decoration: none; color: var(--text);
  font-size: .92rem; font-weight: 500;
  padding: .55rem .8rem; border-radius: 7px;
}
.nav-links a:hover { background: var(--surface-2); color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 650; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: .5rem .6rem; cursor: pointer; color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .6rem var(--gutter) 1rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .3rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .btn { margin-top: .7rem; text-align: center; border-bottom: 0; }
  .topbar .tag { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* ----------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.35rem;
  border-radius: 8px; border: 1px solid transparent;
  font-size: .92rem; font-weight: 600; font-family: var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-border); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.btn-gold { background: var(--gold-600); color: #1B1405; }
.btn-gold:hover { background: var(--gold-500); color: #1B1405; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 17px; height: 17px; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

/* -------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(195,154,60,.16), transparent 62%),
    linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 46%, var(--brand-700) 100%);
  color: #F3F8F5;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 78% 0%, #000 8%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.hero .wrap.hero-split { padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.hero .wrap + .wrap { padding-top: 0; padding-bottom: clamp(2.2rem, 4vw, 3rem); }
.hero-inner .wrap { padding-block: clamp(2.8rem, 6vw, 4.4rem); }
.hero h1 { color: #fff; max-width: 19ch; }
.hero h1 em { font-style: normal; color: var(--gold-400); }

/* The brand line, set as the home page's heading. Script faces carry far less
   ink per point than a serif, so it needs a larger size and looser leading to
   hold the same weight in the layout; the descenders need the leading anyway. */
.hero h1.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  line-height: 1.24;
  letter-spacing: 0;
  /* wide enough that "Building Stronger Partnerships" holds one line, so the
     break falls where the <br> puts it rather than wherever the box ends */
  max-width: 24ch;
  color: #fff;
  /* Kaushan sits low in its em box and the first line's ascenders would
     otherwise crowd the eyebrow above it. */
  padding-top: .15em;
}
.hero h1.script .gold { color: var(--gold-400); }
@media (max-width: 560px) { .hero h1.script { font-size: clamp(1.75rem, 8.5vw, 2.4rem); } }
.hero .lede { color: #CFE0D8; max-width: 52ch; }
.hero .eyebrow { color: var(--gold-400); }

/* Hero split: copy left, vertical service rail right */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-rail { display: none; }
}

.hero-rail {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(0,0,0,.14);
  padding: 1.35rem 1.3rem;
  backdrop-filter: blur(2px);
}
.rail-title {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-400); margin: 0 0 .9rem; font-weight: 600;
}
.rail-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 0; text-decoration: none;
  color: #E6EFEA; font-size: .92rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.rail-item:last-of-type { border-bottom: 0; }
.rail-item:hover { color: var(--gold-400); }
.rail-ic {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(217,183,100,.14); color: var(--gold-400);
}
.rail-ic svg { width: 16px; height: 16px; }
.rail-link {
  display: inline-block; margin-top: 1rem;
  font-size: .82rem; font-weight: 600; color: var(--gold-400); text-decoration: none;
}
.rail-link:hover { color: #fff; }

.hero-strip {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  padding-top: 1.6rem;
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.hero-strip div { color: #CFE0D8; font-size: .86rem; }
.hero-strip strong {
  display: block; color: #fff; font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em;
}

/* ------------------------------------------------------------- cards --- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }

a.card { text-decoration: none; color: inherit; display: block; transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-400); color: inherit; }
a.card .more { color: var(--accent); font-size: .85rem; font-weight: 600; margin-top: .9rem; display: inline-block; }

.icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--gold-100); color: var(--brand-800);
}
.icon svg { width: 22px; height: 22px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon { background: rgba(217,183,100,.14); color: var(--gold-400); }
}

/* Feature list inside cards */
.ticks { list-style: none; margin: .9rem 0 0; padding: 0; }
.ticks li {
  position: relative; padding-left: 1.3rem; margin-bottom: .42rem;
  font-size: .92rem; color: var(--text-muted);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* -------------------------------------------------- service detail --- */

.svc {
  display: grid; gap: 1.8rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
  padding: clamp(1.8rem, 3.4vw, 2.6rem) 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 156px;
}
.svc:first-of-type { border-top: 0; }
.svc-aside .icon { width: 54px; height: 54px; }
.svc-aside h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
.svc-aside .who {
  font-size: .82rem; color: var(--text-muted);
  border-left: 2px solid var(--accent); padding-left: .8rem; margin-top: 1rem;
}
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

.cap-grid { display: grid; gap: .5rem 1.6rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ------------------------------------------------------------- stats --- */

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.pill {
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: .38rem .8rem; border-radius: 100px;
  border: 1px solid var(--border); color: var(--text-muted); background: var(--surface);
}

/* -------------------------------------------------------------- band --- */

.band {
  background: var(--brand-800);
  color: #E8F1ED;
  border-radius: 14px;
  padding: clamp(1.8rem, 4vw, 3rem);
}
.band h2 { color: #fff; }
.band p { color: #C7DAD1; }

/* ------------------------------------------------------------ tables --- */

.facts { width: 100%; border-collapse: collapse; font-size: .95rem; }
.facts th, .facts td { text-align: left; padding: .78rem .2rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.facts th { width: 38%; font-weight: 600; color: var(--text); }
.facts td { color: var(--text-muted); }

/* -------------------------------------------------------------- form --- */

.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--text); }
.req { color: var(--err); }

input, select, textarea {
  width: 100%; font: inherit; font-size: .95rem;
  padding: .7rem .8rem;
  color: var(--text); background: var(--surface);
  /* Own token: on the dark page the card and the field share a background, so
     the field is defined by its border alone and --border is too faint. */
  border: 1px solid var(--field-border); border-radius: 8px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(195,154,60,.18); }

.hp { position: absolute !important; left: -9999px; }

.form-note { font-size: .82rem; color: var(--text-muted); margin-top: .9rem; }
.form-status { margin-top: 1rem; font-size: .92rem; font-weight: 600; display: none; }
.form-status.ok { display: block; color: var(--ok); }
.form-status.err { display: block; color: var(--err); }

/* ------------------------------------------------------------ career --- */

.role {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.role-head {
  background: var(--brand-800); color: #fff;
  padding: 1.5rem clamp(1.2rem, 3vw, 2rem);
}
.role-head h2 { color: #fff; margin-bottom: .3rem; }
/* On the dark page the navy band and the card behind it are nearly the same
   value, so the band needs an edge of its own. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .role-head { border-bottom: 2px solid var(--gold-600); }
}
:root[data-theme="dark"] .role-head { border-bottom: 2px solid var(--gold-600); }
.role-head .meta { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: .85rem; color: #C7DAD1; }
.role-head .meta span { display: inline-flex; align-items: center; gap: .45rem; }
.role-head .meta svg { width: 16px; height: 16px; flex: none; }
.role-body { padding: clamp(1.3rem, 3vw, 2rem); }

/* ------------------------------------------------------------ footer --- */

.site-footer { background: var(--brand-900); color: #B9CCC3; font-size: .9rem; margin-top: 2rem; }
.site-footer a { color: #DCE8E2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-top { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: .5rem; }
.footer-brand svg { width: 42px; height: 42px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.2rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .8rem; color: #8FA79C;
}
.footer-bottom .motto { letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); font-size: .68rem; }

/* -------------------------------------------------------- whatsapp --- */

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 29px; height: 29px; }

@media print {
  .site-header, .wa-float, .btn-row { display: none !important; }
  body { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
