/* Karakaş Ticaret SEO — seo.karakasticaret.com
   Industrial Trakya: galvaniz çelik + çit yeşili + beton */

:root {
  --ink: #12161a;
  --ink-soft: #2a3238;
  --muted: #5c6870;
  --paper: #f3f1ec;
  --paper-2: #e8e4db;
  --steel: #8a949c;
  --steel-dark: #3d474f;
  --fence: #1e5c3a;
  --fence-deep: #143d28;
  --fence-bright: #2d8a55;
  --accent: #c45c26;
  --line: rgba(18, 22, 26, 0.12);
  --line-strong: rgba(18, 22, 26, 0.22);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 22, 26, 0.12);
  --radius: 2px;
  --max: 1120px;
  --header-h: 72px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, rgba(30, 92, 58, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(61, 71, 79, 0.16), transparent 50%),
    linear-gradient(180deg, #ebe7de 0%, var(--paper) 38%, #ddd8ce 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(90deg, var(--ink) 1px, transparent 1px),
    linear-gradient(var(--ink) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

a {
  color: var(--fence-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--fence);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(243, 241, 236, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

@media (min-width: 920px) {
  .brand-logo {
    height: 52px;
    max-width: 150px;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--fence);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: var(--fence);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
}

.header-cta:hover {
  background: var(--fence-deep);
  color: var(--white);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.35rem 0 1.1rem;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.85rem 0.15rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
  line-height: 1.35;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 920px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  body.nav-open { overflow: visible; }
}

/* ——— Hero ——— */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    min-height: min(72vh, 640px);
  }
}

.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fence);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.hero-lead,
.page-hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--fence-deep);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--fence);
  color: var(--fence-deep);
}

.btn-whatsapp {
  background: #128c7e;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #0e6f64;
  color: var(--white);
}

.hero-panel {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--steel-dark);
}

.hero-panel-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-panel-content {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 22, 26, 0.55) 28%, rgba(18, 22, 26, 0.88) 100%);
}

.hero-panel-label {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-panel p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
  max-width: 22rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-stats span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ——— Sections ——— */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

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

.band {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.band-dark {
  background: linear-gradient(160deg, var(--ink) 0%, var(--steel-dark) 55%, var(--fence-deep) 100%);
  color: var(--white);
  border: none;
}

.band-dark a { color: #b8e0c8; }
.band-dark .section-head p { color: rgba(255, 255, 255, 0.72); }
.band-dark .muted { color: rgba(255, 255, 255, 0.7); }

/* ——— Grids / lists (no card clutter in hero; interaction lists OK) ——— */
.service-grid {
  display: grid;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-item {
  background: rgba(255, 255, 255, 0.72);
  padding: 1.5rem 1.35rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.2s ease;
}

.service-item:hover {
  background: var(--white);
  color: inherit;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

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

.service-item .more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fence);
}

.region-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.region-row {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  align-items: baseline;
}

@media (min-width: 720px) {
  .region-row {
    grid-template-columns: 10rem 1fr auto;
    gap: 1.5rem;
  }
}

.region-row:hover .region-name { color: var(--fence); }

.region-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.region-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

.region-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fence);
}

.proof-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
}

.proof-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
}

.proof-item p {
  margin: 0;
  color: var(--muted);
}

.band-dark .proof-item p { color: rgba(255, 255, 255, 0.72); }

/* ——— Content pages ——— */
.page-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem 0.45rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 85%, transparent);
  padding-bottom: 0.15rem;
}

.breadcrumb::-webkit-scrollbar { display: none; }

.breadcrumb a,
.breadcrumb span {
  flex-shrink: 0;
  white-space: nowrap;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--fence); }

.breadcrumb [aria-current="page"] { color: var(--ink-soft); }

.prose {
  max-width: 42rem;
  min-width: 0;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 2.25rem 0 0.85rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
}

.prose p,
.prose ul,
.prose ol {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li { margin-bottom: 0.4rem; }

.content-layout {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
  }
}

.side-panel {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--ink);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.side-panel h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

.side-panel p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  opacity: 0.85;
}

.side-panel .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

.side-meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  opacity: 0.85;
}

.side-meta a { color: #b8e0c8; }

/* ——— FAQ ——— */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 44rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.15rem;
  font-weight: 600;
  list-style: none;
  min-height: 52px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  padding-right: 2.25rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 1.05rem;
  color: var(--fence);
  font-weight: 700;
  float: none;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-strong);
}

.contact-block h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.contact-block p { margin: 0.35rem 0; color: var(--muted); }

.contact-block a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.contact-block a:hover { color: var(--fence); }

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin: 0 0 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover { color: #b8e0c8; }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-credit {
  width: 100%;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.footer-credit a {
  color: #b8e0c8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

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

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

.pill-note {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fence);
  margin-bottom: 0.5rem;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
}

.table-clean {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.25rem 0;
}

.table-clean th,
.table-clean td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table-clean th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.related-links {
  display: grid;
  gap: 0;
  margin-top: 1rem;
}

.related-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  padding: 0.85rem 0.1rem;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
  display: flex;
  align-items: center;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.related-links a:hover { color: var(--fence); }

/* Motions */
@media (prefers-reduced-motion: no-preference) {
  .hero-grid > *:first-child {
    animation: rise 0.7s ease both;
  }
  .hero-panel {
    animation: rise 0.85s 0.12s ease both;
  }
  .service-item {
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .service-item:hover {
    transform: translateY(-2px);
  }
}

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

/* ——— Sabit ara + WhatsApp (tüm sayfalar, mobil dahil) ——— */
.fab-bar {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.fab-bar a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(18, 22, 26, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
  border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.fab-bar a:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  color: inherit;
}

.fab-bar a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.fab-call {
  background: var(--ink);
  color: var(--white);
}

.fab-call:hover {
  color: var(--white);
}

.fab-wa {
  background: #128c7e;
  color: var(--white);
}

.fab-wa:hover {
  color: var(--white);
}

.fab-bar svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .fab-bar a {
    transition: none;
  }
}

/* ——— Mobil düzen (telefon / dar tablet) ——— */
@media (max-width: 919px) {
  :root {
    --header-h: 60px;
  }

  .wrap {
    width: min(100% - 1.35rem, var(--max));
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .header-inner {
    min-height: var(--header-h);
    gap: 0.55rem;
  }

  .header-cta {
    display: none;
  }

  .brand-logo {
    height: 38px;
    max-width: 96px;
  }

  .brand-name {
    font-size: 1.05rem;
    letter-spacing: 0.03em;
  }

  .brand-tag {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }

  .nav-toggle[aria-expanded="true"] span {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav-toggle span::before,
  .nav-toggle span::after {
    transition: transform 0.2s ease, top 0.2s ease;
  }

  body {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero {
    padding: 1.75rem 0 1.5rem;
  }

  .page-hero {
    padding: 1.35rem 0 1.1rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9vw, 3.1rem);
    line-height: 0.98;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.25rem);
    line-height: 1.08;
    margin-bottom: 0.85rem;
  }

  .hero-lead,
  .page-hero .lead {
    font-size: 1rem;
    margin-bottom: 1.15rem;
  }

  .pill-note {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.65rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .cta-row .btn {
    width: 100%;
    min-height: 50px;
    padding: 0.9rem 1rem;
    font-size: 0.98rem;
  }

  .hero-panel {
    min-height: 260px;
  }

  .hero-panel-content {
    padding: 1.25rem;
  }

  .hero-panel-label {
    font-size: 1.55rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
  }

  .hero-stats strong {
    font-size: 1.15rem;
  }

  .hero-stats span {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .section {
    padding: 2rem 0;
  }

  .section-head {
    margin-bottom: 1.35rem;
  }

  .section-head h2 {
    font-size: clamp(1.55rem, 6vw, 2.1rem);
  }

  .service-item {
    padding: 1.25rem 1.1rem;
  }

  .service-item h3 {
    font-size: 1.3rem;
  }

  .region-name {
    font-size: 1.3rem;
  }

  .content-layout {
    gap: 1.75rem;
    padding-bottom: 1.5rem;
  }

  .prose h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    margin: 1.75rem 0 0.7rem;
  }

  .prose h3 {
    font-size: 1.05rem;
  }

  .prose {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-clean {
    min-width: 26rem;
    font-size: 0.88rem;
  }

  .table-clean th,
  .table-clean td {
    padding: 0.65rem 0.45rem;
  }

  .side-panel {
    position: static;
    padding: 1.25rem;
    margin-top: 0.25rem;
  }

  .side-panel .btn {
    min-height: 48px;
  }

  .site-footer {
    padding: 2.25rem 0 calc(1.5rem + 4.75rem);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
    margin-top: 1.5rem;
  }

  .footer-credit {
    text-align: left;
    font-size: 0.75rem;
  }

  .fab-bar {
    left: max(0.65rem, env(safe-area-inset-left));
    right: max(0.65rem, env(safe-area-inset-right));
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    flex-direction: row;
    gap: 0.55rem;
  }

  .fab-bar a {
    flex: 1;
    min-height: 52px;
    font-size: 0.92rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(18, 22, 26, 0.32);
  }

  body {
    padding-bottom: calc(4.85rem + env(safe-area-inset-bottom));
  }

  .contact-block {
    padding: 1.15rem 0;
  }
}

@media (max-width: 420px) {
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .wrap {
    width: min(100% - 1.1rem, var(--max));
  }

  .page-hero h1 {
    font-size: clamp(1.4rem, 7.5vw, 1.85rem);
  }

  .fab-bar a span {
    letter-spacing: 0;
  }
}

@media (min-width: 920px) {
  .header-cta {
    display: inline-flex;
  }
}
