/* ════════════════════════════════════════════════════════════════
   MARILEE H. SHORT — REALTOR® — BARDSTOWN, KY
   Full Website Stylesheet
   Preserves the approved business card aesthetic:
   Navy #10243d | Gold #c8a24a | Cream #f7f3eb
   ════════════════════════════════════════════════════════════════ */

:root {
  --navy: #10243d;
  --navy-light: #1a3556;
  --navy-deep: #0a1729;
  --blue: #1f5f95;
  --gold: #c8a24a;
  --gold-light: #d4b86a;
  --gold-glow: rgba(200,162,74,.30);
  --cream: #f7f3eb;
  --cream-dark: #ede6d6;
  --white: #ffffff;
  --ink: #172033;
  --muted: #8a94a6;
  --line: rgba(16,36,61,.12);
  --shadow-card: 0 26px 80px rgba(16,36,61,.22), 0 0 0 1px rgba(255,255,255,.9);
  --shadow-sm: 0 4px 16px rgba(16,36,61,.10);
  --shadow-md: 0 12px 40px rgba(16,36,61,.15);
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #ffffff 0%, var(--cream) 48%, #e8eef5 100%);
  min-height: 100vh;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.6s ease;
}

/* Editorial display serif for headlines — Virgin-style typography hierarchy */
h1, h2, h3, .hero-text h1, .section-title, .section-title-alt,
.card h3, .feature-card h3, .footer-brand h3, .idx-section h2,
.cta-section h2, .hero-eyebrow {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}

.section-subtitle, .hero-subtitle {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

/* ════════════════════════════════════════════
   NAVIGATION BAR
   ════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(16,36,61,.30);
  border-bottom: 3px solid var(--gold);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-brand-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
}

.navbar-brand-text .realtor-tag {
  font-size: 11px;
  color: var(--gold);
  display: block;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-links {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  list-style: none;
  flex: 1;
  max-width: 830px;
}

.navbar-links li {
  flex: 0 1 auto;
  text-align: center;
}

.navbar-links a {
  display: block;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all .2s ease;
  white-space: nowrap;
}

.navbar-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.10);
}

.navbar-links a.active {
  color: var(--gold);
  background: rgba(200,162,74,.12);
}

.navbar-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
}

.navbar-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ════════════════════════════════════════════
   HERO SECTION (Homepage)
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(16,36,61,.82) 0%,
    rgba(16,36,61,.55) 50%,
    rgba(16,36,61,.72) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text {
  flex: 1;
  color: var(--white);
}

.hero-text .hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.30);
}

.hero-text .hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,.90);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-photo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-photo img.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,.40);
}

.hero-photo .specialty-mini {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 200px;
}

.hero-photo .specialty-mini span {
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.20);
}

/* ════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  font-family: inherit;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.40);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-large {
  padding: 16px 32px;
  font-size: 17px;
}

/* ════════════════════════════════════════════
   PAGE CONTAINER & LAYOUT
   ════════════════════════════════════════════ */
.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.page-container.narrow {
  max-width: 860px;
}

/* Page header (for subpages) */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 60px 24px 48px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumbs a:hover { text-decoration: underline; }

.breadcrumbs span { margin: 0 6px; }

/* ════════════════════════════════════════════
   SECTIONS & CARDS
   ════════════════════════════════════════════ */
.section {
  padding: 64px 24px;
}

.section-alt {
  background: var(--cream);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}

.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  border: 1px solid var(--line);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

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

.card h3 {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 16px;
}

.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

/* ════════════════════════════════════════════
   FEATURE GRID (Homepage quick links)
   ════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all .3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.feature-card .feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ════════════════════════════════════════════
   IDX / SEARCH EMBED SECTION
   ════════════════════════════════════════════ */
.idx-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 64px 24px;
  text-align: center;
}

.idx-section h2 {
  color: var(--white);
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 12px;
}

.idx-section p {
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.idx-embed-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.idx-placeholder {
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}

.idx-placeholder .idx-placeholder-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.idx-placeholder h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.idx-placeholder p {
  font-size: 14px;
  margin-bottom: 20px;
}

.idx-embed-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  font-style: italic;
}

/* ════════════════════════════════════════════
   AREAS SERVED CHIPS
   ════════════════════════════════════════════ */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.neighborhood-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all .2s ease;
}

.neighborhood-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.neighborhood-card .area-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.neighborhood-card h4 {
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 4px;
}

.neighborhood-card p {
  font-size: 13px;
  color: var(--muted);
}

/* Specialty tags (from card) */
.specialty-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 16px 0;
}

.specialty-tag {
  background: var(--cream);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

/* ════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s ease;
}

.faq-question:hover {
  background: var(--cream);
}

.faq-question::after {
  content: "+";
  font-size: 24px;
  color: var(--gold);
  font-weight: 300;
  transition: transform .2s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}

.faq-answer-inner strong {
  color: var(--navy);
}

/* ════════════════════════════════════════════
   CONTACT SECTION
   ════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.contact-method:last-child { border-bottom: none; }

.contact-method .contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-method .contact-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-method .contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

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

/* ════════════════════════════════════════════
   SOCIAL LINKS GRID
   ════════════════════════════════════════════ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: all .2s ease;
}

.social-link:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.social-link .social-icon {
  font-size: 24px;
  width: 40px;
  text-align: center;
}

.social-link .social-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* ════════════════════════════════════════════
   BOURBON / BARDSTOWN LIFE SECTION
   ════════════════════════════════════════════ */
.bourbon-section {
  background: linear-gradient(135deg, #2a1810 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 64px 24px;
}

.bourbon-section h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 12px;
  color: var(--gold);
}

.bourbon-section .section-subtitle {
  color: rgba(255,255,255,.70);
}

.distillery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.distillery-card {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(200,162,74,.20);
  transition: all .3s ease;
}

.distillery-card:hover {
  background: rgba(255,255,255,.10);
  border-color: var(--gold);
}

.distillery-card .distillery-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.distillery-card h4 {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 8px;
}

.distillery-card p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}

.distillery-card.featured {
  border-color: var(--gold);
  background: rgba(200,162,74,.10);
}

.distillery-card.featured .friend-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* ════════════════════════════════════════════
   CONTENT TYPOGRAPHY (for guide/blog pages)
   ════════════════════════════════════════════ */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  color: var(--navy);
  font-size: 26px;
  margin: 40px 0 16px;
  font-weight: 700;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  color: var(--navy);
  font-size: 20px;
  margin: 32px 0 12px;
  font-weight: 600;
}

.prose p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--ink);
}

.prose ul, .prose ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.prose strong { color: var(--navy); }

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--navy);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin: 48px 0;
}

.cta-banner h3 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--navy);
  margin-bottom: 24px;
  font-size: 16px;
}

/* ════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  margin-bottom: 24px;
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 12px;
}

.testimonial-card .testimonial-text {
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-card .testimonial-author {
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
}

.testimonial-card .testimonial-author span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}

.testimonial-placeholder {
  text-align: center;
  padding: 48px;
  background: var(--cream);
  border-radius: var(--radius);
  color: var(--muted);
}

/* ════════════════════════════════════════════
   BLOG LIST
   ════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all .3s ease;
  text-decoration: none;
  color: var(--ink);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card .blog-image {
  width: 100%;
  height: 180px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.blog-card .blog-body {
  padding: 24px;
}

.blog-card .blog-date {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.blog-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.blog-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.70);
  padding: 48px 24px 24px;
  border-top: 3px solid var(--gold);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.60);
}

.footer-col h5 {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,.70);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.50);
}

.footer-bottom .realtor-equal {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255,255,255,.40);
}

/* ════════════════════════════════════════════
   RESPONSIVE — Mobile
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.30);
    max-width: none;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links li {
    flex: none;
    text-align: left;
  }

  .navbar-links a {
    width: 100%;
    padding: 14px 16px;
  }

  .navbar-toggle {
    display: block;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-photo img.avatar {
    width: 140px;
    height: 140px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .section { padding: 40px 16px; }
  .page-container { padding: 32px 16px; }
  .card { padding: 24px; }
  .cta-banner { padding: 32px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .navbar-brand-text { font-size: 15px; }
  .navbar-brand-text .realtor-tag { font-size: 9px; }
}

/* Print styles */
@media print {
  .navbar, .footer, .hero-cta-group, .navbar-toggle { display: none; }
  body { background: white; }
}

/* ═══════════════════════════════════════════════════════════════
   VIRGIN-STYLE UPGRADES — animations, transitions, premium polish
   Added to bring the static site closer to virgin.com's feel
   ═══════════════════════════════════════════════════════════════ */

/* Global smooth transitions on interactive elements */
a, button, .btn, .card, .feature-card, input, textarea, select {
  transition: transform .28s cubic-bezier(.2,.7,.3,1),
              box-shadow .28s cubic-bezier(.2,.7,.3,1),
              background-color .25s ease,
              color .25s ease,
              border-color .25s ease,
              opacity .25s ease;
}

/* Buttons: premium press + lift */
.btn { position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold:hover { box-shadow: 0 10px 30px var(--gold-glow); }
.btn-navy:hover { box-shadow: 0 10px 30px rgba(16,36,61,.35); }

/* Cards: lift on hover (Virgin-style micro-interaction) */
.card, .feature-card {
  transform: translateY(0);
}
.card:hover, .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px rgba(16,36,61,.26), 0 0 0 1px rgba(255,255,255,.9);
}
.card-icon, .feature-icon {
  transition: transform .4s cubic-bezier(.2,.7,.3,1), color .25s ease;
}
.card:hover .card-icon, .feature-card:hover .feature-icon {
  transform: scale(1.12) translateY(-2px);
}

/* Hero: subtle zoom on the banner + diagonal slanted bottom edge */
.hero { position: relative; overflow: hidden; }
.hero-banner {
  transition: transform 1.2s ease-out;
  will-change: transform;
}
.hero:hover .hero-banner { transform: scale(1.03); }
/* Diagonal slanted edge at hero bottom (Virgin motif) */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 56px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}

/* Gold underline accent on section titles (recurring brand motif) */
.section-title, .section-title-alt, .idx-section h2, .cta-section h2 {
  position: relative;
  display: inline-block;
}
.section-title::after, .section-title-alt::after,
.idx-section h2::after, .cta-section h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -14px;
  transform: translateX(-50%);
  width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
}

/* Avatar: refined gold ring + subtle float */
.hero-photo img.avatar {
  box-shadow: 0 30px 60px rgba(16,36,61,.35);
}
.hero-photo { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Scroll-triggered fade-in animations (no JS, modern browsers) ── */
.section, .card, .feature-card, .idx-section, .cta-section,
.areas-chips, .footer, .newsletter, .latest-stories {
  animation: fadeUp .7s cubic-bezier(.2,.7,.3,1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 22%;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fallback: if animation-timeline unsupported, just show content */
@supports not (animation-timeline: view()) {
  .section, .card, .feature-card, .idx-section, .cta-section,
  .areas-chips, .footer, .newsletter, .latest-stories {
    animation: none;
  }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-photo { animation: none; }
}

/* Nav link underline grow on hover */
.navbar-links a {
  position: relative;
}
.navbar-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.navbar-links a:hover::after { width: 100%; }

/* Chip hover pop */
.areas-chips a, .chip {
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.areas-chips a:hover, .chip:hover {
  transform: translateY(-3px) scale(1.04);
}

/* ── Newsletter section ── */
.newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.newsletter::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.newsletter h2 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 10px;
  position: relative;
}
.newsletter p {
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto 26px;
  position: relative;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1 1 260px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.14);
}
.newsletter-form button {
  flex: 0 0 auto;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
}
.newsletter-form button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--gold-glow);
}
.newsletter-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  position: relative;
}

/* ── Latest Stories / Featured section (Virgin-style editorial) ── */
.latest-stories { padding: 70px 0; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 44px;
}
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.story-card-img {
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.story-card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(16,36,61,.35));
}
.story-card-body { padding: 20px 22px 24px; }
.story-card .story-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.story-card h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--navy);
}
.story-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.story-card .story-meta {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* Story card with direct content (no .story-card-body wrapper) */
.story-card > .story-category,
.story-card > h3,
.story-card > p,
.story-card > .story-read-more {
  display: block;
  padding: 0 22px;
}
.story-card > .story-category { padding-top: 22px; }
.story-card > p { margin-bottom: 16px; }
.story-card > .story-read-more {
  margin-top: auto;
  padding-bottom: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}
.story-card > .story-read-more:hover {
  color: var(--navy);
  letter-spacing: 0.02em;
}
.story-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Newsletter fineprint */
.newsletter-fineprint {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Section intro helper */
.section-intro {
  max-width: 620px;
  margin: 0 auto 8px;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
}

/* Improved focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Mobile tweaks for new sections */
@media (max-width: 600px) {
  .newsletter { padding: 40px 22px; }
  .newsletter h2 { font-size: 24px; }
  .newsletter-form input[type="email"] { flex: 1 1 100%; }
  .stories-grid { grid-template-columns: 1fr; }
  .hero::after { height: 32px; }
}

/* ===== FOOTER LEGAL LINKS ===== */
.footer-legal-links {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-legal-links a:hover {
  color: var(--gold);
}

/* ===== LEGAL PAGES (Privacy / Terms) ===== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  line-height: 1.8;
  color: var(--navy);
}
.legal-content h1 {
  font-size: 38px;
  margin-bottom: 8px;
  color: var(--navy);
}
.legal-content .updated-date {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal-content h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--navy);
}
.legal-content p {
  margin-bottom: 16px;
  font-size: 15px;
}
.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}
.legal-content li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
}
.legal-content a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.legal-content a:hover {
  text-decoration: underline;
}
.legal-back-link {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 28px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.legal-back-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16, 36, 61, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════
   AI HOME SEARCH ASSISTANT — Floating Chat Widget
   Branded chat assistant embedded on every page
   Navy #10243d | Gold #c8a24a | Cream #f7f3eb
   ═══════════════════════════════════════════════════════════════════ */

/* Floating launcher button */
.ai-chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99998;
  min-width: 62px;
  height: 56px;
  padding: 0 22px 0 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border: 3px solid var(--gold);
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(16,36,61,.35), 0 0 0 0 var(--gold-glow);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, background .3s ease;
  animation: aiPulse 3s ease-in-out infinite;
  letter-spacing: .3px;
}
.ai-launcher-text {
  line-height: 1;
  white-space: nowrap;
}
.ai-chat-launcher:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(16,36,61,.45);
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
}
.ai-chat-launcher.active {
  transform: rotate(0deg) scale(1.05);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
}
@keyframes aiPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(16,36,61,.35), 0 0 0 0 var(--gold-glow); }
  50% { box-shadow: 0 8px 30px rgba(16,36,61,.35), 0 0 0 12px rgba(200,162,74,0); }
}
.ai-launcher-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

/* Chat panel container */
.ai-chat-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 99999;
  width: 380px;
  max-width: calc(100vw - 48px);
  max-height: 600px;
  height: min(600px, calc(100vh - 140px));
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(16,36,61,.30), 0 0 0 1px rgba(16,36,61,.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(.96);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.3,1);
}
.ai-chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Chat header */
.ai-chat-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.ai-chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.2);
}
.ai-chat-header-info { flex: 1; min-width: 0; }
.ai-chat-header-info h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.01em;
}
.ai-chat-header-info .ai-status {
  font-size: 12px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-family: "Inter", sans-serif;
}
.ai-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,.6);
}
.ai-chat-close {
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
  flex-shrink: 0;
}
.ai-chat-close:hover { background: rgba(255,255,255,.25); }

/* Messages area */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--cream);
  scroll-behavior: smooth;
}
.ai-chat-messages::-webkit-scrollbar { width: 5px; }
.ai-chat-messages::-webkit-scrollbar-track { background: transparent; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

/* Message bubbles */
.ai-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  animation: aiMsgIn .35s ease both;
  word-wrap: break-word;
}
@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ai-msg.bot {
  background: var(--white);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
  align-self: flex-start;
}
.ai-msg.user {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.ai-msg.bot strong { color: var(--navy); }
.ai-msg.bot a { color: var(--blue); text-decoration: underline; }
.ai-msg.bot .ai-data-tag {
  display: inline-block;
  background: rgba(200,162,74,.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  margin-top: 8px;
  font-family: "Inter", sans-serif;
}

/* Typing indicator */
.ai-typing {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  align-self: flex-start;
  background: var(--white);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
}
.ai-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  animation: aiTypingBounce 1.4s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-8px); opacity: 1; }
}

/* Quick reply chips */
.ai-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  background: var(--cream);
  flex-shrink: 0;
}
.ai-quick-reply {
  background: var(--white);
  border: 1.5px solid var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.ai-quick-reply:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}

/* Input area */
.ai-chat-input-area {
  padding: 14px 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
}
.ai-chat-input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 11px 16px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: border-color .2s ease;
  resize: none;
  max-height: 80px;
  line-height: 1.4;
}
.ai-chat-input:focus { border-color: var(--gold); }
.ai-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(200,162,74,.35);
}
.ai-chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(200,162,74,.45);
}
.ai-chat-send:active { transform: scale(.95); }

/* Contact CTA inside chat */
.ai-contact-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  margin-top: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
  width: fit-content;
  align-self: flex-start;
}
.ai-contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16,36,61,.3);
}

/* Chat widget — mobile responsive */
@media (max-width: 480px) {
  .ai-chat-launcher {
    bottom: 16px;
    right: 16px;
    height: 50px;
    padding: 0 18px 0 16px;
    font-size: 15px;
  }
  .ai-launcher-badge {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .ai-chat-panel {
    bottom: 80px;
    right: 8px;
    width: calc(100vw - 16px);
    max-height: calc(100vh - 100px);
    border-radius: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   AI DESIGN STUDIO PAGE
   Virtual staging, furniture removal & replacement showcase
   ═══════════════════════════════════════════════════════════════════ */

/* Hero for AI Design Studio page */
.studio-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}
.studio-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(200,162,74,.15) 0%, transparent 60%);
}
.studio-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 56px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.studio-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.studio-hero-eyebrow {
  display: inline-block;
  background: rgba(200,162,74,.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
  font-family: "Inter", sans-serif;
}
.studio-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 5vw, 52px);
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}
.studio-hero h1 .accent { color: var(--gold); }
.studio-hero p {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.studio-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  padding: 16px 36px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(200,162,74,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.studio-hero-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(200,162,74,.45);
}

/* Before/after comparison slider */
.studio-section {
  padding: 80px 0;
}
.studio-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.ba-demo {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  border: 1px solid var(--line);
}
.ba-demo-header {
  text-align: center;
  margin-bottom: 28px;
}
.ba-demo-header h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 8px;
}
.ba-demo-header p {
  font-size: 15px;
  color: var(--muted);
}
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.ba-slider-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider-after-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ba-slider-after-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-slider-handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 4px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0,0,0,.3);
  z-index: 5;
  cursor: ew-resize;
}
.ba-slider-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.ba-slider-handle::after {
  content: "⇆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
}
.ba-slider-label {
  position: absolute;
  top: 16px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 4;
  pointer-events: none;
}
.ba-slider-label.before {
  left: 16px;
  background: rgba(16,36,61,.75);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.ba-slider-label.after {
  right: 16px;
  background: var(--gold);
  color: var(--navy);
}

/* Tool showcase cards */
.studio-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.studio-tool-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  text-align: center;
}
.studio-tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.studio-tool-icon {
  font-size: 44px;
  margin-bottom: 18px;
  display: inline-block;
  transition: transform .4s ease;
}
.studio-tool-card:hover .studio-tool-icon {
  transform: scale(1.15) translateY(-4px);
}
.studio-tool-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}
.studio-tool-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.studio-tool-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: all .2s ease;
}
.studio-tool-link:hover {
  color: var(--navy);
  transform: translateX(3px);
}

/* Benefits section */
.studio-benefits {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  padding: 80px 0;
}
.studio-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.studio-benefit {
  text-align: center;
  padding: 28px 20px;
}
.studio-benefit-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
}
.studio-benefit h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.studio-benefit p {
  font-size: 14px;
  color: var(--muted);
}

/* CTA section */
.studio-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.studio-cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(200,162,74,.12) 0%, transparent 65%);
}
.studio-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.studio-cta h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.studio-cta p {
  font-size: 17px;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  line-height: 1.6;
}
.studio-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.studio-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  padding: 16px 34px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(200,162,74,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.studio-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(200,162,74,.45);
}
.studio-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid rgba(255,255,255,.3);
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all .3s ease;
}
.studio-cta-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* Studio page — mobile */
@media (max-width: 768px) {
  .ba-demo { padding: 24px 16px; }
  .studio-tools-grid { grid-template-columns: 1fr; }
  .studio-cta-buttons { flex-direction: column; align-items: stretch; }
  .studio-cta-primary, .studio-cta-secondary { justify-content: center; }
}
