:root {
  color-scheme: light;
  --navy: #0f1a2b;
  --graphite: #1f2937;
  --sand: #f5efe6;
  --mist: #eef2f6;
  --copper: #c4873f;
  --sage: #2f6f67;
  --sun: #f6c36b;
  --white: #ffffff;
  --shadow: 0 24px 50px rgba(15, 26, 43, 0.14);
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #fdf7ef 0%, #f5efe6 45%, #eef2f6 100%);
  color: var(--graphite);
  line-height: 1.6;
}

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

img {
  width: 100%;
  display: block;
  border-radius: 22px;
}

ul {
  list-style: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 6vw;
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  letter-spacing: 0.3rem;
  color: var(--copper);
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.85rem;
  color: rgba(31, 41, 55, 0.7);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--navy);
  font-weight: 500;
}

.cta-pill {
  background: var(--sage);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(47, 111, 103, 0.3);
}

main {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 2rem 6vw 5rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
  padding-top: 2rem;
}

.hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196, 135, 63, 0.15);
  color: var(--copper);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 1.3rem;
}

.hero-lede {
  font-size: 1.1rem;
  color: rgba(31, 41, 55, 0.8);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.primary-btn {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(196, 135, 63, 0.3);
}

.ghost-btn {
  border-color: rgba(15, 26, 43, 0.2);
  color: var(--navy);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.highlight-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(31, 41, 55, 0.6);
}

.highlight-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

.hero-visual {
  position: relative;
}

.glow {
  position: absolute;
  inset: -10% -10% 30% -10%;
  background: radial-gradient(circle, rgba(196, 135, 63, 0.3), transparent 70%);
  filter: blur(10px);
  z-index: -1;
  animation: float 8s ease-in-out infinite;
}

.caption {
  font-size: 0.85rem;
  color: rgba(31, 41, 55, 0.6);
  margin-top: 0.75rem;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--navy);
}

.section-head p {
  max-width: 720px;
  color: rgba(31, 41, 55, 0.8);
}

.card {
  background: var(--white);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.location-grid figcaption {
  margin-top: 0.8rem;
  color: rgba(31, 41, 55, 0.6);
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.callout h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.callout ul {
  display: grid;
  gap: 0.6rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.amenity-card {
  background: linear-gradient(160deg, #ffffff 0%, #f7f0e6 100%);
  border-radius: 22px;
  padding: 1.4rem;
  border: 1px solid rgba(196, 135, 63, 0.2);
  box-shadow: 0 18px 34px rgba(15, 26, 43, 0.08);
}

.amenity-card h3 {
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.gallery-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.gallery-card img {
  border-radius: 16px;
  margin-bottom: 0.8rem;
}

.gallery-card figcaption {
  font-size: 0.9rem;
  color: rgba(31, 41, 55, 0.7);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.price-card ul {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.price-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.price-card strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.note {
  font-size: 0.9rem;
  color: rgba(31, 41, 55, 0.6);
  margin-top: 1rem;
}

.buyer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.buyer-grid ul {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.step-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--copper);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.95rem;
  color: rgba(31, 41, 55, 0.75);
  line-height: 1.5;
}

.reserve-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}

.payment-card {
  display: flex;
  flex-direction: column;
}

.payment-card ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
  flex: 1;
}

.payment-card .note {
  margin-top: auto;
  padding-top: 1rem;
}

@media (max-width: 720px) {
  .reserve-bottom {
    grid-template-columns: 1fr;
  }
}

/* Why Broker Section */
.broker-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.benefit-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--copper);
}

.benefit-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: rgba(31, 41, 55, 0.75);
  line-height: 1.5;
}

.broker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
  background: linear-gradient(140deg, rgba(15, 26, 43, 0.04), rgba(196, 135, 63, 0.08));
  border-radius: 28px;
  padding: 2.5rem;
}

.broker-centered {
  display: block;
  text-align: center;
}

.broker-centered .broker-content {
  max-width: 700px;
  margin: 0 auto;
}

.broker-centered .broker-profile {
  margin: 0 auto 1.5rem;
}

.broker-centered .broker-reasons {
  text-align: left;
}

.broker-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.broker-name {
  font-weight: 600;
  margin: 0.6rem 0 1.2rem;
}

.broker-profile {
  max-width: 220px;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.broker-profile img {
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 26, 43, 0.18);
}

.broker-reasons {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.broker-reasons ul {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.broker-contact a {
  color: var(--sage);
  font-weight: 600;
}

.contact-copy {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-copy:hover {
  opacity: 0.8;
}

.copy-hint {
  font-size: 0.8rem;
  color: rgba(31, 41, 55, 0.5);
  font-weight: 400;
}

.copy-tooltip {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--copper);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.copy-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--copper);
}

.copy-tooltip.show {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: inline-block;
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 0;
  color: var(--sage);
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 0.7;
}

.broker-panel {
  display: grid;
  gap: 1.4rem;
}

.panel-card {
  background: var(--white);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.panel-card.accent {
  background: var(--sage);
  color: var(--white);
}

.panel-card.accent .primary-btn {
  margin-top: 1rem;
  background: var(--white);
  color: var(--sage);
  box-shadow: none;
}

.availability-card {
  background: var(--sage);
  color: var(--white);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.availability-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.availability-card p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.availability-card .primary-btn {
  background: var(--white);
  color: var(--sage);
  box-shadow: none;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.faq-grid summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-grid details p {
  margin-top: 0.8rem;
  color: rgba(31, 41, 55, 0.8);
}

.site-footer {
  padding: 2.5rem 6vw;
  border-top: 1px solid rgba(15, 26, 43, 0.1);
  background: #fffaf2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.footer-subtitle {
  color: rgba(31, 41, 55, 0.6);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.footer-broker {
  font-size: 0.8rem;
  color: rgba(31, 41, 55, 0.6);
  line-height: 1.5;
}

.footer-reb-link {
  display: inline-block;
}

.footer-reb-logo {
  height: 32px;
  width: auto;
  border-radius: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-reb-logo:hover {
  opacity: 1;
}

.footer-powered {
  font-size: 0.8rem;
  color: rgba(31, 41, 55, 0.45);
}

.footer-qr {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-qr-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
}

.footer-qr-text {
  text-align: left;
}

.footer-qr-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.footer-qr-url {
  font-size: 0.8rem;
  color: rgba(31, 41, 55, 0.6);
}

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #1877F2;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.share-button:hover {
  background: #166FE5;
}

.share-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 720px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Legal Pages */
.legal-section {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: rgba(31, 41, 55, 0.6);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: rgba(31, 41, 55, 0.8);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  color: rgba(31, 41, 55, 0.8);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .cta-pill {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

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

  .broker {
    padding: 1.8rem;
  }

  .broker-profile {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow {
    animation: none;
  }
}

/* ========================================
   Inquiry Form Styles
   ======================================== */

.inquiry-section {
  padding-top: 2rem;
}

.inquiry-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: start;
}

.inquiry-intro h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.inquiry-intro > p {
  font-size: 1.1rem;
  color: rgba(31, 41, 55, 0.8);
  margin-bottom: 2rem;
}

.inquiry-highlights {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  background: linear-gradient(160deg, #ffffff 0%, #f7f0e6 100%);
  border-radius: 18px;
  border: 1px solid rgba(196, 135, 63, 0.2);
}

.inquiry-checklist {
  margin-top: 2rem;
}

.inquiry-checklist h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.inquiry-checklist ul {
  display: grid;
  gap: 0.5rem;
}

.inquiry-checklist li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(31, 41, 55, 0.8);
}

.inquiry-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: 600;
}

.inquiry-form {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 26, 43, 0.15);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--graphite);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(196, 135, 63, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(31, 41, 55, 0.4);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231f2937' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
}

.submit-btn:disabled {
  background: rgba(196, 135, 63, 0.5);
  cursor: not-allowed;
}

.form-status {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-top: 1.25rem;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  background: rgba(47, 111, 103, 0.12);
  color: var(--sage);
  border: 1px solid var(--sage);
}

.form-status.error {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border: 1px solid #f87171;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(31, 41, 55, 0.6);
  margin-top: 1.25rem;
  text-align: center;
}

@media (max-width: 720px) {
  .inquiry-form {
    padding: 1.5rem;
  }

  .inquiry-highlights {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ========================================
   Lightbox Styles
   ======================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 26, 43, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: var(--white);
  margin-top: 1.5rem;
  font-size: 1rem;
  text-align: center;
  opacity: 0.9;
  max-width: 600px;
}

/* ========================================
   Calculator Styles
   ======================================== */

.calculator-container {
  background: linear-gradient(160deg, #ffffff 0%, #f7f0e6 100%);
  border-radius: 24px;
  padding: 2rem;
  margin-top: 2.5rem;
  border: 1px solid rgba(196, 135, 63, 0.2);
  box-shadow: var(--shadow);
}

.calculator-container h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.calculator-intro {
  color: rgba(31, 41, 55, 0.7);
  margin-bottom: 2rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-group label {
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
}

.calc-group input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(15, 26, 43, 0.1);
  appearance: none;
  cursor: pointer;
}

.calc-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--copper);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(196, 135, 63, 0.4);
}

.calc-group input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--copper);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(196, 135, 63, 0.4);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(31, 41, 55, 0.6);
}

.range-value {
  font-weight: 600;
  color: var(--copper);
}

.calc-hint {
  font-size: 0.8rem;
  color: rgba(31, 41, 55, 0.5);
  margin-top: 0.25rem;
}

.calculator-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.result-card.total-price {
  background: var(--sage);
  color: var(--white);
}

.result-card.total-price .result-label {
  color: rgba(255, 255, 255, 0.7);
}

.result-card.total-price .result-value {
  color: var(--white);
  font-size: 1.6rem;
}

.result-card.highlight {
  background: var(--copper);
  color: var(--white);
}

.result-card.highlight .result-label {
  color: rgba(255, 255, 255, 0.85);
}

.result-card.highlight .result-value {
  color: var(--white);
}

.result-card.spot-cash {
  background: rgba(47, 111, 103, 0.1);
  border: 1px solid var(--sage);
}

.result-card.spot-cash .result-value {
  color: var(--sage);
}

.result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.result-label {
  font-size: 0.85rem;
  color: rgba(31, 41, 55, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.result-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
}

.result-value.small {
  font-size: 1.15rem;
}

.result-value.large {
  font-size: 2rem;
}

.result-sub {
  font-size: 0.85rem;
  opacity: 0.8;
}

.calc-cta {
  margin-top: 0.5rem;
  text-align: center;
}

@media (max-width: 900px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .calculator-container {
    padding: 1.5rem;
  }

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

  .result-value.large {
    font-size: 1.6rem;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(15, 26, 43, 0.3);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--copper);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 25;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    box-shadow: -4px 0 20px rgba(15, 26, 43, 0.1);
    transition: right 0.3s ease;
    z-index: 20;
  }

  .site-nav.open {
    right: 0;
  }

  .site-nav a {
    font-size: 1.1rem;
  }

  .cta-pill {
    order: 2;
  }
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 98;
}

.floating-contact-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(47, 111, 103, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.floating-contact-toggle:hover {
  transform: scale(1.05);
}

.floating-contact-toggle svg {
  width: 26px;
  height: 26px;
  transition: opacity 0.2s, transform 0.3s;
}

.floating-contact-toggle .icon-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}

.floating-contact.open .floating-contact-toggle .icon-chat {
  opacity: 0;
  transform: rotate(90deg);
}

.floating-contact.open .floating-contact-toggle .icon-close {
  opacity: 1;
  transform: rotate(0);
}

.floating-contact-options {
  position: absolute;
  bottom: 70px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.floating-contact.open .floating-contact-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15, 26, 43, 0.15);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-option:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(15, 26, 43, 0.2);
}

.floating-option img {
  width: 24px;
  height: 24px;
  border-radius: 0;
}

@media (max-width: 480px) {
  .floating-contact {
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Comparison Page Styles */
.compare-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.compare-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: var(--white);
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
}

.compare-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.compare-table th:first-child {
  border-radius: 16px 0 0 0;
}

.compare-table th:last-child {
  border-radius: 0 16px 0 0;
}

.compare-table th.highlight-col {
  background: var(--copper);
}

.compare-table td.highlight-col {
  background: rgba(196, 135, 63, 0.08);
  font-weight: 500;
}

.compare-table tbody tr:hover {
  background: rgba(15, 26, 43, 0.02);
}

.compare-table td:first-child {
  font-weight: 500;
  color: var(--navy);
}

.compare-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.compare-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--graphite);
}

.compare-card.nava {
  border-top-color: var(--copper);
}

.compare-card.ayala {
  border-top-color: var(--navy);
}

.compare-card.alabang-hills {
  border-top-color: var(--sage);
}

.compare-card h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.compare-tagline {
  font-size: 0.9rem;
  color: var(--copper);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.compare-card ul {
  display: grid;
  gap: 0.75rem;
}

.compare-card li {
  font-size: 0.95rem;
  color: rgba(31, 41, 55, 0.8);
  line-height: 1.5;
}

.compare-card .primary-btn {
  margin-top: 1.5rem;
  display: inline-block;
}

.price-reality-grid {
  display: grid;
  gap: 1.25rem;
}

.reality-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.reality-budget {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--copper);
}

.reality-options {
  display: grid;
  gap: 0.5rem;
}

.reality-options p {
  font-size: 0.95rem;
  color: rgba(31, 41, 55, 0.8);
}

@media (max-width: 600px) {
  .reality-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Partner Page Styles */
.partner-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.partner-tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--graphite);
}

.partner-card.agent {
  border-top-color: var(--copper);
}

.partner-card.referral {
  border-top-color: var(--sage);
}

.partner-card h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.partner-tagline {
  color: var(--copper);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.partner-card ul {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.partner-card li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(31, 41, 55, 0.8);
  line-height: 1.5;
}

.partner-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 600;
}

.partner-ideal {
  font-size: 0.9rem;
  color: rgba(31, 41, 55, 0.7);
  background: rgba(15, 26, 43, 0.03);
  padding: 1rem;
  border-radius: 12px;
}

.qualities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.quality-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.quality-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.quality-card p {
  font-size: 0.95rem;
  color: rgba(31, 41, 55, 0.75);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.benefit-item {
  background: linear-gradient(160deg, #ffffff 0%, #f7f0e6 100%);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(196, 135, 63, 0.15);
}

.benefit-item h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.benefit-item p {
  font-size: 0.95rem;
  color: rgba(31, 41, 55, 0.75);
}

.partner-cta {
  background: var(--sage);
  border-radius: 28px;
  padding: 3rem 2rem;
  text-align: center;
}

.partner-cta h2 {
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.partner-cta > p,
.partner-cta-content > p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.partner-cta .broker-name {
  color: var(--white);
  font-weight: 600;
}

.partner-cta .social-icon {
  filter: brightness(0) invert(1);
}
