/* MAISON ELARA — Landing Page */

:root {
  --color-dark-bg: #1a1614;
  --color-light-bg: #fdfcf7;
  --color-copper: #c48e6c;
  --color-accent: #9b6c50;
  --color-gold-accent: #c9a882;
  --color-cream-text: #ede8e1;
  --color-dark-text: #2d2622;
  --color-text-muted: #887b72;
  --color-border-light: #ddd3c9;
  --color-border-dark: rgba(237, 232, 225, 0.12);
  --color-whatsapp: #25d366;
  --color-page-bg: #e8dfd5;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --max-width: 1100px;
}

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

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-dark-text);
  background: radial-gradient(circle at 15% 10%, #f4eee7 0, transparent 33%), var(--color-page-bg);
  line-height: 1.6;
  min-width: 320px;
}

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

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

/* ── Page Shell ── */

.page-shell {
  display: grid;
  place-items: start center;
  min-height: 100vh;
  padding: 0.5rem;
}

.landing-card {
  width: min(var(--max-width), 100%);
  background: var(--color-light-bg);
  border: 1px solid rgba(95, 70, 55, 0.12);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(72, 49, 35, 0.12);
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: min(40vh, 320px);
  display: flex;
  align-items: stretch;
  background-color: var(--color-dark-bg);
  background-image: url("/images/hero-bg.jpg");
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-cream-text);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 22, 20, 0.92) 0%,
    rgba(26, 22, 20, 0.78) 42%,
    rgba(26, 22, 20, 0.35) 68%,
    rgba(26, 22, 20, 0.15) 100%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: min(47vh, 420px);
}

.hero__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero__brand-name {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #ffffff;
}

.hero__brand-tag {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-copper);
  margin-top: 0.25rem;
}

.hero__collection {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 1.5rem;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: 2.875rem;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: #ffffff;
  margin-bottom: 0.8125rem;
}

.hero__headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold-accent);
  white-space: nowrap;
}

.hero__subheadline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 100%;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

/* WhatsApp CTA */

.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  min-height: 4.5rem;
  padding: 0.875rem 1rem 0.875rem 0.875rem;
  margin-top: 0.5rem;
  background: rgba(37, 32, 29, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(18, 12, 9, 0.18);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-cta:hover {
  background: #3a302a;
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(18, 12, 9, 0.24);
}

.whatsapp-cta__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--color-whatsapp);
  border-radius: 50%;
  flex-shrink: 0;
}

.whatsapp-cta__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #ffffff;
}

.whatsapp-cta__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  line-height: 1;
}

.whatsapp-cta__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.whatsapp-cta__number {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.whatsapp-cta__arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: auto;
}

.whatsapp-cta__arrow svg {
  width: 1.125rem;
  height: 1.125rem;
  color: #ffffff;
}

.hero__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-dark);
}

.hero__footer-label {
  color: var(--color-copper);
}

.hero__footer-note {
  color: rgba(255, 255, 255, 0.78);
}

/* ── Selection Section ── */

.selection {
  background: var(--color-light-bg);
  padding: 0.5625rem 0.875rem 0.5rem;
}

.selection__inner {
  width: 100%;
}

.selection__box {
  border: 1px solid var(--color-border-light);
  background: rgba(255, 255, 255, 0.42);
  padding: 0.6875rem 0.8125rem;
}

.selection__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4375rem;
}

.selection__label,
.selection__range {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.selection__intro {
  margin-bottom: 0;
}

.selection__headline {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--color-dark-text);
  margin-bottom: 0.25rem;
}

.selection__description {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text-muted);
}

/* ── Features Grid ── */

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8125rem;
  border-top: 1px solid var(--color-border-light);
  margin-top: 0.9375rem;
  padding-top: 0.6875rem;
}

.feature__title {
  font-family: var(--font-serif);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark-text);
  margin-bottom: 0.1875rem;
}

.feature__num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-right: 0.25rem;
}

.feature__text {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text-muted);
}

/* ── Site Footer ── */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-light);
  margin-top: 0.875rem;
  padding-top: 0.6875rem;
}

.site-footer a {
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--color-accent);
}

/* ── Desktop (≥700px) ── */

@media (min-width: 700px) {
  .page-shell {
    padding: 1rem;
  }

  .hero {
    min-height: min(52vh, 520px);
  }

  .hero__inner {
    min-height: min(52vh, 520px);
    padding: 2.5rem 3rem 2rem;
  }

  .hero__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
  }

  .hero__brand-name {
    font-size: 0.875rem;
    letter-spacing: 0.18em;
  }

  .hero__brand-tag {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    margin-top: 0.4rem;
  }

  .hero__collection {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    text-align: right;
  }

  .hero__content {
    max-width: min(72%, 46rem);
    padding: 4rem 0 3rem;
  }

  .hero__headline {
    font-size: 5.25rem;
    line-height: 0.94;
    letter-spacing: -0.05em;
    margin-bottom: 0.8125rem;
  }

  .hero__subheadline {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 100%;
    margin-bottom: 1.125rem;
  }

  .whatsapp-cta {
    width: 100%;
    min-height: 4.75rem;
    margin-top: 1.125rem;
    padding: 0.875rem 1rem 0.875rem 0.875rem;
  }

  .whatsapp-cta__icon {
    width: 3.125rem;
    height: 3.125rem;
  }

  .whatsapp-cta__label {
    font-size: 0.625rem;
  }

  .whatsapp-cta__number {
    font-size: 1.25rem;
  }

  .whatsapp-cta__arrow {
    width: 2.875rem;
    height: 2.875rem;
  }

  .hero__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6875rem;
    padding-top: 1.75rem;
  }

  .selection {
    padding: 3.5rem 3rem 2.5rem;
  }

  .selection__box {
    padding: 2.25rem 2.5rem 2rem;
  }

  .selection__meta {
    margin-bottom: 2rem;
  }

  .selection__label,
  .selection__range {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
  }

  .selection__range {
    letter-spacing: 0.1em;
  }

  .selection__headline {
    font-size: 2.875rem;
    line-height: 1.18;
    letter-spacing: -0.01em;
    max-width: 34rem;
    margin-bottom: 1.5rem;
  }

  .selection__description {
    font-size: 0.9375rem;
    line-height: 1.75;
    max-width: 38rem;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

  .feature {
    padding: 0 2rem;
  }

  .feature:first-child {
    padding-left: 0;
  }

  .feature:last-child {
    padding-right: 0;
  }

  .feature + .feature {
    border-left: 1px solid var(--color-border-light);
  }

  .feature__title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
  }

  .feature__num {
    font-size: 0.75rem;
  }

  .feature__text {
    font-size: 0.875rem;
    line-height: 1.7;
  }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6875rem;
    margin-top: 2rem;
    padding-top: 0.75rem;
    border-top: none;
  }
}

/* ── Small mobile (≤450px) ── */

@media (max-width: 450px) {
  .hero__collection {
    display: none;
  }

  .hero {
    min-height: 47vh;
  }

  .hero__inner {
    min-height: 47vh;
  }

  .hero__headline {
    font-size: 2.875rem;
  }

  .hero__subheadline {
    font-size: 0.75rem;
    max-width: 100%;
    line-height: 1.6;
  }

  .whatsapp-cta {
    margin-top: 0.5rem;
    padding: 0.75rem 0.875rem;
  }

  .selection {
    padding: 0.5625rem 0.875rem 0.5rem;
  }

  .features {
    gap: 0.8125rem;
  }

  .feature__text {
    margin-top: 0.1875rem;
  }
}

/* ── Large desktop (≥900px) ── */

@media (min-width: 900px) {
  .page-shell {
    padding: 2rem 1.5rem 2.5rem;
  }

  .hero__headline {
    font-size: 6.875rem;
    line-height: 0.92;
    letter-spacing: -0.045em;
  }

  .hero__subheadline {
    font-size: 1.1875rem;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 2.75rem;
  }

  .whatsapp-cta {
    margin-top: 0;
  }

  .whatsapp-cta__number {
    font-size: 1.3125rem;
  }
}
