/**
 * Supplemental section styles.
 *
 * This file intentionally stays narrow in scope so it does not override the
 * main responsive system defined in assets/css/main.css.
 */

body.home {
  position: relative;
  background: linear-gradient(180deg, #f7f3ee 0%, #efe3d4 52%, #f7f3ee 100%);
  isolation: isolate;
}

body.home::before,
body.home::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -2;
  filter: blur(18px);
  opacity: 0.72;
  will-change: transform;
}

body.home::before {
  top: 120px;
  left: -10vw;
  width: 34vw;
  height: 34vw;
  min-width: 280px;
  min-height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 113, 155, 0.12) 0%, rgba(63, 113, 155, 0.03) 42%, transparent 72%);
  animation: homeAuraDriftOne 24s ease-in-out infinite alternate;
}

body.home::after {
  top: 32vh;
  right: -12vw;
  width: 38vw;
  height: 38vw;
  min-width: 320px;
  min-height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 176, 106, 0.1) 0%, rgba(214, 176, 106, 0.03) 46%, transparent 74%);
  animation: homeAuraDriftTwo 28s ease-in-out infinite alternate;
}

body.home .site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.58;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.42), transparent 18%),
    radial-gradient(circle at 78% 32%, rgba(255, 255, 255, 0.28), transparent 16%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 34%, rgba(63, 113, 155, 0.03) 68%, rgba(214, 176, 106, 0.05) 100%);
  animation: homeMeshDrift 30s ease-in-out infinite alternate;
}

body.home .site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.048;
  background:
    url("../img/footer-bg.jpg") center/cover no-repeat;
  mix-blend-mode: multiply;
  filter: saturate(0.74) contrast(1.02);
  transform-origin: center;
  animation: homeVectorDrift 42s ease-in-out infinite alternate;
}

body.home .site-content,
body.home .site-main,
body.home .site-primary {
  background: transparent;
}

body.home .home-featured-posts,
body.home .home-treatments,
body.home .mako-robot-section,
body.home .home-post-stats,
body.home .home-blog-section,
body.home .about-section,
body.home .testimonials-section {
  background: transparent !important;
}

body.home .mako-robot-section {
  border-top: 0;
  border-bottom: 0;
}

body.home .home-post-stats {
  position: relative;
}

body.home .home-featured-posts__shell,
body.home .testimonials-section__shell {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 247, 242, 0.84) 100%);
  border-color: rgba(94, 127, 158, 0.12);
  box-shadow: 0 28px 60px rgba(34, 71, 102, 0.08);
  backdrop-filter: blur(12px);
}

@keyframes homeAuraDriftOne {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(5vw, 14vh, 0) scale(1.08);
  }
}

@keyframes homeAuraDriftTwo {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-6vw, -10vh, 0) scale(1.06);
  }
}

@keyframes homeMeshDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes homeVectorDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1.02);
  }
  100% {
    transform: translate3d(0, -12px, 0) scale(1.05);
  }
}

.home-featured-posts {
  padding: 30px 0 18px;
  background:
    radial-gradient(circle at 14% 20%, rgba(63, 113, 155, 0.08), transparent 26%),
    radial-gradient(circle at 86% 16%, rgba(214, 176, 106, 0.12), transparent 18%);
}

.home-featured-posts__shell {
  display: grid;
  grid-template-columns: minmax(460px, 1.02fr) minmax(0, 0.98fr);
  gap: 58px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(94, 127, 158, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 243, 237, 0.98) 100%);
  box-shadow: 0 24px 64px rgba(34, 71, 102, 0.1);
}

.home-featured-posts__visual {
  position: relative;
  display: grid;
  justify-items: start;
}

.home-featured-posts__media {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1080 / 1350;
  min-height: 0;
  margin-left: 0;
  align-self: start;
  overflow: hidden;
  border-radius: 30px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 18%, rgba(63, 113, 155, 0.18), rgba(63, 113, 155, 0) 48%),
    linear-gradient(180deg, #f7f3ee 0%, #b9c9d8 100%);
  box-shadow: 0 26px 70px rgba(34, 71, 102, 0.18);
  z-index: 3;
}

.home-featured-posts__visual-stack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-featured-posts__visual-stack span {
  position: absolute;
  top: 50%;
  right: 0;
  width: min(100%, 620px);
  aspect-ratio: 1080 / 1350;
  border-radius: 30px;
  background: rgba(217, 229, 235, 0.88);
  box-shadow: 0 18px 44px rgba(34, 71, 102, 0.08);
  transform-origin: center;
}

.home-featured-posts__visual-stack span:first-child {
  transform: translate(32px, -50%) scale(0.96);
  z-index: 2;
}

.home-featured-posts__visual-stack span:last-child {
  transform: translate(58px, -50%) scale(0.91);
  background: rgba(234, 240, 243, 0.92);
  z-index: 1;
}

.home-featured-posts__media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 260ms ease, transform 260ms ease;
}

.home-featured-posts__media-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.home-featured-posts__media-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-featured-posts__floating-controls {
  position: absolute;
  right: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(94, 127, 158, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(34, 71, 102, 0.14);
  z-index: 4;
}

.home-featured-posts__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-left: 22px;
}

.home-featured-posts__content h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.14;
}

.home-featured-posts__lead {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 16px;
  line-height: 1.72;
}

.home-featured-posts__reason-list {
  display: grid;
  gap: 18px;
}

.home-featured-posts__reason-item {
  position: relative;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(63, 113, 155, 0.16);
}

.home-featured-posts__reason-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  box-shadow: 0 0 0 6px rgba(214, 176, 106, 0.14);
}

.home-featured-posts__reason-item h3 {
  margin: 0 0 10px;
  padding-left: 24px;
  color: var(--color-primary-dark);
  font-size: 21px;
  line-height: 1.25;
}

.home-featured-posts__reason-item p {
  margin: 0;
  padding-left: 24px;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.home-featured-posts__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--color-text-soft);
  font-size: 15px;
  font-weight: 600;
}

.home-featured-posts__counter strong {
  color: var(--color-primary-dark);
  font-size: 28px;
  line-height: 1;
}

.home-featured-posts__nav-button {
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(94, 127, 158, 0.18);
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary-dark);
  font-size: 20px;
  font-weight: 700;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    opacity var(--transition-fast);
}

.home-featured-posts__nav-button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(63, 113, 155, 0.28);
  box-shadow: 0 14px 28px rgba(34, 71, 102, 0.12);
}

.home-featured-posts__nav-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.home-treatments {
  padding: 80px 0;
  background: var(--color-surface);
}

.home-blog-section {
  padding-top: 36px;
}

.home-blog-section__shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-blog-section__intro {
  max-width: 920px;
  margin: 0 0 34px;
  text-align: left;
}

.home-blog-section__intro h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.home-blog-section__intro p {
  margin: 14px 0 0;
  color: var(--color-text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.home-blog-section__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.home-blog-card {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(94, 127, 158, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 244, 238, 0.97) 100%);
  box-shadow: 0 18px 38px rgba(34, 71, 102, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-blog-card--featured {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
}

.home-blog-section__grid--count-1 .home-blog-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
}

.home-blog-section__grid--count-2 .home-blog-card {
  grid-column: span 1;
}

.home-blog-section__grid--count-2 .home-blog-card--featured {
  display: flex;
}

.home-blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(63, 113, 155, 0.24);
  box-shadow: 0 24px 48px rgba(34, 71, 102, 0.14);
}

.home-blog-card .post-card__image {
  aspect-ratio: 1.14 / 1;
  display: block;
  overflow: hidden;
  background: rgba(220, 232, 241, 0.42);
}

.home-blog-card--featured .post-card__image,
.home-blog-section__grid--count-1 .home-blog-card .post-card__image {
  min-height: 0;
  aspect-ratio: 1.14 / 1;
}

.home-blog-card .post-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  margin: 0;
  padding: 24px 22px 22px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-blog-card--featured .post-card__body,
.home-blog-section__grid--count-1 .home-blog-card .post-card__body {
  max-width: none;
  margin: 0;
  padding: 24px 22px 22px;
  border-radius: 0;
}

.home-blog-card .post-card__body h2 {
  font-size: 23px;
  line-height: 1.2;
}

.home-blog-card .post-card__body p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.72;
}

.home-blog-card .text-link {
  margin-top: auto;
  padding-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  body.home::before,
  body.home::after,
  body.home .site-shell::before,
  body.home .site-shell::after {
    animation: none;
  }
}

/* Post görsellerinden alınan degrade dili yalnızca bileşenlerde kullanılır. */
body.home .home-featured-posts__shell {
  background:
    linear-gradient(120deg, rgba(255, 250, 243, 0.98) 0%, rgba(247, 243, 238, 0.96) 54%, rgba(185, 201, 216, 0.72) 100%);
  border-color: rgba(163, 143, 122, 0.34);
  box-shadow: 0 30px 68px rgba(23, 53, 82, 0.14);
}

body.home .home-featured-posts__media {
  background:
    radial-gradient(circle at 50% 16%, rgba(247, 243, 238, 0.22), transparent 40%),
    linear-gradient(180deg, #173552 0%, #234b78 48%, #b9c9d8 100%);
}

body.home .home-featured-posts__visual-stack span:first-child {
  background: linear-gradient(180deg, rgba(35, 75, 120, 0.7), rgba(185, 201, 216, 0.82));
}

body.home .home-featured-posts__visual-stack span:last-child {
  background: linear-gradient(180deg, rgba(217, 192, 163, 0.8), rgba(239, 227, 212, 0.94));
}

body.home .treatment-card,
body.home .home-blog-card {
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.98) 0%, rgba(247, 243, 238, 0.96) 58%, rgba(234, 219, 200, 0.88) 100%);
  border-color: rgba(217, 192, 163, 0.62);
  box-shadow: 0 22px 48px rgba(23, 53, 82, 0.11);
}

body.home .treatment-card:nth-child(even),
body.home .home-blog-card:nth-child(even) {
  background: linear-gradient(145deg, rgba(247, 243, 238, 0.98) 0%, rgba(237, 242, 245, 0.96) 58%, rgba(185, 201, 216, 0.78) 100%);
}

body.home .home-post-stats .mako-section__shell,
body.home .home-post-stats .specialties-section__shell,
body.home .home-post-stats .testimonials-section__shell {
  background:
    radial-gradient(circle at 88% 14%, rgba(217, 192, 163, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(247, 243, 238, 0.98) 0%, rgba(239, 227, 212, 0.96) 50%, rgba(185, 201, 216, 0.9) 100%);
  border-color: rgba(217, 192, 163, 0.62);
}

body.home .testimonials-section__shell {
  background:
    radial-gradient(circle at 88% 18%, rgba(35, 75, 120, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(247, 243, 238, 0.98), rgba(234, 219, 200, 0.94));
}

.stats-band {
  background:
    radial-gradient(circle at 85% 18%, rgba(74, 141, 181, 0.28), transparent 26%),
    linear-gradient(120deg, rgba(23, 53, 82, 0.98) 0%, rgba(35, 75, 120, 0.96) 58%, rgba(74, 141, 181, 0.9) 100%),
    url("../img/footer-bg.jpg") center/cover no-repeat;
}

.footer-cta__panel {
  background:
    radial-gradient(circle at 88% 15%, rgba(239, 227, 212, 0.2), transparent 26%),
    linear-gradient(120deg, #173552 0%, #234b78 52%, #4a8db5 100%);
}

.site-footer__main {
  background:
    linear-gradient(180deg, rgba(35, 75, 120, 0.98) 0%, rgba(23, 53, 82, 0.995) 72%),
    url("../img/footer-bg.jpg") center/cover no-repeat;
}

.button--primary,
.button--header-cta,
.floating-actions__button,
.footer-inline-form button {
  background: linear-gradient(135deg, #234b78 0%, #173552 100%);
}

.button--accent {
  background: linear-gradient(135deg, #efe3d4 0%, #d9c0a3 58%, #c99a53 100%);
}

.home-section-link {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.home-section-link .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  color: var(--color-primary-dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-section-link .text-link::after {
  content: "\2192";
  font-size: 16px;
  line-height: 1;
  transition: transform 180ms ease;
}

.home-section-link .text-link:hover::after {
  transform: translateX(4px);
}

.home-section-link--blog {
  justify-content: flex-start;
  margin-top: 40px;
}

.home-treatments__head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.home-treatments__head h2 {
  margin: 10px 0 16px;
  color: var(--color-primary-dark);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
}

.home-treatments__head p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 16px;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.treatment-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(94, 127, 158, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(28, 45, 67, 0.03);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(63, 113, 155, 0.12);
}

.treatment-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-primary-soft);
}

.treatment-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-card__image img {
  transform: scale(1.05);
}

.treatment-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 26px;
}

.treatment-card__body h3 {
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.treatment-card__body h3 a {
  color: inherit;
}

.treatment-card__body p {
  flex: 1 1 auto;
  margin: 0 0 20px;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.treatment-card__body .text-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
}

.mako-robot-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f7f3ee 0%, var(--color-surface) 100%);
  border-top: 1px solid rgba(94, 127, 158, 0.06);
  border-bottom: 1px solid rgba(94, 127, 158, 0.06);
}

.mako-robot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 60px;
  align-items: center;
}

.mako-robot-content {
  display: flex;
  flex-direction: column;
}

.mako-robot-content h2 {
  margin: 10px 0 20px;
  color: var(--color-primary-dark);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
}

.mako-intro {
  margin-bottom: 28px;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.6;
}

.mako-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 34px;
}

.mako-detail-item {
  padding-left: 18px;
  border-left: 3px solid var(--color-accent);
}

.mako-detail-item h4 {
  margin: 0 0 6px;
  color: var(--color-primary-dark);
  font-size: 17px;
  font-weight: 700;
}

.mako-detail-item p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.mako-actions {
  margin-top: 10px;
}

.mako-robot-visual {
  display: flex;
  justify-content: center;
}

.mako-photo-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 6px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.mako-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mako-robot-section--legacy {
  display: none;
}

.mako-robot-section + .stats-band {
  display: none;
}

.mako-detail-list {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.mako-detail-list li + li {
  margin-top: 8px;
}

.floating-actions__button--phone,
.floating-actions__button--whatsapp {
  display: none !important;
}

.floating-actions__button--square span,
.floating-actions__button--appointment span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.floating-actions__button--appointment {
  min-width: 156px;
  font-weight: 600;
}

.floating-actions__button--appointment span {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}

@media (max-width: 1024px) {
  .home-featured-posts {
    padding: 28px 0 12px;
  }

  .home-featured-posts__shell {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px;
  }

  .home-featured-posts__visual {
    justify-items: center;
  }

  .home-featured-posts__media {
    width: min(100%, 520px);
    margin: 0;
  }

  .home-featured-posts__visual-stack span {
    width: min(100%, 520px);
  }

  .home-featured-posts__content h2 {
    font-size: 32px;
  }

  .home-featured-posts__reason-list {
    gap: 16px;
  }

  .home-featured-posts__content {
    padding-left: 0;
  }

  .home-treatments {
    padding: 56px 0;
  }

  .home-blog-section {
    padding-top: 24px;
  }

  .home-blog-section__shell {
    padding: 0;
  }

  .home-blog-section__intro {
    margin-bottom: 24px;
  }

  .home-blog-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .home-section-link,
  .home-section-link--blog {
    justify-content: flex-start;
    margin-top: 28px;
  }

  .home-blog-section__grid--count-1 {
    grid-template-columns: 1fr;
  }

  .home-blog-card,
  .home-blog-card--featured,
  .home-blog-section__grid--count-1 .home-blog-card,
  .home-blog-section__grid--count-2 .home-blog-card {
    grid-column: span 1;
    display: flex;
  }

  .home-blog-card--featured .post-card__image,
  .home-blog-section__grid--count-1 .home-blog-card .post-card__image {
    min-height: 0;
    aspect-ratio: 1.14 / 1;
  }

  .home-blog-card .post-card__body,
  .home-blog-card--featured .post-card__body,
  .home-blog-section__grid--count-1 .home-blog-card .post-card__body {
    max-width: none;
    margin: 0;
    padding: 22px 20px 20px;
    border-radius: 0;
  }

  .home-treatments__head {
    margin-bottom: 32px;
    text-align: left;
  }

  .home-treatments__head h2 {
    font-size: 28px;
  }

  .treatments-grid,
  .mako-robot-grid {
    grid-template-columns: 1fr;
  }

  .mako-robot-section {
    padding: 56px 0;
  }

  .mako-robot-grid {
    gap: 30px;
  }

  .mako-robot-content h2 {
    font-size: 30px;
  }

  .mako-photo-card {
    max-width: 360px;
    margin: 0 auto;
    border-width: 4px;
    border-radius: 22px;
  }
}

@media (max-width: 720px) {
  body.muhsin-reference-theme {
    padding-bottom: 86px;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible,
  .reveal-on-scroll[data-reveal-style],
  .reveal-on-scroll.is-visible[data-reveal-style] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  .about-section__content.reveal-on-scroll > .section-label,
  .about-section__content.reveal-on-scroll > h2,
  .about-section__content.reveal-on-scroll > p,
  .about-section__content.reveal-on-scroll > .about-section__summary-grid,
  .about-section__content.reveal-on-scroll > .about-section__highlights,
  .about-section__content.reveal-on-scroll > .button,
  .mako-robot-section.reveal-on-scroll .mako-robot-content > .section-label,
  .mako-robot-section.reveal-on-scroll .mako-robot-content > h2,
  .mako-robot-section.reveal-on-scroll .mako-robot-content > .mako-intro,
  .mako-robot-section.reveal-on-scroll .mako-robot-content > .mako-details,
  .mako-robot-section.reveal-on-scroll .mako-robot-content > .mako-actions,
  .testimonials-section__intro.reveal-on-scroll > .section-label,
  .testimonials-section__intro.reveal-on-scroll > h2,
  .testimonials-section__intro.reveal-on-scroll > p,
  .content-shell__body.reveal-on-scroll > h2,
  .content-shell__body.reveal-on-scroll > p,
  .content-shell__body.reveal-on-scroll > ul,
  .content-shell__body.reveal-on-scroll > ol,
  .content-shell__body.reveal-on-scroll > .page-detail__actions {
    opacity: 0;
    transform: none;
    filter: none;
    transition: opacity 180ms ease;
    transition-delay: var(--mobile-text-delay, 0ms);
  }

  .about-section__content.reveal-on-scroll.is-visible > .section-label,
  .about-section__content.reveal-on-scroll.is-visible > h2,
  .about-section__content.reveal-on-scroll.is-visible > p,
  .about-section__content.reveal-on-scroll.is-visible > .about-section__summary-grid,
  .about-section__content.reveal-on-scroll.is-visible > .about-section__highlights,
  .about-section__content.reveal-on-scroll.is-visible > .button,
  .mako-robot-section.reveal-on-scroll.is-visible .mako-robot-content > .section-label,
  .mako-robot-section.reveal-on-scroll.is-visible .mako-robot-content > h2,
  .mako-robot-section.reveal-on-scroll.is-visible .mako-robot-content > .mako-intro,
  .mako-robot-section.reveal-on-scroll.is-visible .mako-robot-content > .mako-details,
  .mako-robot-section.reveal-on-scroll.is-visible .mako-robot-content > .mako-actions,
  .testimonials-section__shell.reveal-on-scroll.is-visible .testimonials-section__intro > .section-label,
  .testimonials-section__shell.reveal-on-scroll.is-visible .testimonials-section__intro > h2,
  .testimonials-section__shell.reveal-on-scroll.is-visible .testimonials-section__intro > p,
  .testimonials-section__intro.reveal-on-scroll.is-visible > .section-label,
  .testimonials-section__intro.reveal-on-scroll.is-visible > h2,
  .testimonials-section__intro.reveal-on-scroll.is-visible > p,
  .content-shell__body.reveal-on-scroll.is-visible > h2,
  .content-shell__body.reveal-on-scroll.is-visible > p,
  .content-shell__body.reveal-on-scroll.is-visible > ul,
  .content-shell__body.reveal-on-scroll.is-visible > ol,
  .content-shell__body.reveal-on-scroll.is-visible > .page-detail__actions {
    opacity: 1;
  }

  .about-section__content.reveal-on-scroll > .section-label,
  .mako-robot-section.reveal-on-scroll .mako-robot-content > .section-label,
  .testimonials-section__intro.reveal-on-scroll > .section-label {
    --mobile-text-delay: 0ms;
  }

  .about-section__content.reveal-on-scroll > h2,
  .mako-robot-section.reveal-on-scroll .mako-robot-content > h2,
  .testimonials-section__intro.reveal-on-scroll > h2,
  .content-shell__body.reveal-on-scroll > h2 {
    --mobile-text-delay: 30ms;
  }

  .about-section__content.reveal-on-scroll > p,
  .mako-robot-section.reveal-on-scroll .mako-robot-content > .mako-intro,
  .testimonials-section__intro.reveal-on-scroll > p,
  .content-shell__body.reveal-on-scroll > p,
  .content-shell__body.reveal-on-scroll > ul,
  .content-shell__body.reveal-on-scroll > ol {
    --mobile-text-delay: 50ms;
  }

  .about-section__content.reveal-on-scroll > .about-section__summary-grid,
  .about-section__content.reveal-on-scroll > .about-section__highlights,
  .mako-robot-section.reveal-on-scroll .mako-robot-content > .mako-details {
    --mobile-text-delay: 70ms;
  }

  .about-section__content.reveal-on-scroll > .button,
  .mako-robot-section.reveal-on-scroll .mako-robot-content > .mako-actions,
  .content-shell__body.reveal-on-scroll > .page-detail__actions {
    --mobile-text-delay: 90ms;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
  }

  .site-header__top-inner {
    position: relative;
    min-height: 74px;
    padding-left: 14px;
    padding-right: 14px;
    align-items: center;
    justify-content: center;
  }

  .site-header__top-inner .button--header-cta {
    display: none !important;
  }

  .brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: calc(100% - 68px);
    margin: 0 auto;
  }

  .brand-lockup img {
    width: min(208px, 100%);
  }

  .site-header__nav {
    display: none !important;
  }

  .primary-nav {
    display: none !important;
  }

  .nav-utilities {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 50%;
    right: 0;
    margin-left: 0;
    transform: translateY(-50%);
    z-index: 81;
  }

  .mobile-menu-toggle span {
    background: var(--color-primary-dark) !important;
  }

  .site-shell.is-menu-open .mobile-menu-panel {
    display: block !important;
  }

  .site-shell.is-menu-open .mobile-menu-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .home-featured-posts {
    padding: 18px 0 8px;
  }

  .home-featured-posts__shell {
    gap: 20px;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .home-featured-posts__media {
    width: min(100%, 360px);
    border-radius: 22px;
  }

  .home-featured-posts__visual-stack span:first-child {
    transform: translate(20px, -50%) scale(0.96);
  }

  .home-featured-posts__visual-stack span:last-child {
    transform: translate(36px, -50%) scale(0.91);
  }

  .home-featured-posts__floating-controls {
    right: 50%;
    bottom: -18px;
    transform: translateX(50%);
  }

  .home-featured-posts__content {
    gap: 14px;
  }

  .home-featured-posts__content h2 {
    font-size: 26px;
  }

  .home-featured-posts__lead,
  .home-featured-posts__reason-item p {
    font-size: 15px;
    line-height: 1.65;
  }

  .home-featured-posts__reason-list {
    gap: 14px;
  }

  .home-featured-posts__reason-item h3 {
    font-size: 18px;
  }

  .home-featured-posts__nav-button {
    min-width: 42px;
    min-height: 42px;
    font-size: 16px;
  }

  .home-blog-section {
    padding-top: 18px;
  }

  .home-blog-section__shell {
    padding: 0;
  }

  .home-blog-section__intro {
    margin-bottom: 20px;
    text-align: left;
  }

  .home-blog-section__intro h2 {
    font-size: 26px;
  }

  .home-blog-section__intro p {
    font-size: 15px;
    line-height: 1.65;
  }

  .home-blog-section__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-section-link,
  .home-section-link--blog {
    margin-top: 24px;
  }

  .home-blog-card {
    grid-column: 1 / -1;
  }

  .home-blog-card .post-card__body {
    padding: 20px 18px 20px;
  }

  .home-blog-card .post-card__body h2 {
    font-size: 21px;
  }

  .home-treatments {
    padding: 44px 0;
  }

  .home-treatments__head h2,
  .mako-robot-content h2 {
    font-size: 26px;
  }

  .home-treatments__head p,
  .mako-intro {
    font-size: 15px;
  }

  .treatments-grid {
    gap: 20px;
  }

  .treatment-card {
    border-radius: 16px;
  }

  .treatment-card__body {
    padding: 20px;
  }

  .mako-robot-section {
    padding: 44px 0;
  }

  .mako-details {
    gap: 18px;
    margin-bottom: 24px;
  }

  .mako-detail-item {
    padding-left: 14px;
  }

  .mako-detail-item h4 {
    font-size: 15px;
  }

  .mako-detail-item p {
    font-size: 13.5px;
  }

  .testimonials-section__shell {
    padding: 28px 18px 24px;
  }

  .testimonials-section__intro {
    margin-bottom: 18px;
  }

  .testimonials-section__intro p {
    font-size: 15px;
    line-height: 1.65;
  }

  .testimonial-marquee {
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .testimonial-marquee::before,
  .testimonial-marquee::after {
    display: none;
  }

  .testimonial-track {
    display: grid !important;
    gap: 14px;
    width: 100%;
    padding: 0;
    animation: none !important;
  }

  .testimonial-card--marquee {
    width: 100% !important;
    min-height: 0;
    padding: 20px 18px 18px;
    border-radius: 22px;
  }

  .testimonial-card--marquee[data-testimonial-clone="true"] {
    display: none;
  }

  .testimonial-card__stars {
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  .testimonial-card p {
    margin: 10px 0 18px;
    font-size: 14px;
    line-height: 1.7;
  }

  .testimonial-card__avatar {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .testimonial-card__meta strong {
    font-size: 14px;
  }

  .testimonial-card__meta span {
    font-size: 12px;
  }

  .floating-actions {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(94, 127, 158, 0.12);
    box-shadow: 0 -10px 30px rgba(28, 45, 67, 0.12);
    transform: none !important;
  }

  .floating-actions__button {
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  .floating-actions__button--phone,
  .floating-actions__button--whatsapp,
  .floating-actions__button--maps,
  .floating-actions__button--maps.floating-actions__button--square {
    display: inline-flex !important;
    width: 100%;
    justify-content: center;
  }

  .floating-actions__button--phone,
  .floating-actions__button--whatsapp,
  .floating-actions__button--maps {
    min-width: 0 !important;
    padding: 0 !important;
  }

  .floating-actions__button--phone span,
  .floating-actions__button--whatsapp span,
  .floating-actions__button--maps span {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    font-size: 10px;
  }

  .floating-actions__button--phone,
  .floating-actions__button--whatsapp,
  .floating-actions__button--maps {
    flex-direction: column;
    gap: 4px;
    background: transparent !important;
    color: var(--color-text-soft) !important;
  }

  .floating-actions__button--phone svg,
  .floating-actions__button--whatsapp svg,
  .floating-actions__button--maps svg {
    width: 20px;
    height: 20px;
  }

  .floating-actions__button--instagram,
  .floating-actions__button--scroll {
    display: none !important;
  }
}

@media (max-width: 560px) {
  body.muhsin-reference-theme {
    padding-bottom: 80px;
  }

  .site-header__top-inner {
    min-height: 70px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-lockup img {
    width: min(190px, 100%);
  }

  .home-featured-posts__shell {
    padding: 20px 16px;
  }

  .home-featured-posts__media {
    width: min(100%, 300px);
  }

  .home-featured-posts__visual-stack span:first-child {
    transform: translate(14px, -50%) scale(0.96);
  }

  .home-featured-posts__visual-stack span:last-child {
    transform: translate(24px, -50%) scale(0.91);
  }

  .home-featured-posts__content h2 {
    font-size: 24px;
  }

  .home-blog-section__shell {
    padding: 0;
  }

  .home-treatments__head h2,
  .mako-robot-content h2 {
    font-size: 24px;
  }

  .mako-photo-card {
    max-width: 100%;
    border-width: 3px;
    border-radius: 18px;
  }

  .testimonials-section__shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .testimonial-track {
    gap: 12px;
  }

  .testimonial-card--marquee {
    padding: 18px 16px 16px;
  }

  .floating-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .floating-actions__button {
    min-height: 44px !important;
    padding: 0 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-featured-posts__media-slide,
  .home-featured-posts__copy-slide,
  .home-featured-posts__nav-button {
    transition: none;
  }
}

/* Mobil hero kontrast düzeltmesi: tüm mobil kurallardan sonra uygulanır. */
@media (max-width: 720px) {
  .hero-section__overlay {
    background: linear-gradient(
      180deg,
      rgba(23, 53, 82, 0.02) 0%,
      rgba(23, 53, 82, 0.12) 38%,
      rgba(23, 53, 82, 0.72) 62%,
      rgba(23, 53, 82, 0.96) 100%
    );
  }

  .hero-section__panel {
    background: linear-gradient(145deg, rgba(23, 53, 82, 0.9), rgba(35, 75, 120, 0.78));
    border-color: rgba(239, 227, 212, 0.24);
    box-shadow: 0 18px 42px rgba(23, 53, 82, 0.28);
  }

  .hero-section h1,
  .hero-section p,
  .hero-section__eyebrow {
    color: #f7f3ee;
  }

  .hero-section .button--ghost-light {
    border-color: rgba(247, 243, 238, 0.58);
    background: rgba(247, 243, 238, 0.1);
    color: #f7f3ee;
  }

  .hero-section .button--light {
    background: linear-gradient(135deg, #efe3d4, #d9c0a3);
    color: #173552;
  }
}
