/* Karakaş Ticaret — logo yeşili (#267233) marka paleti */

:root {
  --brand: #267233;
  --brand-dark: #1c5828;
  --red: var(--brand);
  --red-dark: var(--brand-dark);
  --ink: #0b1220;
  --ink-soft: #1a2332;
  --text: #3d4654;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #f7f8fa;
  --white: #fff;
  --green: #267233;
  --green-dark: #1c5828;
  --header-h: 88px;
  --topbar-h: 40px;
  --container: 1180px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --shadow: 0 10px 40px rgba(11, 18, 32, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 8px);
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
}

a.btn-green,
a.btn-red,
.btn-green,
.btn-red {
  background: var(--red);
  color: #fff;
}

a.btn-green:hover,
a.btn-red:hover,
.btn-green:hover,
.btn-red:hover {
  background: var(--red-dark);
  color: #fff;
}

a.btn-outline,
.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

a.btn-outline:hover,
.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface);
}

a.btn-outline-light,
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

a.btn-outline-light:hover,
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

a.btn-on-green,
.btn-on-green {
  background: #fff;
  color: var(--brand);
}

a.btn-on-green:hover,
.btn-on-green:hover {
  background: #f3f7f4;
  color: var(--brand-dark);
}

.btn-link {
  color: var(--red);
  font-weight: 700;
}

.btn-link:hover {
  text-decoration: underline;
}

/* —— Topbar —— */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding: 8px 0;
  flex-wrap: wrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}

.topbar-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}

.topbar-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0.92;
}

.topbar-links a:hover {
  color: #fff;
  opacity: 1;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 68px;
  width: auto;
  background: transparent;
  border-radius: 8px;
}

.logo-text {
  display: none;
}

.logo-text strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-text span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--red);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.header-cta {
  padding: 10px 18px;
  font-size: 13px;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  position: fixed;
  inset: calc(var(--topbar-h) + var(--header-h)) 0 0 0;
  background: #fff;
  z-index: 99;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.nav-panel[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.nav-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-panel nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-panel a {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
}

.nav-panel a.active,
.nav-panel a:hover {
  background: var(--surface);
  color: var(--red);
}

/* —— Demirhan Hero —— */
.dh-hero {
  position: relative;
  padding: 72px 0 80px;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(11, 18, 32, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  overflow: hidden;
  text-align: center;
}

.dh-hero::before,
.dh-hero::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(38, 114, 51, 0.18);
  pointer-events: none;
}

.dh-hero::before {
  top: 40px;
  left: 8%;
  transform: rotate(12deg);
}

.dh-hero::after {
  bottom: 60px;
  right: 10%;
  background: rgba(38, 114, 51, 0.06);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.dh-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.dh-hero h1 .accent {
  color: var(--red);
  display: block;
}

.dh-hero .lead {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-actions--lead {
  justify-content: flex-start;
  margin-bottom: 0;
}

.content-narrow {
  max-width: 920px;
}

.content-wide {
  max-width: 960px;
}

.content-block .hero-actions--lead {
  margin-top: 1.25rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-row--center {
  justify-content: center;
}

.loc-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.4rem;
}

.loc-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 140px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(11, 18, 32, 0.04);
}

.trust-chip strong {
  color: var(--ink);
  font-size: 15px;
}

.trust-chip span {
  font-size: 12px;
  color: var(--muted);
}

/* —— Sections —— */
.section {
  padding: 72px 0;
}

.section-tight {
  padding: 48px 0;
}

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

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-kicker {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

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

/* —— Why grid —— */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.why-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(38, 114, 51, 0.35);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(38, 114, 51, 0.12);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.why-card h3 {
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* —— Product cards —— */
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.product-card .thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--surface);
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .thumb img {
  transform: scale(1.05);
}

.product-card .body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-card h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 14px;
}

.products-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.product-col .thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.product-col .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-col h2,
.product-col h3 {
  padding: 16px 20px 0;
  color: var(--ink);
  font-size: 1.1rem;
}

.product-col p {
  padding: 8px 20px;
  color: var(--muted);
  font-size: 14px;
}

.product-col .btn-link {
  display: inline-block;
  padding: 0 20px 20px;
}

/* —— Stats —— */
.stats-band {
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* —— Marquee / refs —— */
.logo-marquee {
  padding: 40px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0.7;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* —— CTA band —— */
.cta-band {
  background: #16301c;
  color: #fff;
  padding: 64px 0;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-contact {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px;
}

.cta-contact h3 {
  font-size: 14px;
  margin-bottom: 14px;
  opacity: 0.8;
}

.cta-contact a {
  display: block;
  padding: 8px 0;
  font-weight: 600;
}

.cta-contact a:hover {
  color: #b7e4c7;
}

/* —— Quote (legacy) —— */
.quote-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.quote-band blockquote {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* —— Footer —— */
.site-footer {
  background: #0b140d;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 0;
}

.footer-bar {
  background: var(--brand);
  color: #fff;
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
}

.footer-bar strong {
  font-size: 16px;
  font-weight: 800;
}

.footer-bar p {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.92;
}

.footer-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bar .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0 40px;
}

.footer-brand .logo-img {
  margin-bottom: 16px;
  height: 72px;
  background: transparent;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 340px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-contact a {
  font-weight: 600;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.site-credit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.site-credit a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-credit a:hover {
  color: #b7e4c7;
}

/* —— Page hero (inner + SEO) —— */
.page-hero {
  margin-top: 0;
  padding: 56px 0;
  background:
    linear-gradient(rgba(11, 18, 32, 0.82), rgba(11, 18, 32, 0.82)),
    url("/assets/images/panel-cit-imalat-fabrika.jpeg")
      center/cover;
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
}

.page-hero p {
  max-width: 640px;
  opacity: 0.85;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  opacity: 0.8;
}

.breadcrumb a:hover {
  color: #b7e4c7;
}

.breadcrumb span {
  opacity: 0.6;
}

.content-block h2 {
  color: var(--ink);
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
}

.content-block h3 {
  color: var(--ink);
  margin: 1.25rem 0 0.5rem;
}

.content-block p,
.content-block li {
  margin-bottom: 0.65rem;
}

.content-block ul,
.content-block ol {
  padding-left: 1.2rem;
  list-style: disc;
}

.content-block ol {
  list-style: decimal;
}

.content-block a:not(.btn) {
  color: var(--red);
  font-weight: 600;
}

/* Yeşil/koyu zeminde yeşil dolgu + yeşil yazı kaybolmasın */
.page-hero .btn-red,
.seo-wa-cta .btn-red,
.cta-band .btn-red,
.footer-bar .btn-red {
  background: #fff;
  color: var(--brand);
}

.page-hero .btn-red:hover,
.seo-wa-cta .btn-red:hover,
.cta-band .btn-red:hover,
.footer-bar .btn-red:hover {
  background: #f3f7f4;
  color: var(--brand-dark);
}

.page-hero .btn-outline,
.seo-wa-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.page-hero .btn-outline:hover,
.seo-wa-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* —— Forms / contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  color: var(--ink);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contact-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.contact-way {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
}

.contact-way span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-way a {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.contact-way a:hover {
  color: var(--brand);
}

.map-embed {
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}

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

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--surface);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(38, 114, 51, 0.3);
  border-color: var(--red);
  background: #fff;
}

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

.form-submit {
  width: 100%;
}

.form-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* —— Gallery —— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.35s;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.gallery-item {
  position: relative;
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.ba-pair .gallery-item img {
  height: 280px;
}

.ba-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
}

.ba-tag.is-after {
  background: var(--brand);
}

.ba-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* —— Services legacy —— */
.services {
  padding: 72px 0;
  background: var(--surface);
}

.services-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 40px;
  line-height: 1.3;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

.service-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(38, 114, 51, 0.12);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-check svg {
  width: 18px;
  height: 18px;
}

.service-item h3 {
  color: var(--ink);
  margin-bottom: 6px;
}

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

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 1.5rem 0;
}

.usage-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--surface);
}

.usage-card h3 {
  color: var(--ink);
  margin-bottom: 6px;
}

/* —— SEO / split / misc —— */
.seo-block {
  padding: 40px 0 70px;
}

.seo-block .container {
  max-width: 900px;
  text-align: center;
}

.seo-block a,
.seo-block strong {
  color: var(--ink);
  font-weight: 700;
}

.seo-int-links a,
.seo-ext-links a {
  color: var(--red);
  font-weight: 600;
}

.seo-int-links.loc-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.seo-int-links.loc-grid a {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  border-radius: 0 8px 8px 0;
}

.seo-photo-grid {
  margin: 0 0 2rem;
}

.seo-photo-grid.gallery-grid {
  margin-top: 0.75rem;
}

.seo-project-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.seo-project-photo figcaption {
  padding: 0.75rem 1rem;
  background: #f7f7f7;
  font-size: 0.9rem;
  color: #444;
}

.seo-wa-cta {
  background: var(--brand, #267233);
  color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.seo-wa-cta h2,
.seo-wa-cta p {
  color: #fff;
}

.seo-wa-cta .btn-outline {
  margin-left: 0.5rem;
}

body.nav-open {
  overflow: hidden;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: calc(var(--topbar-h) + var(--header-h)) 0 0 0;
  background: rgba(11, 18, 32, 0.45);
  z-index: 98;
  border: 0;
  padding: 0;
  cursor: pointer;
}

body.nav-open .nav-overlay {
  display: block;
}

.seo-backlinks {
  columns: 2;
  column-gap: 1.5rem;
}

@media (max-width: 640px) {
  .seo-backlinks {
    columns: 1;
  }
}

.seo-map-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(38, 114, 51, 0.15);
}

.seo-map-block h2 {
  margin-bottom: 0.5rem;
}

.seo-map-block h3 {
  margin: 1rem 0 0.75rem;
  font-size: 1.05rem;
}

.seo-map-frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  aspect-ratio: 600 / 450;
  border-radius: 12px;
  overflow: hidden;
  background: #e8efe9;
}

.seo-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.seo-map-links {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.seo-map-section {
  padding-top: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split-media {
  border-radius: 14px;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.split-copy h2 {
  color: var(--ink);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.two-cols h2 {
  color: var(--ink);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.loc-grid a {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  transition: background 0.2s, color 0.2s;
}

.loc-grid a:hover {
  background: var(--red);
  color: #fff;
}

.loc-province {
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.loc-province:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.loc-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.loc-sub a {
  color: var(--red);
  font-weight: 500;
}

/* FAQ */
.faq-list {
  margin: 1rem 0 2rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: var(--surface);
  border: 0;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 12px 18px 16px;
  color: var(--muted);
}

/* Float / back-top */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 90;
  font-size: 18px;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.hero-fade {
  animation: heroFade 0.7s ease both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Legacy hero (SEO pages may still use) */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(11, 18, 32, 0.85));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 8px;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .lang {
    display: none;
  }

  .why-grid,
  .product-cards,
  .products-trio,
  .gallery-grid,
  .usage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .cta-band-inner,
  .contact-grid,
  .contact-ways,
  .split,
  .two-cols,
  .footer-grid,
  .footer-bar-inner,
  .services-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav-panel {
    inset: calc(var(--topbar-h) + var(--header-h)) 0 0 auto;
    width: min(320px, 88vw);
    box-shadow: -8px 0 32px rgba(11, 18, 32, 0.12);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .section {
    padding: 56px 0;
  }

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

  .gallery-item img {
    height: 200px;
  }

  .ba-pair .gallery-item img {
    height: 220px;
  }

  .cta-band {
    padding: 48px 0;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --topbar-h: 48px;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 12px);
  }

  .container,
  .topbar-inner {
    width: min(100% - 32px, var(--container));
  }

  .topbar-inner {
    justify-content: center;
    padding: 10px 0;
  }

  .topbar-links {
    display: none;
  }

  .topbar-badge {
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
    justify-content: center;
    max-width: 100%;
  }

  .logo-img {
    height: 48px;
  }

  .nav-inner {
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .menu-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .nav-panel a {
    display: flex;
    align-items: center;
    min-height: 48px;
  }

  .why-grid,
  .product-cards,
  .products-trio,
  .gallery-grid,
  .stats-grid,
  .ba-pair,
  .usage-grid,
  .services-grid,
  .loc-grid,
  .loc-grid--wide {
    grid-template-columns: 1fr;
  }

  .loc-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .dh-hero {
    padding: 44px 0 52px;
  }

  .dh-hero .lead {
    font-size: 16px;
  }

  .page-hero {
    padding: 36px 0;
  }

  .page-hero h1 {
    font-size: clamp(1.45rem, 6vw, 2rem);
    line-height: 1.15;
  }

  .breadcrumb {
    font-size: 12px;
    gap: 6px;
  }

  .content-block h2 {
    font-size: 1.2rem;
  }

  .hero-actions,
  .hero-actions--lead,
  .cta-actions,
  .footer-bar-actions,
  .seo-wa-cta .hero-actions,
  .seo-wa-cta .hero-actions--lead {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn,
  .hero-actions--lead .btn,
  .cta-actions .btn,
  .footer-bar-actions .btn,
  .seo-wa-cta .btn,
  .btn-row .btn,
  .content-block .hero-actions .btn,
  .content-block .hero-actions--lead .btn {
    width: 100%;
    margin-left: 0 !important;
    justify-content: center;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row--center {
    align-items: stretch;
  }

  .seo-wa-cta .btn-outline {
    margin-left: 0 !important;
    margin-top: 0;
  }

  .trust-row {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-chip {
    min-width: 0;
    width: 100%;
  }

  .footer-bar-inner {
    text-align: center;
  }

  .footer-bar-actions {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .site-credit {
    text-align: center;
  }

  .map-embed iframe {
    height: min(56vw, 320px);
  }

  .wa-float {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }

  .back-top {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 60px);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  .marquee-track span {
    font-size: 14px;
  }

  .content-narrow,
  .content-wide {
    max-width: 100%;
  }

  .gallery-item img {
    height: auto;
    min-height: 180px;
    max-height: 260px;
  }

  .ba-pair .gallery-item img {
    height: auto;
    min-height: 180px;
    max-height: 240px;
  }

  .split-media img {
    min-height: 220px;
  }

  .faq-q {
    padding: 14px 44px 14px 16px;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .container,
  .topbar-inner {
    width: min(100% - 24px, var(--container));
  }

  .btn {
    padding: 13px 18px;
    font-size: 14px;
  }

  .loc-grid--compact {
    grid-template-columns: 1fr;
  }
}
