/* ==========================================================
   CampusRes — Design System
   Palette: Figma "Campus-Res" spec
   Fonts:   Cormorant Garamond (display) · DM Sans (body)
   ========================================================== */

/* ── Custom Properties ──────────────────────────────────── */
:root {
  --black:   #0B0C0E;
  --dark:    #111316;
  --card:    #181B20;
  --muted:   #8A8680;
  --red:     #C8391A;
  --gold:    #B8932A;
  --teal:    #1A6E8C;
  --cream:   #F4F0E8;
  --white:   #FFFFFF;
  --nav-h:   76px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 18px;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

/* ── Typography Scale ───────────────────────────────────── */
.display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.display--lg {
  font-size: clamp(64px, 10vw, 124px);
}
.display--md {
  font-size: clamp(40px, 6vw, 72px);
}
.display--sm {
  font-size: clamp(28px, 4vw, 48px);
}
.display--white { color: var(--white); }
.display--gold  { color: var(--gold);  }
.display--red   { color: var(--red);   }
.display--teal  { color: var(--teal);  }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow--red  { color: var(--red);  }
.eyebrow--gold { color: var(--gold); }
.eyebrow--teal { color: var(--teal); }

.body-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: #a82e15; border-color: #a82e15; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-teal:hover { background: #155a73; border-color: #155a73; transform: translateY(-1px); }

.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1ebe5c; border-color: #1ebe5c; transform: translateY(-1px); }

/* ── Navigation ─────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  padding: 0 36px;
  height: var(--nav-h);
  gap: 32px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-decoration: none;
}
.nav-logo img { width: 72px; height: auto; }
.nav-logo__tag {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  line-height: 1.3;
  max-width: 120px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
  justify-content: space-evenly;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
  padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(184,147,42,0.35);
}
.nav-links a.active {
  color: var(--gold);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav a.active { color: var(--gold); }

/* WhatsApp float */
#wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 200;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.45); }
#wa-float i { color: white; font-size: 26px; }

/* ── Layout Helpers ─────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: 120px 0; }
.section--sm { padding: 80px 0; }
.section--dark { background: var(--black); }
.section--card { background: var(--dark); }
.section--cream { background: var(--cream); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,12,14,0.92) 0%,
    rgba(11,12,14,0.55) 50%,
    rgba(11,12,14,0.25) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
}
.hero__location {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(60px, 9vw, 112px);
  font-weight: 600;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Stat Cards (dark) ──────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-card {
  background: var(--card);
  padding: 64px 48px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-card:last-child { border-right: none; }
.stat-card__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.stat-card__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Philosophy pills ───────────────────────────────────── */
.pill-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gold);
  border-radius: 100px;
  padding: 14px 24px;
  margin-bottom: 12px;
}
.pill-item__emoji { font-size: 28px; flex-shrink: 0; }
.pill-item__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  display: block;
  line-height: 1.2;
}
.pill-item__sub {
  font-size: 13px;
  font-weight: 400;
  color: rgba(11,12,14,0.65);
}

/* ── Service boxes ──────────────────────────────────────── */
.service-box {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-box__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Altitude stat grid ─────────────────────────────────── */
.alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}
.alt-card {
  background: var(--card);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.alt-card__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 16px;
}
.alt-card__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Location proximity list ────────────────────────────── */
.proximity-list { list-style: none; }
.proximity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}
.proximity-row:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.proximity-badge {
  background: var(--red);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Location visual strip ──────────────────────────────── */
.location-strip {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.location-strip__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.location-strip__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,12,14,0.55);
}
.location-strip__cards {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 4px;
  padding: 0 48px 48px;
}
.location-card {
  background: rgba(11,12,14,0.75);
  backdrop-filter: blur(12px);
  padding: 28px 32px;
  border-top: 2px solid transparent;
}
.location-card--red  { border-color: var(--red);  }
.location-card--teal { border-color: var(--teal); }
.location-card--gold { border-color: var(--gold); }
.location-card__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
}
.location-card--red  .location-card__num { color: var(--red);  }
.location-card--teal .location-card__num { color: var(--teal); }
.location-card--gold .location-card__num { color: var(--gold); }
.location-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

/* ── Science cards (cream bg section) ──────────────────── */
.science-card {
  background: var(--card);
  padding: 48px 40px;
  height: 100%;
}
.science-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.15;
}
.science-card__body {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ── Altitude comparison table ──────────────────────────── */
.altitude-table { width: 100%; border-collapse: collapse; }
.altitude-table tr { border-bottom: 1px solid rgba(255,255,255,0.07); }
.altitude-table td {
  padding: 16px 0;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
}
.altitude-table td:first-child { font-weight: 500; color: white; }
.altitude-table td:last-child  { text-align: right; font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--gold); }
.altitude-table tr.highlight td { color: var(--red); }
.altitude-table tr.highlight td:last-child { color: var(--red); }

/* ── About section ──────────────────────────────────────── */
.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
}
.about-photo-grid img {
  width: 100%; height: 280px;
  object-fit: cover;
  display: block;
}
.about-photo-grid .full-width {
  grid-column: 1 / -1;
  height: 200px;
}

/* ── Booking box ────────────────────────────────────────── */
.booking-box {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 48px;
  background: var(--card);
}
.booking-box__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.booking-box__label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── Amenity strip (3-item, black bg) ───────────────────── */
.amenity-strip {
  background: #000000;
  padding: 40px 0;
}
.amenity-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
}
.amenity-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.amenity-chip i {
  font-size: 32px;
  color: var(--gold);
}
.amenity-chip span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}
@media (max-width: 768px) {
  .amenity-strip__inner { gap: 32px; }
  .amenity-chip i { font-size: 24px; }
}

/* ── Google Reviews ──────────────────────────────────────── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 2px;
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review-card__avatar--initials {
  background: var(--red);
  color: white;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-card__name  { font-size: 14px; font-weight: 600; color: #111; }
.review-card__time  { font-size: 12px; color: #999; margin-top: 1px; }
.review-card__stars { font-size: 15px; letter-spacing: 1px; }
.review-card__body  { font-size: 14px; color: #444; line-height: 1.65; }
@media (max-width: 1024px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .review-grid { grid-template-columns: 1fr; } }

/* ── Facilities photo grid ──────────────────────────────── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 4px;
}
.facilities-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.facilities-grid img:hover { transform: scale(1.04); }
.facilities-grid .span-2 { grid-column: span 2; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo img { width: 80px; margin-bottom: 12px; }
.footer-logo p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 15px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--red); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ── AOS Overrides ──────────────────────────────────────── */
[data-aos] { will-change: transform, opacity; }

/* ── Utility grids ──────────────────────────────────────── */
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav-inner  { padding: 0 32px; }
  .stat-grid  { grid-template-columns: 1fr; }
  .stat-card  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .grid-4col  { grid-template-columns: 1fr 1fr; }
  .grid-3col  { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .container { padding: 0 20px; }
  .nav-inner  { padding: 0 20px; gap: 16px; }
  .nav-links  { display: none; }
  .nav-hamburger { display: flex; }
  .section  { padding: 72px 0; }
  .alt-grid { grid-template-columns: 1fr; }
  .grid-2col { grid-template-columns: 1fr; gap: 40px; }
  .grid-3col { grid-template-columns: 1fr; }
  .grid-4col { grid-template-columns: 1fr 1fr; }
  .location-strip__cards { grid-template-columns: 1fr; padding: 0 20px 24px; }
  .location-strip { height: auto; padding-top: 260px; }
  .about-photo-grid img { height: 180px; }
  .facilities-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 160px); }
  .facilities-grid .span-2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero__title { font-size: 52px; }
  .booking-box { padding: 32px 24px; }
}
