/*
Theme Name: Yapar Isı Teknik
Author: Yapar Isı Teknik
Description: Konya kombi, şofben, petek ve ısıtma sistemi teknik servisleri için hızlı, mobil uyumlu ve SEO altyapısı hazırlanmış bağımsız WordPress teması.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yapar-isi-teknik
Tags: custom-logo, custom-menu, featured-images, translation-ready, blog, one-column
*/

:root {
  --yapar-red: #d50a12;
  --yapar-red-dark: #aa0710;
  --yapar-blue: #1048a5;
  --yapar-blue-dark: #092f72;
  --yapar-ink: #172033;
  --yapar-muted: #657086;
  --yapar-line: #dfe5ee;
  --yapar-soft: #f4f7fb;
  --yapar-white: #ffffff;
  --yapar-success: #15803d;
  --yapar-radius-sm: 12px;
  --yapar-radius: 20px;
  --yapar-radius-lg: 30px;
  --yapar-shadow: 0 20px 60px rgba(23, 32, 51, 0.10);
  --yapar-container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--yapar-ink);
  background: var(--yapar-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

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

a {
  color: var(--yapar-blue);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--yapar-red);
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  color: var(--yapar-ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.48rem);
}

p {
  margin: 0 0 1.2em;
}

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

.skip-link {
  position: fixed;
  z-index: 99999;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: #fff;
  background: var(--yapar-blue-dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.topbar {
  color: #fff;
  background: var(--yapar-blue-dark);
  font-size: 0.88rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 20px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 229, 238, 0.88);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: var(--yapar-ink);
  text-decoration: none;
}

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

.brand__mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__name {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand__tagline {
  margin-top: 5px;
  color: var(--yapar-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--yapar-ink);
  border-radius: 9px;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--yapar-blue);
  background: #edf4ff;
}

.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  min-width: 240px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--yapar-line);
  border-radius: 14px;
  box-shadow: var(--yapar-shadow);
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  display: block;
}

.header-call {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: var(--yapar-red);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(213, 10, 18, 0.24);
  font-weight: 850;
  text-decoration: none;
}

.header-call:hover {
  color: #fff;
  background: var(--yapar-red-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--yapar-ink);
  background: var(--yapar-soft);
  border: 1px solid var(--yapar-line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle svg,
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 9vw, 118px) 0 78px;
  background:
    radial-gradient(circle at 82% 18%, rgba(16, 72, 165, 0.12), transparent 31%),
    radial-gradient(circle at 12% 82%, rgba(213, 10, 18, 0.08), transparent 30%),
    linear-gradient(180deg, #fff, #f7f9fd);
}

.hero::before {
  position: absolute;
  top: -130px;
  right: -120px;
  width: 420px;
  height: 420px;
  border: 52px solid rgba(16, 72, 165, 0.045);
  border-radius: 50%;
  content: "";
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(44px, 7vw, 94px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 12px;
  color: var(--yapar-blue-dark);
  background: #eaf2ff;
  border: 1px solid #cfe0fb;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  background: var(--yapar-red);
  border-radius: 50%;
  content: "";
}

.hero h1 span {
  color: var(--yapar-blue);
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--yapar-muted);
  font-size: clamp(1.07rem, 1.7vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 10px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--yapar-red);
  box-shadow: 0 14px 30px rgba(213, 10, 18, 0.22);
}

.button--primary:hover {
  color: #fff;
  background: var(--yapar-red-dark);
}

.button--whatsapp {
  color: #fff;
  background: #168c4a;
  box-shadow: 0 14px 30px rgba(22, 140, 74, 0.18);
}

.button--whatsapp:hover {
  color: #fff;
  background: #11783e;
}

.button--outline {
  color: var(--yapar-blue-dark);
  background: #fff;
  border-color: #cbd6e7;
}

.button--outline:hover {
  color: var(--yapar-blue-dark);
  border-color: var(--yapar-blue);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: #424d62;
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust li::before {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: #fff;
  background: var(--yapar-blue);
  border-radius: 50%;
  content: "✓";
  font-size: 0.72rem;
}

.service-card-visual {
  position: relative;
  padding: 34px;
  color: #fff;
  background: linear-gradient(145deg, var(--yapar-blue-dark), #104da9 68%, #1f67c8);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--yapar-radius-lg);
  box-shadow: 0 34px 80px rgba(9, 47, 114, 0.26);
}

.service-card-visual::after {
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 180px;
  height: 180px;
  background: rgba(213, 10, 18, 0.88);
  border-radius: 52% 48% 60% 40%;
  content: "";
}

.visual__brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.visual__brand img {
  width: 92px;
  height: 92px;
  padding: 5px;
  object-fit: contain;
  background: #fff;
  border-radius: 24px;
}

.visual__brand strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
}

.visual__brand span {
  color: #cfe0ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.visual__divider {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.22);
}

.visual__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.visual__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #edf4ff;
  font-size: 0.9rem;
  font-weight: 750;
}

.visual__list .icon {
  width: 18px;
  height: 18px;
  color: #ffb4b8;
}

.visual__phone {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--yapar-ink);
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
}

.visual__phone:hover {
  color: var(--yapar-red);
}

.visual__phone small {
  display: block;
  color: var(--yapar-muted);
  font-weight: 700;
}

.visual__phone strong {
  display: block;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.15;
}

.visual__phone .icon {
  width: 30px;
  height: 30px;
  color: var(--yapar-red);
}

.section {
  padding: clamp(76px, 9vw, 118px) 0;
}

.section--soft {
  background: var(--yapar-soft);
}

.section--dark {
  color: #eaf0fb;
  background: var(--yapar-blue-dark);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-heading__copy {
  max-width: 740px;
}

.section-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--yapar-muted);
}

.section--dark .section-heading p {
  color: #c5d0e5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 28px;
  color: inherit;
  background: #fff;
  border: 1px solid var(--yapar-line);
  border-radius: var(--yapar-radius);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  color: inherit;
  border-color: #b9c9e3;
  box-shadow: var(--yapar-shadow);
  transform: translateY(-5px);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  color: var(--yapar-blue);
  background: #eaf2ff;
  border-radius: 16px;
}

.service-card:nth-child(2n) .service-card__icon {
  color: var(--yapar-red);
  background: #fff0f1;
}

.service-card p {
  margin-bottom: 18px;
  color: var(--yapar-muted);
  font-size: 0.96rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--yapar-blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-top: 38px;
  background: #fff;
  border: 1px solid var(--yapar-line);
  border-radius: var(--yapar-radius);
}

.feature-strip__item {
  display: flex;
  align-items: center;
  min-height: 116px;
  gap: 16px;
  padding: 26px;
}

.feature-strip__item + .feature-strip__item {
  border-left: 1px solid var(--yapar-line);
}

.feature-strip__number {
  min-width: 84px;
  color: var(--yapar-red);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.feature-strip strong {
  display: block;
}

.feature-strip span {
  display: block;
  color: var(--yapar-muted);
  font-size: 0.86rem;
}

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

.process-step {
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--yapar-radius);
  counter-increment: process;
}

.process-step::before {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  color: #fff;
  background: var(--yapar-red);
  border-radius: 13px;
  content: "0" counter(process);
  font-size: 0.85rem;
  font-weight: 900;
}

.process-step p {
  margin: 0;
  color: #c5d0e5;
}

.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-pill {
  padding: 10px 15px;
  color: #364158;
  background: #fff;
  border: 1px solid var(--yapar-line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.brand-pill:hover {
  color: var(--yapar-blue);
  border-color: var(--yapar-blue);
  transform: translateY(-2px);
}

.brand-note {
  margin-top: 22px;
  color: var(--yapar-muted);
  font-size: 0.86rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.area-card {
  position: relative;
  overflow: hidden;
  min-height: 235px;
  padding: 30px;
  color: inherit;
  background: #fff;
  border: 1px solid var(--yapar-line);
  border-radius: var(--yapar-radius);
  text-decoration: none;
}

.area-card:hover {
  color: inherit;
  border-color: #b5c7e4;
  box-shadow: var(--yapar-shadow);
}

.area-card::after {
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 130px;
  height: 130px;
  background: #edf4ff;
  border-radius: 50%;
  content: "";
}

.area-card__tag {
  display: inline-flex;
  margin-bottom: 44px;
  padding: 6px 10px;
  color: var(--yapar-red-dark);
  background: #fff0f1;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.area-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--yapar-muted);
  font-size: 0.93rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(40px, 7vw, 90px);
}

.faq-intro {
  position: sticky;
  top: 132px;
}

.faq-intro p {
  color: var(--yapar-muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--yapar-line);
  border-radius: 16px;
}

.faq-list details[open] {
  border-color: #b9c9e3;
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.07);
}

.faq-list summary {
  position: relative;
  padding: 22px 58px 22px 22px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--yapar-blue);
  content: "+";
  font-size: 1.55rem;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--yapar-muted);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  gap: 36px;
  padding: clamp(34px, 6vw, 60px);
  color: #fff;
  background: linear-gradient(125deg, var(--yapar-red-dark), var(--yapar-red));
  border-radius: var(--yapar-radius-lg);
  box-shadow: 0 28px 70px rgba(170, 7, 16, 0.22);
}

.cta-panel::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 330px;
  height: 330px;
  border: 44px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 12px;
  color: #fff;
}

.cta-panel p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: #ffe8e9;
}

.cta-panel .button-row {
  position: relative;
  z-index: 1;
  justify-content: flex-end;
}

.cta-panel .button {
  color: var(--yapar-red-dark);
  background: #fff;
}

.page-hero {
  padding: 64px 0;
  background: linear-gradient(180deg, #f6f9fe, #fff);
  border-bottom: 1px solid var(--yapar-line);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--yapar-muted);
  font-size: 0.83rem;
}

.breadcrumbs a {
  color: var(--yapar-blue);
  font-weight: 750;
  text-decoration: none;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: clamp(40px, 7vw, 80px);
  padding: 68px 0 92px;
}

.entry-content {
  min-width: 0;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.5em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 22px;
}

.entry-content li + li {
  margin-top: 8px;
}

.entry-content img,
.entry-content .wp-block-image img {
  border-radius: var(--yapar-radius);
}

.entry-content blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  color: #364158;
  background: #f2f6fc;
  border-left: 4px solid var(--yapar-blue);
  border-radius: 0 14px 14px 0;
}

.sidebar-cta {
  position: sticky;
  top: 124px;
  padding: 26px;
  background: var(--yapar-blue-dark);
  border-radius: var(--yapar-radius);
  color: #fff;
}

.sidebar-cta h2 {
  color: #fff;
  font-size: 1.55rem;
}

.sidebar-cta p {
  color: #d3ddef;
  font-size: 0.93rem;
}

.sidebar-cta .button {
  width: 100%;
  margin-top: 10px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 68px 0 92px;
}

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

.post-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--yapar-line);
  border-radius: var(--yapar-radius);
}

.post-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e8f0fc, #fce9ea);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__image img[src*="logo-mark"] {
  width: 36%;
  height: 70%;
  object-fit: contain;
}

.post-card__content {
  padding: 24px;
}

.post-card__meta {
  margin-bottom: 10px;
  color: var(--yapar-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.post-card h2 {
  font-size: 1.25rem;
}

.post-card h2 a {
  color: var(--yapar-ink);
  text-decoration: none;
}

.post-card p {
  color: var(--yapar-muted);
  font-size: 0.94rem;
}

.pagination {
  grid-column: 1 / -1;
}

.pagination .nav-links {
  display: flex;
  gap: 8px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--yapar-line);
  border-radius: 10px;
  text-decoration: none;
}

.pagination .current {
  color: #fff;
  background: var(--yapar-blue);
  border-color: var(--yapar-blue);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 70px 30px;
  text-align: center;
  background: var(--yapar-soft);
  border-radius: var(--yapar-radius);
}

.site-footer {
  color: #cbd5e7;
  background: #071d3f;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr 1fr;
  gap: 44px;
  padding: 68px 0 46px;
}

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

.site-footer .brand__tagline {
  color: #aebbd1;
}

.footer__about p {
  max-width: 390px;
  margin-top: 20px;
  color: #aebbd1;
  font-size: 0.92rem;
}

.footer__title {
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.footer__links li + li {
  margin-top: 9px;
}

.footer__links a {
  color: #bdc9dc;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 14px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-contact .icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: #ff7378;
}

.footer__bottom {
  padding: 22px 0 30px;
  color: #8fa0ba;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.78rem;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.mobile-actions {
  display: none;
}

.desktop-whatsapp {
  position: fixed;
  z-index: 1100;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #168c4a;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(17, 120, 62, 0.30);
  text-decoration: none;
}

.desktop-whatsapp:hover {
  color: #fff;
  background: #11783e;
  transform: translateY(-2px);
}

.desktop-whatsapp .icon {
  width: 27px;
  height: 27px;
}

.not-found {
  padding: 100px 0;
  text-align: center;
}

.not-found h1 {
  color: var(--yapar-blue);
}

@media (max-width: 1040px) {
  .header__inner {
    gap: 18px;
  }

  .primary-nav a {
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .header-call {
    padding-inline: 14px;
    font-size: 0.85rem;
  }

  .hero__grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 36px;
  }

  .service-card-visual {
    padding: 26px;
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer__grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 840px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__inner p:first-child {
    display: none;
  }

  .header__inner {
    min-height: 72px;
  }

  .brand__mark {
    width: 50px;
    height: 50px;
  }

  .brand__tagline {
    display: none;
  }

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

  .header-call {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    padding: 12px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--yapar-line);
    box-shadow: 0 20px 40px rgba(23, 32, 51, 0.10);
  }

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

  .primary-nav ul {
    display: block;
  }

  .primary-nav a {
    padding: 13px 12px;
    font-size: 0.96rem;
  }

  .primary-nav .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    margin: 0 0 4px 14px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 2px solid var(--yapar-line);
    border-radius: 0;
    box-shadow: none;
  }

  .primary-nav .sub-menu a {
    padding-block: 9px;
    color: var(--yapar-muted);
    font-size: 0.88rem;
  }

  .hero__grid,
  .faq-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .service-card-visual {
    max-width: 560px;
  }

  .services-grid,
  .areas-grid,
  .home-posts-grid,
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip__item + .feature-strip__item {
    border-top: 1px solid var(--yapar-line);
    border-left: 0;
  }

  .faq-intro,
  .sidebar-cta {
    position: static;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel .button-row {
    justify-content: flex-start;
  }

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

  .footer__grid > :last-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 72px;
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 30px), var(--yapar-container));
  }

  .brand__name {
    font-size: 1.02rem;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero__grid {
    gap: 34px;
  }

  .eyebrow {
    font-size: 0.69rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero__trust {
    display: grid;
  }

  .service-card-visual {
    padding: 22px;
    border-radius: 24px;
  }

  .visual__brand img {
    width: 72px;
    height: 72px;
  }

  .visual__brand strong {
    font-size: 1.3rem;
  }

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

  .section {
    padding: 66px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-heading .button {
    width: auto;
    margin-top: 22px;
  }

  .services-grid,
  .areas-grid,
  .home-posts-grid,
  .post-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .feature-strip__item {
    min-height: 100px;
  }

  .content-layout {
    padding-block: 48px 72px;
  }

  .cta-panel {
    padding: 30px 24px;
    border-radius: 22px;
  }

  .footer__bottom-inner {
    display: block;
  }

  .footer__bottom-inner span {
    display: block;
    margin-top: 8px;
  }

  .mobile-actions {
    position: fixed;
    z-index: 1200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 72px;
    background: #fff;
    border-top: 1px solid var(--yapar-line);
    box-shadow: 0 -12px 35px rgba(23, 32, 51, 0.12);
  }

  .desktop-whatsapp {
    display: none;
  }

  .mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 0.91rem;
    font-weight: 850;
    text-decoration: none;
  }

  .mobile-actions a:first-child {
    background: var(--yapar-red);
  }

  .mobile-actions a:last-child {
    background: #168c4a;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .topbar,
  .site-header,
  .mobile-actions,
  .site-footer,
  .sidebar-cta,
  .button-row {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
