/*
 * Hepsitek açık tema yenilemesi (29.10.2026, Tolga bey): cariplus.com.tr'nin tasarım dili — Figtree başlık + Inter gövde,
 * geniş nefesli bölümler, beyaz yumuşak gölgeli kartlar, pill/rozetli düğmeler, açık gri bölüm zeminleri — Hepsitek'in
 * mint yeşil renk paletiyle. Bu dosya EN SON yüklenir ve tüm landing sayfalarının (ana sayfa + içerik sayfaları) ortak
 * bileşenlerini yeniden biçimler; HTML/SEO yapısına dokunmaz.
 */

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/figtree-latin-ext.woff2?v=1") 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-20c4, U+2113, U+2c60-2c7f,
    U+a720-a7ff;
}

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/figtree-latin.woff2?v=1") 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: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2?v=1") 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-20c4, U+2113, U+2c60-2c7f,
    U+a720-a7ff;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2?v=1") 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 {
  --rd-head: Figtree, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --rd-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --rd-ink: #0b2a25;
  --rd-text: #46605a;
  --rd-muted: #667a74;
  --rd-primary: #0e7c61;
  --rd-primary-strong: #0a6650;
  --rd-primary-soft: #e5f5ee;
  --rd-mint: #54d7ad;
  --rd-surface: #ffffff;
  --rd-tint: #f5f9f7;
  --rd-tint-2: #eef5f2;
  --rd-line: #dde9e4;
  --rd-radius: 18px;
  --rd-shadow-card: 0 14px 34px -14px rgb(11 42 37 / 16%), 0 3px 10px rgb(11 42 37 / 5%);
  --rd-shadow-btn: 0 12px 26px rgb(14 124 97 / 26%);
  --container: 1240px;
}

/* ---------- Tipografi ---------- */
body {
  font-family: var(--rd-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--rd-text);
  background: var(--rd-surface);
}

h1,
h2,
h3,
h4 {
  font-family: var(--rd-head);
  color: var(--rd-ink);
  letter-spacing: -0.02em;
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section--light {
  background: var(--rd-tint);
}

.section-heading {
  max-width: 820px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-heading p {
  margin-top: 16px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--rd-muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--rd-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rd-primary);
}

/* ---------- Düğmeler ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: var(--rd-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.button--small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.button--large {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1rem;
}

.button--primary {
  color: #fff;
  background: var(--rd-primary);
  border: 1px solid transparent;
  box-shadow: var(--rd-shadow-btn);
}

.button--primary:hover {
  background: var(--rd-primary-strong);
  transform: translateY(-1px);
}

.button--outline {
  color: var(--rd-ink);
  background: #fff;
  border: 1px solid #c9ddd5;
}

.button--outline:hover {
  border-color: var(--rd-primary);
  color: var(--rd-primary);
  transform: translateY(-1px);
}

.button__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgb(255 255 255 / 22%);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.5;
}

.header__link {
  padding: 8px 6px;
  font-family: var(--rd-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--rd-text);
}

.header__link:hover {
  color: var(--rd-primary);
}

/* ---------- Üst çubuk ve başlık ---------- */
.announcement {
  display: none;
}

.topbar {
  background: #f7faf9;
  border-bottom: 1px solid var(--rd-line);
  font-size: 0.82rem;
  color: var(--rd-muted);
}

.site-header {
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid var(--rd-line);
  backdrop-filter: saturate(1.4) blur(14px);
}

.header__inner {
  min-height: 84px;
}

.navigation a {
  font-family: var(--rd-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rd-ink);
}

.navigation > a:hover {
  color: var(--rd-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Hero ---------- */
.hero--modern {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% 8%, rgb(84 215 173 / 24%), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgb(14 124 97 / 9%), transparent 60%),
    linear-gradient(180deg, #f3f9f6 0%, #ffffff 100%);
}

.hero-modern {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(40px, 6vw, 84px) clamp(40px, 6vw, 84px);
}

.hero-modern__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--rd-line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--rd-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rd-ink);
  box-shadow: 0 6px 18px -10px rgb(11 42 37 / 24%);
}

.hero-modern__pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rd-mint);
  box-shadow: 0 0 0 5px rgb(84 215 173 / 28%);
}

.hero-modern__title {
  margin: 0;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-modern__accent {
  color: var(--rd-primary);
  white-space: nowrap;
}

.hero-modern__lead {
  max-width: 600px;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--rd-text);
}

.hero-modern__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-modern__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--rd-ink);
}

.hero-modern__checks li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--rd-primary);
  font-weight: 800;
}

.hero-modern__advisor {
  margin: 26px 0 0;
  font-size: 0.9rem;
  color: var(--rd-muted);
}

.hero-modern__advisor a {
  font-weight: 700;
  color: var(--rd-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-modern__visual {
  display: flex;
  justify-content: flex-end;
}

.hero-modern__visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 30px 40px rgb(11 42 37 / 12%));
}

@media (max-width: 960px) {
  .hero-modern {
    grid-template-columns: 1fr;
  }

  .hero-modern__visual {
    justify-content: center;
  }

  .hero-modern__visual img {
    max-width: min(88vw, 440px);
  }

  .header__actions .header__link {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-modern__actions .button {
    flex: 1 1 100%;
  }
}

/* ---------- Güven şeridi ve ortak şerit ---------- */
.trust-bar {
  background: transparent;
}

.trust-grid > * {
  font-family: var(--rd-head);
  font-weight: 600;
  color: var(--rd-ink);
}

/* ---------- Kartlar ---------- */
.solution-card,
.feature-hub-category,
.advisor-card,
.content-related__card,
.package-card,
.needs-chip {
  border: 1px solid transparent;
  border-radius: var(--rd-radius);
  background: #fff;
  box-shadow: var(--rd-shadow-card);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.solution-card:hover,
.feature-hub-category:hover,
.advisor-card:hover,
.content-related__card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 44px -16px rgb(11 42 37 / 22%),
    0 4px 12px rgb(11 42 37 / 6%);
}

.solution-card h3,
.feature-hub-category h3,
.advisor-card h3,
.content-related__card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.solution-card p,
.advisor-card p,
.content-related__card p {
  color: var(--rd-muted);
}

.solution-icon,
.feature-icon,
.advisor-card__icon,
.payment-assurance__icon,
.mock-card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--rd-primary-soft);
  color: var(--rd-primary);
}

.text-link {
  font-family: var(--rd-head);
  font-weight: 700;
  color: var(--rd-primary);
}

/* ---------- Paketler ---------- */
.package-card {
  padding: 40px 34px 34px;
  border: 1px solid rgb(14 124 97 / 30%);
  box-shadow: 0 4px 16px rgb(14 124 97 / 7%);
}

.package-card:hover {
  box-shadow: 0 24px 48px -18px rgb(14 124 97 / 28%);
  transform: translateY(-3px);
}

.package-card__price {
  font-family: var(--rd-head);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--rd-ink);
}

.duration-pill {
  border-radius: 999px;
  font-family: var(--rd-head);
  font-weight: 700;
}

.duration-pill.is-active {
  background: var(--rd-primary);
  color: #fff;
}

/* ---------- SSS ve alt çağrı ---------- */
.faq-section details {
  border-radius: 14px;
}

.final-cta {
  font-family: var(--rd-head);
}

.final-cta h2 {
  letter-spacing: -0.03em;
}

/* ---------- Hareket tercihleri ---------- */
@media (prefers-reduced-motion: reduce) {
  .button,
  .solution-card,
  .feature-hub-category,
  .advisor-card,
  .content-related__card,
  .package-card {
    transition: none;
  }

  .button:hover,
  .solution-card:hover,
  .feature-hub-category:hover,
  .advisor-card:hover,
  .content-related__card:hover,
  .package-card:hover {
    transform: none;
  }
}

/* ---------- Koyu bağlamlarda başlıklar zemin rengini devralır; beyaz kartlar koyu kalır ---------- */
.section--dark :is(h1, h2, h3, h4, h5),
.final-cta :is(h1, h2, h3, h4, h5),
.site-footer :is(h1, h2, h3, h4, h5),
.contact-section :is(h1, h2, h3, h4, h5),
.advisors-section :is(h1, h2, h3, h4, h5),
.photo-band :is(h1, h2, h3, h4, h5),
.security-section :is(h1, h2, h3, h4, h5),
.management-section :is(h1, h2, h3, h4, h5) {
  color: inherit;
}

.section--dark .advisor-card :is(h2, h3, h4),
.advisors-section .advisor-card :is(h2, h3, h4),
.section--dark .package-card :is(h2, h3, h4) {
  color: var(--rd-ink);
}

/* ---------- Üst çubuk: açık zemin, koyu okunur yazı ---------- */
.topbar {
  background: #f7faf9;
  color: var(--rd-muted);
}

.topbar__phone {
  color: var(--rd-primary);
  font-weight: 700;
}

.topbar__hours {
  color: var(--rd-muted);
}

/* =====================================================================================================
   FERAHLIK (29.10.2026, Tolga bey: "onlardaki ferahlık bize yok, her şey tıkış tıkış"): cariplus'ta bölümler 100-130 px
   nefes alır, başlıklar 56-60 px'tir, kartlar 28-40 px iç boşluk ve 24-32 px aralık taşır. Aşağıdaki değerler bunu eşler.
   ===================================================================================================== */
:root {
  --container: 1320px;
}

body {
  font-size: 17px;
  line-height: 1.7;
}

.container {
  width: min(100% - 48px, var(--container));
}

/* Bölüm ritmi: üst-alt 100-130 px, başlık ile içerik arasında 56-72 px */
.section {
  padding-block: clamp(80px, 9.5vw, 132px);
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(44px, 5.5vw, 76px);
}

.section-heading h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1.1;
}

.section-heading p {
  max-width: 740px;
  margin-top: 22px;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.7;
}

.section-heading--center p {
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.85rem;
}

/* Gezinme: 16 px, geniş aralık */
.navigation {
  gap: clamp(18px, 2.2vw, 34px);
}

.navigation a {
  font-size: 1rem;
}

.header__inner {
  min-height: 92px;
}

.header__actions {
  gap: 14px;
}

.button--small {
  min-height: 46px;
  padding: 0 20px;
  font-size: 0.95rem;
}

/* Hero */
.hero-modern {
  padding-block: clamp(56px, 7vw, 112px);
  min-height: min(760px, 86vh);
}

.hero-modern__title {
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: 1.03;
}

.hero-modern__lead {
  max-width: 640px;
  margin-top: 26px;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.7;
}

.hero-modern__actions {
  margin-top: 38px;
  gap: 16px;
}

.hero-modern__checks {
  margin-top: 30px;
  gap: 10px 28px;
  font-size: 1rem;
}

.hero-modern__visual img {
  max-width: 580px;
}

/* Kartlar: geniş iç boşluk, geniş aralık, 17 px gövde */
.solution-grid,
.feature-hub-grid,
.reports-grid,
.advisor-grid,
.content-related__grid {
  gap: clamp(22px, 2.4vw, 34px);
}

.solution-card,
.feature-hub-category,
.advisor-card,
.content-related__card {
  padding: clamp(28px, 2.8vw, 40px);
}

.solution-card h3,
.feature-hub-category h3,
.advisor-card h3,
.content-related__card h3 {
  margin-top: 22px;
  font-size: clamp(1.28rem, 1.7vw, 1.5rem);
  line-height: 1.25;
}

.solution-card p,
.feature-hub-category p,
.advisor-card p,
.content-related__card p {
  margin-top: 12px;
  font-size: 1.04rem;
  line-height: 1.72;
}

.solution-icon,
.feature-icon,
.advisor-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
}

.needs-chip {
  padding: 20px 24px;
  font-size: 1.04rem;
}

/* Paketler */
.package-card {
  padding: clamp(32px, 3.4vw, 48px) clamp(26px, 3vw, 42px);
}

.package-card__price {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
}

.package-card li {
  font-size: 1.04rem;
  line-height: 1.6;
}

/* Metin yoğun yerlerde satır aralığı ve uzunluk */
.section p,
.section li {
  line-height: 1.72;
}

.section p {
  max-width: 68ch;
}

.section-heading p,
.hero-modern__lead,
.final-cta p {
  max-width: none;
}

@media (max-width: 760px) {
  body {
    font-size: 16.5px;
  }

  .container {
    width: min(100% - 36px, var(--container));
  }

  .section {
    padding-block: 64px;
  }

  .header__inner {
    min-height: 76px;
  }
}

/* ---------- Başlık: tek satırda, taşmadan ---------- */
.header__inner {
  gap: clamp(14px, 1.6vw, 28px);
}

.brand img {
  width: clamp(140px, 11vw, 168px);
  height: auto;
}

.navigation {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 26px);
  white-space: nowrap;
}

.navigation a {
  font-size: 0.95rem;
}

.header__actions {
  flex: 0 0 auto;
  gap: 10px;
  white-space: nowrap;
}

.header__link {
  white-space: nowrap;
  font-size: 0.92rem;
}

.header__actions .button--small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.92rem;
}

@media (max-width: 1360px) {
  .header__actions .header__link {
    display: none;
  }
}

@media (max-width: 1100px) {
  .navigation {
    gap: 10px;
  }

  .navigation a {
    font-size: 0.88rem;
  }

  .header__actions .button--outline {
    display: none;
  }
}

/* =====================================================================================================
   AÇIK MİNT PALET (29.10.2026, Tolga bey: "bizim bu yeşil çok koyu, mint yeşili daha açık yapmalısın"):
   neredeyse siyah yeşil zeminler (#032a25, #031f1c) canlı, orta tonlu mint yeşile alındı; düğme/vurgu rengi de
   daha parlak. Küçük metinler okunurluk için bir ton koyu kalır (--rd-primary-text).
   ===================================================================================================== */
:root {
  --rd-primary: #0f8c6f;
  --rd-primary-strong: #0b7a60;
  --rd-primary-text: #0b7a60;
  --rd-primary-soft: #e3f6ee;
  --rd-band-from: #0a7460;
  --rd-band-to: #12957a;
  --rd-shadow-btn: 0 12px 26px rgb(15 140 111 / 28%);
}

.eyebrow,
.text-link,
.hero-modern__advisor a {
  color: var(--rd-primary-text);
}

/* Koyu zeminli bölümler: aynı açık mint bant */
.section--dark,
.security-section,
.management-section,
.advisors-section,
.contact-section,
.final-cta__inner {
  background:
    radial-gradient(820px 440px at 88% -12%, rgb(255 255 255 / 17%), transparent 62%),
    radial-gradient(640px 380px at 0% 108%, rgb(84 215 173 / 30%), transparent 62%),
    linear-gradient(135deg, var(--rd-band-from) 0%, var(--rd-band-to) 100%);
  color: #fff;
}

.site-footer {
  background: #0a6652;
  color: rgb(255 255 255 / 86%);
}

/* Açık zemin üstünde okunur ikincil metinler (eskiden koyu zemine göre soluk griydi) */
.section--dark :is(p, li, small),
.security-section :is(p, li, small),
.management-section :is(p, li, small),
.advisors-section > .container > .section-heading :is(p, small),
.contact-section :is(p, li, small),
.final-cta__inner p,
.site-footer :is(p, li, small, a) {
  color: rgb(255 255 255 / 88%);
}

.section--dark .section-heading p,
.eyebrow--mint,
.section--dark .eyebrow,
.security-section .eyebrow,
.advisors-section .eyebrow,
.contact-section .eyebrow,
.final-cta__inner .eyebrow {
  color: #d3f8ea;
}

/* Beyaz kartlar koyu bantta kendi koyu metnini korur */
.section--dark .advisor-card :is(p, li, small),
.advisors-section .advisor-card :is(p, li, small),
.section--dark .package-card :is(p, li, small) {
  color: var(--rd-muted);
}

.final-cta__inner .button--light {
  color: var(--rd-primary-strong);
}

/* Özellik ızgarası: koyu hücreler açık mint banda uyumlu yarı saydam beyaza */
.feature-grid {
  border-color: rgb(255 255 255 / 26%);
  background: rgb(255 255 255 / 26%);
}

.feature-grid article {
  background: rgb(8 100 80 / 62%);
}

.feature-grid article:hover {
  background: rgb(8 100 80 / 78%);
}

.feature-grid p {
  color: rgb(255 255 255 / 88%);
}

.feature-grid .feature-icon {
  background: rgb(255 255 255 / 92%);
  color: var(--rd-primary-strong);
}

/* Mint bant üstündeki bağlantılar: beyaz, altı çizili */
.security-section a:not(.button),
.contact-section a:not(.button),
.section--dark a:not(.button):not(.feature-icon) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =====================================================================================================
   HERO ÖZELLİK KARTI (29.10.2026, Tolga bey: "onlarda dolu dolu, bizimki bomboş"): lead altında 5 özelliği sırayla
   gösteren kart. Dönüşü app.js sürer (CSS animasyonu telefonda "animasyonları kaldır" ayarıyla duruyordu);
   slaytlar aynı hücrede üst üste durur, kart en uzun slayta göre yükselir (metin satırı taşmaz).
   ===================================================================================================== */
.hero-showcase {
  max-width: 580px;
  margin-top: 30px;
  padding: 20px 24px 22px;
  border: 1px solid var(--rd-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--rd-shadow-card);
}

.hero-showcase__icons {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #cfe0d9;
}

.hero-showcase__icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f0f5f3;
  color: #7a8c86;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.hero-showcase__icon.is-active {
  background: var(--rd-primary-soft);
  color: var(--rd-primary);
}

.hero-showcase__icon svg {
  width: 21px;
  height: 21px;
}

.hero-showcase__icon svg.hero-showcase__ring {
  position: absolute;
  inset: -4px;
  width: 54px;
  height: 54px;
  transform: rotate(-90deg);
  pointer-events: none;
  opacity: 0;
}

.hero-showcase__ring circle {
  fill: none;
  stroke: var(--rd-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
}

.hero-showcase__icon.is-active svg.hero-showcase__ring {
  opacity: 1;
}

.hero-showcase__icon.is-active .hero-showcase__ring circle {
  animation: showcase-ring var(--showcase-ms, 4500ms) linear forwards;
}

.hero-showcase.is-paused .hero-showcase__icon.is-active .hero-showcase__ring circle {
  animation-play-state: paused;
}

.hero-showcase__count {
  margin-left: auto;
  color: var(--rd-ink);
  font-family: var(--rd-head);
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero-showcase__count small {
  color: var(--rd-muted);
  font-size: inherit;
  font-weight: 500;
}

.hero-showcase__slides {
  display: grid;
  margin-top: 16px;
}

.hero-showcase__slide {
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s;
}

.hero-showcase__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-showcase__slide strong {
  font-family: var(--rd-head);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--rd-ink);
}

.hero-showcase__slide strong span {
  color: var(--rd-primary);
}

.hero-showcase__slide > span {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--rd-muted);
}

@keyframes showcase-ring {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- Mobil: düğmeler nefes alsın, menü düğmesi okunur, boşluklar sıkı ---------- */
.navigation .button--primary,
.navigation__mobile-actions .button--primary {
  color: #fff;
}

.navigation.is-open .navigation__mobile-actions {
  gap: 16px;
  padding: 26px 0 8px;
}

.navigation.is-open .navigation__mobile-actions .button {
  min-height: 56px;
  font-size: 1.02rem;
  border-radius: 14px;
}

.hero-modern__actions {
  gap: 16px;
}

@media (max-width: 760px) {
  .hero-modern__actions .button {
    min-height: 58px;
  }

  .hero-modern__lead {
    margin-top: 20px;
  }

  .hero-showcase {
    margin-top: 24px;
    padding: 18px 18px 20px;
  }

  .hero-showcase__icons {
    gap: 8px;
  }

  .hero-showcase__icon {
    width: 42px;
    height: 42px;
  }

  .section {
    padding-block: 52px;
  }

  .section-heading {
    margin-bottom: 30px;
  }
}

/* ---------- Mobil menü: sağdan açılan çekmece (logo + kapat, büyük CTA, iki düğme, ayraçlı büyük satırlar) ---------- */
@media (max-width: 900px) {
  .site-header {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .menu-button {
    position: relative;
    z-index: 3;
  }

  .navigation.is-open {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(90vw, 420px);
    height: 100dvh;
    padding: 0 24px 48px;
    overflow-y: auto;
    border: 0;
    background: #fff;
    white-space: normal;
    box-shadow:
      0 0 0 100vmax rgb(7 38 33 / 48%),
      -24px 0 60px rgb(7 38 33 / 18%);
    animation: drawer-in 0.28s ease both;
  }

  .navigation.is-open::before {
    content: "";
    order: -3;
    flex: 0 0 auto;
    height: 76px;
    background: url("/img/logo-on-light.webp?v=1") left center / auto 38px no-repeat;
  }

  .navigation.is-open::after {
    content: "Hızlı bağlantılar";
    order: -1;
    padding: 4px 4px 12px;
    color: var(--rd-muted);
    font-family: var(--rd-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .navigation.is-open .navigation__mobile-actions {
    order: -2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 6px 0 28px;
  }

  .navigation.is-open .navigation__mobile-actions::before {
    content: "Kart bilgisi gerekmez · 14 gün ücretsiz";
    grid-column: 1 / -1;
    order: 1;
    margin-top: -2px;
    color: var(--rd-muted);
    font-size: 0.86rem;
    text-align: center;
  }

  .navigation.is-open .navigation__mobile-actions .button {
    min-height: 54px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 0.98rem;
    white-space: nowrap;
  }

  .navigation.is-open .navigation__mobile-actions .button--primary {
    grid-column: 1 / -1;
    order: 0;
    min-height: 60px;
    font-size: 1.08rem;
  }

  .navigation.is-open .navigation__mobile-actions .button--outline,
  .navigation.is-open .navigation__mobile-actions .button--ghost {
    order: 2;
    border: 1.5px solid var(--rd-line);
    background: #fff;
    color: var(--rd-ink);
    box-shadow: none;
  }

  .navigation.is-open > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 4px;
    border-bottom: 1px solid var(--rd-line);
    color: var(--rd-ink);
    font-family: var(--rd-head);
    font-size: 1.12rem;
    font-weight: 600;
  }

  .navigation.is-open > a::after {
    content: "›";
    color: var(--rd-muted);
    font-size: 1.5rem;
    line-height: 1;
  }
}

@keyframes drawer-in {
  from {
    transform: translateX(32px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navigation.is-open {
    animation: none;
  }
}

/* Mobil menü düzeltmeleri (29.10.2026): eski yükseklik sınırı kalkar, kapat düğmesi çekmecenin sağ üstüne sabitlenir. */
@media (max-width: 900px) {
  .navigation.is-open {
    max-height: none;
    padding-block: 0 calc(48px + env(safe-area-inset-bottom, 0px));
    justify-content: flex-start;
  }

  .menu-button[aria-expanded="true"] {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 3;
    background: #f1f6f4;
  }
}

/* ---------- Mobil kompakt ölçü (29.10.2026, Tolga bey: "mobilde bu kadar büyük yazmaya gerek var mı"): cariplus gibi başlık ~33px,
   küçük etiket, kısa boşluklar; üst çubukta "Ücretsiz deneyin" düğmesi görünür. ---------- */
@media (max-width: 760px) {
  .hero-modern {
    min-height: 0;
    padding-block: 26px 40px;
  }

  .hero-modern__pill {
    margin-bottom: 16px;
    padding: 6px 14px 6px 10px;
    font-size: 0.82rem;
  }

  .hero-modern__title {
    font-size: clamp(1.95rem, 8.4vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
  }

  .hero-modern__lead {
    margin-top: 14px;
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .hero-showcase {
    margin-top: 20px;
  }

  .header__actions .button--primary {
    display: inline-flex;
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .header__actions .button--primary .button__badge {
    display: none;
  }

  .header__actions {
    gap: 8px;
  }
}

/* Halka tam ikonun ortasına oturur (global svg max-width kuralından bağımsız); mobil menü düğmesi sabit kare, üst çubuk düğmesi sade. */
.hero-showcase__icon svg.hero-showcase__ring {
  inset: auto;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  max-width: none;
  margin: -27px 0 0 -27px;
}

@media (max-width: 900px) {
  .menu-button {
    flex: 0 0 auto;
    align-self: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 14px;
  }
}

@media (max-width: 760px) {
  .header__actions .button--primary {
    min-height: 40px;
    padding: 0 12px;
    border-color: transparent;
    background: var(--rd-primary-soft);
    color: var(--rd-primary-text);
    font-size: 0.86rem;
    box-shadow: none;
  }

  .header__actions .button--primary:hover {
    background: #d3f0e4;
    transform: none;
  }
}
