/* ============================================================
   MandelInvest — Premium Real Estate Investment
   ============================================================ */

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

:root {
  --navy:   #0d1b2a;
  --charcoal: #1a2535;
  --dark:   #111827;
  --gold:   #c9a84c;
  --gold-light: #e2c474;
  --white:  #ffffff;
  --off-white: #f7f6f3;
  --muted:  #8a9bb0;
  --border: #e2e4e8;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --max-w: 1160px;
  --section-pad: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- UTILITIES ---- */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label--light {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}

.section-title--light {
  color: var(--white);
}

.section-desc {
  font-size: 17px;
  color: #5a6a7e;
  max-width: 520px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: translateY(-1px);
}

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

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

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* ---- NAV ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled {
  background: var(--navy);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 9px 22px;
  border-radius: 2px;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('./hero.jpg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 18, 28, 0.50) 0%,
    rgba(10, 18, 28, 0.42) 60%,
    rgba(10, 18, 28, 0.60) 100%
  );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0' stroke='rgba(255,255,255,0.012)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 140px 32px 80px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.68);
  max-width: 480px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(201,168,76,0.6));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ---- STATS BAR ---- */

.stats-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- ABOUT ---- */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}

.about-label {
  padding-top: 8px;
  text-align: right;
  border-right: 2px solid var(--gold);
  padding-right: 32px;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-body {
  margin-bottom: 28px;
}

.about-body p {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 14px;
  line-height: 1.75;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-bullets {
  list-style: none;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.about-bullets li {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.about-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.about-bullets strong {
  color: var(--navy);
  font-weight: 600;
}

/* ---- FOCUS ---- */

.focus {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.focus-card {
  background: var(--white);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13,27,42,0.1);
  z-index: 1;
}

.focus-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--gold);
}

.focus-icon svg {
  width: 100%;
  height: 100%;
}

.focus-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.focus-card p {
  font-size: 14px;
  color: #5a6a7e;
  line-height: 1.7;
}

/* Ampersand — use a lighter sans-serif weight so it doesn't distort in serif headings */
.amp {
  font-family: var(--font-sans);
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0;
  font-size: 0.88em;
  vertical-align: baseline;
  color: inherit;
}

/* ---- PARTNERS ---- */

.partners {
  background: var(--navy);
}

.partners-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: center;
}

.partners-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  line-height: 1.75;
  max-width: 480px;
}

.partners-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.partners-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.partners-list-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.partners-list-icon svg {
  width: 100%;
  height: 100%;
}

.partners-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.partners-list span {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.partners-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 4px;
  padding: 28px 26px;
}

.partners-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.buybox-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.buybox-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

.buybox-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---- FOUNDER ---- */

.founder {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.founder-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.founder-image-wrap {
  position: relative;
  text-align: center;
}

.founder-photo {
  width: 100%;
  display: block;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.founder-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.founder-text .section-label {
  margin-bottom: 8px;
}

.founder-name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.founder-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.founder-text p {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 14px;
  line-height: 1.75;
}

.founder-quote {
  border-left: 3px solid var(--gold);
  padding: 14px 0 14px 22px;
  margin: 24px 0 28px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.6;
  color: var(--navy);
}

/* ---- CONTACT ---- */

.contact {
  background: var(--dark);
}

.contact-inner {
  max-width: 700px;
  text-align: center;
}

.contact .section-label {
  color: var(--gold-light);
}

.contact .section-title {
  color: var(--white);
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--white);
  transition: opacity 0.2s;
}

.contact-item:hover {
  opacity: 0.75;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

/* FORM */

.contact-form-wrap {
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* ---- FOOTER ---- */

.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  margin-top: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 160px 1fr;
    gap: 40px;
  }

  .partners-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .partners-visual {
    max-width: 420px;
  }

  .founder-grid {
    grid-template-columns: 240px 1fr;
    gap: 44px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 56px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
  }

  .hero-content {
    padding: 120px 24px 60px;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-label {
    text-align: left;
    border-right: none;
    border-left: 2px solid var(--gold);
    padding-right: 0;
    padding-left: 16px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-image-placeholder {
    aspect-ratio: 4/3;
    max-width: 320px;
    margin: 0 auto;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    flex: 0 0 40%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero-headline {
    font-size: 34px;
  }

  .focus-card {
    padding: 28px 24px;
  }

  .partners-card {
    padding: 28px 24px;
  }
}
