/* ============================================================
   BerCo — The Ber Company Inc.
   berco.hair · light graphite-pearl theme · lake-map motif
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: #F4F5F7;
  color: #2B3038;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #3D4756;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ buttons ============ */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #3D4756;
  color: #FFFFFF;
  border: 1px solid #3D4756;
}

.btn-primary:hover {
  background-color: #1A1F26;
  border-color: #1A1F26;
}

.btn-outline {
  background-color: #FFFFFF;
  color: #1A1F26;
  border: 1px solid #1A1F26;
}

.btn-outline:hover {
  background-color: #1A1F26;
  color: #FFFFFF;
}

.btn-graphite {
  background-color: #3D4756;
  color: #FFFFFF;
  border: 1px solid #2E3540;
}

.btn-graphite:hover {
  background-color: #2B3038;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ============ eyebrow chip ============ */

.eyebrow-chip {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background-color: #3D4756;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

/* ============ section heading rows ============ */

.section-head {
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 18px;
  font-size: 38px;
  line-height: 1.2;
  color: #1A1F26;
  padding-bottom: 16px;
  border-bottom: 3px solid #3D4756;
  display: inline-block;
}

.section-lead {
  margin-top: 20px;
  max-width: 720px;
  color: #2B3038;
  font-size: 17px;
}

/* ============ header / center wordmark nav ============ */

.site-header {
  background-color: #F4F5F7;
}

.center-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 28px;
  background-color: #F4F5F7;
  border-bottom: 1px solid #D8DCE2;
  transition: box-shadow 0.3s ease;
}

.center-nav.is-scrolled {
  box-shadow: 0 6px 18px #D8DCE2;
}

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

.nav-links a {
  color: #2B3038;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: #1A1F26;
  border-bottom-color: #3D4756;
}

.nav-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-wordmark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 6px;
  color: #1A1F26;
  text-decoration: none;
}

.lake-ring {
  display: inline-block;
  width: 22px;
  height: 22px;
  position: relative;
  flex: 0 0 auto;
}

.lake-ring::before,
.lake-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid #3D4756;
}

.lake-ring::before {
  inset: 0;
}

.lake-ring::after {
  inset: 6px;
}

.nav-right {
  gap: 26px;
}

.nav-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: #3D4756;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  border: 1px solid #3D4756;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover {
  background-color: #1A1F26;
  border-color: #1A1F26;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background-color: transparent;
  border: 1px solid #D8DCE2;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background-color: #1A1F26;
  border-radius: 2px;
}

/* ============ lake hero ============ */

.lake-hero {
  position: relative;
  background-color: #F4F5F7;
  padding: 96px 0 84px;
  overflow: hidden;
}

.water-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #D8DCE2;
  pointer-events: none;
}

.water-ring-a {
  width: 190px;
  height: 190px;
  top: -70px;
  left: -70px;
}

.water-ring-b {
  width: 300px;
  height: 300px;
  top: -120px;
  left: -120px;
}

.lake-map-graphic {
  position: absolute;
  right: 4%;
  top: 14%;
  width: 360px;
  height: 330px;
  pointer-events: none;
}

.island {
  position: absolute;
  display: block;
  border-radius: 46% 54% 58% 42% / 52% 46% 54% 48%;
}

.island-a {
  width: 98px;
  height: 74px;
  background-color: #C9B8A0;
  top: 14px;
  left: 6px;
}

.island-b {
  width: 122px;
  height: 90px;
  background-color: #3D4756;
  top: 128px;
  left: 168px;
  border-radius: 54% 46% 42% 58% / 46% 58% 42% 54%;
}

.island-c {
  width: 86px;
  height: 64px;
  background-color: #C9B8A0;
  top: 246px;
  left: 36px;
  border-radius: 52% 48% 46% 54% / 48% 52% 58% 42%;
}

.dash-line {
  position: absolute;
  border-top: 2px dashed #3D4756;
  transform-origin: left center;
}

.line-a {
  top: 52px;
  left: 56px;
  width: 212px;
  transform: rotate(34.9deg);
}

.line-b {
  top: 172px;
  left: 228px;
  width: 184px;
  transform: rotate(145.5deg);
}

.line-c {
  top: 276px;
  left: 78px;
  width: 226px;
  transform: rotate(-95.6deg);
}

.anchor-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #3D4756;
}

.dot-a {
  top: 44px;
  left: 206px;
}

.dot-b {
  top: 216px;
  left: 64px;
}

.hero-inner {
  position: relative;
}

.hero-copy {
  max-width: 640px;
}

.lake-hero h1 {
  margin-top: 24px;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #1A1F26;
}

.lake-hero h1 .stack-accent {
  color: #3D4756;
}

.hero-sub {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.75;
  color: #2B3038;
  max-width: 560px;
}

.hero-ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.node-dock {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 0;
}

.node {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: #C9B8A0;
  border: 3px solid #3D4756;
}

.dash {
  width: 68px;
  border-top: 2px dashed #3D4756;
}

/* ============ service card grid ============ */

.service-grid {
  background-color: #F4F5F7;
  padding: 96px 0;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: #FFFFFF;
  border: 1px solid #D8DCE2;
  border-radius: 14px;
  padding: 40px 34px;
}

.lake-island-icon {
  display: inline-block;
  position: relative;
  width: 46px;
  height: 36px;
}

.lake-island-icon::before,
.lake-island-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.lake-island-icon::before {
  width: 26px;
  height: 22px;
  left: 0;
  top: 4px;
  background-color: #3D4756;
  border-radius: 46% 54% 58% 42% / 52% 46% 54% 48%;
}

.lake-island-icon::after {
  width: 20px;
  height: 18px;
  right: 0;
  bottom: 2px;
  background-color: #C9B8A0;
  border-radius: 54% 46% 42% 58% / 46% 58% 42% 54%;
}

.service-card h3 {
  margin-top: 24px;
  font-size: 22px;
  color: #1A1F26;
}

.service-card p {
  margin-top: 16px;
  color: #2B3038;
}

.mini-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.mini-list li {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #3D4756;
}

.mini-list li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  background-color: #3D4756;
}

/* ============ milestone timeline ============ */

.milestone-timeline {
  background-color: #EAECEF;
  padding: 96px 0;
}

.timeline {
  max-width: 860px;
}

.milestone {
  position: relative;
  padding-left: 56px;
  padding-bottom: 48px;
}

.milestone::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 0;
  width: 2px;
  background-color: #3D4756;
}

.milestone:last-child {
  padding-bottom: 0;
}

.milestone:last-child::before {
  bottom: auto;
  height: 10px;
}

.milestone-dot {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #C9B8A0;
  border: 4px solid #3D4756;
}

.milestone-year {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #3D4756;
}

.milestone h3 {
  margin-top: 8px;
  font-size: 24px;
  color: #1A1F26;
}

.milestone p {
  margin-top: 12px;
  color: #2B3038;
  max-width: 720px;
}

/* ============ service tabs ============ */

.service-tabs {
  background-color: #F4F5F7;
  padding: 96px 0;
}

.tab-bar {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #D8DCE2;
  padding-bottom: 2px;
}

.tab-btn {
  padding: 13px 30px;
  border-radius: 10px 10px 0 0;
  border: 1px solid #D8DCE2;
  border-bottom: none;
  background-color: #FFFFFF;
  color: #2B3038;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab-btn:hover {
  color: #1A1F26;
}

.tab-btn.is-active {
  background-color: #3D4756;
  color: #FFFFFF;
  border-color: #3D4756;
}

.tab-panel {
  display: none;
  background-color: #FFFFFF;
  border: 1px solid #D8DCE2;
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 40px 38px;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel h3 {
  font-size: 24px;
  color: #1A1F26;
}

.tab-panel p {
  margin-top: 14px;
  color: #2B3038;
  max-width: 760px;
}

/* ============ CTA band ============ */

.cta-band {
  background-color: #1A1F26;
  padding: 84px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 36px;
  color: #FFFFFF;
}

.cta-band p {
  margin: 16px auto 0;
  max-width: 560px;
  color: #C6CBD4;
}

.cta-band .btn {
  margin-top: 32px;
}

/* ============ link-row footer ============ */

.link-row-footer {
  background-color: #1A1F26;
  border-top: 1px solid #2E3540;
  padding: 44px 0 40px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 18px;
}

.footer-links a {
  color: #C6CBD4;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  border-bottom-color: #3D4756;
}

.fsep {
  color: #8A9099;
  font-size: 13px;
}

.footer-legal {
  margin-top: 20px;
  font-size: 13px;
  color: #8A9099;
  padding: 0 24px;
}

.footer-legal a {
  color: #C6CBD4;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ============ secondary pages (services / contact) ============ */

.page-hero {
  background-color: #F4F5F7;
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  margin-top: 24px;
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #1A1F26;
  max-width: 760px;
}

.page-hero .hero-sub {
  margin-top: 22px;
  font-size: 17px;
  color: #2B3038;
  max-width: 660px;
}

.service-list-section {
  background-color: #F4F5F7;
  padding: 72px 0 40px;
}

.service-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid #D8DCE2;
}

.service-block:last-child {
  border-bottom: none;
}

.service-block-num {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #3D4756;
  line-height: 1;
  padding-top: 6px;
}

.service-block h3 {
  font-size: 26px;
  color: #1A1F26;
}

.service-block p {
  margin-top: 14px;
  color: #2B3038;
  max-width: 780px;
}

.process-section {
  background-color: #FFFFFF;
  border-top: 1px solid #D8DCE2;
  border-bottom: 1px solid #D8DCE2;
  padding: 84px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  background-color: #F4F5F7;
  border: 1px solid #D8DCE2;
  border-radius: 14px;
  padding: 30px 26px;
}

.process-step .step-index {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #3D4756;
  color: #FFFFFF;
  font-weight: 800;
  text-align: center;
  line-height: 34px;
}

.process-step h4 {
  margin-top: 18px;
  font-size: 19px;
  color: #1A1F26;
}

.process-step p {
  margin-top: 10px;
  font-size: 15px;
  color: #2B3038;
}

/* ============ contact page ============ */

.contact-section {
  background-color: #F4F5F7;
  padding: 72px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background-color: #FFFFFF;
  border: 1px solid #D8DCE2;
  border-radius: 14px;
  padding: 40px 38px;
}

.form-row {
  margin-bottom: 22px;
}

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1A1F26;
  margin-bottom: 8px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #D8DCE2;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #2B3038;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #3D4756;
}

.form-row .field-error {
  border-color: #B3402E;
}

.form-status {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
}

.form-status-ok {
  color: #2E6B4F;
}

.form-status-error {
  color: #B3402E;
}

.contact-panel {
  background-color: #FFFFFF;
  border: 1px solid #D8DCE2;
  border-radius: 14px;
  padding: 34px 30px;
  margin-bottom: 28px;
}

.contact-panel h3 {
  font-size: 18px;
  color: #1A1F26;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid #3D4756;
  display: inline-block;
}

.contact-panel p {
  color: #2B3038;
  font-size: 15px;
}

.contact-panel a {
  color: #3D4756;
  font-weight: 700;
  text-decoration: none;
}

.contact-panel a:hover {
  text-decoration: underline;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #EAECEF;
  font-size: 15px;
  color: #2B3038;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .h-day {
  font-weight: 700;
  color: #1A1F26;
}

.faq-section {
  background-color: #EAECEF;
  padding: 84px 0;
}

.faq-list {
  max-width: 820px;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D8DCE2;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 26px;
  background-color: transparent;
  border: none;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: #1A1F26;
  cursor: pointer;
}

.faq-q::after {
  content: "+";
  font-size: 24px;
  font-weight: 700;
  color: #3D4756;
  flex: 0 0 auto;
}

.faq-item.faq-open .faq-q::after {
  content: "−";
}

.faq-a {
  display: none;
  padding: 0 26px 22px;
  color: #2B3038;
  font-size: 15px;
}

.faq-item.faq-open .faq-a {
  display: block;
}

/* ============ scroll reveal ============ */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 {
  transition-delay: 0.12s;
}

.fade-up.delay-2 {
  transition-delay: 0.24s;
}

/* ============ responsive ============ */

@media (max-width: 980px) {
  .lake-map-graphic {
    display: none;
  }

  .lake-hero h1 {
    font-size: 46px;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 780px) {
  .center-nav {
    flex-wrap: wrap;
    min-height: 68px;
    height: auto;
    padding: 12px 20px;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .nav-brand {
    position: static;
    transform: none;
    order: 1;
    margin: 0 auto;
  }

  .nav-left {
    order: 3;
  }

  .nav-right {
    order: 4;
  }

  .nav-left,
  .nav-right {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 14px;
  }

  .center-nav.nav-open .nav-left,
  .center-nav.nav-open .nav-right {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid #EAECEF;
  }

  .nav-links a:hover {
    border-bottom-color: #3D4756;
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .lake-hero {
    padding: 64px 0 60px;
  }

  .lake-hero h1 {
    font-size: 38px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .tab-bar {
    flex-direction: column;
    border-bottom: none;
  }

  .tab-btn {
    border-radius: 10px;
    border-bottom: 1px solid #D8DCE2;
  }

  .tab-panel {
    border: 1px solid #D8DCE2;
    border-radius: 14px;
    padding: 28px 22px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .page-hero h1 {
    font-size: 36px;
  }

  .cta-band h2 {
    font-size: 30px;
  }

  .milestone {
    padding-left: 44px;
  }

  .footer-links {
    gap: 10px 12px;
  }
}
