/* Bay Teknik — elite brand system */
:root {
  --brand: #0d1b22;
  --brand-deep: #071016;
  --brand-mid: #1a3a45;
  --accent: #c4a46c;
  --accent-hover: #b08f55;
  --accent-soft: rgba(196, 164, 108, 0.14);
  --ink: #121a1f;
  --muted: #5c6b73;
  --paper: #f3f5f6;
  --white: #ffffff;
  --line: rgba(13, 27, 34, 0.1);
  --shadow: 0 24px 56px rgba(7, 16, 22, 0.16);
  --radius: 0.35rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --nav-h: 4.75rem;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-mid);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3,
h4,
.brand-name,
.display-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--brand-deep);
}

.section-pad {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(196, 164, 108, 0.08), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 10%, rgba(26, 58, 69, 0.1), transparent 50%),
    linear-gradient(180deg, #eef1f3 0%, #f3f5f6 45%, #e8ecee 100%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 80V0h80' fill='none' stroke='%230d1b22' stroke-opacity='0.035' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: var(--nav-h);
  background: rgba(243, 245, 246, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(7, 16, 22, 0.06);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand-deep);
  text-decoration: none;
}

.brand-lockup:hover {
  color: var(--brand);
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.35rem;
  margin: 0;
  line-height: 1.05;
  font-weight: 600;
}

.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav-link-custom {
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--ink) !important;
  padding: 0.45rem 0.8rem !important;
  border-radius: 0.25rem;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--brand-deep) !important;
  background: rgba(13, 27, 34, 0.05);
}

.btn-accent {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-hover);
  --bs-btn-hover-border-color: var(--accent-hover);
  --bs-btn-color: #0d1b22;
  --bs-btn-hover-color: #0d1b22;
  --bs-btn-active-bg: var(--accent-hover);
  --bs-btn-active-border-color: var(--accent-hover);
  --bs-btn-active-color: #0d1b22;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0.2rem;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 12px 28px rgba(196, 164, 108, 0.28);
}

.btn-outline-brand {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-deep);
  --bs-btn-active-border-color: var(--brand-deep);
  --bs-btn-active-color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0.2rem;
  padding: 0.75rem 1.5rem;
  border-width: 1.5px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.03);
  animation: hero-ken 22s ease-in-out infinite alternate;
  filter: saturate(0.92) contrast(1.05);
}

@keyframes hero-ken {
  from {
    transform: scale(1.03) translate(0, 0);
  }
  to {
    transform: scale(1.08) translate(-1%, -0.8%);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 16, 22, 0.88) 0%, rgba(7, 16, 22, 0.62) 48%, rgba(7, 16, 22, 0.28) 72%, rgba(7, 16, 22, 0.45) 100%),
    linear-gradient(to top, rgba(7, 16, 22, 0.78) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2.75rem, 8vw, 5.5rem) 0 clamp(3.25rem, 9vw, 6rem);
  max-width: 40rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
  animation: rise 0.9s var(--transition) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin: 0 0 1.1rem;
  color: #fff;
  animation: rise 0.9s 0.08s var(--transition) both;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 28rem;
  animation: rise 0.9s 0.16s var(--transition) both;
}

.hero-lead {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 2rem;
  max-width: 26rem;
  animation: rise 0.9s 0.24s var(--transition) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.32s var(--transition) both;
}

.hero-actions .btn-outline-brand {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.45);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: var(--brand-deep);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page hero */
.page-hero {
  position: relative;
  padding: clamp(3.25rem, 8vw, 5.25rem) 0;
  color: #fff;
  overflow: hidden;
  background: var(--brand-deep);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(196, 164, 108, 0.28), transparent 42%),
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 100%);
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin: 0;
  font-size: 1.02rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 0;
}

/* Service panels */
.service-panel {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-panel:hover {
  color: #fff;
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--transition), filter 0.85s var(--transition);
  z-index: -2;
  filter: saturate(0.95) contrast(1.03);
}

.service-panel:hover img {
  transform: scale(1.07);
  filter: saturate(1.05) contrast(1.05);
}

.service-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7, 16, 22, 0.92) 0%, rgba(7, 16, 22, 0.35) 50%, rgba(7, 16, 22, 0.12) 100%);
}

.service-panel-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem;
}

.service-panel h3 {
  color: #fff;
  font-size: 1.75rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.service-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.service-panel .arrow {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature-row {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.feature-item {
  padding: 0;
  border: 0;
  background: transparent;
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.15rem;
  color: var(--accent-hover);
}

.feature-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.district-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.district-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.05rem;
  border-radius: 0.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-deep);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.district-link:hover {
  border-color: var(--brand-mid);
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--brand-deep);
  color: #fff;
  border-radius: 0.35rem;
  padding: clamp(2.25rem, 5vw, 3.25rem);
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 42%;
  height: 150%;
  right: -10%;
  top: -25%;
  background: radial-gradient(circle, rgba(196, 164, 108, 0.32), transparent 65%);
  pointer-events: none;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.55rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.4rem;
  max-width: 30rem;
}

.contact-panel {
  background: #fff;
  border-radius: 0.35rem;
  padding: clamp(1.6rem, 4vw, 2.35rem);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(7, 16, 22, 0.06);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-deep);
  margin-bottom: 0.15rem;
}

.contact-list a,
.contact-list span {
  color: var(--muted);
}

.contact-list a:hover {
  color: var(--accent-hover);
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.25rem;
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: grid;
  place-items: center;
}

.map-embed {
  border: 0;
  border-radius: 0.35rem;
  width: 100%;
  min-height: 340px;
  filter: grayscale(0.25) contrast(1.05);
}

.faq-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.faq-item .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--brand-deep);
  background: transparent;
  box-shadow: none !important;
  padding-left: 0;
  padding-right: 0;
}

.faq-item .accordion-button:not(.collapsed) {
  color: var(--accent-hover);
  background: transparent;
}

.faq-item .accordion-body {
  padding: 0 0 1.25rem;
  color: var(--muted);
}

.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.68);
  padding: 4rem 0 2.25rem;
  margin-top: 2rem;
}

.site-footer h3,
.site-footer .brand-name {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.wa-fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1040;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-pulse 2.6s ease-in-out infinite;
}

.wa-fab:hover {
  color: #fff !important;
  transform: scale(1.07);
}

.wa-fab svg {
  width: 1.75rem;
  height: 1.75rem;
}

.wa-fab span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes wa-pulse {
  0%,
  100% {
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

/* Reveal only when JS opts in — content stays visible without JS (SEO/a11y) */
html.js .reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.75s var(--transition), transform 0.75s var(--transition);
}

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

.prose h2 {
  font-size: 1.7rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.95);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 575.98px) {
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .wa-fab {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 3.35rem;
    height: 3.35rem;
  }
}
