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

:root {
  --navy:   #1B2A4A;
  --gold:   #C9A84C;
  --gold-light: #E2C47A;
  --white:  #FFFFFF;
  --cream:  #F8F6F1;
  --charcoal: #2C2C2C;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* HEADER */
header {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 40px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.logo-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 2px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.1s;
}

.logo-rule span {
  display: block;
  height: 1px;
  width: 60px;
  background: var(--gold);
  opacity: 0.5;
}

.logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.header-logo {
  width: min(640px, 76vw);
  height: auto;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.2s;
}

.hero-mission {
  max-width: 600px;
  margin: 0 auto 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.4s;
}

.hero-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 30px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, transform 0.1s;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.8s;
}

.hero-cta:hover { background: var(--gold-light); }
.hero-cta:active { transform: scale(0.98); }
.hero-cta:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.logo-rule-lower {
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.55s;
  margin-top: 24px;
  margin-bottom: 10px;
}

/* TRUST SIGNALS */
#trust {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.2);
}

.trust-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-text {
  font-size: 0.69rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

/* COMPACT BAR */
.compact-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
  display: none;
  padding: 10px 40px;
}

.compact-bar.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.compact-bar .cb-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.compact-bar .cb-nav {
  display: flex;
  list-style: none;
  gap: 0;
  justify-content: center;
  border-top: 1px solid rgba(201,168,76,0.2);
  margin-top: 8px;
  padding-top: 4px;
  width: 100%;
}

.compact-bar .cb-nav a {
  display: block;
  padding: 6px 20px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
}

.compact-bar .cb-nav a:hover { color: var(--gold); }
.compact-bar .cb-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* LOCAL INTRO */
.local-intro {
  background: var(--cream);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.local-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 35%, rgba(201,168,76,0.07) 0%, transparent 58%),
    radial-gradient(ellipse at 20% 85%, rgba(27,42,74,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.local-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.local-intro h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.35vw, 1.7rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}

.local-intro .cluster-towns {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.45);
  font-weight: 400;
  margin-bottom: 20px;
}

.local-intro .section-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

.local-intro p.intro-text {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(0.94rem, 1.6vw, 1.02rem);
  line-height: 1.75;
  color: var(--charcoal);
  font-weight: 300;
  text-align: center;
}

.local-intro p.intro-text + p.intro-text {
  margin-top: 1rem;
}

/* SERVICES */
.local-services {
  background: var(--navy);
  padding: 40px;
  scroll-margin-top: var(--anchor-offset, 0px);
}

.local-services-inner {
  max-width: 720px;
  margin: 0 auto;
}

.local-section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  text-align: center;
}

.local-section-divider {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 12px auto 28px;
}

.local-services .local-section-label {
  color: rgba(255,255,255,0.55);
}

.local-services p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.94rem, 1.6vw, 1.02rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  text-align: center;
}

.local-services-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.local-services-row + .local-services-row {
  margin-top: 1.25rem;
}

.local-services-icon {
  display: flex;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold);
  margin-top: 2px;
}

.local-services-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.local-services-row p {
  max-width: none;
  margin: 0;
  text-align: left;
  flex: 1;
}

/* CREDIBILITY */
.local-credibility {
  background: var(--white);
  padding: 40px;
  scroll-margin-top: var(--anchor-offset, 0px);
}

.local-credibility-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.local-credibility p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.94rem, 1.6vw, 1.02rem);
  line-height: 1.75;
  color: var(--charcoal);
  font-weight: 300;
  text-align: center;
}

.local-credibility .reveal-delay-1 p + p {
  margin-top: 1rem;
}

/* CONTACT */
.local-contact {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--anchor-offset, 0px);
}

.local-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.local-contact-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  z-index: 1;
}

.local-contact-header {
  text-align: center;
  margin-bottom: 24px;
}

.local-contact-label {
  color: rgba(255,255,255,0.5);
}

.local-contact-divider {
  margin: 10px auto 14px;
  background: rgba(255,255,255,0.3);
}

.local-contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--white);
  font-weight: 600;
  line-height: 1.3;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 2px;
  padding: 11px 14px;
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
}

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

.submit-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 13px 36px;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, transform 0.1s;
}

.submit-btn:hover { background: var(--gold-light); }
.submit-btn:active { transform: scale(0.98); }
.submit-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.local-submit-btn-centered {
  align-self: center;
  margin-top: 12px;
  margin-bottom: 0;
}

.logo-rule-static {
  opacity: 1;
  animation: none;
  margin-top: 18px;
  margin-bottom: 0;
}

/* FOOTER */
.local-footer {
  background: #182644;
  padding: 20px 40px;
  text-align: center;
  line-height: 1.4;
}

.local-footer-main {
  margin-bottom: 12px;
}

.local-footer-main a {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 1;
  text-decoration: none;
  transition: opacity 0.2s;
}

.local-footer-main a:hover { opacity: 0.85; }

.local-footer-nearby {
  margin-bottom: 14px;
}

.local-footer-nearby-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.local-footer-nearby-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
}

.local-footer-nearby-list li:not(:last-child):not(.row-break)::after {
  content: '·';
  margin: 0 12px;
  color: rgba(255,255,255,0.3);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.local-footer-nearby-list .row-break {
  display: none;
}

.local-footer-nearby a,
.local-footer-nearby .nearby-placeholder {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.local-footer-nearby a { transition: color 0.2s; }
.local-footer-nearby a:hover { color: var(--gold); }

.local-footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}

.local-footer-copy .footer-line1,
.local-footer-copy .footer-line2 {
  display: inline;
}

.local-footer-copy .footer-line1::after {
  content: ' · ';
}

.local-footer-copy .gold { color: var(--gold); opacity: 0.8; }
.local-footer-copy .li-highlight { color: var(--gold); opacity: 1; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

/* MOBILE */
@media (max-width: 680px) {
  .header-inner { padding: 20px 24px; }
  .trust-inner { gap: 20px; padding: 20px 24px; }
  .compact-bar.visible { padding: 8px 24px; }
  .compact-bar .cb-logo { height: 30px; }
  .compact-bar .cb-nav {
    width: 100%;
    justify-content: center;
    border-top: 1px solid rgba(201,168,76,0.2);
    margin-top: 8px;
    padding-top: 4px;
  }
  .compact-bar .cb-nav a { padding: 6px 12px; font-size: 0.65rem; }
  .local-intro { padding: 32px 24px; }
  .local-services { padding: 32px 24px; }
  .local-credibility { padding: 32px 24px; }
  .local-contact-inner { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .local-footer { padding: 20px 24px; }
  .local-footer-nearby-list .row-break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }
  .local-footer-nearby-list li:not(:last-child):not(.row-break)::after {
    margin: 0 8px;
  }
  .local-footer-nearby-list li:nth-child(2):not(:last-child):not(.row-break)::after { content: none; }
  .local-footer-copy .footer-line1,
  .local-footer-copy .footer-line2 { display: block; }
  .local-footer-copy .footer-line1::after { content: none; }
  .local-footer-copy .footer-line2 { margin-top: 4px; }
}
