/* ==========================================================================
   VARIANT 1: WARM EDITORIAL TRAVERTINE LUXURY (styles-1.css)
   Aesthetic: Architectural Digest / Sotheby's Warm Travertine & Champagne Gold
   Typography: Cinzel (Display) + Josefin Sans (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Josefin+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Warm Travertine & Alabaster Palette */
  --bg-main: #FBF9F5;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3EFE7;
  --bg-elevated: #EDE7DC;
  
  --text-dark: #181716;
  --text-body: #484541;
  --text-muted: #827E78;
  
  --gold-primary: #C5A55A;
  --gold-light: #E0C782;
  --gold-dark: #96762B;
  --gold-gradient: linear-gradient(135deg, #DFCA8E 0%, #C5A55A 50%, #9E7D30 100%);
  --gold-subtle-glow: rgba(197, 165, 90, 0.15);
  
  --border-light: rgba(197, 165, 90, 0.25);
  --border-subtle: #E8E3D7;
  
  --shadow-sm: 0 4px 12px rgba(24, 23, 22, 0.04);
  --shadow-md: 0 12px 30px rgba(24, 23, 22, 0.06), 0 2px 6px rgba(197, 165, 90, 0.08);
  --shadow-lg: 0 24px 55px rgba(24, 23, 22, 0.09), 0 4px 14px rgba(197, 165, 90, 0.12);
  
  --font-heading: 'Cinzel', serif;
  --font-body: 'Josefin Sans', sans-serif;
  
  --container-max: 1240px;
  --nav-height: 84px;
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture, video {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  width: 100%;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.gold-accent {
  color: var(--gold-dark);
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
  padding: 5px 16px;
  background: rgba(197, 165, 90, 0.1);
  border: 1px solid var(--border-light);
  border-radius: 999px;
}

.section-heading {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  margin: 22px auto 0 auto;
  border: none;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: #181716;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(197, 165, 90, 0.28);
  transition: all 0.3s var(--ease-editorial);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(197, 165, 90, 0.4);
  filter: brightness(1.04);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 32px;
  border-radius: 999px;
  background: var(--bg-surface);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid var(--border-light);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-editorial);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Floating Pill Navbar */
.navbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
  transition: top 0.3s ease;
}

.nav-pill {
  pointer-events: auto;
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  border-radius: 999px;
  background: rgba(251, 249, 245, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease-editorial);
}

.navbar.scrolled .nav-pill {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  padding: 8px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  transform: translateY(-2px);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  line-height: 1.05;
}

.nav-logo-sub {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 3px;
  line-height: 1.15;
}

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

.nav-links a,
.nav-link-btn {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-body);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-link-btn:hover {
  color: var(--gold-dark);
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.82rem !important;
}

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* Mobile Nav Overlay */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(251, 249, 245, 0.98);
  backdrop-filter: blur(20px);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 40px 20px;
}

.nav-mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-overlay a,
.nav-mobile-overlay button {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  background: none;
  border: none;
}

.nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* Editorial Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 50px);
  padding-bottom: 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(197, 165, 90, 0.12);
  border: 1px solid var(--border-light);
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

.hero-name {
  font-size: clamp(3rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-slogan {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 22px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Editorial Photo Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-editorial {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  padding: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.hero-image-editorial img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.hero-floating-quote {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
  max-width: 250px;
}

.hero-floating-quote p {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.hero-floating-quote span {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Stats Panel */
.stats-panel-editorial {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 34px 40px;
  box-shadow: var(--shadow-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* Section Common */
.section {
  padding: 90px 0;
}

/* Interactive New Brunswick Mortgage Calculator */
.mortgage-calc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.calc-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.calc-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.calc-input-group {
  margin-bottom: 24px;
}

.calc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.calc-header-row label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.calc-header-row .calc-live-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.calc-slider {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--bg-subtle);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 8px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(197, 165, 90, 0.4);
  border: 2px solid #FFF;
}

.down-payment-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.down-preset-btn {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.down-preset-btn.active,
.down-preset-btn:hover {
  background: var(--bg-surface);
  border-color: var(--gold-primary);
  color: var(--gold-dark);
}

.cmhc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(197, 165, 90, 0.12);
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 8px;
}

.calc-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-pills-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.calc-pills-4 {
  grid-template-columns: repeat(4, 1fr);
}

.calc-pill-btn {
  padding: 10px 8px;
  text-align: center;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-pill-btn.active {
  background: var(--bg-surface);
  border-color: var(--gold-primary);
  color: var(--gold-dark);
  box-shadow: var(--shadow-sm);
}

/* Results Card */
.calc-result-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 34px 28px;
}

.calc-payment-header {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.calc-payment-title {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.calc-payment-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.calc-payment-freq {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Breakdown List */
.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.calc-breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-body);
}

.calc-breakdown-item strong {
  font-family: var(--font-heading);
  color: var(--text-dark);
}

/* NB Closing Costs Box */
.nb-closing-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.nb-closing-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.nb-closing-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.nb-closing-row strong {
  color: var(--text-dark);
}

.nb-closing-total {
  border-top: 1px dashed var(--border-subtle);
  padding-top: 8px;
  margin-top: 8px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Service Roadmap Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card-editorial {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease-editorial);
}

.service-card-editorial:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 24px;
}

.service-card-editorial h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.service-card-editorial p {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-link {
  color: var(--gold-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 12px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image-card {
  position: relative;
  background: var(--bg-surface);
  padding: 10px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.about-image-card img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 22px;
  box-shadow: var(--shadow-md);
}

.about-badge span {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.about-badge small {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.highlight-box svg {
  color: var(--gold-dark);
  flex-shrink: 0;
}

.highlight-box span {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card-editorial {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  color: #D97706;
  margin-bottom: 18px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 26px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--gold-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-info h4 {
  font-size: 1rem;
}

.testimonial-info span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Contact Section */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-card-editorial {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 42px 36px;
  box-shadow: var(--shadow-md);
}

.contact-card-editorial h3 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.contact-card-editorial p {
  color: var(--text-body);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 34px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.contact-item-text span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-item-text a,
.contact-item-text strong {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}

.contact-item-text a:hover {
  color: var(--gold-dark);
}

.accreditations-editorial {
  border-top: 1px solid var(--border-subtle);
  padding-top: 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.accreditations-editorial img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* Contact Form */
.form-card-editorial {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 42px 38px;
  box-shadow: var(--shadow-md);
}

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

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: var(--bg-surface);
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15);
}

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

/* Footer */
.footer-editorial {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 50px 0 30px 0;
  margin-top: 60px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 34px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
}

.footer-logos {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav a,
.footer-nav button {
  color: var(--text-body);
  font-size: 0.88rem;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: var(--gold-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .mortgage-calc-card,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  /* Navbar */
  .navbar {
    top: 10px;
    padding: 0 10px;
  }
  .nav-pill {
    padding: 8px 14px;
  }
  .navbar.scrolled .nav-pill {
    padding: 7px 12px;
  }
  .nav-logo {
    gap: 9px;
  }
  .nav-logo img {
    height: 30px;
    transform: translateY(-1px);
  }
  .nav-logo-text span:first-child {
    font-size: 0.94rem;
    letter-spacing: 0.04em;
  }
  .nav-logo-sub {
    font-size: 0.56rem;
    letter-spacing: 0.16em;
    margin-top: 1px;
  }
  .nav-hamburger {
    padding: 6px;
  }

  /* Section Padding */
  .section {
    padding: 56px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .section-heading {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem);
  }
  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-height) + 14px);
    padding-bottom: 40px;
  }
  .hero-name {
    font-size: clamp(2.1rem, 8.5vw, 3rem);
    word-break: break-word;
  }
  .hero-slogan {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
  }
  .hero-description {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .hero-badge {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 5px 14px;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.88rem;
  }
  .hero-image-editorial {
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-floating-quote {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 12px 16px;
    border-radius: 12px;
  }
  .hero-floating-quote p {
    font-size: 0.84rem;
  }

  /* Stats Bar */
  .stats-panel-editorial {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  .stat-item::after {
    display: none !important;
  }

  /* Mortgage Calculator */
  .mortgage-calc-card {
    padding: 24px 16px;
    border-radius: 18px;
    gap: 28px;
  }
  .calc-title {
    font-size: 1.6rem;
  }
  .calc-subtitle {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }
  .calc-row-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .calc-result-card {
    padding: 22px 14px;
    border-radius: 16px;
  }
  .calc-payment-amount {
    font-size: 2.4rem;
  }
  .down-payment-row {
    gap: 8px;
  }
  .down-preset-btn {
    padding: 5px 10px;
    font-size: 0.76rem;
  }
  .cmhc-status-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
  .calc-pills-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .calc-pill-btn {
    padding: 8px 6px;
    font-size: 0.78rem;
  }
  .nb-closing-box {
    padding: 14px 12px;
  }
  .nb-closing-row {
    font-size: 0.8rem;
    gap: 8px;
  }
  .calc-breakdown-item {
    font-size: 0.84rem;
    gap: 8px;
  }

  /* About Section */
  .about-image-card {
    border-radius: 16px;
    max-width: 360px;
    margin: 0 auto;
  }
  .about-badge {
    right: 10px;
    bottom: 10px;
    padding: 10px 14px;
    border-radius: 10px;
  }
  .about-badge span {
    font-size: 0.92rem;
  }
  .about-badge small {
    font-size: 0.64rem;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .highlight-box {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .highlight-box span {
    font-size: 0.85rem;
  }

  /* Services & Testimonials & Contact */
  .service-card-editorial,
  .testimonial-card-editorial,
  .contact-card-editorial,
  .form-card-editorial {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .accreditations-editorial {
    flex-wrap: wrap;
    gap: 16px;
  }
  .accreditations-editorial img {
    height: 32px;
  }

  /* Footer */
  .footer-editorial {
    padding: 36px 0 24px 0;
    margin-top: 40px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none !important;
  }
  .stat-item {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }
  .navbar {
    top: 6px;
    padding: 0 6px;
  }
  .nav-pill {
    padding: 6px 10px;
  }
  .nav-logo {
    gap: 7px;
  }
  .nav-logo img {
    height: 26px;
  }
  .nav-logo-text span:first-child {
    font-size: 0.84rem;
  }
  .nav-logo-sub {
    font-size: 0.5rem;
  }
}
