:root {
  --ink: #0f1d2e;
  --muted: #516274;
  --paper: #f4f7f8;
  --card: #ffffff;
  --brand: #0f7f8b;
  --brand-dark: #095e68;
  --accent: #f0b429;
  --line: rgba(15, 29, 46, 0.12);
  --shadow: 0 20px 50px rgba(11, 27, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #f8fbfc 0%, #f4f7f8 45%, #eaf1f3 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

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

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(35px);
  z-index: -1;
  opacity: 0.55;
}

.ambient-top {
  width: 320px;
  height: 320px;
  background: #81d4cf;
  top: -100px;
  right: -50px;
}

.ambient-bottom {
  width: 360px;
  height: 360px;
  background: #ffd98a;
  bottom: -140px;
  left: -110px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
  backdrop-filter: blur(10px);
  background: rgba(244, 247, 248, 0.8);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.nav a.active {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 10px;
  background: white;
  font-family: "Space Grotesk", sans-serif;
}

main,
.footer {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

main#home {
  display: flex;
  flex-direction: column;
}

main#home .hero {
  order: 1;
}

main#home #apartments {
  order: 2;
}

main#home #why-us {
  order: 3;
}

main#home #checkin {
  order: 4;
}

main#home #location {
  order: 5;
}

main#home #faq {
  order: 6;
}

.hero {
  position: relative;
  width: 100vw;
  min-height: 620px;
  display: flex;
  align-items: center;
  margin: 28px 0 0 calc((100% - 100vw) / 2);
  padding: 76px 7vw;
  overflow: hidden;
  border-radius: 0;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  color: #fff;
}

.hero-copy .eyebrow {
  color: #f6c95f;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 52ch;
}

.hero-copy .quick-points {
  color: rgba(255, 255, 255, 0.88);
}

.hero-home .hero-actions {
  margin-top: 30px;
}

.hero-home .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 32, 0.58);
}

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

.hero-note {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(7, 22, 32, 0.58);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-note-mark {
  color: #f6c95f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  margin-bottom: 14px;
}

.lead {
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--brand) 0%, #1f9aa7 100%);
  color: white;
  font-weight: 700;
  padding: 12px 18px;
  box-shadow: 0 10px 20px rgba(15, 127, 139, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(15, 127, 139, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.9rem;
}

.quick-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.quick-points li::before {
  content: "\2022";
  color: var(--accent);
  margin-right: 7px;
}

.subhero {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.subhero img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.faq-intro {
  width: min(760px, 92vw);
  margin: 42px auto 0;
  text-align: center;
}

.faq-intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.faq-intro p {
  margin-top: 8px;
  color: var(--muted);
}

.faq-list {
  width: min(760px, 92vw);
  margin: 38px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.panel,
.timeline,
.faq,
.gallery {
  margin-top: 36px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel-head {
  margin-bottom: 20px;
}

.panel-head h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

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

.feature-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 168px;
  padding: 22px 18px;
  background: #fff;
  box-shadow: 0 2px 3px rgba(11, 27, 41, 0.08);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.feature-card p {
  color: var(--muted);
}

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

.inline-link {
  color: var(--brand-dark);
  font-weight: 700;
}

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

.apartment-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apartment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 27, 41, 0.12);
}

.apartment-card summary {
  position: relative;
  display: block;
  cursor: pointer;
  list-style: none;
}

.apartment-card summary::-webkit-details-marker {
  display: none;
}

.apartment-card summary::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-dark);
  font-size: 1.3rem;
  line-height: 1;
}

.apartment-card[open] summary::after {
  content: "-";
}

.apartment-card summary img {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.apartment-card-content {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.apartment-card-content strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.apartment-card-content > span:not(.card-link) {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-link {
  margin-top: 7px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.apartment-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.apartment-details p {
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline ol {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline li {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.timeline-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  font-size: 1.25rem;
}

.timeline-number {
  position: absolute;
  top: -7px;
  left: calc(50% + 12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #bf5525;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.timeline h3 {
  margin: 18px 0 6px;
  font-size: 1rem;
}

.timeline p,
.faq p {
  color: var(--muted);
}

.timeline li p {
  font-size: 0.82rem;
}

.timeline-note {
  margin: 36px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(15, 127, 139, 0.18);
  border-radius: 6px;
  background: #f1f7f8;
  text-align: center;
  font-size: 0.82rem;
}

.location-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  width: 100vw;
  margin-top: 36px;
  margin-left: calc((100% - 100vw) / 2);
  padding: 64px max(28px, calc((100vw - min(1120px, 92vw)) / 2));
  background: #f5f3eb;
}

.location-content {
  max-width: 620px;
  justify-self: end;
}

.location-section .panel-head {
  margin-bottom: 24px;
}

.location-section h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

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

.nearby-card,
.address-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nearby-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #e7f1f2;
  color: var(--brand-dark);
  font-size: 1rem;
}

.nearby-card strong,
.nearby-card small,
.address-card strong,
.address-card span {
  display: block;
}

.nearby-card strong,
.address-card strong {
  font-size: 0.86rem;
}

.nearby-card small,
.address-card span {
  color: var(--muted);
  font-size: 0.75rem;
}

.address-card {
  display: block;
  margin-top: 24px;
}

.address-card span {
  margin-top: 3px;
}

.location-map-wrap {
  position: relative;
}

.location-map {
  width: 100%;
  height: 340px;
  border: 0;
  box-shadow: 0 8px 22px rgba(11, 27, 41, 0.1);
}

.map-link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(11, 27, 41, 0.18);
}

.things-hero {
  width: min(760px, 92vw);
  margin: 52px auto 0;
  text-align: center;
}

.things-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.things-hero .lead {
  margin: 14px auto 0;
}

.things-links {
  width: min(1120px, 92vw);
  margin: 42px auto 0;
}

.things-button-group + .things-button-group {
  margin-top: 28px;
}

.things-button-group h2 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.things-button-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 20px;
}

.things-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 4px;
  background: #6d7783;
  color: #fff;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.12;
  box-shadow: 0 5px 12px rgba(11, 27, 41, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.things-button:hover,
.things-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 27, 41, 0.1);
}

.things-intro {
  max-width: 1080px;
  margin: 42px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.things-grid {
  width: min(920px, 92vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 36px auto 0;
}

.things-card {
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 3px rgba(11, 27, 41, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.things-card > img {
  display: block;
  width: calc(100% + 48px);
  height: 190px;
  margin: -24px -24px 22px;
  object-fit: cover;
}

.things-card h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.things-card p:not(.eyebrow) {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.things-card .eyebrow {
  margin-bottom: 8px;
}

.faq details {
  position: relative;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.faq summary {
  position: relative;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  list-style: none;
  padding: 15px 28px 15px 0;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "⌄";
  position: absolute;
  top: 50%;
  right: 2px;
  color: var(--muted);
  font-size: 1rem;
  transform: translateY(-60%);
}

.faq details[open] summary::after {
  content: "⌃";
}

.faq details p {
  margin: -2px 28px 16px 0;
  font-size: 0.86rem;
}

.faq-more {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer {
  width: 100vw;
  margin-top: 36px;
  margin-bottom: 0;
  margin-left: calc((100% - 100vw) / 2);
  padding: 64px max(28px, calc((100vw - min(920px, 92vw)) / 2)) 28px;
  border: 0;
  border-radius: 0;
  background: #056d73;
  color: #fff;
  display: grid;
  gap: 0;
}

.footer-cta,
.footer-intro {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.footer-cta h2,
.footer-intro h2 {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.footer-cta p,
.footer-intro p,
.footer-grid p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.84);
}

.footer-cta p {
  max-width: 540px;
  margin: 10px auto 0;
  font-size: 0.92rem;
}

.footer-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.footer-btn {
  background: #c65a24;
  box-shadow: none;
  font-size: 0.82rem;
}

.footer-btn:hover {
  background: #a9481a;
  box-shadow: none;
}

.footer-btn-light {
  background: #f5f7f7;
  color: var(--brand-dark);
  box-shadow: none;
  font-size: 0.82rem;
}

.footer-btn-light:hover {
  background: #fff;
  box-shadow: none;
}

.footer-intro {
  margin-top: 106px;
}

.footer-logo {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-intro h2 {
  font-size: 1.25rem;
}

.footer-intro p {
  margin-top: 8px;
  font-size: 0.85rem;
}

.footer-grid {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 40px;
  margin: 38px auto 0;
}

.footer-grid h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 0.9rem;
}

.footer-grid p {
  font-size: 0.78rem;
  line-height: 1.8;
}

.footer-grid a,
.footer-outline-btn {
  color: #fff;
}

.footer-grid a:hover {
  color: #f6c95f;
}

.footer-outline-btn {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-bottom {
  width: min(920px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.76rem;
}

.footer-actions {
  display: flex;
  gap: 16px;
  font-weight: 700;
}

.footer-actions a {
  color: var(--brand-dark);
}

.fineprint {
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero {
    min-height: 600px;
    padding: 64px 6vw;
  }

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

  .quick-points {
    grid-template-columns: 1fr;
  }

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

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

  .timeline ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .location-section {
    grid-template-columns: 1fr;
  }

  .location-content {
    justify-self: stretch;
    max-width: none;
  }

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

@media (max-width: 760px) {
  .hero {
    min-height: 650px;
    padding: 48px 24px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .hero-note {
    right: 18px;
    bottom: 18px;
    left: 18px;
    justify-content: center;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 6px;
  }

  .nav.open {
    display: flex;
  }

  .panel,
  .timeline,
  .faq,
  .gallery {
    padding: 20px;
    border-radius: 16px;
  }

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

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

  .timeline ol {
    grid-template-columns: 1fr;
  }

  .location-section {
    gap: 24px;
    padding: 40px 20px;
  }

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

  .location-map {
    height: 280px;
  }

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

  .footer {
    padding: 48px 20px 22px;
  }

  .footer-intro {
    margin-top: 72px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .things-button-grid,
  .things-grid {
    grid-template-columns: 1fr;
  }

  .apartment-details {
    align-items: flex-start;
    flex-direction: column;
  }
}
