/* =====================================================
   Jorden Corporation - Restored static site
   Design system based on the archived 2024/2025 theme
   Palette: #f3faff bg | #212529 ink | #0a0a0a headings
            #3b4856 slate | #dce1e7 light | #009dff accent
   ===================================================== */

:root {
  --bg: #f3faff;
  --ink: #212529;
  --heading: #0a0a0a;
  --slate: #3b4856;
  --slate-dark: #2c3742;
  --light: #dce1e7;
  --accent: #009dff;
  --accent-dark: #004494;
  --muted: #8faece;
  --white: #ffffff;
  --border: rgba(59, 72, 86, 0.18);
  --shadow: 0 10px 30px rgba(17, 35, 55, 0.08);
  --radius: 4px;
  --serif: "Times New Roman", Georgia, "Times New Roman", serif;
  --container: 1140px;
}

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

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

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--slate);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover,
a:focus {
  color: var(--accent-dark);
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  color: var(--heading);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 23px;
}

h4 {
  font-size: 19px;
}

h5 {
  font-size: 16px;
}

/* ---------------- Layout helpers ---------------- */
.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

.container--narrow {
  max-width: 880px;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section--light {
  background-color: var(--light);
}

.section--dark {
  background-color: var(--slate);
  color: var(--light);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--light);
}

.section--dark a {
  color: #cfe6ff;
}

.section--dark a:hover {
  color: var(--white);
}

.section--white {
  background-color: var(--white);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: 18px;
}

.divider {
  width: 60%;
  max-width: 320px;
  height: 2px;
  border: 0;
  margin: 0 auto 28px;
  background-color: var(--slate);
  opacity: 0.7;
}

.divider--light {
  background-color: var(--light);
  opacity: 0.5;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  background-color: var(--slate);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: var(--accent-dark);
  border-color: var(--ink);
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--slate);
}

.btn--outline:hover,
.btn--outline:focus {
  background-color: var(--slate);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 26px;
}

/* ---------------- Header / navigation ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--light);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 22px rgba(17, 35, 55, 0.14);
}

.site-header__inner {
  text-align: center;
  padding: 16px 0 0;
}

.site-logo {
  display: inline-block;
  line-height: 0;
}

.site-logo img {
  max-height: 74px;
  width: auto;
  margin: 0 auto;
}

.site-nav {
  display: block;
}

.site-nav__toggle {
  display: none;
}

.site-nav__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: inline-block;
  padding: 14px 16px 18px;
  color: #000000;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-nav__link:hover,
.site-nav__link:focus {
  color: var(--accent-dark);
}

.site-nav__item.is-current > .site-nav__link {
  color: var(--muted);
}

.site-nav__item.has-children > .site-nav__link::after {
  content: " \25BE";
  font-size: 11px;
}

.site-nav__submenu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  background-color: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 20;
}

.site-nav__item.has-children:hover > .site-nav__submenu,
.site-nav__item.has-children:focus-within > .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.site-nav__submenu a {
  display: block;
  padding: 10px 22px;
  color: var(--slate);
  font-size: 15px;
  letter-spacing: 0.4px;
  text-align: left;
}

.site-nav__submenu a:hover,
.site-nav__submenu a:focus {
  background-color: var(--bg);
  color: var(--accent-dark);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding: 120px 0;
  background-color: var(--slate);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(59, 72, 86, 0.6);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 900px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(59, 72, 86, 0.45);
  margin-bottom: 14px;
}

.hero__sub {
  display: block;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: #eef6ff;
  text-shadow: 0 1px 4px rgba(59, 72, 86, 0.45);
  margin: 0 auto 26px;
  max-width: 760px;
}

.hero--page {
  min-height: 380px;
  padding: 84px 0;
}

.hero--page .hero__title {
  font-size: clamp(26px, 3.6vw, 44px);
  margin-bottom: 0;
}

/* ---------------- Breadcrumbs ---------------- */
.breadcrumbs {
  background-color: var(--light);
  font-size: 14px;
  padding: 12px 0;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--slate);
}

.breadcrumbs [aria-current="page"] {
  color: var(--accent-dark);
  font-weight: 600;
}

/* ---------------- Alternate / feature rows ---------------- */
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature__body h2,
.feature__body h3 {
  margin-bottom: 14px;
}

/* ---------------- Card grids ---------------- */
.grid {
  display: grid;
  gap: 32px;
}

.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--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__body h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.card__body p {
  margin-bottom: 16px;
}

.card__body .card__link {
  margin-top: auto;
  font-weight: 700;
  color: var(--accent-dark);
}

.card__body .card__link:hover {
  color: var(--accent);
}

/* Service / value cards */
.value-card {
  background-color: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.value-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

/* ---------------- Checklist ---------------- */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0 0 12px 34px;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

/* ---------------- Testimonials ---------------- */
.testimonial {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial__stars {
  color: #f5a623;
  letter-spacing: 2px;
  font-size: 16px;
  margin-bottom: 8px;
}

.testimonial__rating {
  color: var(--slate);
  font-size: 14px;
  margin-left: 6px;
}

.testimonial__title {
  font-size: 19px;
  margin-bottom: 10px;
}

.testimonial__text {
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial__author {
  margin-top: auto;
  font-weight: 700;
  color: var(--slate);
}

/* ---------------- Person / team ---------------- */
.person {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
}

.person img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-color: var(--light);
  padding: 10px;
}

.person h3 {
  font-size: 19px;
  margin-bottom: 2px;
}

.person p {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
}

.person--finance {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.person--finance img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0;
  padding: 0;
  background: none;
}

.person--finance h3 {
  font-size: 26px;
}

.person--finance .role {
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
}

/* ---------------- Gallery ---------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

/* ---------------- Contact / forms ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 44px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 8px;
}

.contact-info a {
  font-weight: 700;
  color: var(--slate);
}

.contact-info a:hover {
  color: var(--accent-dark);
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 15px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #9fb0c2;
  border-radius: var(--radius);
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-note {
  font-size: 14px;
  color: var(--slate);
}

/* ---------------- CTA band ---------------- */
.cta {
  text-align: center;
}

.cta h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background-color: var(--slate);
  color: var(--light);
  padding: 60px 0 0;
}

.site-footer a {
  color: #cfe6ff;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.site-footer h4 {
  color: var(--bg);
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 180px;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-address {
  margin-bottom: 14px;
}

.footer-contact {
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.footer-social img {
  width: 20px;
  height: 20px;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  background-color: rgba(33, 37, 41, 0.32);
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
  color: var(--light);
}

.footer-bottom p {
  margin: 0;
}

/* ---------------- Legal pages ---------------- */
.legal h2 {
  margin-top: 34px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal ul {
  padding-left: 1.4em;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .grid--4,
  .grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    gap: 32px;
    margin-bottom: 56px;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-logo img {
    max-height: 54px;
  }

  .site-nav__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--slate);
    border-radius: var(--radius);
    cursor: pointer;
  }

  .site-nav__toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--slate);
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
    border-top: 1px solid var(--border);
  }

  .site-nav__link {
    display: block;
    padding: 14px 6px;
    border-bottom: 1px solid var(--border);
  }

  .site-nav__submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-top: 0;
    background-color: rgba(255, 255, 255, 0.6);
    padding-left: 16px;
    display: none;
  }

  .site-nav__item.has-children.is-open > .site-nav__submenu {
    display: block;
  }

  .site-nav__item.has-children > .site-nav__link::after {
    float: right;
  }
}

@media (max-width: 767px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .person--finance {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .person--finance img {
    max-width: 300px;
    margin: 0 auto;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 16px;
  }

  .footer-social {
    justify-content: center;
  }

  .hero {
    min-height: 440px;
    padding: 90px 0;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
  }
}
