@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --nvw-primary: #8B7355;
  --nvw-primary-2: #A68B6B;
  --nvw-accent: #4A5A3C;
  --nvw-accent-2: #5C6E4D;
  --nvw-text: #2C2825;
  --nvw-muted: #6B6560;
  --nvw-surface: #FDFBF8;
  --nvw-surface-2: #F5F0EB;
  --nvw-border: #E8E0D8;
  --nvw-focus: #8B7355;
  --nvw-radius: 8px;
  --nvw-shadow: 0 4px 20px rgba(44, 40, 37, 0.08);
  --nvw-shadow-lg: 0 12px 40px rgba(44, 40, 37, 0.12);
  --nvw-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --nvw-font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --nvw-max-width: 1200px;
  --nvw-transition: 0.3s ease;
}

/* ------------------------------------------------------------------ */
/* Modern baseline                                                     */
/* ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--nvw-font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--nvw-text);
  background: var(--nvw-surface);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nvw-font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--nvw-text);
}

h3 {
  font-size: 1.4rem;
  margin: 1.5em 0 0.5em 0;
}

p {
  line-height: 1.8;
  margin-bottom: 1.25em;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: var(--nvw-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Links */
a {
  color: var(--nvw-primary);
  text-decoration: none;
  transition: color var(--nvw-transition);
}
a:hover {
  color: var(--nvw-primary-2);
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--nvw-focus);
  outline-offset: 2px;
}

/* Skip nav */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--nvw-primary);
  color: #fff;
  padding: 0.5em 1em;
  z-index: 2000;
  text-decoration: none;
  font-weight: 600;
  border-bottom-right-radius: var(--nvw-radius);
  font-family: var(--nvw-font-body);
}
.skip-link:focus {
  top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                              */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--nvw-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--nvw-transition);
  line-height: 1.2;
  text-align: center;
}

.btn-primary {
  background: var(--nvw-primary);
  color: #fff;
  border-color: var(--nvw-primary);
}
.btn-primary:hover {
  background: var(--nvw-primary-2);
  border-color: var(--nvw-primary-2);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--nvw-text);
}

.btn-accent {
  background: var(--nvw-accent);
  color: #fff;
  border-color: var(--nvw-accent);
}
.btn-accent:hover {
  background: var(--nvw-accent-2);
  border-color: var(--nvw-accent-2);
  color: #fff;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.8rem;
}

/* ------------------------------------------------------------------ */
/* Header & Navigation                                                 */
/* ------------------------------------------------------------------ */

#wrapper {
  overflow: visible;
  background: var(--nvw-surface);
}

#header {
  height: auto !important;
  padding: 16px 20px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  position: relative;
  background: var(--nvw-surface);
  border-bottom: 1px solid var(--nvw-border);
}

#logo {
  width: auto !important;
  float: none !important;
  text-align: left !important;
  flex-shrink: 0;
}

#logo img {
  max-width: 180px;
  height: auto;
}

#title {
  height: auto !important;
  padding-top: 0 !important;
  flex: 1 1 200px;
  text-align: right !important;
  overflow: visible !important;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0;
}

#title img { display: none !important; }

#title h2,
.site-name,
.site-tagline {
  font-family: var(--nvw-font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--nvw-muted);
  margin: 0;
  padding: 0;
  letter-spacing: 0.02em;
  display: inline;
}

.site-name::after {
  content: '\00a0\2014\00a0';
}

@media (max-width: 600px) {
  #header {
    justify-content: center;
    text-align: center !important;
  }

  #logo {
    flex: 0 0 100%;
    text-align: center !important;
  }

  #title {
    flex: 0 0 100%;
    justify-content: center;
    text-align: center !important;
  }

  .site-name,
  .site-tagline {
    font-size: 1rem;
  }
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--nvw-border);
  border-radius: var(--nvw-radius);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--nvw-text);
  position: relative;
  transition: background var(--nvw-transition);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--nvw-text);
  transition: transform var(--nvw-transition);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active span::after { transform: rotate(-45deg); top: 0; }

#menu {
  width: 100% !important;
  float: none !important;
  display: none;
  order: 10;
}

#menu.open {
  display: block;
}

#menu ul {
  float: none !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  margin: 0;
  list-style: none;
}

#menu li {
  float: none !important;
  display: block !important;
}

#menu a {
  display: block;
  padding: 12px 16px;
  font-family: var(--nvw-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nvw-text);
  border-radius: var(--nvw-radius);
  transition: all var(--nvw-transition);
}

#menu a:hover {
  background: var(--nvw-surface-2);
  color: var(--nvw-primary);
  text-decoration: none;
}

#menu .active a {
  background: var(--nvw-surface-2) !important;
  color: var(--nvw-primary) !important;
  border: none;
  box-shadow: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 12px 16px;
  border-radius: var(--nvw-radius);
}

.nav-cta {
  margin-top: 8px;
}

.nav-cta a {
  display: block;
  text-align: center;
}

@media (min-width: 992px) {
  .nav-toggle { display: none; }

  #menu {
    display: flex !important;
    width: 100% !important;
    flex: 1 1 100%;
    order: 10;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--nvw-border);
    margin-top: 8px;
    padding-top: 8px;
  }

  #menu ul {
    flex-direction: row;
    gap: 0;
    padding: 0;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
  }

  #menu a {
    padding: 8px 14px;
    white-space: nowrap;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 0;
  }

  .nav-cta a {
    display: inline-block;
  }
}

/* ------------------------------------------------------------------ */
/* Hero Section (full-width)                                           */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44, 40, 37, 0.45), rgba(44, 40, 37, 0.65));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-family: var(--nvw-font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 16px 0;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-family: var(--nvw-font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px 0;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero .btn {
  margin: 0 8px 8px 0;
}

/* Page banner (sub-pages) */
.page-banner {
  position: relative;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--nvw-primary);
  overflow: hidden;
}

.page-banner.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44, 40, 37, 0.5), rgba(44, 40, 37, 0.7));
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-banner h1 {
  font-family: var(--nvw-font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 8px 0;
  letter-spacing: 0.01em;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin: 0;
  font-weight: 300;
}

/* Hide the old banner */
#banner {
  display: none !important;
}

/* ------------------------------------------------------------------ */
/* Content Sections                                                    */
/* ------------------------------------------------------------------ */

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--nvw-surface-2);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-family: var(--nvw-font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--nvw-text);
  margin: 0 0 12px 0;
}

.section-heading p {
  color: var(--nvw-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--nvw-primary);
  margin: 16px auto;
  border: none;
}

/* ------------------------------------------------------------------ */
/* Cards                                                               */
/* ------------------------------------------------------------------ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 767px) {
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: #fff;
  border-radius: var(--nvw-radius);
  box-shadow: var(--nvw-shadow);
  overflow: hidden;
  transition: transform var(--nvw-transition), box-shadow var(--nvw-transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nvw-shadow-lg);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-family: var(--nvw-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 12px 0;
}

.card-body p {
  color: var(--nvw-muted);
  font-size: 0.9rem;
  margin: 0 0 16px 0;
  flex: 1;
}

.card-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Callout card */
.callout {
  background: var(--nvw-surface-2);
  border: 1px solid var(--nvw-border);
  border-radius: var(--nvw-radius);
  padding: 32px;
  margin: 32px 0;
}

.callout h3 {
  font-family: var(--nvw-font-display);
  font-size: 1.4rem;
  margin: 0 0 12px 0;
}

/* Pricing card */
.pricing-card {
  background: #fff;
  border: 2px solid var(--nvw-border);
  border-radius: var(--nvw-radius);
  padding: 32px;
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card .price {
  font-family: var(--nvw-font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--nvw-primary);
  margin: 12px 0;
}

/* ------------------------------------------------------------------ */
/* Testimonial cards                                                   */
/* ------------------------------------------------------------------ */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--nvw-radius);
  box-shadow: var(--nvw-shadow);
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--nvw-font-display);
  font-size: 4rem;
  color: var(--nvw-primary);
  opacity: 0.3;
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
}

.testimonial-card blockquote {
  margin: 0 0 16px 0;
  padding: 0;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--nvw-text);
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--nvw-primary);
}

.testimonial-card .stars {
  color: var(--nvw-primary);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ------------------------------------------------------------------ */
/* CTA Band                                                            */
/* ------------------------------------------------------------------ */

.cta-band {
  background: var(--nvw-primary);
  padding: 64px 20px;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--nvw-font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 8px 0;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0 0 24px 0;
}

/* ------------------------------------------------------------------ */
/* Page content layout                                                 */
/* ------------------------------------------------------------------ */

#page {
  padding: 48px 0;
  overflow: visible;
}

#page.container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

#content {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  flex: 1 1 620px;
}

#content h2, #widecontent h2 {
  font-family: var(--nvw-font-display);
  font-size: 1.8rem;
  font-weight: 500;
  padding: 0 0 12px 0;
  letter-spacing: 0;
  text-shadow: none;
}

#content h3, #widecontent h3 {
  font-family: var(--nvw-font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 0;
  padding: 0 0 8px 0;
  color: var(--nvw-text);
}

#widecontent {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  flex: 1 1 100%;
}

#widecontent img {
  padding: 0;
  border-radius: var(--nvw-radius);
}

/* ------------------------------------------------------------------ */
/* Gallery — masonry grid + lightbox                                   */
/* ------------------------------------------------------------------ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--nvw-radius);
  line-height: 0;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--nvw-transition);
  display: block;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.gallery-filters button {
  padding: 8px 20px;
  font-family: var(--nvw-font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--nvw-border);
  background: #fff;
  color: var(--nvw-text);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--nvw-transition);
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--nvw-primary);
  color: #fff;
  border-color: var(--nvw-primary);
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44, 40, 37, 0.92);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--nvw-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--nvw-font-display);
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--nvw-transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ------------------------------------------------------------------ */
/* Contact form                                                        */
/* ------------------------------------------------------------------ */

.contact-form {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 0;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--nvw-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--nvw-border);
  border-radius: var(--nvw-radius);
  font-family: var(--nvw-font-body);
  font-size: 0.95rem;
  background: #fff;
  color: var(--nvw-text);
  transition: border-color var(--nvw-transition), box-shadow var(--nvw-transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--nvw-primary);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.15);
  outline: none;
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.form-group-full {
  flex: 0 0 100%;
}

.form-submit {
  text-align: right;
  margin-top: 16px;
}

.form-submit button {
  padding: 14px 36px;
  font-family: var(--nvw-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--nvw-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--nvw-transition);
}

.form-submit button:hover {
  background: var(--nvw-accent-2);
}

#success_message,
#error_message {
  display: none;
  text-align: center;
  padding: 32px;
  border-radius: var(--nvw-radius);
}

#success_message {
  background: #f0f7f0;
  border: 1px solid #c3dcc3;
}

#error_message {
  color: #8B3A3A;
  background: #fdf0f0;
  border: 1px solid #e5c3c3;
}

#error_message ul {
  list-style: none;
  padding: 0;
}

/* Form + info layout */
.form-and-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .form-and-info {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

/* Contact info panel */
.contact-info {
  background: var(--nvw-surface-2);
  border: 1px solid var(--nvw-border);
  border-radius: var(--nvw-radius);
  padding: 32px;
}

.contact-info h3 {
  font-family: var(--nvw-font-display);
  font-size: 1.3rem;
  margin: 0 0 16px 0;
}

.contact-info p {
  margin: 0 0 12px 0;
  font-size: 0.9rem;
}

.contact-info a {
  font-weight: 500;
}

/* ------------------------------------------------------------------ */
/* Video wrapper                                                       */
/* ------------------------------------------------------------------ */

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--nvw-radius);
  overflow: hidden;
  box-shadow: var(--nvw-shadow);
  margin: 24px 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

#footer-content {
  background: var(--nvw-surface-2) !important;
  background-image: none !important;
  border-radius: 0 !important;
  border-top: 1px solid var(--nvw-border) !important;
  padding: 40px 20px 24px !important;
  display: flex;
  justify-content: center;
  gap: 12px 40px;
  flex-wrap: wrap;
  text-shadow: none !important;
  max-width: 100% !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

#footer-content #fbox1,
#footer-content #fbox2,
#footer-content #fbox3,
#footer-content #fbox4 {
  float: none !important;
  width: auto !important;
}

#footer-content ul.style4 {
  text-align: center;
  padding: 0;
  margin: 0;
}

#footer-content ul.style4 li {
  border-top: none;
  padding: 0;
  list-style: none;
}

#footer-content ul.style4 h3 {
  color: var(--nvw-muted);
  font-family: var(--nvw-font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
}

#footer-content ul.style4 a {
  color: var(--nvw-muted);
  transition: color var(--nvw-transition);
}

#footer-content ul.style4 a:hover {
  color: var(--nvw-primary);
  text-decoration: none;
}

#footer {
  background: var(--nvw-surface-2) !important;
  background-image: none !important;
  border-top: none !important;
  border-radius: 0 !important;
  overflow: visible;
  padding-bottom: 8px !important;
  max-width: 100% !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

#footer p {
  font-family: var(--nvw-font-body);
  font-size: 0.75rem;
  color: var(--nvw-muted);
  text-shadow: none;
  padding: 0 0 16px 0;
  margin: 0;
  text-align: center;
  opacity: 0.7;
}

#footer a {
  color: var(--nvw-muted);
}
#footer a:hover {
  color: var(--nvw-primary);
}

/* ------------------------------------------------------------------ */
/* Terms — collapsible sections                                        */
/* ------------------------------------------------------------------ */

.toc-details {
  border: 1px solid var(--nvw-border);
  border-radius: var(--nvw-radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.toc-details summary {
  padding: 16px 20px;
  font-family: var(--nvw-font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--nvw-surface-2);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toc-details summary::-webkit-details-marker { display: none; }

.toc-details summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--nvw-muted);
  transition: transform var(--nvw-transition);
}

.toc-details[open] summary::after {
  content: '\2212';
}

.toc-details .toc-content {
  padding: 16px 20px;
}

/* ------------------------------------------------------------------ */
/* Utility classes                                                     */
/* ------------------------------------------------------------------ */

.text-center { text-align: center; }
.text-muted { color: var(--nvw-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.content-narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.content-mid { max-width: 900px; margin-left: auto; margin-right: auto; }
.content-wide { max-width: 960px; margin-left: auto; margin-right: auto; }

.pricing-list {
  text-align: left;
  margin: 24px 0;
  padding-left: 20px;
  color: var(--nvw-muted);
  font-size: 0.9rem;
  line-height: 2;
}

.town-card {
  text-align: center;
  padding: 20px 12px;
}

/* Override old list styles in banner context */
ul.style1 {
  padding: 0 !important;
  margin: 0 !important;
}
ul.style1 li { padding: 0 !important; }
ul.style1 h1 {
  font-family: var(--nvw-font-display) !important;
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
}

/* ------------------------------------------------------------------ */
/* Mobile responsive                                                   */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
  .hero {
    min-height: 50vh;
    padding: 60px 16px;
  }

  .hero .btn {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 260px;
  }

  .cta-band .btn {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 260px;
  }

  .section {
    padding: 40px 0;
  }

  .cta-band {
    padding: 48px 16px;
  }

  .page-banner {
    padding: 40px 16px;
  }

  .callout {
    padding: 24px 20px;
  }

  .pricing-card {
    padding: 24px 20px;
    max-width: 100%;
  }

  .card-grid {
    gap: 20px;
  }

  .card-body {
    padding: 20px 16px;
  }

  .card-body h3 {
    font-size: 1.3rem;
  }

  .card-img {
    height: 200px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .form-group {
    min-width: 0;
  }

  .form-and-info {
    grid-template-columns: 1fr !important;
  }

  .form-submit {
    text-align: center;
  }

  .contact-info {
    padding: 24px 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-grid img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  #logo img {
    max-width: 140px;
  }
}

/* ------------------------------------------------------------------ */
/* Dark mode (Heritage warm)                                           */
/* ------------------------------------------------------------------ */

@media (prefers-color-scheme: dark) {
  :root {
    --nvw-text: #E8E0D8;
    --nvw-muted: #B0A89E;
    --nvw-surface: #1A1714;
    --nvw-surface-2: #231F1D;
    --nvw-border: #3A3430;
    --nvw-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --nvw-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  }

  body { background: var(--nvw-surface); }

  .card, .testimonial-card { background: var(--nvw-surface-2); }

  #footer-content { background: var(--nvw-surface-2) !important; border-color: var(--nvw-border) !important; }
  #footer { background: var(--nvw-surface-2) !important; }

  .form-group input,
  .form-group textarea {
    background: var(--nvw-surface-2);
    border-color: var(--nvw-border);
    color: var(--nvw-text);
  }

  .gallery-grid img { opacity: 0.9; }
  .gallery-grid a:hover img { opacity: 1; }
}
