/* ================================================
   BEACH AND BOULEVARD STAYS — Main Stylesheet
   Tone: Editorial Luxury
   Fonts: Cinzel (headings) + Josefin Sans (body)
   ================================================ */

/* --- Variables --- */
:root {
  --navy: #1b2e4b;
  --navy-dark: #0f1b2d;
  --navy-mid: #243c63;
  --gold: #c4973a;
  --gold-light: #d4af68;
  --gold-pale: #f5e8c8;
  --sand: #f8f3ea;
  --sand-dark: #ede6d8;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5a6473;
  --border: #ddd6c8;
  --shadow: 0 2px 16px rgba(27,46,75,0.08);
  --shadow-md: 0 4px 24px rgba(27,46,75,0.12);
  --shadow-lg: 0 8px 40px rgba(27,46,75,0.16);
  --radius: 4px;
  --radius-lg: 10px;
  --transition: 0.2s ease;
  --max-w: 1160px;
  --nav-h: 72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Josefin Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.015em;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1rem; font-weight: 600; }
p { max-width: 68ch; line-height: 1.78; }
.text-center p { margin-left: auto; margin-right: auto; }

/* --- Utilities --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 116px 0; }
.bg-navy { background: var(--navy); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p, .bg-navy li { color: rgba(255,255,255,0.82); }
.bg-sand { background: var(--sand); }
.bg-white { background: var(--white); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* --- Section Label --- */
.section-label {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* --- Divider --- */
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
}
.divider-center { margin: 20px auto; }

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: #b5872e;
  border-color: #b5872e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,151,58,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}
.btn-lg { padding: 16px 38px; font-size: 0.82rem; }
.btn-sm { padding: 9px 20px; font-size: 0.72rem; }

/* ========================
   NAVIGATION
   ======================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links li a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.65;
  transition: opacity var(--transition), color var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active { opacity: 1; color: var(--gold); }
.nav-cta .btn { padding: 9px 20px; font-size: 0.72rem; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 13px 0;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile .btn { margin-top: 20px; width: 100%; }

/* ========================
   HERO
   ======================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(10,18,30,0.84) 0%,
    rgba(10,18,30,0.62) 52%,
    rgba(10,18,30,0.28) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  color: var(--white);
  padding: 56px 0;
}
.hero-content .section-label { color: var(--gold-light); }
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
  margin-bottom: 36px;
  max-width: 52ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-badge {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.28);
  flex-shrink: 0;
}

/* ========================
   TRUST STRIP
   ======================== */
.trust-strip {
  background: var(--navy);
  padding: 36px 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.trust-item {
  padding: 4px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.trust-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}

/* ========================
   TWO-COLUMN LAYOUT
   ======================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.two-col-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.two-col-text h2 { margin-bottom: 16px; }
.two-col-text p { margin-bottom: 20px; color: var(--text-muted); }
.two-col-text .section-label { margin-bottom: 10px; }

/* --- Feature List --- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 24px 0 32px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.feature-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.feature-icon svg { width: 12px; height: 12px; color: var(--gold); }

/* ========================
   CARDS — PROBLEM
   ======================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.problem-icon svg { width: 24px; height: 24px; color: var(--navy); }
.problem-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.problem-card p { font-size: 0.9rem; color: var(--text-muted); max-width: none; line-height: 1.7; }

/* ========================
   STEPS
   ======================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 52px;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step-item {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--sand), 0 0 0 7px var(--border);
}
.bg-white .step-num { box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--border); }
.step-item h4 { font-size: 0.92rem; margin-bottom: 10px; }
.step-item p { font-size: 0.86rem; color: var(--text-muted); max-width: 180px; margin: 0 auto; line-height: 1.6; }

/* ========================
   SERVICES GRID
   ======================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold-pale);
}
.service-card-icon {
  width: 50px; height: 50px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-card-icon svg { width: 24px; height: 24px; color: var(--gold); }
.service-card h3 { font-size: 1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); max-width: none; line-height: 1.7; }

/* ========================
   PROPERTY IQ SECTION
   ======================== */
.piq-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.piq-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,151,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.piq-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.piq-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.piq-text h2 { color: var(--white); margin-bottom: 16px; }
.piq-text .section-label { color: var(--gold-light); }
.piq-text p { color: rgba(255,255,255,0.8); margin-bottom: 20px; max-width: 46ch; }
.piq-text .btn { margin-top: 8px; }
.piq-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.piq-tier {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  text-align: center;
  transition: all var(--transition);
}
.piq-tier:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(196,151,58,0.5);
  transform: translateY(-2px);
  cursor: default;
}
.piq-tier.featured {
  border-color: var(--gold);
  background: rgba(196,151,58,0.1);
}
.piq-tier-price {
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.piq-tier-name {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.piq-tier-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  max-width: none;
  line-height: 1.5;
}

/* ========================
   TEAM
   ======================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.team-photo {
  width: 100%;
  height: 300px;
  background: var(--sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-placeholder svg { width: 34px; height: 34px; color: var(--gold); }
.team-info { padding: 22px; }
.team-name { font-size: 0.95rem; margin-bottom: 4px; }
.team-role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.team-bio { font-size: 0.84rem; color: var(--text-muted); max-width: none; line-height: 1.65; }

/* ========================
   PRICING BOX
   ======================== */
.pricing-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  max-width: 720px;
  margin: 52px auto 0;
  text-align: center;
  box-shadow: var(--shadow);
}
.pricing-headline {
  font-family: 'Cinzel', serif;
  font-size: 3.2rem;
  color: var(--navy);
  line-height: 1;
  margin: 4px 0;
}
.pricing-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto;
}
.pricing-note { font-size: 0.9rem; color: var(--text-muted); max-width: 46ch; margin: 0 auto 28px; }
.pricing-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  text-align: left;
  margin: 28px 0 36px;
}
.pricing-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-muted);
}
.pricing-includes li svg { flex-shrink: 0; width: 15px; height: 15px; color: var(--gold); }

/* ========================
   TESTIMONIAL
   ======================== */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-quote-mark {
  font-family: 'Cinzel', serif;
  font-size: 5rem;
  color: var(--gold-pale);
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 36px;
  pointer-events: none;
  user-select: none;
}
.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}
.testimonial-stars svg { width: 18px; height: 18px; color: var(--gold); }
.testimonial-text {
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: 28px;
  font-style: italic;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-author {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ========================
   FAQ
   ======================== */
.faq-list { max-width: 700px; margin: 52px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
  letter-spacing: 0.02em;
  min-height: 44px;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.faq-icon svg { width: 13px; height: 13px; color: var(--navy); transition: transform 0.3s ease; }
.faq-item.open .faq-icon { background: var(--gold); border-color: var(--gold); }
.faq-item.open .faq-icon svg { color: var(--white); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 40px 22px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: none;
}
.faq-item.open .faq-answer { display: block; }

/* ========================
   CTA BANNER
   ======================== */
.cta-banner {
  background: var(--gold);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--navy); margin-bottom: 14px; }
.cta-banner p { color: rgba(27,46,75,0.75); margin-bottom: 32px; font-size: 0.97rem; max-width: none; }
.cta-banner-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ========================
   COMPARISON TABLE
   ======================== */
.compare-wrap { overflow-x: auto; margin-top: 52px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.compare-table th {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 24px;
  text-align: left;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  background: var(--sand);
}
.compare-table th.bbs-col { background: var(--navy); color: var(--white); }
.compare-table td { padding: 14px 24px; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: middle; }
.compare-table td.bbs-col { background: rgba(248,243,234,0.6); font-weight: 600; color: var(--navy); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--sand); }
.compare-table tr:hover td.bbs-col { background: var(--gold-pale); }
.check-yes, .check-no, .check-partial { display: flex; align-items: center; gap: 6px; }
.check-yes svg { color: #16a34a; width: 16px; height: 16px; }
.check-no svg { color: #d1d5db; width: 16px; height: 16px; }
.check-partial svg { color: var(--gold); width: 16px; height: 16px; }

/* ========================
   CONTACT
   ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 36px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--sand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; color: var(--navy); }
.contact-item-text .label {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-item-text a,
.contact-item-text span {
  font-size: 0.93rem;
  color: var(--navy);
  font-weight: 500;
}
.contact-item-text a:hover { color: var(--gold); }
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,151,58,0.14);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; text-align: center; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  color: #166534;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.86rem; line-height: 1.72; max-width: 26ch; }
.footer-col h4 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li span { font-size: 0.85rem; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ========================
   INNER PAGE HERO
   ======================== */
.page-hero {
  background: var(--navy);
  padding: 140px 0 76px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 40%, rgba(196,151,58,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1rem; max-width: 52ch; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
  justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold-light); }

/* ========================
   PROPERTY IQ PAGE
   ======================== */
.piq-hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%); }
.piq-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,151,58,0.14);
  border: 1px solid rgba(196,151,58,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.piq-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.piq-feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all var(--transition);
}
.piq-feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(196,151,58,0.4);
  transform: translateY(-2px);
}
.piq-feature-num {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 12px;
}
.piq-feature-card h4 { color: var(--white); margin-bottom: 10px; font-size: 0.95rem; }
.piq-feature-card p { font-size: 0.86rem; color: rgba(255,255,255,0.65); max-width: none; line-height: 1.68; }
.piq-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.piq-step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.piq-step-num {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 12px;
}
.piq-step h4 { color: var(--white); margin-bottom: 10px; }
.piq-step p { font-size: 0.88rem; color: rgba(255,255,255,0.65); max-width: none; }
.piq-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.piq-price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.piq-price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.piq-price-card.featured { border-color: var(--gold); border-width: 2px; }
.piq-price-badge {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--gold);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px;
  text-align: center;
}
.piq-price-card.featured { padding-top: 40px; }
.piq-price-amount {
  font-family: 'Cinzel', serif;
  font-size: 2.1rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.piq-price-period {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.piq-price-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 12px 0;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.piq-price-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; max-width: none; }
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.audience-card-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.audience-card-icon svg { width: 26px; height: 26px; color: var(--gold); }
.audience-card h3 { margin-bottom: 12px; }
.audience-card p { font-size: 0.9rem; color: var(--text-muted); max-width: none; margin-bottom: 16px; }
.audience-card ul { display: flex; flex-direction: column; gap: 8px; }
.audience-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-muted);
}
.audience-card ul li svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

/* ========================
   ABOUT PAGE
   ======================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 52px;
}
.story-text h2 { margin-bottom: 20px; }
.story-text p { color: var(--text-muted); margin-bottom: 18px; }
.values-list { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-icon svg { width: 22px; height: 22px; color: var(--gold); }
.value-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.value-text p { font-size: 0.87rem; color: var(--text-muted); max-width: none; margin: 0; }
.team-card-detail .team-bio { margin-bottom: 12px; }
.team-company {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ========================
   ANIMATIONS
   ======================== */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .fade-up.visible { opacity: 1; transform: none; }
  .fade-up:nth-child(2) { transition-delay: 0.08s; }
  .fade-up:nth-child(3) { transition-delay: 0.16s; }
  .fade-up:nth-child(4) { transition-delay: 0.24s; }
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .two-col { gap: 44px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .piq-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 60px 0; }
  .section-lg { padding: 80px 0; }
  .container { padding: 0 20px; }
  h2 { font-size: 1.55rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero { min-height: 80vh; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.1); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .two-col-img img { height: 280px; }
  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps-grid::before { display: none; }
  .step-num { box-shadow: 0 0 0 6px var(--sand), 0 0 0 7px var(--border); }
  .bg-white .step-num { box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--border); }
  .piq-inner { grid-template-columns: 1fr; gap: 44px; }
  .piq-tiers { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .pricing-box { padding: 32px 24px; }
  .pricing-includes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .piq-feature-grid { grid-template-columns: 1fr; }
  .piq-steps-grid { grid-template-columns: 1fr; }
  .piq-pricing-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 36px 28px; }
  .form-card { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .piq-tiers { grid-template-columns: 1fr; }
  .piq-pricing-grid { grid-template-columns: 1fr; }
  .trust-strip-inner { grid-template-columns: 1fr 1fr; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
}
