:root {
  --background: 0 0% 5%;
  --foreground: 37 33% 94%;
  --border: 0 0% 15%;
  --primary: 44 55% 54%;
  --primary-foreground: 0 0% 5%;
  --secondary: 0 0% 15%;
  --muted: 0 0% 12%;
  --gold-from: #d4af37;
  --gold-to: #bfa060;
  --font-sans: "Montserrat", sans-serif;
  --font-serif: "Playfair Display", serif;
  --container: 80rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
}

button {
  cursor: pointer;
}

::selection {
  background: hsl(var(--primary));
  color: hsl(var(--background));
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
}

.header.is-scrolled {
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
}

.logo img {
  display: block;
  width: 92px;
  height: 92px;
  max-width: 92px;
  max-height: 92px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo,
  .logo img {
    width: 1128px;
    height: 112px;
    max-width: 112px;
    max-height: 112px;
  }
}

.logo-footer {
  width: 112px;
  height: 112px;
}

.logo-footer img {
  width: 112px;
  height: 112px;
  max-width: 112px;
  max-height: 112px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: hsl(var(--foreground) / 0.8);
}

.nav-link {
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: hsl(var(--primary));
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s;
}

.nav-link:hover {
  color: hsl(var(--primary));
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.btn-outline {
  display: inline-block;
  border: 1px solid hsl(var(--primary));
  color: hsl(var(--primary));
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.menu-toggle {
  display: flex;
  color: hsl(var(--primary));
  background: none;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: hsl(var(--background) / 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: hsl(var(--foreground));
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: hsl(var(--primary));
}

.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  color: hsl(var(--primary));
}

/* Hero */
.hero {
  position: relative;
  height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-zoom 20s ease-in-out infinite alternate;
}

@keyframes slow-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(
    to bottom,
    hsl(var(--background) / 0.8),
    hsl(var(--background) / 0.6),
    hsl(var(--background))
  );
}

.hero-content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 5rem;
}

.hero-kicker,
.section-kicker {
  display: block;
  color: hsl(var(--primary));
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

.gold-text {
  color: transparent;
  background: linear-gradient(to right, var(--gold-from), var(--gold-to));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.625;
  color: hsl(var(--foreground) / 0.8);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .hero-lead {
    font-size: 1.25rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn-primary,
.btn-ghost {
  width: 100%;
  padding: 1rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
  text-align: center;
}

@media (min-width: 640px) {
  .btn-primary,
  .btn-ghost {
    width: auto;
  }
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.btn-ghost {
  border: 1px solid hsl(var(--primary) / 0.5);
}

.btn-ghost:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-hint span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground) / 0.5);
}

.scroll-line {
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: hsl(var(--primary));
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(200%);
  }
}

/* Features */
.section {
  position: relative;
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.section-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 80rem;
  height: 1px;
  background: linear-gradient(to right, transparent, hsl(var(--primary) / 0.2), transparent);
}

.section-line.strong {
  background: linear-gradient(to right, transparent, hsl(var(--primary) / 0.3), transparent);
}

.section-head {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.italic {
  font-style: italic;
  color: hsl(var(--primary));
}

.gold-rule {
  width: 3rem;
  height: 1px;
  background: hsl(var(--primary));
  margin: 2rem auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: hsl(var(--secondary) / 0.5);
  border: 1px solid hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: hsl(var(--primary));
  transition: background 0.5s, border-color 0.5s;
}

.feature:hover .feature-icon {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.5);
}

.feature h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature p {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.625;
  color: hsl(var(--foreground) / 0.7);
}

/* Properties */
.section-alt {
  background: hsl(var(--secondary) / 0.3);
}

.properties-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .properties-head {
    flex-direction: row;
    align-items: flex-end;
  }
}

.section-kicker.left {
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
}

.link-arrow:hover {
  color: hsl(var(--primary) / 0.8);
}

.link-arrow svg {
  transition: transform 0.3s;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property {
  cursor: pointer;
}

.property-media {
  position: relative;
  overflow: hidden;
  height: 400px;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.property:hover .property-media img {
  transform: scale(1.1);
}

.property-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.9), transparent, transparent);
  opacity: 0.6;
  transition: opacity 0.5s;
}

.property:hover .property-media::after {
  opacity: 0.8;
}

.property-price {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.2);
}

.property-info {
  border-left: 1px solid hsl(var(--primary) / 0.3);
  padding: 0.25rem 0 0.25rem 1rem;
  transition: border-color 0.3s;
}

.property:hover .property-info {
  border-left-color: hsl(var(--primary));
}

.property h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.property:hover h3 {
  color: hsl(var(--primary));
}

.property-loc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--foreground) / 0.6);
  font-size: 0.875rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.property-loc svg {
  color: hsl(var(--primary) / 0.7);
}

.property-meta {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.5);
  letter-spacing: 0.025em;
}

/* Process */
.section-border {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.process-wrap {
  position: relative;
}

.process-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: hsl(var(--primary) / 0.2);
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .process-line {
    display: block;
  }
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-num {
  width: 5rem;
  height: 5rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}

.step:hover .step-num {
  background: hsl(var(--primary) / 0.05);
  border-color: hsl(var(--primary));
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.step-num span {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-style: italic;
  color: hsl(var(--primary));
}

.step h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step p {
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--foreground) / 0.7);
  line-height: 1.625;
  padding: 0 1rem;
}

/* Advisor */
.section-soft {
  background: hsl(var(--secondary) / 0.2);
}

.advisor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .advisor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.advisor-photo-wrap {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .advisor-photo-wrap {
    justify-content: flex-end;
  }
}

.advisor-frame {
  position: relative;
  width: 340px;
}

@media (min-width: 768px) {
  .advisor-frame {
    width: 400px;
  }
}

.advisor-border {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 100%;
  height: 100%;
  border: 1px solid hsl(var(--primary) / 0.3);
  z-index: 0;
}

.advisor-art {
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.advisor-art-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0d0b08;
}

.advisor-art-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: sepia(0.18) contrast(0.96) brightness(0.94);
}

.advisor-photo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      165deg,
      rgba(201, 168, 76, 0.28) 0%,
      rgba(191, 160, 96, 0.14) 42%,
      rgba(13, 11, 8, 0.22) 100%
    );
  mix-blend-mode: soft-light;
}

.advisor-photo-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(201, 168, 76, 0.16);
  mix-blend-mode: overlay;
}

.advisor-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  z-index: 20;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary) / 0.4);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

.advisor-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--primary));
}

.advisor-badge span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground) / 0.6);
}

.advisor-copy .section-kicker {
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.advisor-copy .section-title {
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.gold-rule.left {
  margin: 0 0 2rem;
}

.advisor-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.625;
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 2rem;
  border-left: 2px solid hsl(var(--primary) / 0.4);
  padding-left: 1.5rem;
}

@media (min-width: 768px) {
  .advisor-quote {
    font-size: 1.5rem;
  }
}

.advisor-name {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.advisor-role {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary));
  margin-bottom: 2rem;
}

.advisor-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--foreground) / 0.6);
}

@media (min-width: 640px) {
  .advisor-stats {
    flex-direction: row;
  }
}

.advisor-stats div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.advisor-stats i {
  display: block;
  width: 2rem;
  height: 1px;
  background: hsl(var(--primary) / 0.5);
}

.advisor-copy .btn-outline {
  margin-top: 2.5rem;
  padding: 0.75rem 2rem;
}

/* Testimonials */
.testimonials {
  background: #0a0a0a;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial {
  position: relative;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: hsl(var(--background) / 0.5);
  transition: background 0.5s;
}

.testimonial:hover {
  background: hsl(var(--background));
}

@media (min-width: 768px) {
  .testimonial {
    padding: 3.5rem;
  }
}

.quote-icon {
  position: absolute;
  top: 2rem;
  left: 2rem;
  color: hsl(var(--primary) / 0.2);
}

.testimonial-body {
  position: relative;
  z-index: 1;
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.625;
  color: hsl(var(--foreground) / 0.9);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .testimonial p {
    font-size: 1.5rem;
  }
}

.testimonial-author {
  color: hsl(var(--primary));
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.testimonial-place {
  display: block;
  font-size: 0.75rem;
  color: hsl(var(--foreground) / 0.5);
  margin-top: 0.25rem;
}

/* Contact */
.contact {
  border-top: 1px solid hsl(var(--primary) / 0.2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-copy .section-kicker {
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.contact-copy .section-title {
  font-size: 2.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .contact-copy .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .contact-copy .section-title {
    font-size: 3.75rem;
  }
}

.contact-copy > p {
  font-weight: 300;
  color: hsl(var(--foreground) / 0.7);
  max-width: 28rem;
  line-height: 1.625;
  margin-bottom: 3rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: hsl(var(--primary));
  transition: border-color 0.3s;
}

.contact-item:hover .contact-icon {
  border-color: hsl(var(--primary) / 0.5);
}

.contact-item small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground) / 0.5);
  margin-bottom: 0.25rem;
}

.form-box {
  background: hsl(var(--secondary) / 0.4);
  padding: 2rem;
  border: 1px solid hsl(var(--primary) / 0.2);
}

@media (min-width: 768px) {
  .form-box {
    padding: 3rem;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground) / 0.5);
  margin-bottom: 0.5rem;
}

.form input,
.form textarea {
  width: 100%;
  background: hsl(var(--background) / 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.form input:focus,
.form textarea:focus {
  border-color: hsl(var(--primary));
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form .btn-primary {
  margin-top: 1rem;
  width: 100%;
  letter-spacing: 0.1em;
}

.form .btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.5;
  color: hsl(var(--foreground) / 0.6);
  cursor: pointer;
}

.consent input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: hsl(var(--primary));
  flex-shrink: 0;
}

.form-error {
  display: none;
  font-size: 0.875rem;
  color: #e8a0a0;
}

.form-error.is-visible {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success.is-visible {
  display: block;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}

.form-success p {
  font-weight: 300;
  color: hsl(var(--foreground) / 0.7);
}

/* Footer */
.footer {
  background: hsl(var(--background));
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand p {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.625;
  color: hsl(var(--foreground) / 0.5);
  max-width: 20rem;
  margin-top: 1.5rem;
}

.footer h4 {
  color: hsl(var(--primary));
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--foreground) / 0.7);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: hsl(var(--primary));
}

@media (min-width: 768px) {
  .footer-col-end {
    margin-left: auto;
  }
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials a {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--foreground) / 0.7);
  transition: color 0.3s, border-color 0.3s;
}

.socials a:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: hsl(var(--foreground) / 0.4);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal 0.8s ease forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}
