:root {
  --color-ink: #1d1d1f;
  --color-muted: #6e6e73;
  --color-surface: #f5f5f7;
  --color-cream: #fbfbfd;
  --color-blue: #0071e3;
  --color-blue-dark: #005bb7;
  --color-green: #1f8a5b;
  --color-amber: #b7791f;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 20px 70px rgba(29, 29, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-rise {
    opacity: 1;
    transform: translateY(0);
  }

  .motion-rise.is-ready {
    animation: motion-rise 520ms ease both;
  }

  @keyframes motion-rise {
    from {
      opacity: 0.76;
      transform: translateY(14px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 113, 227, 0.09), transparent 28rem),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  color: var(--color-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0;
}

body::selection {
  background: rgba(0, 113, 227, 0.18);
}

a,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

.scroll-progress {
  background: var(--color-blue);
  height: 2px;
  left: 0;
  position: fixed;
  top: 0;
  width: 0;
  z-index: 80;
}

.floating-logo-pill,
.floating-pill,
.glass-dropdown,
.glass-panel,
.trust-chip,
.feature-card,
.step-card,
.photo-card,
.form-shell,
.mobile-menu {
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 40px rgba(29, 29, 31, 0.08);
}

.glass-nav {
  border-radius: 999px;
}

.floating-logo-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  display: flex;
  height: 3.625rem;
  justify-content: center;
  padding: 0.375rem 1.125rem;
  position: fixed;
  left: 1rem;
  top: 1rem;
  transition: background 180ms ease, transform 180ms ease;
  z-index: 50;
}

.floating-logo-pill:active {
  transform: scale(0.98);
}

.floating-logo-full img {
  height: auto;
  max-height: 2.5rem;
  object-fit: contain;
  width: 9.625rem;
}

.floating-logo-mark {
  display: none;
}

.floating-logo-mark img {
  height: auto;
  max-height: 2.125rem;
  object-fit: contain;
  width: 2.125rem;
}

.floating-pill {
  border-radius: 999px;
  display: flex;
  gap: 0.5rem;
  left: 50%;
  padding: 0.375rem;
  position: fixed;
  top: 1rem;
  transform: translateX(-50%);
  z-index: 50;
}

.nav-icon {
  align-items: center;
  background: rgba(29, 29, 31, 0.06);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  color: rgba(29, 29, 31, 0.76);
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: 2.5rem;
}

.nav-icon.menu-dots {
  gap: 0.1875rem;
}

.nav-icon.menu-dots span {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 0.25rem;
  width: 0.25rem;
}

.nav-icon:hover {
  background: rgba(0, 113, 227, 0.12);
  color: var(--color-blue);
}

.nav-icon:active {
  transform: scale(0.95);
}

.mobile-menu {
  border-radius: 1.25rem;
}

.glass-dropdown {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 24px 70px rgba(29, 29, 31, 0.2);
  left: 50%;
  min-width: 16.25rem;
  overflow: hidden;
  padding: 0.5rem 0;
  position: fixed;
  top: 5rem;
  transform: translateX(-50%);
  z-index: 55;
}

.glass-dropdown a {
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  color: rgba(29, 29, 31, 0.88);
  display: block;
  font-size: 0.94rem;
  font-weight: 650;
  padding: 0.85rem 1.35rem;
  transition: background 180ms ease, color 180ms ease;
}

.glass-dropdown a:last-child {
  border-bottom: 0;
}

.glass-dropdown a:hover {
  background: rgba(0, 113, 227, 0.1);
  color: var(--color-blue);
}

.menu-overlay {
  inset: 0;
  position: fixed;
  z-index: 45;
}

.hero {
  min-height: clamp(600px, 82vh, 820px);
}

.hero-media {
  overflow: hidden;
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(251, 251, 253, 0.97) 0%, rgba(251, 251, 253, 0.78) 40%, rgba(251, 251, 253, 0.28) 68%, rgba(251, 251, 253, 0.18) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-media picture,
.hero-media img {
  height: 100%;
  width: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.recinto-brand {
  display: block;
  max-width: min(24rem, 78vw);
}

.recinto-brand-square {
  max-width: min(11rem, 42vw);
}

.recinto-brand img {
  height: auto;
  width: 100%;
}

.hero-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: clamp(2.85rem, 6vw, 4.8rem);
  line-height: 0.96;
}

.section-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.section-eyebrow {
  color: var(--color-blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.pill-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  gap: 0.55rem;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.75rem 1.2rem;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pill-btn:active {
  transform: scale(0.98);
}

.pill-primary {
  background: var(--color-blue);
  color: #fff;
}

.pill-primary:hover {
  background: var(--color-blue-dark);
}

.pill-secondary {
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 113, 227, 0.35);
  color: var(--color-blue);
}

.pill-secondary:hover {
  background: rgba(0, 113, 227, 0.1);
}

.trust-chip {
  align-items: center;
  border-radius: 999px;
  color: rgba(29, 29, 31, 0.72);
  display: inline-flex;
  font-size: 0.86rem;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem;
}

.trust-chip svg {
  color: var(--color-blue);
  height: 1rem;
  width: 1rem;
}

.trust-chip[href]:hover,
.trust-chip[href]:focus-visible {
  border-color: rgba(0, 113, 227, 0.46);
  color: var(--color-blue);
}

.glass-panel,
.feature-card,
.step-card,
.photo-card,
.form-shell {
  border-radius: 1.25rem;
}

.feature-card[href],
.step-card[href] {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card[href]:hover,
.feature-card[href]:focus-visible,
.step-card[href]:hover,
.step-card[href]:focus-visible {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.icon-badge {
  align-items: center;
  background: rgba(0, 113, 227, 0.1);
  border-radius: 999px;
  color: var(--color-blue);
  display: inline-flex;
  height: 2.65rem;
  justify-content: center;
  width: 2.65rem;
}

.icon-badge.green {
  background: rgba(31, 138, 91, 0.12);
  color: var(--color-green);
}

.icon-badge.amber {
  background: rgba(183, 121, 31, 0.13);
  color: var(--color-amber);
}

.brochure-preview {
  background:
    linear-gradient(135deg, rgba(251, 251, 253, 0.92), rgba(245, 245, 247, 0.82)),
    url("/assets/images/recinto-masterplan.webp");
  background-position: center;
  background-size: cover;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 31rem;
  overflow: hidden;
  position: relative;
}

.brochure-preview::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.78));
  content: "";
  inset: 0;
  position: absolute;
}

.brochure-card {
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 1rem;
  box-shadow: 0 22px 60px rgba(29, 29, 31, 0.2);
  position: relative;
  width: min(100%, 29rem);
  z-index: 1;
}

.brochure-document {
  color: var(--color-ink);
  display: block;
  overflow: hidden;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.brochure-document:hover,
.brochure-document:focus-visible,
.brochure-document.is-glowing {
  box-shadow: 0 28px 76px rgba(29, 29, 31, 0.24);
  transform: translateY(-2px);
}

.brochure-document img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.brochure-download {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  font-weight: 750;
  gap: 0.55rem;
  justify-content: space-between;
  line-height: 1.3;
  min-height: 3.25rem;
  padding: 0.95rem 1rem;
}

.brochure-download svg {
  color: var(--color-blue);
  height: 1.1rem;
  width: 1.1rem;
}

.photo-card {
  min-height: 18rem;
  overflow: hidden;
  position: relative;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.photo-card::before {
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.7) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.photo-card > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.photo-card > div {
  position: relative;
  z-index: 2;
}

.photo-card[href]:hover,
.photo-card[href]:focus-visible {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.field {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 0.9rem;
  color: var(--color-ink);
  outline: none;
  padding: 0.9rem 1rem;
  width: 100%;
}

.field:focus {
  border-color: rgba(0, 113, 227, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.status-link {
  color: var(--color-blue);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.footer-link {
  color: rgba(29, 29, 31, 0.65);
}

.footer-link:hover {
  color: var(--color-blue);
}

@media (max-width: 760px) {
  .hero {
    min-height: 720px;
  }

  .floating-logo-pill {
    height: 3.5rem;
    left: 0.75rem;
    padding: 0.375rem;
    position: fixed;
    top: 1rem;
    width: 3.5rem;
    z-index: 50;
  }

  .floating-logo-full {
    display: none;
  }

  .floating-logo-mark {
    display: block;
  }

  .floating-pill {
    gap: 0.35rem;
    left: auto;
    right: 0.75rem;
    transform: none;
  }

  .nav-icon {
    height: 2.5rem;
    width: 2.5rem;
  }

  .glass-dropdown {
    left: auto;
    right: 0.75rem;
    transform: none;
  }

  .hero-title {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
    line-height: 0.98;
  }

  .hero p.text-lg {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero .pill-btn {
    min-height: 2.65rem;
    padding: 0.65rem 1rem;
  }

  .hero .trust-chip {
    font-size: 0.78rem;
    min-height: 2.1rem;
    padding: 0.38rem 0.72rem;
  }

  .hero-media {
    background-image: none;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(251, 251, 253, 0.99) 0%, rgba(251, 251, 253, 0.88) 58%, rgba(251, 251, 253, 0.56) 100%);
  }

  .hero-media img {
    object-position: center bottom;
  }

}

@media (prefers-color-scheme: dark) {
  :root {
    --color-ink: #f5f5f7;
    --color-muted: #a1a1a6;
    --color-surface: #1c1c1e;
    --color-cream: #000;
    --color-blue: #2997ff;
    --color-blue-dark: #0077ed;
    --glass-bg: rgba(28, 28, 30, 0.72);
    --glass-border: rgba(255, 255, 255, 0.13);
  }

  body {
    background:
      radial-gradient(circle at 25% 0%, rgba(41, 151, 255, 0.18), transparent 30rem),
      #000;
  }

  .text-ink,
  .text-ink\/75 {
    color: rgba(245, 245, 247, 0.9) !important;
  }

  .text-ink\/70 {
    color: rgba(245, 245, 247, 0.78) !important;
  }

  .text-ink\/65 {
    color: rgba(245, 245, 247, 0.7) !important;
  }

  .text-ink\/55,
  .text-ink\/50 {
    color: rgba(245, 245, 247, 0.58) !important;
  }

  .border-ink\/10 {
    border-color: rgba(245, 245, 247, 0.1) !important;
  }

  .bg-surface\/80 {
    background-color: rgba(28, 28, 30, 0.8) !important;
  }

  .hero-media {
    background-image: none;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.74) 42%, rgba(0, 0, 0, 0.3) 74%, rgba(0, 0, 0, 0.14) 100%);
  }

  .floating-logo-pill,
  .field,
  .brochure-card {
    background: rgba(28, 28, 30, 0.96);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .brochure-download {
    background: rgba(28, 28, 30, 0.96);
  }

  .brochure-preview {
    background:
      linear-gradient(135deg, rgba(0, 0, 0, 0.82), rgba(28, 28, 30, 0.7)),
      url("/assets/images/recinto-masterplan.webp");
    background-position: center;
    background-size: cover;
  }

  .brochure-preview::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.65));
  }

  .nav-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(245, 245, 247, 0.78);
  }

  .pill-secondary {
    background: rgba(28, 28, 30, 0.7);
    border-color: rgba(41, 151, 255, 0.55);
    color: #7cc0ff;
  }

  .glass-dropdown {
    background: rgba(28, 28, 30, 0.98);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 28px 80px rgba(0, 0, 0, 0.58);
  }

  .glass-dropdown a {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    color: rgba(245, 245, 247, 0.9);
  }

  .glass-dropdown a:hover,
  .glass-dropdown a:focus-visible {
    background: rgba(41, 151, 255, 0.16);
    color: #fff;
  }

  .trust-chip,
  .footer-link {
    color: rgba(245, 245, 247, 0.7);
  }
}
