/* =====================================================
   ISAHAKIA COMMUNITY OF KENYA — STYLESHEET
   ===================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --cream: #f7e5c6;
  --cream-dark: #f0d4a8;
  --terracotta: #b2571f;
  --terracotta-dark: #8f4115;
  --terracotta-light: #d4733e;
  --olive: #857747;
  --olive-dark: #6a5d38;
  --olive-light: #a89660;
  --dark: #1a1208;
  --dark-mid: #2d1f0a;
  --text-dark: #2c1e0e;
  --text-mid: #5a4a30;
  --text-light: #8a7a62;
  --white: #ffffff;

  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  --shadow-sm: 0 2px 8px rgba(26, 18, 8, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 18, 8, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 18, 8, 0.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 76px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
}

/* ---------- Section Utilities ---------- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--ff-heading);
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--text-mid);
  font-size: var(--fs-lg);
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn--primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(178, 87, 31, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 229, 198, 0.5);
}

.btn--outline:hover {
  background: rgba(247, 229, 198, 0.15);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn--terracotta {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn--terracotta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(178, 87, 31, 0.3);
}

.btn--full {
  width: 100%;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(26, 18, 8, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav__logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(178, 87, 31, 0.6);
  background: var(--cream);
  flex-shrink: 0;
  padding: 2px;
}

.nav__brand-name {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.75rem);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(247, 229, 198, 0.85);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--terracotta-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav__link:hover {
  color: var(--cream);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link--cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(178, 87, 31, 0.4);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-landscape.png');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.hero__bg.loaded {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(26, 18, 8, 0.55) 0%,
      rgba(26, 18, 8, 0.4) 50%,
      rgba(26, 18, 8, 0.75) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 clamp(1rem, 5vw, 2rem);
  padding-top: var(--nav-h);
}

.hero__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(var(--fs-4xl), 8vw, 5.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--terracotta-light);
}

.hero__subtitle {
  color: rgba(247, 229, 198, 0.85);
  font-size: clamp(var(--fs-base), 2.5vw, var(--fs-lg));
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 229, 198, 0.6);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(247, 229, 198, 0.6), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.6;
  }

  50% {
    transform: scaleY(0.6);
    opacity: 0.3;
  }
}

/* ---------- STATS ---------- */
.stats {
  background: linear-gradient(135deg, var(--dark), var(--dark-mid));
  padding: 3rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid rgba(247, 229, 198, 0.1);
}

.stats__item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(247, 229, 198, 0.1);
  transition: background var(--transition);
}

.stats__item:hover {
  background: rgba(178, 87, 31, 0.12);
}

.stats__number {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats__label {
  font-size: var(--fs-sm);
  color: var(--olive-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.about__image-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about__image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--terracotta);
  color: var(--cream);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about__image-badge span {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}

.about__image-badge strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 1.75rem;
  font-weight: 700;
}

.about__lead {
  font-size: var(--fs-lg);
  color: var(--text-dark);
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.about__text {
  color: var(--text-mid);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

/* ---------- HISTORY ---------- */
.history {
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--terracotta), var(--olive-light));
  transform: translateX(-50%);
}

.timeline__item {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 3.5rem;
  position: relative;
}

.timeline__item--left {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline__item--right {
  flex-direction: row;
  text-align: left;
  padding-left: calc(50% + 1.25rem);
}

.timeline__item--left {
  padding-right: calc(50% + 1.25rem);
}

.timeline__dot {
  position: absolute;
  left: 50%;
  top: 1.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--terracotta);
  transform: translateX(-50%);
  z-index: 1;
  flex-shrink: 0;
}

.timeline__card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(133, 119, 71, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
  flex: 1;
}

.timeline__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline__year {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(178, 87, 31, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.timeline__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.timeline__text {
  color: var(--text-mid);
  font-size: var(--fs-sm);
  line-height: 1.85;
}

/* ---------- VALUES ---------- */
.values {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
}

.values .section__eyebrow {
  color: var(--terracotta-light);
}

.values .section__title {
  color: var(--cream);
}

.values .section__desc {
  color: rgba(247, 229, 198, 0.7);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.values__card {
  background: rgba(247, 229, 198, 0.05);
  border: 1px solid rgba(247, 229, 198, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
}

.values__card:hover {
  background: rgba(247, 229, 198, 0.1);
  border-color: rgba(178, 87, 31, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.values__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--cream);
}

.values__icon svg {
  width: 28px;
  height: 28px;
}

.values__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}

.values__text {
  color: rgba(247, 229, 198, 0.7);
  font-size: var(--fs-sm);
  line-height: 1.9;
}

/* ---------- EVENTS ---------- */
.events {
  background: var(--cream);
}

.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.events__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(133, 119, 71, 0.12);
  transition: all var(--transition);
  flex-direction: column;
}

.events__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.events__date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: 1rem;
  flex-shrink: 0;
  min-width: 72px;
  text-align: center;
  flex-direction: column;
  align-self: flex-start;
}

.events__day {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.events__month {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.events__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  background: rgba(133, 119, 71, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.events__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.events__text {
  color: var(--text-mid);
  font-size: var(--fs-sm);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.events__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: var(--fs-xs);
  color: var(--text-light);
  font-weight: 500;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(133, 119, 71, 0.15);
}

/* ---------- GALLERY ---------- */
.gallery {
  background: var(--white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery__item--wide {
  grid-row: 1 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 18, 8, 0.85) 0%, transparent);
  color: var(--cream);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery__item:hover .gallery__caption {
  transform: translateY(0);
}

.gallery__placeholder {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border: 2px dashed rgba(133, 119, 71, 0.3);
}

.gallery__placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  text-align: center;
  font-size: var(--fs-sm);
  padding: 1rem;
}

.gallery__placeholder-inner svg {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

/* ---------- QUOTE BANNER ---------- */
.quote-banner {
  background: linear-gradient(135deg, var(--terracotta-dark), var(--terracotta));
  padding: 5rem 0;
}

.quote {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.quote__text {
  font-family: var(--ff-heading);
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl));
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.quote__cite {
  font-size: var(--fs-sm);
  color: rgba(247, 229, 198, 0.7);
  font-style: normal;
  letter-spacing: 0.1em;
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--cream);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact__text {
  color: var(--text-mid);
  font-size: var(--fs-lg);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(178, 87, 31, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--terracotta);
}

.contact__detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact__detail strong {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.contact__detail span {
  color: var(--text-mid);
  font-size: var(--fs-sm);
}

.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form__input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid rgba(133, 119, 71, 0.25);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form__input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(178, 87, 31, 0.12);
}

.form__input::placeholder {
  color: var(--text-light);
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
}

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a4a30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(133, 119, 71, 0.1);
  border: 1px solid rgba(133, 119, 71, 0.3);
  border-radius: var(--radius-sm);
  color: var(--olive-dark);
  font-size: var(--fs-sm);
  text-align: center;
}

.form__success.show {
  display: block;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247, 229, 198, 0.1);
  margin-bottom: 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(178, 87, 31, 0.4);
  background: var(--cream);
  flex-shrink: 0;
  padding: 4px;
}

.footer__name {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  color: var(--cream);
  font-weight: 700;
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--olive-light);
  font-style: italic;
  margin-top: 0.25rem;
}

.footer__logo-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(247, 229, 198, 0.08);
  border-bottom: 1px solid rgba(247, 229, 198, 0.08);
  margin-bottom: 2rem;
}

.footer__logo-large {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: var(--cream);
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(178, 87, 31, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.footer__logo-large:hover {
  transform: scale(1.04);
  box-shadow: 0 0 0 2px rgba(178, 87, 31, 0.5),
    0 12px 40px rgba(0, 0, 0, 0.5);
}

.footer__logo-caption {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  color: rgba(247, 229, 198, 0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__heading {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive-light);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  color: rgba(247, 229, 198, 0.6);
  font-size: var(--fs-sm);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--cream);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: rgba(247, 229, 198, 0.4);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__image-wrapper img {
    aspect-ratio: 16/9;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(26, 18, 8, 0.98);
    padding: 1.5rem;
    gap: 0.25rem;
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(247, 229, 198, 0.1);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__link {
    padding: 0.75rem 0;
    font-size: var(--fs-base);
    border-bottom: 1px solid rgba(247, 229, 198, 0.06);
  }

  .nav__link--cta {
    margin-top: 0.5rem;
    text-align: center;
    padding: 0.75rem;
  }

  .nav__hamburger {
    display: flex;
  }

  .timeline::before {
    left: 1.5rem;
  }

  .timeline__item--left,
  .timeline__item--right {
    flex-direction: row;
    text-align: left;
    padding-left: 4rem;
    padding-right: 0;
  }

  .timeline__dot {
    left: 1.5rem;
  }

  .values__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .events__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--wide {
    grid-row: auto;
  }

  .gallery__caption {
    transform: translateY(0);
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .contact__form-wrap {
    padding: 1.5rem;
  }
}