/* ==========================================================================
   THE SERVANTS OF INDIA SOCIETY — Choudwar Centre
   Stylesheet
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Fonts & Root Variables
   ------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary: #24108F;
  --primary-dark: #15153D;
  --accent: #C89B3C;
  --accent-dark: #a97f2a;
  --background: #F8F7F3;
  --white: #FFFFFF;
  --text: #333333;
  --muted: #666666;
  --light: #F1F3F7;
  --border: #E5E5E5;

  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;

  --container-max: 1200px;
  --radius: 4px;
  --shadow-soft: 0 2px 14px rgba(21, 21, 61, 0.08);
  --shadow-card: 0 1px 3px rgba(21, 21, 61, 0.10), 0 1px 2px rgba(21, 21, 61, 0.06);
  --transition: 0.2s ease;
}

/* -------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--background);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

.container-narrow {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: 4.5rem 0;
}

@media (max-width: 767.98px) {
  section {
    padding: 3rem 0;
  }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.55rem; }
  .section-intro {
    font-size: 0.96rem;
  }
}

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

.bg-primary-section {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.92);
}

.bg-primary-section h2,
.bg-primary-section h3 {
  color: var(--white);
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   3. Section Heading Pattern
   ------------------------------------------------------------------------- */

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.6rem;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-rule {
  width: 64px;
  height: 3px;
  background-color: var(--accent);
  border: 0;
  margin: 0.9rem 0 1.5rem;
}

.section-rule.center {
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 700px;
}

/* -------------------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------------------- */

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.7rem 1.6rem;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.01em;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(36, 16, 143, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(21, 21, 61, 0.26);
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}

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

.btn-outline-light-custom {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-outline-light-custom:hover {
  background-color: var(--white);
  color: var(--primary-dark);
}

.btn-outline-primary-custom {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary-custom:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(21, 21, 61, 0.15);
}

/* -------------------------------------------------------------------------
   5. Header / Navigation
   ------------------------------------------------------------------------- */

.top-strip {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 0.4rem 0;
  overflow-wrap: anywhere;
}

.top-strip a {
  color: rgba(255, 255, 255, 0.85);
}

.top-strip a:hover {
  color: var(--accent);
}

.top-strip .divider {
  margin: 0 0.6rem;
  opacity: 0.4;
}

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 66px;
  width: auto;
}

@media (max-width: 575.98px) {
  .brand-logo {
    height: 48px;
  }
}

.main-nav .nav-link {
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 0.8rem !important;
  font-size: 0.95rem;
  position: relative;
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1200px) {
  .main-nav .nav-link {
    padding: 0.5rem 0.55rem !important;
    font-size: 0.88rem;
  }
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: var(--primary);
}

.main-nav .nav-link.active {
  color: var(--primary);
}

.main-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.15rem;
  height: 2px;
  background-color: var(--accent);
}

.nav-cta {
  margin-left: 0.5rem;
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.35rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(36, 16, 143, 0.25);
}

@media (max-width: 991.98px) {
  .main-nav .nav-link.active::after {
    display: none;
  }
  .main-nav .nav-link.active {
    border-left: 3px solid var(--accent);
    padding-left: 0.8rem !important;
  }
  .nav-cta {
    margin: 0.75rem 0 0.25rem;
    display: inline-block;
  }
}

/* -------------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background-color: #EEF1FA;
  background-image: linear-gradient(165deg, #E9EDF8 0%, #F4F6FB 45%, #EAEEF9 100%);
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 640px 420px at 100% 0%, rgba(36, 16, 143, 0.09) 0%, transparent 70%),
    radial-gradient(ellipse 520px 420px at 0% 100%, rgba(199, 155, 55, 0.07) 0%, transparent 70%);
  background-repeat: no-repeat;
}

@media (max-width: 767.98px) {
  .hero-pattern {
    background-image:
      radial-gradient(ellipse 420px 320px at 100% 0%, rgba(36, 16, 143, 0.09) 0%, transparent 70%);
  }
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-left: 1.6rem;
  border-left: 3px solid var(--accent);
}

@media (max-width: 991.98px) {
  .hero-content {
    padding-left: 1.1rem;
    border-left-width: 2px;
  }
}

.hero-eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  display: inline-block;
}

.hero-rule {
  width: 56px;
  height: 3px;
  background-color: var(--accent);
  border: 0;
  opacity: 1;
  margin: 0.85rem 0 1.4rem;
}

.hero h1 {
  font-size: 2.75rem;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text);
  margin-bottom: 1.75rem;
  max-width: 560px;
}

.hero-actions .btn {
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-timeline {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  max-width: 480px;
}

.hero-timeline-item {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 2rem;
}

.hero-timeline-item:not(:first-child) {
  padding-left: 2rem;
}

.hero-timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  right: 0;
  bottom: 0.15rem;
  width: 1px;
  background-color: var(--border);
}

.hero-timeline-item dt {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--primary);
  line-height: 1;
  margin: 0 0 0.3rem;
}

.hero-timeline-item dd {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.01em;
}

.hero-figure {
  position: relative;
  padding: 6px 20px 1.5rem 0;
}

.hero-figure-backdrop {
  position: absolute;
  inset: 6px 20px 1.5rem 0;
  background-color: var(--primary-dark);
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  transform: translate(20px, 20px);
  z-index: 0;
}

.hero-figure-frame {
  position: relative;
  z-index: 1;
  padding: 10px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(21, 21, 61, 0.22), 0 6px 16px rgba(21, 21, 61, 0.1);
}

.hero-figure-frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}

.hero-figure-frame img {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 2px;
}

.hero-seal {
  position: absolute;
  left: -18px;
  bottom: -6px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px var(--white), 0 10px 24px rgba(21, 21, 61, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.hero-seal-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.hero-seal-year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary-dark);
  line-height: 1.15;
}

.hero-figure-caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.1rem;
  font-style: italic;
}

@media (max-width: 767.98px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }
  .hero h1 {
    font-size: 1.95rem;
  }
  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }
  .hero-timeline {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
  }
  .hero-timeline-item {
    padding-right: 1.5rem;
  }
  .hero-timeline-item:not(:first-child) {
    padding-left: 1.5rem;
  }
  .hero-timeline-item dt {
    font-size: 1.4rem;
  }
  .hero-figure {
    padding: 4px 14px 1.5rem 0;
  }
  .hero-figure-backdrop {
    inset: 4px 14px 1.5rem 0;
    transform: translate(14px, 14px);
  }
  .hero-seal {
    width: 74px;
    height: 74px;
    left: -10px;
    bottom: -10px;
  }
  .hero-seal-year {
    font-size: 1.05rem;
  }
  .hero-seal-label {
    font-size: 0.52rem;
  }
}

/* Page header banner (interior pages) */

.page-banner {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.92);
  padding: 3rem 0 2.5rem;
  border-bottom: 3px solid var(--accent);
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-banner .breadcrumb-custom {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.page-banner .breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.8);
}

.page-banner .breadcrumb-custom a:hover {
  color: var(--accent);
}

.page-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 700px;
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   7. Our Story / History split sections
   ------------------------------------------------------------------------- */

.story-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.story-year {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.spanned-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 0.65rem;
  column-gap: 1.5rem;
}

.spanned-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.4;
}

.spanned-list li i {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

@media (min-width: 480px) {
  .spanned-list {
    grid-template-columns: 1fr 1fr;
  }
}

.story-year .num {
  font-size: 2.2rem;
  line-height: 1;
}

/* Full-width historical statement band */

.statement-band {
  background-color: var(--primary);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.statement-band blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.55;
  max-width: 820px;
  margin: 0 auto 1rem;
}

.statement-band cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .statement-band blockquote {
    font-size: 1.2rem;
  }
}

/* -------------------------------------------------------------------------
   8. Areas of Service (icon list, not a repetitive card grid)
   ------------------------------------------------------------------------- */

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.service-row:last-child {
  border-bottom: none;
}

.service-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--border);
}

.service-row h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.service-row p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* -------------------------------------------------------------------------
   9. Cards (used sparingly — activities, career)
   ------------------------------------------------------------------------- */

.card-institutional {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  height: 100%;
  overflow: hidden;
}

.card-institutional .card-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--light);
}

.card-institutional .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-institutional:hover .card-img-wrap img {
  transform: scale(1.04);
}

.card-institutional .card-body-custom {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card-institutional h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card-institutional p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 0;
}

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

/* Simple list card (activities without photos) */

.activity-plain-list {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}

.activity-plain-list ul {
  columns: 2;
  -webkit-columns: 2;
  column-gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.activity-plain-list li {
  break-inside: avoid;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border);
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.98rem;
}

.activity-plain-list li::before {
  content: "—";
  color: var(--accent);
  margin-right: 0.5rem;
}

@media (max-width: 575.98px) {
  .activity-plain-list ul {
    columns: 1;
  }
}

/* -------------------------------------------------------------------------
   10. Children's Home / Sishu Greh spotlight sections
   ------------------------------------------------------------------------- */

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

.spotlight-img {
  overflow: hidden;
  height: 280px;
}

.spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .spotlight-img {
    height: 100%;
    min-height: 340px;
  }
}

.spotlight-body {
  padding: 2rem;
}

.spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.spotlight-tag {
  background-color: var(--light);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
}

/* -------------------------------------------------------------------------
   11. Gallery
   ------------------------------------------------------------------------- */

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1.75rem;
  cursor: pointer;
  background-color: var(--light);
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gallery-filter button {
  background-color: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.gallery-filter button:hover {
  border-color: var(--primary);
}

.gallery-filter button.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

#galleryLightbox .modal-content {
  background-color: rgba(15, 15, 35, 0.97);
  border: none;
}

#galleryLightbox .modal-body {
  text-align: center;
  padding: 1.5rem;
}

#galleryLightbox img {
  max-height: 78vh;
  margin: 0 auto;
  border: 4px solid var(--white);
}

#galleryLightbox .btn-close {
  filter: invert(1);
  opacity: 0.85;
}

#galleryLightbox .lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

#galleryLightbox .lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

#galleryLightbox .lightbox-prev { left: 1rem; }
#galleryLightbox .lightbox-next { right: 1rem; }

/* -------------------------------------------------------------------------
   12. Forms
   ------------------------------------------------------------------------- */

.form-panel {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.form-label {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.92rem;
}

.form-control,
.form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  font-size: 0.96rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 16, 143, 0.15);
}

.form-control.is-invalid {
  border-color: #b3261e;
}

.invalid-feedback {
  font-size: 0.82rem;
}

.form-text-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.required-mark {
  color: #b3261e;
}

.form-alert {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.form-alert-success {
  background-color: #eaf4ea;
  border-color: #b7d9b7;
  color: #275c27;
}

.form-alert-error {
  background-color: #fbeceb;
  border-color: #e3b9b6;
  color: #7a2823;
}

/* -------------------------------------------------------------------------
   13. Contact page
   ------------------------------------------------------------------------- */

.contact-info-block {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-block:last-child {
  border-bottom: none;
}

.contact-info-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.contact-info-block h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-info-block p,
.contact-info-block a {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.find-us-panel {
  background-color: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  height: 100%;
}

.find-us-panel address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   14. Career page
   ------------------------------------------------------------------------- */

.empty-state {
  text-align: center;
  padding: 3.5rem 2rem;
  background-color: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.empty-state .empty-icon {
  font-size: 2.5rem;
  color: var(--border);
  margin-bottom: 1rem;
}

.empty-state h3 {
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.job-card-template {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

/* -------------------------------------------------------------------------
   15. CTA band
   ------------------------------------------------------------------------- */

.cta-band {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 3.25rem 0;
  border-top: 3px solid var(--accent);
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   16. Footer
   ------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
  font-size: 0.92rem;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.footer-brand {
  margin-bottom: 1.25rem;
}

.footer-brand img {
  height: 60px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

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

.site-footer ul li {
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* -------------------------------------------------------------------------
   17. Subtle animation (used sparingly)
   ------------------------------------------------------------------------- */

.fade-in-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* -------------------------------------------------------------------------
   18. Skip link (accessibility)
   ------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* -------------------------------------------------------------------------
   19. Utility spacing
   ------------------------------------------------------------------------- */

.mb-section {
  margin-bottom: 2.5rem;
}

hr.divider-thin {
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

.preview-thumb {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.service-row-plain {
  border-bottom: none;
  padding: 0.4rem 0;
}

.field-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  height: 100%;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.field-item .service-icon {
  font-size: 1.5rem;
  width: 56px;
  height: 56px;
}

.field-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0;
}

.section-eyebrow-onDark {
  color: var(--accent);
}

.text-on-primary {
  color: rgba(255, 255, 255, 0.82);
}

.form-panel-heading {
  font-size: 1.3rem;
}
