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

:root {
  --green-900: #0B2215;
  --green-800: #1B4332;
  --green-700: #2D6A4F;
  --green-600: #40916C;
  --green-500: #52B788;
  --green-400: #74C69D;
  --green-300: #95D5B2;
  --green-200: #B7E4C7;
  --green-100: #D8F3DC;
  --off-white: #F6F5F0;
  --off-white-2: #EDECE6;
  --warm-gray: #6B6560;
  --dark: #1A1A18;
  --dark-soft: #2C2C28;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--off-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(11, 34, 21, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo--light {
  color: var(--white);
}

.logo__icon {
  color: var(--green-400);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav__links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: background var(--transition);
  margin-left: auto;
}

.nav__toggle:hover {
  background: rgba(255,255,255,0.1);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--accent {
  background: var(--green-500);
  color: var(--green-900);
  border: 2px solid var(--green-500);
}

.btn--accent:hover {
  background: var(--green-400);
  border-color: var(--green-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(82, 183, 136, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 34, 21, 0.92) 0%,
    rgba(11, 34, 21, 0.75) 50%,
    rgba(11, 34, 21, 0.5) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(82, 183, 136, 0.15);
  border: 1px solid rgba(82, 183, 136, 0.3);
  color: var(--green-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero__title--light {
  color: var(--green-300);
}

.hero__desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
  transition: color var(--transition);
}

.hero__scroll:hover {
  color: var(--green-400);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--green-800);
}

.section--cta {
  background: var(--green-900);
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
}

.section-label--light {
  color: var(--green-400);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--warm-gray);
}

.section-desc--light {
  color: rgba(255,255,255,0.65);
}

/* ─── ABOUT ─── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.about__img-secondary {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--off-white);
}

.about__img-secondary img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.about__text .section-label {
  margin-bottom: 16px;
}

.about__text .section-title {
  margin-bottom: 24px;
}

.about__text p {
  color: var(--warm-gray);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--off-white-2);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
}

.stat__label {
  font-size: 0.82rem;
  color: var(--warm-gray);
  font-weight: 500;
}

/* ─── DEPARTMENTS ─── */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dept-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.dept-card__img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.dept-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dept-card:hover .dept-card__img img {
  transform: scale(1.08);
}

.dept-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 67, 50, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.dept-card:hover .dept-card__overlay {
  opacity: 1;
}

.dept-card__overlay svg {
  color: var(--white);
  transform: scale(0.8);
  transition: transform var(--transition);
}

.dept-card:hover .dept-card__overlay svg {
  transform: scale(1);
}

.dept-card__body {
  padding: 24px;
}

.dept-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.dept-card__body p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ─── FEATURES ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-100);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  margin-bottom: 24px;
  transition: background var(--transition), color var(--transition);
}

.feature-card:hover .feature-card__icon {
  background: var(--green-700);
  color: var(--white);
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ─── CTA / LOCATION ─── */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cta-text .section-label {
  margin-bottom: 16px;
}

.cta-text .section-title {
  margin-bottom: 20px;
}

.cta-text .section-desc {
  margin-bottom: 40px;
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.cta-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.5;
}

.cta-info__item svg {
  color: var(--green-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.cta-info__item a {
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}

.cta-info__item a:hover {
  color: var(--green-400);
}

.cta-info__item strong {
  color: var(--white);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,0.1);
  aspect-ratio: 4/3;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__col h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__col ul a:hover {
  color: var(--green-400);
}

.footer__contact {
  gap: 16px;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer__contact svg {
  color: var(--green-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: var(--green-400);
}

.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer__bottom a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: var(--green-400);
}

/* ─── MOBILE MENU ─── */
.nav__links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(11, 34, 21, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav__links.open a {
  padding: 14px 16px;
  font-size: 1rem;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about__grid {
    gap: 48px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__content {
    padding: 120px 24px 100px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero__desc {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    justify-content: center;
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about__img-secondary {
    right: 0;
    bottom: -24px;
  }

  .about__stats {
    gap: 24px;
  }

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

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

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav__inner {
    padding: 0 16px;
  }

  .hero__content {
    padding: 100px 16px 80px;
  }

  .about__stats {
    flex-direction: column;
    gap: 20px;
  }

  .feature-card {
    padding: 28px;
  }
}
