/* =========================================================
   Saray Mimarlık — High-performance architecture theme
   ========================================================= */

/* Self-hosted fonts (merged to save an HTTP request) */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/syne-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/syne-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #141210;
  --ink-soft: #2c2824;
  --muted: #6b645c;
  --paper: #f8f6f3;
  --paper-2: #efeae3;
  --line: rgba(20, 18, 16, 0.1);
  --timber: #b8956a;
  --timber-deep: #8f6d45;
  --accent-red: #e53533;
  --whatsapp: #1f9b55;
  --call: #1f3a5f;
  --white: #ffffff;
  --radius: 2px;
  --header-h: 76px;
  --container: 1280px;
  --font-display: "Syne", "Segoe UI", system-ui, sans-serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-float: 0 12px 32px rgba(20, 18, 16, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(184, 149, 106, 0.12), transparent 55%),
    linear-gradient(180deg, #fbfaf8 0%, var(--paper) 40%, #f3efe9 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 5.75rem;
}

:focus-visible {
  outline: 2px solid var(--timber);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover:not(.btn):not(.share-btn):not(.cta-action) {
  color: var(--timber-deep);
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Header / Sticky nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(20, 18, 16, 0.05);
}

/* Anasayfa, hizmet, portfolyo */
.has-media-header .site-header {
  background: rgba(248, 246, 243, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: transparent;
}

.has-media-header .site-header.is-scrolled {
  background: rgba(248, 246, 243, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 18, 16, 0.06);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.site-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.15rem;
}

.site-brand__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-brand__name {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.custom-logo-link img {
  max-height: 48px;
  width: auto;
}

.primary-nav {
  display: block;
}

.primary-nav__list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

.primary-nav__list a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
}

.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--timber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.primary-nav__list a:hover::after,
.primary-nav__list .current-menu-item > a::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  place-items: center;
  flex-shrink: 0;
  color: var(--ink);
  overflow: visible;
}

.nav-toggle__burger,
.nav-toggle__close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.nav-toggle__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: currentColor;
  border-radius: 1px;
}

.nav-toggle__close {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
}

.nav-toggle__close svg {
  display: block;
  width: 22px;
  height: 22px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__burger {
  opacity: 0;
  visibility: hidden;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn--solid {
  background: var(--ink);
  color: var(--white);
}

.btn--solid:hover {
  background: var(--ink-soft);
  color: var(--white);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
  padding-inline: 1.5rem;
}

.btn--dark:hover {
  background: var(--ink-soft);
  color: var(--white);
}

.btn--ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn--ghost:hover {
  color: var(--ink);
  border-color: rgba(20, 18, 16, 0.22);
  background: #f7f5f2;
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn--whatsapp:hover {
  color: var(--white);
  filter: brightness(1.05);
}

.btn--call {
  background: var(--call);
  color: var(--white);
}

.btn--call:hover {
  color: var(--white);
  filter: brightness(1.08);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.btn--icon svg {
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh - var(--header-h), 820px);
  max-height: 900px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero__bg,
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 12s var(--ease) forwards;
}

.hero__bg--fallback {
  background:
    linear-gradient(135deg, #2a241e 0%, #4a3b2d 45%, #1a1612 100%);
}

.hero__veil,
.page-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.35) 0%, rgba(20, 18, 16, 0.55) 45%, rgba(20, 18, 16, 0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 1080px);
  margin-inline: auto;
  padding: 3rem 0;
  animation: rise 0.9s var(--ease) both;
}

.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.75rem);
  margin: 0 auto 0.9rem;
  max-width: 22ch;
}

.hero__text {
  max-width: 58ch;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@keyframes hero-zoom {
  to { transform: scale(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.page-hero--compact {
  min-height: auto;
  color: var(--ink);
  background: transparent;
  padding: 2.5rem 0 0.5rem;
}

.page-hero--compact .page-hero__content {
  padding-bottom: 0;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 2.75rem;
  padding-top: 3rem;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 20ch;
}

.has-centered-page-hero .page-hero--compact {
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(184, 149, 106, 0.16), transparent 58%),
    linear-gradient(180deg, #fbfaf8 0%, #f5f0e8 100%);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(20, 18, 16, 0.07);
}

.has-centered-page-hero .page-hero__content {
  text-align: center;
}

.has-centered-page-hero .page-hero h1,
.has-centered-page-hero .page-hero .eyebrow,
.has-centered-page-hero .page-hero .section__lead,
.has-centered-page-hero .page-hero .breadcrumbs {
  margin-inline: auto;
}

.has-centered-page-hero .page-hero .breadcrumbs__list {
  justify-content: center;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

/* Anasayfa: içerik bantları — arkaplansız / beyaz / arkaplansız… */
.is-home .site-main > .section:nth-child(even) {
  background: transparent;
}

.is-home .site-main > .section:nth-child(odd) {
  background: #ffffff;
}

.is-home .site-main > .section--cta {
  background: transparent;
}

.section__header {
  margin-bottom: 2.5rem;
}

.section__header--center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 0.65rem;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section__lead {
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
}

.page-hero__content .section__lead {
  margin-inline: 0;
  margin-top: 0.75rem;
  text-align: left;
}

.has-centered-page-hero .page-hero__content .section__lead,
.about-hero .page-hero__content .section__lead {
  margin-inline: auto;
  text-align: center;
}

.section--map {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

/* ---------- Slider ---------- */
.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.slider-nav {
  display: flex;
  gap: 0.5rem;
}

.slider-nav__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s;
}

.slider-nav__btn:hover {
  background: var(--accent-red);
  color: var(--white);
  border-color: var(--accent-red);
}

.slider {
  overflow: hidden;
}

.slider__track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slide-card {
  flex: 0 0 min(78vw, 280px);
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .slide-card {
    flex-basis: calc((100% - 3.3rem) / 4);
  }

  .slider--peek .slide-card {
    flex-basis: calc((100% - 2.2rem) / 2.45);
  }
}

.slide-card__link {
  display: block;
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.slide-card__media {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: #2a241e;
}

.slide-card__media img,
.slide-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.slide-card__placeholder {
  background: linear-gradient(145deg, #3a322a, #1c1814);
}

.slide-card__link:hover .slide-card__media img {
  transform: scale(1.06);
}

.slide-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 18, 16, 0.85) 100%);
}

.slide-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.75rem;
  padding: 1.1rem;
}

.slide-card__copy {
  min-width: 0;
}

.slide-card__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}

.slide-card__term {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.1rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.slide-card__title {
  font-size: 1.05rem;
  margin: 0;
  max-width: 18ch;
}

.section--service-projects {
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.section--service-projects .slider-foot {
  margin-top: 1.35rem;
}

.slide-card__arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
}

.slide-card__link:hover .slide-card__arrow {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.slider-foot {
  margin-top: 1.5rem;
}

/* ---------- Features ---------- */
.features-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.features-head__lead {
  color: var(--muted);
  margin: 0;
  max-width: 42ch;
  justify-self: end;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.45);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 100%;
}

.feature__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--timber-deep);
}

.feature__icon svg {
  width: 28px;
  height: 28px;
}

.feature__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(20, 18, 16, 0.28);
  letter-spacing: 0.04em;
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.features-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.features-foot p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

/* ---------- Blog grid (home) ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-tile__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.blog-tile__link:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 18, 16, 0.22);
  color: inherit;
}

.blog-tile__media img,
.blog-tile__placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(145deg, #3a322a, #1c1814);
}

.blog-tile__body {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
}

.blog-tile__meta {
  display: flex;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.blog-tile__title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.blog-tile__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-tile .post-card__more {
  display: inline-block;
  margin-top: 0.75rem;
}

.section__cta {
  margin-top: 2rem;
  text-align: center;
}

/* ---------- SEO clip ---------- */
.seo-clip {
  position: relative;
}

.seo-clip:not(.is-expanded) .seo-clip__inner {
  max-height: 280px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.seo-clip__toggle {
  margin-top: 1.25rem;
}

/* ---------- Google reviews ---------- */
.reviews-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.reviews-summary {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reviews-summary__logo {
  width: 56px;
  height: 56px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
}

.reviews-summary h3 {
  font-size: 1.05rem;
  margin: 0;
}

.reviews-summary__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #f4b400;
}

.reviews-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.reviews-carousel__viewport {
  overflow: hidden;
}

.reviews-carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.15rem;
}

.reviews-carousel__track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 min(85vw, 280px);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.15rem;
}

.review-card__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8e2d8;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.review-card__head strong {
  display: block;
  font-size: 0.95rem;
}

.review-card__head span {
  font-size: 0.8rem;
  color: var(--muted);
}

.review-card__g {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #4285f4;
}

.review-card__stars {
  margin-bottom: 0.55rem;
}

.review-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.reviews-carousel__nav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* ---------- References ---------- */
.section--references {
  overflow-x: clip;
}

.sr-references .slider-head {
  min-width: 0;
}

.sr-references .slider-head > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.sr-references .slider-nav {
  flex: 0 0 auto;
}

.sr-references__viewport {
  overflow: hidden;
  min-height: 88px;
  width: 100%;
  max-width: 100%;
}

.sr-references__track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
}

.sr-references__item {
  flex: 0 0 160px;
  height: 88px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.75rem;
}

.sr-references__item img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.35);
  opacity: 0.92;
  transition: filter 0.25s, opacity 0.25s;
}

.sr-references__item:hover img {
  filter: none;
  opacity: 1;
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.1rem;
  margin: 1.75rem 0;
}

.contact-details span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-details strong {
  font-weight: 600;
}

.contact-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.contact-info__note {
  margin: 0;
  font-size: 0.92rem;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-panel > h2 {
  margin-bottom: 0.35rem;
}

.contact-panel > p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.contact-form__full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfaf8;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--timber);
  outline-offset: 1px;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.contact-form__notice {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.contact-form__notice--ok {
  background: #e8f6ee;
  color: #146c3a;
}

.contact-form__notice--err {
  background: #fdecea;
  color: #8a1f1a;
}

.map-frame {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #ddd;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: min(52vh, 420px);
  border: 0;
}

@media (max-width: 820px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0.15rem 0;
}

.faq-item__q {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.faq-item__icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq-item[open] .faq-item__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-item__a {
  padding: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- CTA ---------- */
.section--cta {
  padding: 0;
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(20, 18, 16, 0.92) 0%, rgba(32, 28, 24, 0.88) 48%, rgba(20, 18, 16, 0.94) 100%),
    radial-gradient(900px 420px at 85% 20%, rgba(184, 149, 106, 0.28), transparent 60%),
    #1a1612;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  pointer-events: none;
  opacity: 0.45;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.cta-band__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--timber);
}

.cta-band__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  max-width: 14ch;
  line-height: 1.12;
}

.cta-band__text {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cta-band__actions {
  display: grid;
  gap: 0.85rem;
}

.cta-action {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  min-height: 88px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.cta-action--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.cta-action--whatsapp:hover {
  transform: translateY(-2px);
  color: var(--white);
  filter: brightness(1.06);
}

.cta-action--call {
  background: var(--white);
  color: var(--ink);
}

.cta-action--call:hover {
  transform: translateY(-2px);
  color: var(--ink);
  background: #f4f2ef;
}

.cta-action__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cta-action--whatsapp .cta-action__icon {
  background: rgba(0, 0, 0, 0.16);
  color: var(--white);
}

.cta-action--call .cta-action__icon {
  background: rgba(20, 18, 16, 0.06);
  color: var(--ink);
}

.cta-action__kicker {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.2rem;
}

.cta-action__label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.cta-action__arrow {
  font-size: 1.25rem;
  opacity: 0.65;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.cta-action:hover .cta-action__arrow {
  transform: translateX(4px);
  opacity: 1;
}

@media (max-width: 900px) {
  .cta-band__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .cta-band__title {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .cta-action {
    grid-template-columns: auto 1fr;
    min-height: 76px;
  }

  .cta-action__arrow {
    display: none;
  }
}

/* ---------- About WPC ---------- */
.about-wpc {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.about-wpc__img,
.about-wpc__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(145deg, #3a322a, #1c1814);
}

/* ---------- Service / Project layouts ---------- */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  padding: 3rem 0;
}

.project-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  grid-template-areas:
    "meta media"
    "meta body";
  column-gap: 2.5rem;
  row-gap: 1.35rem;
  padding: 3rem 0;
  align-items: start;
}

.project-meta {
  grid-area: meta;
}

.project-content__media {
  grid-area: media;
  min-width: 0;
  display: grid;
  gap: 0.75rem;
}

.project-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-term {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.project-term:hover {
  border-color: rgba(229, 53, 51, 0.4);
  color: var(--accent-red);
  background: #fff;
}

.project-content__featured {
  margin: 0;
  min-width: 0;
}

.project-content__featured img {
  width: 100%;
  height: auto;
  display: block;
}

.project-content__body {
  grid-area: body;
  min-width: 0;
  max-width: 100%;
}

.project-content__client {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.project-content__body .entry-content,
.project-content__body .prose {
  max-width: 100%;
}

.service-features {
  margin: 0 0 0.25rem;
}

.service-features__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
  line-height: 1.25;
}

.feature-list {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.feature-list li {
  padding-left: 1.2rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--timber);
}

.service-main__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.service-faq {
  margin-top: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.service-faq__head {
  margin-bottom: 1.25rem;
}

.service-faq__head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.service-faq__list {
  display: grid;
  gap: 0.65rem;
}

.service-faq__item {
  border: 1px solid var(--line);
  background: #fff;
}

.service-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.service-faq__q::-webkit-details-marker {
  display: none;
}

.service-faq__a {
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}

.aside-contact {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.project-meta dl {
  display: grid;
  gap: 1.25rem;
}

.project-meta dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.project-meta dd {
  margin: 0;
  font-weight: 600;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 1.75rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.share-btn:hover {
  border-color: rgba(229, 53, 51, 0.35);
  color: var(--accent-red);
  background: #fff;
}

a.share-btn:hover {
  color: var(--accent-red);
}

.project-meta .share-row {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 1.5rem 0;
}

.gallery-grid--3,
.gallery-grid--project {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid__item {
  display: block;
  position: relative;
  overflow: hidden;
  background: #2a241e;
  cursor: zoom-in;
}

.gallery-grid__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.gallery-grid__item:hover img,
.gallery-grid__item:focus-visible img {
  transform: scale(1.04);
  opacity: 0.92;
}

.gallery-grid__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 20, 0.0);
  transition: background 0.25s;
  pointer-events: none;
}

.gallery-grid__item:hover::after,
.gallery-grid__item:focus-visible::after {
  background: rgba(28, 24, 20, 0.18);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(12, 10, 8, 0.88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__inner {
  position: relative;
  width: min(100%, 1100px);
  max-height: min(88vh, 900px);
  display: grid;
  place-items: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: min(82vh, 860px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  z-index: 2;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

.lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .lightbox__nav--prev {
    left: 0.5rem;
  }

  .lightbox__nav--next {
    right: 0.5rem;
  }

  .lightbox__close {
    top: 0.65rem;
    right: 0.65rem;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.listing-section {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.listing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
}

.listing-tabs__item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.listing-tabs__item:hover {
  border-color: rgba(229, 53, 51, 0.35);
  color: var(--accent-red);
}

.listing-tabs__item.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.listing-tabs__item.is-active:hover {
  color: var(--white);
}

.listing-card__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: linear-gradient(145deg, #3a322a, #1c1814);
}

.listing-card__excerpt {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
  max-width: 28ch;
}

.listing-card[hidden] {
  display: none !important;
}

.listing-empty {
  text-align: center;
  color: var(--muted);
  padding: 3rem 1rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.media-card a {
  display: block;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #2a241e;
  min-height: 220px;
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.media-card--tall a,
.media-card--tall img {
  min-height: 340px;
}

/* Listing cards: fixed crop so portrait/landscape sources match */
.card-grid .media-card.listing-card {
  align-self: stretch;
}

.card-grid .media-card.listing-card > a {
  aspect-ratio: 4 / 5;
  min-height: 0;
  height: auto;
}

.card-grid .media-card.listing-card > a > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.card-grid .blog-tile {
  align-self: stretch;
}

.card-grid .blog-tile__link {
  height: 100%;
}

.card-grid .blog-tile__media {
  position: relative;
  overflow: hidden;
}

.card-grid .blog-tile__media img,
.card-grid .blog-tile__placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
  object-fit: cover;
  position: static;
}

.media-card a:hover img {
  transform: scale(1.05);
}

.media-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20, 18, 16, 0.85));
  pointer-events: none;
}

.media-card__overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1rem;
}

.media-card__overlay h2,
.media-card a > h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.media-card a > h3,
.media-card a > span {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
}

.media-card a > h3 {
  bottom: 2.4rem;
  margin: 0;
  font-size: 1.1rem;
}

.media-card a > span {
  bottom: 1rem;
  font-size: 0.85rem;
}

.media-card__overlay span {
  font-size: 0.85rem;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

/* ---------- Blog / Reading ---------- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  padding: 2rem 0 4rem;
}

.post-list {
  display: grid;
  gap: 1.75rem;
}

.post-card__link {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.post-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card__meta {
  display: flex;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.post-card__title {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.post-card__excerpt {
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.post-card__more {
  font-weight: 600;
  font-size: 0.9rem;
}

.reading__header {
  padding-top: 2.5rem;
  max-width: 980px;
}

.reading__title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  margin: 0.5rem 0 0.75rem;
}

.reading__meta {
  display: flex;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.reading__hero {
  max-width: 980px;
  margin-bottom: 2rem;
}

.reading__hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.reading__layout {
  max-width: 680px;
  padding-bottom: 2rem;
}

.reading__layout--toc {
  max-width: 980px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.reading__toc {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.toc__panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.85rem 1rem 1rem;
}

.toc__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.toc__summary::-webkit-details-marker {
  display: none;
}

.toc__chevron {
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.toc__panel[open] .toc__chevron {
  transform: rotate(180deg);
}

.toc__list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.toc__link {
  display: block;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
  padding: 0.3rem 0.4rem;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.toc__item--h3 .toc__link {
  padding-left: 0.95rem;
  font-size: 0.84rem;
}

.toc__link:hover,
.toc__link.is-active {
  color: var(--ink);
  border-left-color: var(--timber);
  background: rgba(184, 149, 106, 0.08);
}

.reading__body {
  max-width: 680px;
  font-size: 1.125rem;
  line-height: 1.8;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.reading__layout--toc .reading__body {
  max-width: none;
}

.reading__body :is(h2, h3) {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.reading__footer {
  max-width: 980px;
  padding-bottom: 3rem;
}

@media (max-width: 900px) {
  .reading__layout--toc {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .reading__toc {
    position: static;
  }

  .toc__panel {
    padding: 0.65rem 0.85rem;
  }
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1.15em;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  list-style: disc;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose img {
  margin: 1.5rem 0;
}

/* ---------- Content tables ---------- */
.prose table,
.entry-content table,
.page-content table,
.about-editor__body table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  background: var(--white);
  border: 1px solid var(--line);
}

.prose caption,
.entry-content caption,
.page-content caption,
.about-editor__body caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.prose thead th,
.entry-content thead th,
.page-content thead th,
.about-editor__body thead th {
  background: rgba(184, 149, 106, 0.14);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-align: left;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(143, 109, 69, 0.35);
}

.prose th,
.prose td,
.entry-content th,
.entry-content td,
.page-content th,
.page-content td,
.about-editor__body th,
.about-editor__body td {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.prose tbody tr:nth-child(even),
.entry-content tbody tr:nth-child(even),
.page-content tbody tr:nth-child(even),
.about-editor__body tbody tr:nth-child(even) {
  background: rgba(248, 246, 243, 0.85);
}

.prose tbody tr:hover,
.entry-content tbody tr:hover,
.page-content tbody tr:hover,
.about-editor__body tbody tr:hover {
  background: rgba(184, 149, 106, 0.1);
}

.prose tfoot td,
.prose tfoot th,
.entry-content tfoot td,
.entry-content tfoot th,
.page-content tfoot td,
.page-content tfoot th,
.about-editor__body tfoot td,
.about-editor__body tfoot th {
  background: var(--paper-2);
  font-weight: 600;
}

.prose .wp-block-table,
.entry-content .wp-block-table,
.page-content .wp-block-table,
.about-editor__body .wp-block-table {
  margin: 1.5rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prose .wp-block-table table,
.entry-content .wp-block-table table,
.page-content .wp-block-table table,
.about-editor__body .wp-block-table table {
  margin: 0;
  min-width: 28rem;
}

.prose .wp-block-table figcaption,
.entry-content .wp-block-table figcaption {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .prose table,
  .entry-content table,
  .page-content table,
  .about-editor__body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .prose th,
  .prose td,
  .entry-content th,
  .entry-content td,
  .page-content th,
  .page-content td,
  .about-editor__body th,
  .about-editor__body td {
    white-space: normal;
    min-width: 7.5rem;
  }
}

.breadcrumbs {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.82rem;
}

.page-hero__content > .breadcrumbs + .section__lead,
.page-hero__content > .breadcrumbs + p {
  margin-top: 0.85rem;
}

.reading__header .breadcrumbs {
  margin-top: 0.65rem;
  margin-bottom: 0.85rem;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  opacity: 0.85;
}

.breadcrumbs__list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  opacity: 0.5;
  color: var(--accent-red);
}

.page-hero--compact .breadcrumbs {
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 0;
  margin-top: 0;
}

.site-footer .cta-band--footer {
  background:
    radial-gradient(900px 380px at 88% 0%, rgba(184, 149, 106, 0.16), transparent 58%),
    var(--ink);
}

.site-footer .cta-band--footer::before {
  opacity: 0.22;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.site-footer .cta-band--footer .cta-band__inner {
  padding-block: clamp(2.75rem, 5.5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .cta-band--footer .cta-band__title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  max-width: 16ch;
}

.site-footer a:hover {
  color: var(--timber);
}

.site-footer .cta-action--whatsapp:hover {
  color: var(--white);
}

.site-footer .cta-action--call:hover {
  color: var(--ink);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.site-footer h3 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.site-footer .site-brand__mark,
.site-footer .site-brand__name {
  color: var(--white);
}

.site-footer .site-brand__name {
  opacity: 0.8;
}

.site-footer .custom-logo-link img {
  filter: brightness(0) invert(1);
}

.site-footer__brand .custom-logo-link,
.site-footer__brand .site-brand {
  display: inline-flex;
  margin-bottom: 1.15rem;
}

.site-footer__brand p {
  margin: 0;
}

.footer-menu,
.footer-contact,
.footer-social {
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.footer-social {
  grid-auto-flow: column;
  justify-content: start;
}

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  font-size: 0.85rem;
}

/* ---------- Hakkımızda ---------- */
.about-hero {
  min-height: auto;
  color: var(--ink);
}

.about-hero .page-hero__content {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 0;
}

.about-hero .page-hero__content .eyebrow,
.about-hero .page-hero__content h1,
.about-hero .page-hero__content .breadcrumbs,
.about-hero .page-hero__content .section__lead {
  margin-inline: auto;
}

.about-hero .breadcrumbs__list {
  justify-content: center;
}

.about-hero__lead {
  margin-top: 0.85rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 42ch;
  color: var(--muted);
  text-align: center;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}

.about-intro__frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #1b1713;
}

.about-intro__frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.about-intro__body h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 18ch;
}

.about-intro__body p {
  color: var(--muted);
  max-width: 48ch;
}

.about-values {
  background: #ffffff;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.about-value {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.about-value__num {
  display: block;
  font-family: var(--font-display);
  color: rgba(20, 18, 16, 0.28);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.about-value h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.about-value p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.about-focus__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 1.1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}

.about-focus__copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 18ch;
}

.about-focus__copy > p {
  color: var(--muted);
  max-width: 58ch;
}

.about-focus__list {
  list-style: none;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.about-focus__list li {
  position: relative;
  padding-left: 1.15rem;
  font-weight: 500;
}

.about-focus__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--accent-red);
}

.about-focus__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-focus__aside {
  display: block;
}

.about-focus__panel {
  margin: 0;
  padding: clamp(1.5rem, 3.5vw, 2.1rem);
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(184, 149, 106, 0.18), transparent 58%),
    linear-gradient(160deg, #171410 0%, #231d18 100%);
  color: var(--white);
  border: 1px solid rgba(184, 149, 106, 0.18);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.about-focus__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.28;
  pointer-events: none;
}

.about-focus__kicker,
.about-focus__panel blockquote,
.about-focus__brand,
.about-focus__facts {
  position: relative;
  z-index: 1;
}

.about-focus__kicker {
  margin: 0 0 1rem;
  color: var(--timber);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

.about-focus__panel blockquote {
  margin: 0;
}

.about-focus__panel blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.35;
  margin: 0;
}

.about-focus__brand {
  margin: 1.15rem 0 1.5rem;
  color: var(--timber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.about-focus__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-focus__facts div {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
}

.about-focus__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.about-focus__facts span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.about-process {
  background: #ffffff;
}

.about-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.about-step {
  position: relative;
  padding: 1.4rem 1.15rem 1.3rem;
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 100%;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.about-step:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 149, 106, 0.35);
  box-shadow: 0 14px 32px rgba(20, 18, 16, 0.08);
}

.about-step__num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: var(--font-display);
  color: var(--ink);
  background: rgba(229, 53, 51, 0.1);
  border: 1px solid rgba(229, 53, 51, 0.22);
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.about-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.about-editor__body {
  max-width: 760px;
  margin-inline: auto;
}

.about-invite {
  padding-top: 0;
}

.about-invite__box {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.about-invite__box h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.about-invite__box p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.about-invite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 980px) {
  .about-intro__grid,
  .about-focus__grid,
  .about-process__grid,
  .about-invite__box {
    grid-template-columns: 1fr;
  }

  .about-values__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .about-values__grid,
  .about-process__grid {
    grid-template-columns: 1fr;
  }

  .about-focus__facts {
    gap: 0.55rem;
  }

  .about-focus__facts strong {
    font-size: 1rem;
  }

  .about-focus__facts span {
    font-size: 0.75rem;
  }
}

/* ---------- Floating actions (bottom right) ---------- */
.float-actions {
  position: fixed;
  right: 1.1rem;
  left: auto;
  bottom: 1.1rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: var(--shadow-float);
  transition: transform 0.25s var(--ease);
  isolation: isolate;
}

.float-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  animation: float-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.float-btn:hover {
  transform: translateY(-2px) scale(1.04);
  color: var(--white);
}

.float-btn:hover::before {
  animation-play-state: paused;
  opacity: 0;
}

.float-btn--whatsapp {
  background: var(--whatsapp);
}

.float-btn--call {
  background: var(--call);
  animation-delay: 0.35s;
}

.float-btn--call::before {
  animation-delay: 0.7s;
}

@keyframes float-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* ---------- Motion / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg,
  .page-hero__bg,
  .hero__content,
  .slide-card__media img,
  .media-card img,
  .float-btn::before {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .features-head,
  .feature-grid,
  .faq-grid,
  .about-wpc,
  .service-layout,
  .project-layout,
  .blog-layout,
  .blog-grid,
  .site-footer__grid,
  .card-grid--4,
  .card-grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .features-head {
    grid-template-columns: 1fr;
  }

  .features-head__lead {
    justify-self: start;
  }

  .about-wpc,
  .service-layout,
  .project-layout,
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .project-layout {
    grid-template-areas:
      "meta"
      "media"
      "body";
  }

  .post-card__link {
    grid-template-columns: 1fr;
  }

  .aside-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: grid;
    order: 3;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-header__actions {
    display: none !important;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: block;
    background: rgba(248, 246, 243, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    z-index: 999;
  }

  .primary-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .feature-grid,
  .faq-grid,
  .card-grid,
  .card-grid--4,
  .card-grid--3,
  .gallery-grid,
  .gallery-grid--3,
  .site-footer__grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .features-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: min(88svh - var(--header-h), 640px);
    max-height: none;
  }

  .reviews-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .reviews-carousel__nav {
    display: none;
  }

  .sr-references .slider-head {
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.85rem 1rem;
  }

  .sr-references .slider-nav {
    margin-left: auto;
  }

  .sr-references .slider-nav__btn {
    width: 40px;
    height: 40px;
  }

  .sr-references__item {
    flex-basis: 132px;
  }
}
