/* =========================================================
   StaySync Brand Stylesheet
   Deep Harbor #0F3D4C | Tidewater #1E7A8C | Sunset Glow #E8826B
   Soft Sand #E8DCC4 | Linen #F7F1E8
   Display: Fraunces (Recoleta-style warmth) | Body: Inter
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --deep-harbor: #0F3D4C;
  --tidewater: #1E7A8C;
  --sunset-glow: #E8826B;
  --soft-sand: #E8DCC4;
  --linen: #F7F1E8;
  --white: #FFFFFF;
  --ink: #16323C;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 61, 76, 0.08);
  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--deep-harbor);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { color: #3E5661; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--sunset-glow);
  color: var(--white);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(232,130,107,0.35); }
.btn-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-outline {
  background: transparent;
  border-color: var(--deep-harbor);
  color: var(--deep-harbor);
}
.btn-outline:hover { background: var(--deep-harbor); color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--linen);
  border-bottom: 1px solid rgba(15,61,76,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-harbor);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sunset-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--deep-harbor);
  position: relative;
}
.main-nav a.active,
.main-nav a:hover { color: var(--tidewater); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sunset-glow);
}

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cta .btn { flex-shrink: 0; }
.header-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep-harbor);
  display: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--deep-harbor);
}

@media (min-width: 768px) {
  .header-phone { display: inline; }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--linen);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(15,61,76,0.08);
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a {
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid rgba(15,61,76,0.06);
  }
  .nav-toggle { display: flex; }
  .header-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--deep-harbor), #144C5E 60%, var(--tidewater));
  color: var(--white);
  padding: 100px 0 90px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p.lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-stat { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.hero-stat:last-child { border-bottom: none; }
.hero-stat .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--sunset-glow); }
.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.75); text-align: right; max-width: 200px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* Page header (non-home pages) */
.page-header {
  background: linear-gradient(135deg, var(--deep-harbor), var(--tidewater));
  color: var(--white);
  padding: 70px 0 60px;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-sand { background: var(--soft-sand); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-top: 12px; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--soft-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--tidewater);
}
.card h3 { margin-bottom: 10px; }

.check-list { list-style: none; margin-top: 18px; }
.check-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  color: var(--ink);
  font-size: 0.95rem;
}
.check-list li::before {
  content: '✓';
  color: var(--tidewater);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 10px; }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tidewater);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 18px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1140px; margin: 0 auto; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; } }
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}
.price-card.featured { border-color: var(--sunset-glow); position: relative; }
.price-card.featured .badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--sunset-glow);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--deep-harbor);
  margin: 14px 0 4px;
}
.price-card .price span { font-size: 1rem; color: #6b8590; font-weight: 400; font-family: var(--font-body); }
.price-note { font-size: 0.85rem; color: #6b8590; margin-bottom: 20px; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-disclaimer {
  max-width: 700px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 0.88rem;
  color: #6b8590;
  background: var(--soft-sand);
  border-radius: var(--radius);
  padding: 18px 24px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 26px;
  font-weight: 600;
  color: var(--deep-harbor);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--sunset-glow);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 22px; color: #3E5661; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial .stars { color: var(--sunset-glow); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { font-style: italic; margin-bottom: 16px; }
.testimonial .name { font-weight: 600; color: var(--deep-harbor); font-style: normal; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--deep-harbor);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 28px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--deep-harbor); margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid #D8CBA9;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--tidewater);
}
textarea { resize: vertical; min-height: 120px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--deep-harbor);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card .info-row { display: flex; gap: 14px; margin: 20px 0; align-items: flex-start; }
.contact-info-card .info-row .icon { color: var(--sunset-glow); font-weight: 700; }
.contact-info-card a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep-harbor);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--sunset-glow); }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; color: var(--white); margin-bottom: 12px; }
.footer-tagline { font-size: 0.9rem; max-width: 280px; margin-bottom: 18px; }
.footer-powered { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 8px; }
.footer-powered a { color: var(--sunset-glow); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Property / Collection Cards ---------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-pill {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--soft-sand);
  background: var(--white);
  color: var(--deep-harbor);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.filter-pill:hover { background: var(--soft-sand); }
.filter-pill.active { background: var(--deep-harbor); color: var(--white); border-color: var(--deep-harbor); }

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .property-grid { grid-template-columns: 1fr; } }

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.property-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft-sand);
}
.property-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15,61,76,0.85);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}
.property-source {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--sunset-glow);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.property-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.property-location { font-size: 0.8rem; font-weight: 700; color: var(--tidewater); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.property-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.property-stats { display: flex; gap: 14px; font-size: 0.85rem; color: #6b8590; margin-bottom: 18px; flex-wrap: wrap; }
.property-body .btn { margin-top: auto; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.badge-pill {
  display: inline-block;
  background: var(--soft-sand);
  color: var(--deep-harbor);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
