/* ============================================================
   AHİ v1.2 — professional B2B industrial theme
   Forest + copper · quote-first · not Akyol navy
   ============================================================ */

:root {
  --ahi-ink: #0e1612;
  --ahi-ink-2: #18241c;
  --ahi-chalk: #f5f7f4;
  --ahi-paper: #ffffff;
  --ahi-sage: #e2ebe5;
  --ahi-copper: #b96a2a;
  --ahi-copper-2: #93531f;
  --ahi-text: #1c2620;
  --ahi-muted: #5c6a60;
  --ahi-line: rgba(14, 22, 18, 0.1);
  --ahi-glow: rgba(185, 106, 42, 0.2);
  --ahi-font-d: "Manrope", system-ui, sans-serif;
  --ahi-font-b: "Source Sans 3", system-ui, sans-serif;
  --ahi-r: 4px;
  --ahi-max: 1120px;
}

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

body.ahi-theme {
  margin: 0;
  background: var(--ahi-chalk);
  color: var(--ahi-text);
  font-family: var(--ahi-font-b);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.ahi-theme h1,
body.ahi-theme h2,
body.ahi-theme h3,
body.ahi-theme h4,
body.ahi-theme .ahi-brand-mark,
body.ahi-theme .wp-block-site-title {
  font-family: var(--ahi-font-d);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ahi-ink);
}

body.ahi-theme p {
  letter-spacing: 0.01em;
}

body.ahi-theme a { color: var(--ahi-copper); }
body.ahi-theme img { max-width: 100%; height: auto; }

/* ========== Header ========== */
body.ahi-theme .ahi-site-header,
body.ahi-theme .hostinger-ai-menu {
  background: rgba(245, 247, 244, 0.92) !important;
  border-bottom: 1px solid var(--ahi-line);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(16px) saturate(1.15);
}

body.ahi-theme .ahi-header-inner,
body.ahi-theme .ahi-site-header .alignwide,
body.ahi-theme .hostinger-ai-menu-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.35rem clamp(0.75rem, 2vw, 1.5rem) 0.35rem 0.35rem;
  box-sizing: border-box;
}

body.ahi-theme .ahi-brand-mark,
body.ahi-theme .ahi-brand-mark a,
body.ahi-theme .wp-block-site-title a {
  margin: 0 !important;
  margin-left: 0 !important;
  color: var(--ahi-ink) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

body.ahi-theme .ahi-brand-logo {
  display: block;
  width: auto;
  height: 124px;
  max-width: min(300px, 72vw);
  object-fit: contain;
  object-position: left center;
  image-rendering: auto;
}

@media (max-width: 640px) {
  body.ahi-theme .ahi-header-inner {
    padding-left: 0.25rem;
    padding-right: 0.65rem;
  }
  body.ahi-theme .ahi-brand-logo {
    height: 92px;
    max-width: 210px;
  }
}

body.ahi-theme .wp-block-navigation a,
body.ahi-theme .hostinger-ai-site-navigation a,
body.ahi-theme .ahi-nav a {
  color: var(--ahi-text) !important;
  font-family: var(--ahi-font-d);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-decoration: none !important;
}

body.ahi-theme .wp-block-navigation a:hover,
body.ahi-theme .ahi-nav a:hover { color: var(--ahi-copper) !important; }

body.ahi-theme .ahi-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.ahi-theme .wc-block-mini-cart,
body.ahi-theme .wp-block-woocommerce-mini-cart,
body.ahi-theme .wc-block-customer-account { display: none !important; }

body.ahi-theme .ahi-header-cta { margin: 0 !important; }
body.ahi-theme .ahi-header-cta .ahi-btn {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

body.ahi-theme .ahi-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
body.ahi-theme .ahi-nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ahi-line);
  border-radius: var(--ahi-r);
  background: #fff;
  place-items: center;
  cursor: pointer;
}
body.ahi-theme .ahi-nav-burger span,
body.ahi-theme .ahi-nav-burger span::before,
body.ahi-theme .ahi-nav-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ahi-ink);
  position: relative;
  transition: transform 0.2s ease;
}
body.ahi-theme .ahi-nav-burger span::before,
body.ahi-theme .ahi-nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
body.ahi-theme .ahi-nav-burger span::before { top: -6px; }
body.ahi-theme .ahi-nav-burger span::after { top: 6px; }

body.ahi-theme .ahi-header-cta--mobile { display: none; }

@media (max-width: 820px) {
  body.ahi-theme .ahi-nav-burger { display: grid; }
  body.ahi-theme .ahi-header-cta--desktop { display: none; }
  body.ahi-theme .ahi-nav-panel {
    display: none;
    width: 100%;
    order: 5;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid var(--ahi-line);
  }
  body.ahi-theme .ahi-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0;
  }
  body.ahi-theme .ahi-header-cta--mobile { display: block; margin-top: 0.35rem !important; }
  body.ahi-theme .ahi-nav-toggle:checked ~ .ahi-nav-panel { display: block; }
  body.ahi-theme .ahi-nav-toggle:checked + .ahi-nav-burger span { background: transparent; }
  body.ahi-theme .ahi-nav-toggle:checked + .ahi-nav-burger span::before {
    top: 0;
    transform: rotate(45deg);
  }
  body.ahi-theme .ahi-nav-toggle:checked + .ahi-nav-burger span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

/* ========== Buttons ========== */
body.ahi-theme .ahi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.88rem 1.35rem;
  border-radius: var(--ahi-r);
  font-family: var(--ahi-font-d);
  font-weight: 650;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
body.ahi-theme .ahi-btn:hover { transform: translateY(-2px); }

body.ahi-theme .ahi-btn--primary {
  background: var(--ahi-copper);
  color: #fff !important;
  border-color: var(--ahi-copper);
  box-shadow: 0 12px 28px rgba(185, 106, 42, 0.28);
}
body.ahi-theme .ahi-btn--primary:hover {
  background: var(--ahi-copper-2);
  border-color: var(--ahi-copper-2);
}

body.ahi-theme .ahi-btn--ghost {
  background: transparent;
  color: inherit !important;
  border-color: currentColor;
  opacity: 0.92;
}
body.ahi-theme .ahi-btn--ghost:hover { opacity: 1; background: rgba(255,255,255,0.06); }

body.ahi-theme .ahi-btn--outline {
  background: transparent;
  color: var(--ahi-ink) !important;
  border-color: var(--ahi-line);
}
body.ahi-theme .ahi-btn--outline:hover {
  border-color: var(--ahi-copper);
  color: var(--ahi-copper) !important;
}

body.ahi-theme .ahi-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ========== Hero ========== */
body.ahi-theme .ahi-hero {
  position: relative;
  overflow: hidden;
  min-height: min(86vh, 700px);
  display: flex;
  align-items: flex-end;
  color: #f5f7f4;
  background:
    radial-gradient(ellipse 65% 50% at 82% 28%, var(--ahi-glow), transparent 55%),
    linear-gradient(155deg, #0a100d 0%, #15241c 45%, #1a2c22 100%);
}

body.ahi-theme .ahi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,247,244,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,247,244,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 65% at 55% 35%, #000, transparent 72%);
  pointer-events: none;
}

body.ahi-theme .ahi-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--ahi-max));
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5rem);
}

body.ahi-theme .ahi-hero__inner--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
}
@media (max-width: 900px) {
  body.ahi-theme .ahi-hero__inner--split {
    grid-template-columns: 1fr;
  }
  body.ahi-theme .ahi-hero__panel { order: -1; }
}

body.ahi-theme .ahi-hero__panel-card {
  background: rgba(8, 14, 11, 0.45);
  border: 1px solid rgba(245, 247, 244, 0.12);
  border-radius: 10px;
  padding: 1.25rem 1.15rem 1.2rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

body.ahi-theme .ahi-hero__panel-label {
  margin: 0 0 0.95rem;
  font-family: var(--ahi-font-d);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ahi-copper);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

body.ahi-theme .ahi-hero__panel-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ahi-copper);
  flex-shrink: 0;
}

body.ahi-theme .ahi-hero__panel-label::after {
  content: none;
}

body.ahi-theme .ahi-hero__panel-logos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

body.ahi-theme .ahi-hero__logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0.55rem 0.9rem;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

body.ahi-theme .ahi-hero__logo-cell--api {
  height: 88px;
  padding: 0.45rem 0.75rem;
}

body.ahi-theme .ahi-hero__logo-cell img {
  display: block;
  width: auto;
  height: auto;
  max-height: 38px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 1;
}

body.ahi-theme .ahi-hero__logo-cell--api img {
  max-height: 72px;
  max-width: 120px;
}

body.ahi-theme .ahi-hero__panel-note {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(245, 247, 244, 0.1);
  color: rgba(245, 247, 244, 0.62);
  font-family: var(--ahi-font-d);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

body.ahi-theme .ahi-hero__eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--ahi-font-d);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 247, 244, 0.72);
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--ahi-copper);
  display: inline-block;
}

body.ahi-theme .ahi-hero__brand {
  margin: 0 0 1rem;
  line-height: 0;
}

body.ahi-theme .ahi-hero__logo {
  display: block;
  width: auto;
  height: clamp(148px, 28vw, 200px);
  max-width: min(380px, 92vw);
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

body.ahi-theme .ahi-hero__line {
  margin: 0 0 0.85rem !important;
  color: rgba(245, 247, 244, 0.95) !important;
  font-family: var(--ahi-font-d);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 28ch;
  line-height: 1.3;
}

body.ahi-theme .ahi-hero p {
  margin: 0 0 1.75rem;
  color: rgba(245, 247, 244, 0.72);
  font-size: clamp(1.02rem, 1.6vw, 1.12rem);
  line-height: 1.6;
  max-width: 40ch;
  font-weight: 400;
  letter-spacing: 0.01em;
}

body.ahi-theme .ahi-hero .ahi-btn--ghost {
  color: #f5f7f4 !important;
  border-color: rgba(245, 247, 244, 0.35);
}

/* ========== Sections ========== */
body.ahi-theme .ahi-section {
  width: min(100% - 2rem, var(--ahi-max));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.75rem) 0;
}

body.ahi-theme .ahi-section__label {
  margin: 0 0 0.55rem;
  font-family: var(--ahi-font-d);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ahi-copper);
}

body.ahi-theme .ahi-section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 20ch;
}

body.ahi-theme .ahi-section__lead {
  margin: 0 0 2.25rem;
  color: var(--ahi-muted);
  max-width: 44ch;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400;
}

body.ahi-theme .ahi-band {
  background: linear-gradient(180deg, #e8f0eb, #dde8e1);
  border-block: 1px solid var(--ahi-line);
}

body.ahi-theme .ahi-band-dark {
  background: var(--ahi-ink);
  color: #f5f7f4;
}
body.ahi-theme .ahi-band-dark h2 { color: #f5f7f4 !important; }
body.ahi-theme .ahi-band-dark .ahi-section__lead { color: rgba(245,247,244,0.68); }

/* ========== Brand cards ========== */
body.ahi-theme .ahi-brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}
@media (max-width: 960px) {
  body.ahi-theme .ahi-brand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  body.ahi-theme .ahi-brand-grid { grid-template-columns: 1fr; }
}

body.ahi-theme .ahi-brand-card {
  background: var(--ahi-paper);
  border: 1px solid var(--ahi-line);
  border-radius: var(--ahi-r);
  padding: 1.25rem 1.1rem 1.35rem;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
body.ahi-theme .ahi-brand-card__logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.55rem;
  filter: none;
}
body.ahi-theme .ahi-brand-card__logo[src*="api.png"] {
  height: 72px;
}
body.ahi-theme .ahi-brand-card:hover {
  border-color: rgba(185, 106, 42, 0.45);
  box-shadow: 0 14px 32px rgba(14, 22, 18, 0.07);
  transform: translateY(-3px);
}
body.ahi-theme .ahi-brand-card strong {
  display: block;
  font-family: var(--ahi-font-d);
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--ahi-ink);
  margin-bottom: 0.4rem;
}
body.ahi-theme .ahi-brand-card span {
  display: block;
  color: var(--ahi-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ========== Feature grid ========== */
body.ahi-theme .ahi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 860px) {
  body.ahi-theme .ahi-grid { grid-template-columns: 1fr; }
}

body.ahi-theme .ahi-card {
  position: relative;
  background: var(--ahi-paper);
  border: 1px solid var(--ahi-line);
  border-radius: var(--ahi-r);
  padding: 1.5rem 1.35rem 1.55rem;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
body.ahi-theme .ahi-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--ahi-copper);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}
body.ahi-theme .ahi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(14, 22, 18, 0.08);
  border-color: rgba(185, 106, 42, 0.35);
}
body.ahi-theme .ahi-card:hover::before { transform: scaleY(1); }

body.ahi-theme .ahi-card__index {
  display: block;
  font-family: var(--ahi-font-d);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--ahi-copper);
  margin-bottom: 0.9rem;
}
body.ahi-theme .ahi-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
}
body.ahi-theme .ahi-card p {
  margin: 0;
  color: var(--ahi-muted);
  font-size: 0.97rem;
}

/* ========== Stats / trust ========== */
body.ahi-theme .ahi-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}
@media (max-width: 720px) {
  body.ahi-theme .ahi-trust { grid-template-columns: 1fr; }
}
body.ahi-theme .ahi-trust__item {
  border-top: 2px solid var(--ahi-copper);
  padding-top: 1rem;
}
body.ahi-theme .ahi-trust__item strong {
  display: block;
  font-family: var(--ahi-font-d);
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--ahi-ink);
  margin-bottom: 0.25rem;
}
body.ahi-theme .ahi-band-dark .ahi-trust__item strong { color: #f5f7f4; }
body.ahi-theme .ahi-trust__item span {
  color: var(--ahi-muted);
  font-size: 0.95rem;
}
body.ahi-theme .ahi-band-dark .ahi-trust__item span { color: rgba(245,247,244,0.65); }

/* ========== Contact / quote ========== */
body.ahi-theme .ahi-contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 70% at 100% 50%, rgba(185, 106, 42, 0.18), transparent 55%),
    linear-gradient(135deg, #0a100d, #16241c 55%, #101a14);
  color: #f5f7f4;
}
body.ahi-theme .ahi-contact h2 { color: #f5f7f4 !important; }
body.ahi-theme .ahi-contact .ahi-section__lead { color: rgba(245,247,244,0.7); }

body.ahi-theme .ahi-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 860px) {
  body.ahi-theme .ahi-contact__grid { grid-template-columns: 1fr; }
}

body.ahi-theme .ahi-contact__points {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
body.ahi-theme .ahi-contact__points li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(245, 247, 244, 0.78);
  font-size: 0.98rem;
}
body.ahi-theme .ahi-contact__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ahi-copper);
}
body.ahi-theme .ahi-contact__mail {
  margin: 0;
  font-family: var(--ahi-font-d);
  font-weight: 700;
}
body.ahi-theme .ahi-contact__mail a {
  color: var(--ahi-copper) !important;
  text-decoration: none;
}

body.ahi-theme .ahi-quote-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 0;
  padding: 1.35rem;
  background: rgba(245, 247, 244, 0.05);
  border: 1px solid rgba(245, 247, 244, 0.14);
  border-radius: 8px;
}
body.ahi-theme .ahi-quote-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--ahi-font-b);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(245, 247, 244, 0.82);
}
body.ahi-theme .ahi-quote-form input,
body.ahi-theme .ahi-quote-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(245, 247, 244, 0.2);
  border-radius: var(--ahi-r);
  background: rgba(245, 247, 244, 0.07);
  color: #f5f7f4;
  font: inherit;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--ahi-font-b);
  font-weight: 400;
}
body.ahi-theme .ahi-quote-form input::placeholder,
body.ahi-theme .ahi-quote-form textarea::placeholder {
  color: rgba(245, 247, 244, 0.4);
}
body.ahi-theme .ahi-quote-form textarea { min-height: 120px; resize: vertical; }
body.ahi-theme .ahi-quote-form input:focus,
body.ahi-theme .ahi-quote-form textarea:focus {
  outline: 2px solid var(--ahi-copper);
  outline-offset: 1px;
  border-color: transparent;
}

/* ========== Footer ========== */
body.ahi-theme .ahi-site-footer,
body.ahi-theme footer.wp-block-template-part .has-color-2-background-color {
  background: var(--ahi-ink) !important;
  color: rgba(245, 247, 244, 0.75);
}
body.ahi-theme .ahi-footer-brand {
  margin: 0 0 0.85rem;
  line-height: 0;
}

body.ahi-theme .ahi-footer-logo {
  display: block;
  width: auto;
  height: 88px;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
  background: #fff;
}
body.ahi-theme .ahi-footer-grid {
  width: min(100% - 2rem, var(--ahi-max));
  margin: 0 auto;
  padding: 3.25rem 0 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) {
  body.ahi-theme .ahi-footer-grid { grid-template-columns: 1fr; }
}
body.ahi-theme .ahi-site-footer h3 {
  margin: 0 0 0.85rem;
  color: #f5f7f4 !important;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.ahi-theme .ahi-site-footer p,
body.ahi-theme .ahi-site-footer a {
  color: rgba(245, 247, 244, 0.78) !important;
  text-decoration: none;
  font-size: 0.95rem;
}
body.ahi-theme .ahi-site-footer a:hover { color: var(--ahi-copper) !important; }
body.ahi-theme .ahi-footer-bottom {
  width: min(100% - 2rem, var(--ahi-max));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(245,247,244,0.1);
  font-size: 0.85rem;
  color: rgba(245,247,244,0.5);
}

/* ========== Pages / content ========== */
body.ahi-theme .entry-content,
body.ahi-theme .wp-block-post-content {
  width: min(100% - 2rem, 720px);
  margin-inline: auto;
}
body.ahi-theme .wp-block-post-title {
  font-family: var(--ahi-font-d);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

/* ========== Elementor bridge ========== */
body.ahi-theme .wp-block-button__link,
body.ahi-theme .wp-element-button,
body.ahi-theme .elementor-button {
  border-radius: var(--ahi-r) !important;
  background: var(--ahi-copper) !important;
  background-color: var(--ahi-copper) !important;
  border-color: var(--ahi-copper) !important;
  color: #fff !important;
  font-family: var(--ahi-font-d) !important;
  font-weight: 700 !important;
}
body.ahi-theme .elementor-kit-6 {
  --e-global-color-primary: #b96a2a;
  --e-global-color-secondary: #0e1612;
  --e-global-color-text: #5c6a60;
  --e-global-color-accent: #b96a2a;
}

/* ========== Motion ========== */
@media (prefers-reduced-motion: no-preference) {
  body.ahi-theme .ahi-hero__brand { animation: ahi-in 0.75s cubic-bezier(.22,1,.36,1) both; }
  body.ahi-theme .ahi-hero__eyebrow { animation: ahi-in 0.7s cubic-bezier(.22,1,.36,1) .05s both; }
  body.ahi-theme .ahi-hero__line { animation: ahi-in 0.7s cubic-bezier(.22,1,.36,1) .12s both; }
  body.ahi-theme .ahi-hero p { animation: ahi-in 0.7s cubic-bezier(.22,1,.36,1) .18s both; }
  body.ahi-theme .ahi-hero .ahi-cta-row { animation: ahi-in 0.7s cubic-bezier(.22,1,.36,1) .26s both; }
}
@keyframes ahi-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Catalog ========== */
body.ahi-theme .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

body.ahi-theme .ahi-katalog {
  background: var(--ahi-chalk);
}

body.ahi-theme .ahi-katalog__hero {
  background:
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(185, 106, 42, 0.18), transparent 55%),
    linear-gradient(145deg, #0a100d 0%, #15241c 55%, #101a14 100%);
  color: #f5f7f4;
  border-bottom: 1px solid rgba(245, 247, 244, 0.06);
}

body.ahi-theme .ahi-katalog__hero-inner {
  width: min(100% - 2rem, var(--ahi-max));
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 3.6rem) 0;
}

body.ahi-theme .ahi-katalog__kicker {
  margin: 0 0 0.45rem;
  font-family: var(--ahi-font-d);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ahi-copper);
}

body.ahi-theme .ahi-katalog__title {
  margin: 0 0 0.65rem;
  font-family: var(--ahi-font-d);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #f5f7f4 !important;
  text-transform: none;
}

body.ahi-theme .ahi-katalog__subtitle {
  margin: 0;
  max-width: 44ch;
  color: rgba(245, 247, 244, 0.72);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400;
}

body.ahi-theme .ahi-katalog__wrap {
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
}

body.ahi-theme .ahi-katalog__toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid var(--ahi-line);
  border-radius: var(--ahi-r);
  box-shadow: 0 10px 28px rgba(14, 22, 18, 0.04);
}

body.ahi-theme .ahi-katalog__search input {
  width: 100%;
  padding: 1rem 1.15rem;
  border: 1px solid var(--ahi-line);
  border-radius: var(--ahi-r);
  background: var(--ahi-chalk);
  font: inherit;
  font-size: 1.02rem;
  color: var(--ahi-text);
}
body.ahi-theme .ahi-katalog__search input:focus {
  outline: 2px solid var(--ahi-copper);
  outline-offset: 1px;
  border-color: transparent;
  background: #fff;
}

body.ahi-theme .ahi-katalog__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

body.ahi-theme .ahi-chip {
  appearance: none;
  border: 1px solid var(--ahi-line);
  background: var(--ahi-chalk);
  color: var(--ahi-ink);
  font-family: var(--ahi-font-d);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.55rem 1rem;
  border-radius: var(--ahi-r);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
body.ahi-theme .ahi-chip:hover {
  border-color: rgba(185, 106, 42, 0.45);
  background: #fff;
}
body.ahi-theme .ahi-chip.is-active {
  background: var(--ahi-ink);
  border-color: var(--ahi-ink);
  color: #f5f7f4;
  box-shadow: 0 6px 16px rgba(14, 22, 18, 0.18);
}

body.ahi-theme .ahi-chip--logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 46px;
  padding: 0.45rem 0.85rem;
  background: #fff;
}
body.ahi-theme .ahi-chip--logo img {
  height: 26px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
}
body.ahi-theme .ahi-chip--logo img[src*="api.png"] {
  height: 40px;
  max-width: 48px;
}
body.ahi-theme .ahi-chip--logo.is-active {
  background: #fff;
  border-color: var(--ahi-copper);
  box-shadow: 0 0 0 2px rgba(185, 106, 42, 0.25);
}

body.ahi-theme .ahi-katalog__meta {
  margin: 0;
  color: var(--ahi-muted);
  font-size: 0.9rem;
  min-height: 1.2em;
}

body.ahi-theme .ahi-katalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.1rem;
}

body.ahi-theme .ahi-cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ahi-line);
  border-radius: var(--ahi-r);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
body.ahi-theme .ahi-cat-card:hover {
  border-color: rgba(185, 106, 42, 0.4);
  box-shadow: 0 14px 32px rgba(14, 22, 18, 0.07);
  transform: translateY(-3px);
}

body.ahi-theme .ahi-cat-card__media {
  aspect-ratio: 1.2 / 1;
  background: linear-gradient(160deg, #eef4f0, #f7f9f6);
  display: grid;
  place-items: center;
  padding: 1.1rem;
}
body.ahi-theme .ahi-cat-card__media img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}
body.ahi-theme .ahi-cat-card__media--empty::after {
  content: "AHİ Endüstriyel";
  font-family: var(--ahi-font-d);
  font-weight: 700;
  color: rgba(14, 22, 18, 0.14);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 0 1rem;
}

body.ahi-theme .ahi-cat-card__body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
body.ahi-theme .ahi-cat-card__brand {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-family: var(--ahi-font-d);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ahi-muted);
  text-transform: none;
}
body.ahi-theme .ahi-cat-card__brand img {
  height: 18px;
  width: auto;
  max-width: 68px;
  object-fit: contain;
}
body.ahi-theme .ahi-cat-card h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ahi-ink);
}
body.ahi-theme .ahi-cat-card__meta {
  margin: 0;
  color: var(--ahi-muted);
  font-size: 0.9rem;
}
body.ahi-theme .ahi-cat-card__desc {
  margin: 0.25rem 0 0;
  color: var(--ahi-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  flex: 1;
}
body.ahi-theme .ahi-cat-card__cta {
  margin-top: 0.85rem;
  align-self: flex-start;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
}
body.ahi-theme .ahi-cat-more,
body.ahi-theme .ahi-katalog__empty {
  grid-column: 1 / -1;
  color: var(--ahi-muted);
  margin: 1rem 0 0;
}

body.ahi-theme .ahi-logo-strip {
  background: #fff;
  border-bottom: 1px solid var(--ahi-line);
}
body.ahi-theme .ahi-logo-strip__inner {
  width: min(100% - 2rem, var(--ahi-max));
  margin: 0 auto;
  padding: 1.35rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
}
body.ahi-theme .ahi-logo-strip__inner img {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
body.ahi-theme .ahi-logo-strip__inner img[src*="api.png"] {
  height: 64px;
  max-width: 72px;
}
body.ahi-theme .ahi-logo-strip__inner img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

body.ahi-theme .ahi-brand-card a {
  color: inherit;
  text-decoration: none;
}

/* Katalog: çift başlığı gizle, tam genişlik */
body.ahi-theme.page-slug-katalog .wp-block-post-title,
body.ahi-theme.page-template-page-katalog .wp-block-post-title,
body.ahi-theme.page-slug-katalog .ahi-page > h1 {
  display: none !important;
}
body.ahi-theme.page-slug-katalog .ahi-page,
body.ahi-theme.page-template-page-katalog main.ahi-page {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  max-width: none !important;
}
body.ahi-theme.page-slug-katalog .wp-block-post-content,
body.ahi-theme.page-slug-katalog .entry-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ========== About page ========== */
body.ahi-theme .ahi-about__hero {
  background:
    radial-gradient(ellipse 55% 70% at 80% 30%, rgba(185, 106, 42, 0.16), transparent 55%),
    linear-gradient(145deg, #0a100d 0%, #15241c 55%, #101a14 100%);
  color: #f5f7f4;
}
body.ahi-theme .ahi-about__hero-inner {
  width: min(100% - 2rem, var(--ahi-max));
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 3.6rem) 0;
}
body.ahi-theme .ahi-about__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
@media (max-width: 860px) {
  body.ahi-theme .ahi-about__grid { grid-template-columns: 1fr; }
}
body.ahi-theme .ahi-about__body p {
  color: var(--ahi-muted);
  max-width: 54ch;
  line-height: 1.65;
}
body.ahi-theme .ahi-about__body h2 {
  max-width: 16ch;
}
body.ahi-theme .ahi-about__aside {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

body.ahi-theme .ahi-about__aside .ahi-hero__panel-card {
  background: linear-gradient(160deg, #0e1612 0%, #18241c 55%, #121c16 100%);
  box-shadow: 0 18px 40px rgba(14, 22, 18, 0.14);
}
body.ahi-theme .ahi-about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 860px) {
  body.ahi-theme .ahi-about__values { grid-template-columns: 1fr; }
}

body.ahi-theme .ahi-cat-card__media--logo-only {
  background: linear-gradient(160deg, #f0f5f2, #fafbfa);
}
body.ahi-theme .ahi-cat-card__media--logo-only img {
  max-height: 56px;
  opacity: 0.9;
}

body.ahi-theme.page-slug-hakkimizda .wp-block-post-title,
body.ahi-theme.page-template-page-hakkimizda .wp-block-post-title {
  display: none !important;
}
body.ahi-theme.page-slug-hakkimizda .wp-block-post-content,
body.ahi-theme.page-slug-hakkimizda .entry-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
