/* =========================================================
   İç sayfalar: urunler, hizmetler, hakkimizda, iletisim
   style.css'ten sonra yüklenir; ortak tokenları kullanır.
   ========================================================= */

.page-section {
  background: var(--paper);
  padding-block: var(--section-y);
}
.page-section--sky { background: var(--sky); }
.page-section--tight-top { padding-top: 0; }

/* Başlık satırı: solda başlık, sağda kısa açıklama */
.block-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 16px clamp(20px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.block-head h2 { font-size: var(--fs-h2); max-width: 15ch; }
.block-head p { color: var(--ink-2); max-width: 30rem; }

@media (max-width: 900px) {
  .block-head { grid-template-columns: 1fr; }
}

/* ---------- Kapanış çağrısı: derin su paneli + batan güneş ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 64px);
  padding-right: max(clamp(36px, 5vw, 64px), min(38%, 440px));
  border-radius: 32px;
  background: var(--deep);
  color: #fff;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-40px, 4vw, 60px);
  bottom: -46%;
  width: min(34%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFE04A 0%, #FFC233 34%, #FF8F1F 66%, #E4401E 100%);
  box-shadow: 0 0 90px 10px rgba(255, 170, 40, .28);
}
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C220 6 460 40 740 22 S1200 6 1440 22 V64 H0Z' fill='%232E9A4B'/%3E%3Cpath d='M0 34 C260 18 500 52 780 34 S1220 18 1440 34 V64 H0Z' fill='%231B74C8'/%3E%3Cpath d='M0 46 C280 32 540 62 820 46 S1240 32 1440 46 V64 H0Z' fill='%230A2F4E'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.cta-band h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem);
  max-width: 18ch;
}
.cta-band p {
  margin-top: 14px;
  max-width: 32rem;
  color: var(--on-deep);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-bottom: 24px;
}
.btn-line-light {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.btn-line-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

@media (max-width: 760px) {
  .cta-band { padding-right: clamp(28px, 6vw, 40px); padding-bottom: 120px; }
  .cta-band::before { width: 180px; right: -30px; bottom: -80px; }
  .cta-actions { padding-bottom: 0; }
  .cta-actions .btn { flex: 1 1 auto; }
}

/* =========================================================
   Ürünler: filtre + katalog
   ========================================================= */
.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-bar button {
  font: inherit;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: .6em 1.15em;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-bar button:hover { border-color: var(--ink-2); color: var(--ink); }
.filter-bar button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.catalog-count {
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.catalog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(20px, 2.2vw, 32px);
}
.catalog-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.catalog-card[hidden] { display: none; }
.catalog-card .product-media { width: 100%; }
.catalog-card:hover .product-media img { transform: scale(1.05); }
.card-cat {
  margin-top: 16px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--sea-2);
}
.catalog-card h3 {
  margin-top: 4px;
  font-size: 1.3rem;
  line-height: 1.15;
}
.catalog-card > p:not(.card-cat) {
  margin-top: 8px;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.facts {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.facts li {
  padding: .28em .75em;
  border-radius: 999px;
  background: var(--sky);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.catalog-card .product-ask { margin-top: auto; padding-top: 14px; }

@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .catalog-grid { gap: 36px 14px; }
  .catalog-card h3 { font-size: 1.1rem; }
  .catalog-card > p:not(.card-cat) { font-size: .875rem; }
  .product-media { border-radius: 18px; }
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar button { flex: none; }
}
@media (max-width: 359px) {
  .catalog-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Bakım ve servis
   ========================================================= */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
}
.service {
  padding: 28px 0 36px;
  border-top: 1.5px solid var(--line);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--sky);
  color: var(--sea);
}
.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 { margin-top: 20px; font-size: clamp(1.35rem, 1.1rem + .6vw, 1.6rem); }
.service p { margin-top: 8px; color: var(--ink-2); max-width: 26rem; }
.service--cta {
  align-self: start;
  margin-top: 28px;
  padding: 28px;
  border: 0;
  border-radius: 24px;
  background: var(--sky);
}
.service--cta h3 { margin-top: 0; }
.service--cta .btn { margin-top: 18px; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* Bakım takvimi açık mavi zeminde */
.care--sky { background: var(--sky); }
.care--sky .timeline { border-left-color: #C7E0EF; }
.care--sky .timeline li::before { box-shadow: 0 0 0 5px var(--sky); }

/* Hizmetler sayfasında SSS ile kapanış paneli arası */
.faq + .page-section--tight-top { padding-top: 0; }

/* =========================================================
   Hakkımızda
   ========================================================= */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.story-text h2 { font-size: var(--fs-h2); max-width: 13ch; }
.story-text p {
  margin-top: 20px;
  max-width: 34rem;
  font-size: 1.125rem;
  color: var(--ink-2);
}
.story-text h2 + p { margin-top: 28px; }

.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.fact-list li:last-child { border-bottom: 1px solid var(--line); }
.fact-list strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.1rem + .8vw, 1.75rem);
  line-height: 1.15;
}
.fact-list span {
  font-size: .9375rem;
  color: var(--ink-2);
  text-align: right;
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   İletişim ve konum
   ========================================================= */
.location {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}
.location-map {
  position: relative;
  min-height: 500px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(27, 116, 200, .16) 0 18px, transparent 19px),
    var(--sky-2);
}
.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.address-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 28px;
  background: var(--deep);
  color: #fff;
}
.address-card h2 { font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.6rem); }
.address-card address {
  margin-top: 18px;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.5;
}
.copy-address {
  margin-top: 6px;
  padding: 6px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--sun-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.copy-address:hover { color: #fff; }
.route-title {
  margin-top: auto;
  padding-top: 36px;
  font-size: .9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
}
.route-buttons {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
}
.route-buttons .btn { justify-content: flex-start; }
.btn-ghost-light {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

/* İletişim sayfasında form bloğu harita olmadan */
.contact .contact-info .contact-list { margin-top: 28px; }

@media (max-width: 900px) {
  .location { grid-template-columns: 1fr; }
  .location-map { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Başlık bandının hemen altındaki ilk bölüm: dalga zaten boşluk bırakıyor */
.page-hero + .page-section { padding-top: clamp(24px, 3vw, 48px); }
.page-hero .btn-line { background: rgba(255, 255, 255, .72); }
.page-hero .btn-line:hover { background: var(--ink); }

/* =========================================================
   İçerik sayfaları (hizmet, bölge, rehber): 2026-12-05
   ========================================================= */
.page-hero--content h1 {
  font-size: clamp(2.3rem, 1.35rem + 3.4vw, 4.25rem);
  max-width: 18ch;
}
.crumbs { margin-bottom: 18px; font-size: var(--fs-sm); color: var(--ink-2); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 .55em; opacity: .45; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--sea-2); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.prose { max-width: 44rem; min-width: 0; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
  margin-top: 1.9em;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--sea-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: .55em; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before {
  content: ""; position: absolute; left: .2em; top: .62em;
  width: .5em; height: .5em; border-radius: 50%;
  background: linear-gradient(180deg, var(--sun-1), var(--sun-2));
}
.prose ol { counter-reset: step; }
.prose ol li { position: relative; padding-left: 2.4em; counter-increment: step; }
.prose ol li::before {
  content: counter(step); position: absolute; left: 0; top: .05em;
  width: 1.7em; height: 1.7em; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sky); color: var(--sea-2);
  font-size: .85em; font-weight: 700;
}
.note-box {
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--sky);
  border-left: 4px solid var(--sea-2);
}
.note-box p { color: var(--ink); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 18px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--sky); color: var(--ink); font-weight: 600; white-space: nowrap; }
.prose tbody th { color: var(--ink); font-weight: 600; }
.prose td { color: var(--ink-2); }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }
.sources { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.sources h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-top: 0; color: var(--ink); }
.sources li, .sources p { font-size: var(--fs-sm); }

.content-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card, .aside-links {
  padding: 24px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -28px rgba(10, 47, 78, .35);
}
.aside-card { background: var(--deep); color: #fff; border-color: transparent; }
.aside-title { font-weight: 600; font-size: .9375rem; margin-bottom: 14px; }
.aside-card .aside-title { color: rgba(255, 255, 255, .7); }
.aside-card .btn { width: 100%; }
.aside-phones { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.aside-phones a { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.aside-phones a:hover { color: var(--sun-1); }
.aside-phones span { display: block; font-size: .8125rem; color: var(--on-deep); }
.aside-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.aside-links a { display: block; padding: 7px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--sea-2); }
.faq--sky { background: var(--sky); }

@media (max-width: 900px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .content-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 620px) {
  .content-aside { grid-template-columns: minmax(0, 1fr); }
  .page-hero--content .hero-actions .btn { flex: 1 1 auto; }
  .prose th, .prose td { padding: 10px 12px; }
}
