/* ============================================================
   Goto Property Management — Launching Soon
   styles.css
   Palette derived from the brand logo (navy + gold) on a soft
   neutral background.
   ============================================================ */

:root {
  /* Brand */
  --navy:        #16263f;
  --navy-700:    #1d3557;
  --navy-500:    #2b486f;
  --gold:        #c79a3e;
  --gold-soft:   #e3c98a;
  --gold-tint:   #f6eedd;

  /* Neutrals */
  --bg:          #ffffff;
  --bg-soft:     #f8f6f1;   /* warm off-white */
  --bg-cream:    #faf8f4;
  --line:        #e7e3da;
  --text:        #243043;
  --text-soft:   #5c6675;
  --white:       #ffffff;

  /* System */
  --radius:      16px;
  --radius-sm:   10px;
  --shadow-sm:   0 1px 2px rgba(22,38,63,.06), 0 4px 14px rgba(22,38,63,.05);
  --shadow-md:   0 10px 30px rgba(22,38,63,.10);
  --shadow-lg:   0 24px 60px rgba(22,38,63,.16);
  --maxw:        1140px;
  --ease:        cubic-bezier(.2,.7,.2,1);

  --font-sans:   'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--navy); }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem);
}
.section-note, .section-head p {
  color: var(--text-soft);
  margin-top: 14px;
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  background: var(--gold-tint);
}
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(22,38,63,.06);
}
.header-inner {
  display: flex;
  align-items: center;            /* vertically centers the logo */
  justify-content: space-between;
  min-height: 100px;
  gap: 20px;
  transition: min-height .3s var(--ease);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
/* Logo is the primary brand mark — give it real presence. */
.brand-logo {
  height: 82px;
  width: auto;
  display: block;
  transition: height .3s var(--ease);
}
/* On scroll, shrink slightly for a polished, premium sticky header. */
.site-header.scrolled .header-inner { min-height: 84px; }
.site-header.scrolled .brand-logo { height: 68px; }
/* Company name kept in the DOM for SEO / screen readers, but hidden
   visually so it isn't duplicated next to the logo (which already
   contains the name). */
.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Nav */
.nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-menu a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .96rem;
  color: var(--text);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-menu a:not(.nav-cta):hover { color: var(--navy); background: var(--bg-soft); }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--navy-700); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 0;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-soft) 60%, var(--bg) 100%);
  isolation: isolate;
}
/* Subtle property-themed background pattern */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(60% 50% at 80% -10%, rgba(199,154,62,.12), transparent 70%),
    radial-gradient(50% 45% at 0% 0%, rgba(29,53,87,.08), transparent 70%),
    linear-gradient(rgba(22,38,63,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,38,63,.035) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  background-position: center;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  padding-bottom: 120px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--navy-700);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(199,154,62,.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(199,154,62,.5); }
  70%  { box-shadow: 0 0 0 10px rgba(199,154,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(199,154,62,0); }
}

.hero-logo-wrap {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 30px auto 8px;
  line-height: 0;
}
.hero-logo {
  height: auto;
  width: min(300px, 70vw);
  display: block;
  filter: drop-shadow(0 14px 30px rgba(22,38,63,.14));
}
/* Subtle, slow gold sheen — confined to the logo shape via a mask of the
   logo itself, so the highlight only travels across the artwork (catching
   the gold most). Disabled automatically by prefers-reduced-motion below. */
.hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
              transparent 44%,
              rgba(255, 241, 209, .55) 50%,
              transparent 56%);
  background-size: 220% 100%;
  background-repeat: no-repeat;
  background-position: 180% 0;
  -webkit-mask: url("logo.png") center / contain no-repeat;
          mask: url("logo.png") center / contain no-repeat;
  mix-blend-mode: screen;
  animation: heroSheen 8s ease-in-out infinite;
}
@keyframes heroSheen {
  0%   { background-position: 180% 0; }
  20%  { background-position: -80% 0; }
  100% { background-position: -80% 0; }
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 1.2rem + 3.8vw, 3.6rem);
  letter-spacing: -.01em;
  margin: 10px auto 0;
}
.hero-title .accent { color: var(--gold); white-space: nowrap; }
.hero-sub {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

/* CSS-only DFW-inspired skyline */
.skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  opacity: .9;
  z-index: -1;
}
.skyline .b {
  width: 46px;
  background: linear-gradient(180deg, var(--navy-500), var(--navy));
  border-radius: 4px 4px 0 0;
  position: relative;
  opacity: .14;
}
.skyline .b1  { height: 56px; }
.skyline .b2  { height: 92px; }
.skyline .b3  { height: 124px; width: 40px; }
.skyline .b4  { height: 70px; }
.skyline .b5  { height: 108px; width: 38px; }
.skyline .b6  { height: 64px; }
.skyline .b7  { height: 98px; }
.skyline .b8  { height: 134px; width: 36px; }
.skyline .b9  { height: 78px; }
.skyline .b10 { height: 58px; }
/* antenna spire (Reunion Tower / skyline nod) */
.skyline .spire::before {
  content: "";
  position: absolute;
  top: -22px; left: 50%;
  width: 2px; height: 22px;
  background: var(--navy);
  transform: translateX(-50%);
}
.skyline .ball::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
  opacity: .7;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg); }
.about-grid {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 20px;
}
.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  color: var(--navy);
  line-height: 1.45;
}
.about-grid p:not(.about-lead) { color: var(--text-soft); font-size: 1.05rem; }

/* ============================================================
   SERVICES (cards)
   ============================================================ */
.services { background: var(--bg-soft); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--gold-tint);
  color: var(--navy-700);
  margin-bottom: 18px;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.card:hover .card-icon { background: var(--navy); color: var(--gold-soft); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: .98rem; }

/* ============================================================
   WHY CHOOSE US (values)
   ============================================================ */
.why { background: var(--navy); }
.why .eyebrow { color: var(--gold-soft); }
.why .section-head h2 { color: var(--white); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.value {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              border-color .3s var(--ease);
}
.value:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.07);
  border-color: rgba(199,154,62,.5);
}
.value-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 600;
}
.value h3 { color: var(--white); font-size: 1.12rem; margin: 10px 0 8px; }
.value p { color: rgba(255,255,255,.72); font-size: .96rem; }

/* ============================================================
   CONTACT / WAITLIST
   ============================================================ */
.contact { background: var(--bg-cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact-copy h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.5rem);
}
.contact-copy p { color: var(--text-soft); margin-top: 14px; font-size: 1.05rem; }
.contact-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.contact-points li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: .98rem;
}
.contact-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold-tint);
  box-shadow: inset 0 0 0 2px var(--gold);
}
.contact-points li::after {
  content: "";
  position: absolute;
  left: 5px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Form */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}
.req { color: var(--gold); }
.optional { color: var(--text-soft); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: .98rem;
  color: var(--text);
  background: var(--bg-cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(199,154,62,.16);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #d36b6b;
  box-shadow: 0 0 0 4px rgba(211,107,107,.12);
}
.form-fineprint {
  font-size: .8rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: 2px;
}
.form-success[hidden] { display: none; }
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px;
  border-radius: var(--radius-sm);
  background: var(--gold-tint);
  border: 1px solid var(--gold-soft);
  animation: fadeUp .5s var(--ease) both;
}
.form-success svg {
  flex: none;
  width: 26px; height: 26px;
  color: var(--navy);
  background: var(--white);
  border-radius: 50%;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.form-success strong { display: block; color: var(--navy); }
.form-success span { color: var(--text-soft); font-size: .94rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}
.footer-logo {
  /* Size by width (logo is wider than tall) so it reads as the primary
     brand mark. Source is 846×707, so 130px is a clean downscale — crisp
     on retina/high-DPI. height:auto keeps the aspect ratio intact. */
  width: 130px;
  height: auto;
  display: block;
  margin-bottom: 26px;
  /* Render the logo as a clean monochrome (white) mark on the dark
     footer — no white box — for a premium, integrated look. */
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer-brand p { color: rgba(255,255,255,.62); max-width: 340px; font-size: .96rem; line-height: 1.65; }
.site-footer h4 {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,.74); font-size: .96rem; transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-contact p { font-size: .95rem; margin-bottom: 8px; }
.footer-contact .placeholder { color: rgba(255,255,255,.55); font-style: italic; }

/* Footer clickable contact items (email + address) */
.footer-contact-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 13px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 11px; }
/* Keep the icons small & fixed even if cached CSS lags — also sized via
   width/height attributes on the SVGs themselves as a fallback. */
.footer-contact-item svg,
.footer-contact-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--gold-soft);
}
.footer-contact-item a {
  color: rgba(255,255,255,.78);
  font-size: .95rem;
  line-height: 1.5;
  transition: color .2s var(--ease);
}
.footer-contact-item a:hover { color: var(--gold-soft); }
.footer-service-area { font-size: .9rem; color: rgba(255,255,255,.55); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 24px 40px;
  display: grid;
  gap: 10px;
}
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-bottom .disclaimer { max-width: 760px; line-height: 1.6; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .section { padding: 72px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px; left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu a { padding: 12px 14px; }
  .nav-cta { margin-left: 0; text-align: center; margin-top: 4px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .form-wrap { padding: 22px; }
  /* Restore top breathing room above the footer logo on mobile — the
     `.container { padding: 0 18px }` rule above otherwise zeroes the
     footer-grid's top padding, leaving the logo cramped against the edge. */
  .footer-grid { grid-template-columns: 1fr; padding-top: 48px; }
  .skyline { height: 96px; }
  /* Keep the brand mark prominent but proportional on small screens. */
  .header-inner { min-height: 82px; }
  .brand-logo { height: 64px; }
  .site-header.scrolled .header-inner { min-height: 72px; }
  .site-header.scrolled .brand-logo { height: 56px; }
  /* Footer brand: center the logo + paragraph and keep spacing tidy. */
  .footer-brand { text-align: center; }
  .footer-logo { width: 108px; margin-left: auto; margin-right: auto; margin-bottom: 20px; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   ACCESSIBILITY — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
