/* ==========================================================================
   Fountainhead Infosolutions Pvt. Ltd. — Design System
   Modern responsive redesign
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand */
  --brand:        #0279ac;
  --brand-600:    #016a98;
  --brand-700:    #01567c;
  --brand-800:    #013f5c;
  --brand-900:    #022e44;

  --sky:          #99dffc;
  --sky-soft:     #e6f4fd;
  --paper:        #f4f9fc;
  --tint:         #fbfdfe;

  /* Logo palette (drawn from the original brand mark) */
  --c-blue:   #2f9fd8;
  --c-green:  #8cc63f;
  --c-yellow: #f7d117;
  --c-orange: #f7941e;
  --c-red:    #e8342c;
  --brand-strip: linear-gradient(90deg,
      var(--c-blue) 0 20%, var(--c-green) 20% 40%,
      var(--c-yellow) 40% 60%, var(--c-orange) 60% 80%,
      var(--c-red) 80% 100%);

  /* Neutrals */
  --ink:      #16303f;
  --ink-soft: #33505f;
  --muted:    #476375;
  --line:     #dde8f0;
  --line-soft:#eef4f8;
  --white:    #ffffff;

  /* Effects */
  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 60, .06), 0 2px 8px rgba(16, 42, 60, .05);
  --shadow-md: 0 4px 12px rgba(16, 42, 60, .08), 0 12px 32px rgba(16, 42, 60, .08);
  --shadow-lg: 0 10px 24px rgba(16, 42, 60, .10), 0 28px 60px rgba(16, 42, 60, .12);

  --container: 1180px;
  --gutter:    clamp(1.1rem, 4vw, 2.5rem);
  --header-h:  78px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-800); }
/* Inline links inside a paragraph sit among other text, so colour alone must
   not be the only thing setting them apart (WCAG 1.4.1). */
p a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--brand-800);
}
p { margin: 0 0 1.1em; }

:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--sky); color: var(--brand-900); }

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--brand-800);
  color: #fff;
  padding: .7rem 1.4rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 3. Layout ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.section--tint { background: var(--paper); }
.section--deep {
  background:
    radial-gradient(1200px 400px at 15% -10%, rgba(153, 223, 252, .18), transparent 60%),
    linear-gradient(160deg, var(--brand-800), var(--brand-900));
  color: #dcecf6;
}
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .feature-block {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
}
.section--deep .feature-block p { color: #dcecf6; }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
.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)); }

.stack > * + * { margin-top: 1rem; }

/* Section heading */
.sec-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: .7rem;
}
.section--deep .eyebrow { color: var(--sky); }

.rule {
  width: 56px;
  height: 4px;
  border-radius: 99px;
  background: var(--brand-strip);
  margin-bottom: 1.1rem;
}
.sec-head--center .rule { margin-inline: auto; }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .82rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: .97rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(2, 121, 172, .28);
}
.btn--primary:hover { background: var(--brand-700); color: #fff; }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn--ghost:hover { background: #fff; color: var(--brand-800); }

.btn--outline {
  background: #fff;
  color: var(--brand-700);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand-800); box-shadow: var(--shadow-sm); }

.btn__arrow { transition: transform .18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Text link with arrow */
.more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--brand-600);
}
.more::after { content: "\2192"; transition: transform .18s var(--ease); }
.more:hover::after { transform: translateX(4px); }

/* ---------- 5. Header ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s var(--ease);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--brand-strip);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

/* Logo: cropped from the original TopBgd.jpg artwork */
.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-shrink: 0;
  color: var(--brand-900);
}
.brand:hover { color: var(--brand-900); }

.brand__mark {
  width: 152px;
  aspect-ratio: 180 / 116;
  background: url("../img/TopBgd.jpg") no-repeat left top;
  background-size: 500% auto;   /* 5x width => shows the left 180px of the 900px art */
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-900);
}
.brand__sub {
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- 6. Navigation ------------------------------------------------ */
.nav { display: flex; align-items: center; gap: .15rem; }

.nav__list {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .62rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__link:hover { color: var(--brand-700); background: var(--sky-soft); }

.nav__link[aria-current="page"] { color: var(--brand-700); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .78rem;
  right: .78rem;
  bottom: .18rem;
  height: 3px;
  border-radius: 99px;
  background: var(--brand-strip);
}

.nav__caret {
  width: .55em;
  height: .55em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s var(--ease);
}

/* Dropdown */
.nav__item { position: relative; }
.nav__item:hover > .nav__link .nav__caret,
.nav__item:focus-within > .nav__link .nav__caret { transform: translateY(1px) rotate(225deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + .55rem);
  left: 0;
  min-width: 268px;
  margin: 0;
  padding: .5rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item:hover > .nav__menu,
.nav__item:focus-within > .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__menu--wide { min-width: 330px; }

.nav__menu a {
  display: block;
  padding: .58rem .72rem;
  border-radius: 7px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__menu a:hover { background: var(--sky-soft); color: var(--brand-800); }
.nav__menu a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.nav__cta { margin-left: .5rem; }
.nav__cta .btn { padding: .6rem 1.1rem; font-size: .88rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3.5px auto;
  background: var(--brand-800);
  border-radius: 2px;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% 0%, rgba(153, 223, 252, .55), transparent 62%),
    linear-gradient(150deg, var(--paper) 0%, #eaf5fc 55%, #dceffa 100%);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--brand-strip);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--brand-900);
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: normal;
  background: var(--brand-strip);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero__art img { width: 100%; aspect-ratio: 375 / 254; object-fit: cover; }
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(2, 121, 172, .18);
}
.hero__stat strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--brand-700);
  line-height: 1.1;
}
.hero__stat span { font-size: .87rem; color: var(--muted); }

/* ---------- 8. Page hero (inner pages) ----------------------------------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(800px 320px at 90% 0%, rgba(153, 223, 252, .18), transparent 65%),
    linear-gradient(140deg, var(--brand-800), var(--brand-900));
  color: #d9ebf6;
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--brand-strip);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  margin-bottom: .5rem;
}
.page-hero p { color: #b9d8ea; max-width: 62ch; margin: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: .84rem;
}
.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before {
  content: "/";
  color: rgba(255, 255, 255, .45);
}
.breadcrumb a { color: var(--sky); font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- 9. Content / prose ------------------------------------------- */
.prose { font-size: 1.02rem; color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2rem; }
.prose h3 { font-size: 1.16rem; margin-top: 1.6rem; color: var(--brand-700); }
.prose ul { padding-left: 1.15rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--brand-900); }

/* Split: text + image (mirrors the original 2-column content block) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.split--reverse .split__media { order: -1; }

.figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--paper);
}
.figure img { width: 100%; object-fit: cover; }
.figure figcaption {
  padding: .75rem 1rem;
  font-size: .84rem;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line-soft);
}

/* ---------- 10. Feature lists -------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.features li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--ink-soft);
  font-size: .97rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--brand-strip);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5.2 5.2L20 6.8'/%3E%3C/svg%3E") center/100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5.2 5.2L20 6.8'/%3E%3C/svg%3E") center/100% no-repeat;
}
.features--single { grid-template-columns: minmax(0, 1fr); }

.feature-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2vw, 1.6rem);
}
.feature-block h3 { font-size: 1.02rem; margin-bottom: .9rem; }

/* Bullet list (dot marker) */
.dots { list-style: none; margin: 0; padding: 0; }
.dots li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .55rem;
  font-size: .96rem;
  color: var(--ink-soft);
}
.dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- 11. Cards ---------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__media { background: var(--paper); overflow: hidden; }
.card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media--thumb img { aspect-ratio: 244 / 60; object-fit: cover; }

.card__body {
  padding: clamp(1.1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: .55rem;
}
.card h3 { font-size: 1.13rem; margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 1.1rem; }
.card .more { margin-top: auto; }

/* Numbered / stat cards */
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

.pill {
  display: inline-block;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--brand-700);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- 12. CTA band ------------------------------------------------- */
.cta {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-800) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.cta h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 0 0 .4rem; position: relative; }
.cta p { margin: 0; color: #d3ecf9; position: relative; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; }
.cta .btn--primary { background: #fff; color: var(--brand-800); box-shadow: none; }
.cta .btn--primary:hover { background: var(--sky); color: var(--brand-900); }

/* ---------- 13. Contact -------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
}
.contact-card__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-strip);
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
}
.contact-card address { font-style: normal; color: var(--ink-soft); font-size: .96rem; }
.contact-card dl { margin: 0; font-size: .96rem; }
.contact-card dt { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-card dd { margin: .15rem 0 .85rem; color: var(--ink-soft); }
.contact-card dd:last-child { margin-bottom: 0; }

.map-frame {
  border: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- 14. Footer --------------------------------------------------- */
.site-footer {
  background: var(--brand-900);
  color: #a9c9dc;
  font-size: .93rem;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: var(--brand-strip);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #8fb6cd; }
.footer__brand p { color: #93b9cf; margin-top: 1.1rem; max-width: 38ch; font-size: .92rem; }

.footer h2 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: .55rem; }
.footer__links a { color: #a9c9dc; }
.footer__links a:hover { color: #fff; }

.footer__contact li { display: flex; gap: .6rem; margin-bottom: .7rem; color: #a9c9dc; }
.footer__contact a { color: #a9c9dc; }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .85rem;
  color: #82a9c1;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: #a9c9dc; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- 15. Utilities ------------------------------------------------ */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.bg-paper { background: var(--paper); }

/* ---------- 16. Responsive ----------------------------------------------- */
@media (max-width: 1200px) {
  /* --- Navigation collapses before it can overflow the header --- */
  :root { --header-h: 68px; }

  .nav-toggle { display: grid; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: .6rem var(--gutter) 1.25rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: .95rem .25rem;
    font-size: 1rem;
    border-radius: 0;
  }
  .nav__link:hover { background: transparent; }
  .nav__link[aria-current="page"]::after { left: .25rem; right: auto; width: 26px; bottom: .55rem; }

  /* Accordion submenu */
  .nav__menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: var(--paper);
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    display: block;
    padding: .35rem .25rem .75rem 1rem;
    margin-bottom: .5rem;
  }
  /* Collapsed only when JS is available, so the menu still works without it */
  html.js .nav__menu { display: none; }
  html.js .nav__item.is-expanded > .nav__menu { display: block; }
  .nav__menu--wide { min-width: 0; }
  .nav__menu a { padding: .6rem .7rem; }
  .nav__item:hover > .nav__menu,
  .nav__item:focus-within > .nav__menu { transform: none; }

  .nav__caret { transition: transform .2s var(--ease); }
  .nav__item.is-expanded > .nav__link .nav__caret { transform: translateY(2px) rotate(225deg); }

  .nav__cta { margin: 1.1rem 0 0; display: block; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__art { order: -1; }
  .split, .split--even { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .cta { flex-direction: column; align-items: flex-start; }
  .hero__stats { gap: 1.4rem 2rem; }
  .brand__text { display: none; }
}

@media (max-width: 460px) {
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- 17. Motion & print ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .site-footer, .cta, .nav-toggle { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
