/* ==========================================================================
   Uzm. Dr. İsmet Öncü — Çocuk Sağlığı ve Hastalıkları
   Pixel-accurate Responsive Design (Web + Mobile) & Smooth Micro-Animations
   ========================================================================== */

:root {
  /* Palette extracted directly from design */
  --navy: #132B47;
  --navy-soft: #314863;
  --coral: #F26457;
  --coral-hover: #E15245;
  --coral-soft: #FDECE9;
  --coral-wave: #FF9B95;
  --sky-wave: #D9F0FA;
  --yellow-sparkle: #F7C938;
  --yellow-wave: #FFEFC1;

  /* Service Card Themes */
  --pink-bg: #FFE4E2;
  --pink-bottom: #FFF7F6;
  --pink-accent: #F26457;

  --yellow-bg: #FFF2C4;
  --yellow-bottom: #FFFDF4;
  --yellow-accent: #F5C438;

  --blue-bg: #CBEBFB;
  --blue-bottom: #F3FAFE;
  --blue-accent: #55BEE8;

  /* Neutrals */
  --white: #FFFFFF;
  --hero-bg: #F6F9FC;
  --cta-bg: #FAF6F4;
  --border-light: #B8CEDE;

  /* Typography */
  --font-display: 'Baloo 2', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Radii */
  --shadow-card: 0 14px 34px rgba(19, 43, 71, 0.075);
  --shadow-card-hover: 0 22px 44px rgba(19, 43, 71, 0.13);
  --shadow-btn: 0 10px 24px rgba(242, 100, 87, 0.28);
  --shadow-btn-hover: 0 14px 30px rgba(242, 100, 87, 0.42);
  --radius-card: 28px;
  --radius-pill: 999px;

  /* Motion Curves */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background-color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  transition: top 0.25s var(--ease-spring);
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==================== BUTTONS & SMOOTH ANIMATIONS ==================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.96rem;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-bounce),
    box-shadow 0.35s var(--ease-spring),
    background-color 0.28s ease,
    border-color 0.28s ease;
  will-change: transform;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease-spring);
  pointer-events: none;
}

.btn:hover::after {
  left: 145%;
}

.btn-primary {
  background-color: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background-color: var(--coral-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-btn-hover);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 6px 14px rgba(242, 100, 87, 0.28);
}

.btn-outline {
  background-color: var(--white);
  color: var(--navy);
  border: 2px solid #D8E6F0;
}

.btn-outline:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
}

.btn-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-arrow {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  transition: transform 0.32s var(--ease-bounce);
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.8px solid var(--border-light);
  color: var(--navy);
  background: var(--white);
  transition:
    transform 0.32s var(--ease-bounce),
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.32s var(--ease-spring);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
  transition: transform 0.32s var(--ease-bounce);
}

.icon-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 100, 87, 0.16);
}

.phone-btn:hover svg {
  animation: phoneRing 0.55s ease;
}

/* ==================== HEADER / NAVBAR ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 0;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(19, 43, 71, 0.06);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  transition: transform 0.3s var(--ease-bounce);
}

.brand:hover {
  transform: scale(1.02);
}

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-soft);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  padding: 9px 14px;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  transition:
    background-color 0.26s ease,
    color 0.26s ease,
    transform 0.26s var(--ease-bounce);
}

.nav-link:hover {
  background-color: var(--coral-soft);
  color: var(--coral);
  transform: translateY(-1px);
}

.nav-link.is-active {
  background-color: var(--coral-soft);
  color: var(--coral);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta {
  padding: 12px 22px;
  font-size: 0.94rem;
}

/* Hamburger button (hidden on desktop) */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 6px;
  border-radius: 12px;
  transition: background-color 0.25s ease;
}

.hamburger-btn:hover {
  background-color: var(--coral-soft);
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 3.4px;
  border-radius: 4px;
  background-color: var(--navy);
  transition: transform 0.32s var(--ease-spring), opacity 0.2s ease;
  transform-origin: center;
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(9.4px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-9.4px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-menu {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #EEF4F9;
  box-shadow: 0 18px 34px rgba(19, 43, 71, 0.08);
  animation: slideDown 0.32s var(--ease-spring);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 24px 24px;
}

.mobile-nav-link {
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background-color: var(--coral-soft);
  color: var(--coral);
}

.mobile-nav-cta {
  margin-top: 8px;
  width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  background: linear-gradient(100deg, #F6FAFD 0%, #F7FAFC 42%, #F3F7FB 100%);
  padding: 68px 0 112px;
  overflow: hidden;
}

.hero-top-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 44px;
  z-index: 3;
  pointer-events: none;
}

.hero-top-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-inner {
  position: static;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 46%;
  padding: 12px 0 16px;
}

.hero-heading-wrap {
  position: relative;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.85rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--coral);
}

.doodle-hero-sparkles {
  position: absolute;
  top: 4px;
  right: -46px;
  width: 48px;
  height: 44px;
  animation: sparkleFloat 3.6s ease-in-out infinite;
}

.hero-actions {
  margin-top: 30px;
}

.btn-hero {
  padding: 15px 30px;
  font-size: 1.02rem;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 1;
  margin: 0;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  /* Soft left-edge feathering so the photo blends seamlessly into the hero background */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 100%);
}

.hero-photo-frame.is-dragging {
  cursor: grabbing;
}

.hero-photo-frame.is-dragging .hero-slides-track {
  transition: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.01);
  transition: transform 0.7s var(--ease-spring);
}

/* Hero Slider Track & Synchronized Title Transitions */
.hero-title-slider {
  display: grid;
}

.hero-title-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.55s var(--ease-spring),
    transform 0.55s var(--ease-spring);
}

.hero-title-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.85s var(--ease-spring);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background-color: rgba(19, 43, 71, 0.2);
  transition: width 0.35s var(--ease-spring), background-color 0.25s ease;
}

.hero-dot:hover {
  background-color: rgba(242, 100, 87, 0.55);
}

.hero-dot.is-active {
  width: 28px;
  background-color: var(--coral);
}

.hero:hover .hero-photo-frame img {
  transform: scale(1.03);
}

.hero-bottom-waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 112px;
  z-index: 3;
  pointer-events: none;
}

.hero-bottom-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
  position: relative;
  padding: 58px 0 42px;
  background-color: var(--white);
}

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

.doodle-services-sparkles {
  position: absolute;
  top: -32px;
  left: -18px;
  width: 52px;
  height: 50px;
  z-index: 5;
  pointer-events: none;
  animation: sparkleFloat 4s ease-in-out infinite 0.5s;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition:
    transform 0.42s var(--ease-bounce),
    box-shadow 0.42s var(--ease-spring);
  will-change: transform;
  outline: none;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-9px);
  box-shadow: var(--shadow-card-hover);
}

.service-card:focus-visible {
  box-shadow: 0 0 0 3px var(--coral), var(--shadow-card-hover);
}

.service-card--pink {
  background-color: var(--pink-bottom);
  --card-media-bg: var(--pink-bg);
  --card-accent: var(--pink-accent);
}

.service-card--yellow {
  background-color: var(--yellow-bottom);
  --card-media-bg: var(--yellow-bg);
  --card-accent: var(--yellow-accent);
}

.service-card--blue {
  background-color: var(--blue-bottom);
  --card-media-bg: var(--blue-bg);
  --card-accent: var(--blue-accent);
}

.service-card__media {
  position: relative;
  height: 168px;
  background-color: var(--card-media-bg);
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease-spring);
}

.service-card:hover .service-card__media img {
  transform: scale(1.07);
}

.card-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 30px;
  pointer-events: none;
}

.service-card__body {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 26px;
  flex: 1;
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--card-accent);
  box-shadow: 0 6px 16px rgba(19, 43, 71, 0.06);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-bounce);
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(-6deg);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.22;
  color: var(--navy);
  padding-right: 24px;
}

.service-card__arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--card-accent);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(19, 43, 71, 0.12);
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s ease;
}

.service-card__arrow svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease-bounce);
}

.service-card:hover .service-card__arrow {
  transform: scale(1.12);
}

.service-card:hover .service-card__arrow svg {
  transform: translateX(2px);
}

/* ==================== MEET THE DOCTOR SECTION ==================== */
.doctor-section {
  padding: 58px 0 46px;
  background-color: var(--white);
}

.doctor-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 44px;
}

.doctor-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.doctor-visual img {
  width: 100%;
  max-width: 455px;
  height: auto;
  border-radius: 36px;
  transition: transform 0.5s var(--ease-spring);
}

.doctor-visual:hover img {
  transform: translateY(-4px) scale(1.015);
}

.doctor-info {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.doctor-info-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pill-badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background-color: var(--coral-soft);
  color: var(--coral);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.doctor-name {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.doctor-role {
  margin-top: 6px;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy-soft);
}

.brush-underline {
  width: 190px;
  height: 14px;
  margin-top: 12px;
}

.text-link-btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--coral);
  padding: 6px 0;
  transition: gap 0.28s var(--ease-bounce), color 0.25s ease;
}

.text-link-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.28s var(--ease-bounce);
}

.text-link-btn:hover {
  color: var(--coral-hover);
  gap: 10px;
}

.text-link-btn:hover svg {
  transform: translateX(3px);
}

.doodle-heart-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  margin-right: 6px;
}

.doodle-heart-sparkles {
  width: 44px;
  height: 32px;
  margin-bottom: -4px;
  margin-right: -8px;
  animation: sparkleFloat 3.4s ease-in-out infinite;
}

.doodle-heart {
  width: 58px;
  height: 52px;
  animation: heartPulse 3s ease-in-out infinite;
}

.doodle-mobile-doc-sparkles {
  display: none;
}

/* ==================== REVIEWS / TESTIMONIALS SECTION ==================== */
.reviews-section {
  position: relative;
  margin: 18px 0 26px;
}

.reviews-wave {
  width: 100%;
  height: 44px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.reviews-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.reviews-wave--top {
  margin-bottom: -1px;
}

.reviews-wave--bottom {
  margin-top: -1px;
}

.reviews-band {
  background-color: #E8F6FD;
  padding: 22px 0 26px;
}

.reviews-inner {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.reviews-header {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 26px;
}

.doodle-reviews-sparkles {
  position: absolute;
  left: -4px;
  top: 28%;
  width: 32px;
  height: 34px;
  animation: sparkleFloat 3.8s ease-in-out infinite;
}

.reviews-title-box {
  transform: rotate(-3.5deg);
  transform-origin: left center;
}

.reviews-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.25rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.reviews-title .line {
  display: block;
}

.reviews-title-last {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}

.reviews-heart {
  width: 34px;
  height: 32px;
  flex-shrink: 0;
  animation: heartPulse 3s ease-in-out infinite;
}

.reviews-underline {
  width: 158px;
  height: 14px;
  margin-top: 8px;
  display: block;
}

/* Carousel Wrapper */
.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
  padding: 12px 4px 16px;
  margin: -12px -4px -16px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.reviews-viewport.is-dragging {
  cursor: grabbing;
}

.reviews-viewport.is-dragging .reviews-track {
  transition: none;
}

.reviews-track {
  display: flex;
  gap: 18px;
  transition: transform 0.52s var(--ease-spring);
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 36px) / 3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--white);
  border-radius: 26px;
  padding: 22px 20px 20px;
  box-shadow: 0 12px 26px rgba(19, 43, 71, 0.065);
  transition:
    transform 0.36s var(--ease-bounce),
    box-shadow 0.36s var(--ease-spring);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(19, 43, 71, 0.11);
}

.review-stars {
  color: #F8C932;
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 12px;
}

.review-quote {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 16px;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.review-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #EAF4FB;
  flex-shrink: 0;
}

.review-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.review-role {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-soft);
  line-height: 1.25;
}

/* Carousel Prev / Next Circular White Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(19, 43, 71, 0.14);
  transition:
    transform 0.3s var(--ease-bounce),
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.3s ease;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-btn--prev {
  left: -20px;
}

.carousel-btn--next {
  right: -20px;
}

.carousel-btn:hover {
  background-color: var(--coral);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 24px rgba(242, 100, 87, 0.32);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.reviews-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
  margin-top: 6px;
}

.reviews-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(19, 43, 71, 0.2);
  transition: width 0.3s var(--ease-spring), background-color 0.25s ease;
}

.reviews-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background-color: var(--coral);
}

/* ==================== PLATFORM AVATAR BADGE (GOOGLE / DOKTORTAKVİMİ) ==================== */
.review-platform-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F7FAFD;
  border: 2px solid #E6F2FA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(19, 43, 71, 0.06);
  transition: transform 0.3s var(--ease-bounce);
}

.review-card:hover .review-platform-badge {
  transform: scale(1.08) rotate(-4deg);
}

.review-platform-badge svg {
  width: 22px;
  height: 22px;
}

.review-platform-badge--dt {
  background: #E9FAF6;
  border-color: #C7F1E7;
  color: #00B39B;
}

.reviews-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ==================== HOMEPAGE BLOG PREVIEW SECTION ==================== */
.blog-section {
  padding: 54px 0 38px;
  background-color: var(--white);
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
}

.section-title .accent {
  color: var(--coral);
}

.section-subtitle {
  margin-top: 6px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy-soft);
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1.5px solid #EDF4FA;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-bounce),
    box-shadow 0.4s var(--ease-spring),
    border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: #D7E9F7;
}

.blog-card__media {
  position: relative;
  height: 184px;
  overflow: hidden;
  background: var(--pink-bg);
}

.blog-card--yellow .blog-card__media {
  background: var(--yellow-bg);
}

.blog-card--blue .blog-card__media {
  background: var(--blue-bg);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-spring);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.07);
}

.blog-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.94);
  color: var(--coral);
  box-shadow: 0 4px 12px rgba(19, 43, 71, 0.08);
}

.blog-card--yellow .blog-card__cat {
  color: #C78E00;
}

.blog-card--blue .blog-card__cat {
  color: #1D8CC2;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.blog-card__meta {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6B8299;
  margin-bottom: 8px;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.24;
  color: var(--navy);
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.blog-card:hover .blog-card__title {
  color: var(--coral);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--navy-soft);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--coral);
  transition: gap 0.28s var(--ease-bounce);
}

.blog-card__more svg {
  width: 17px;
  height: 17px;
}

.blog-card:hover .blog-card__more {
  gap: 10px;
}

.services-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ==================== SUBPAGE HERO (COLORFUL PASTEL WAVES) ==================== */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, #F6FAFD 0%, #FFF7F5 55%, #F2FAFE 100%);
  padding: 44px 0 84px;
  overflow: hidden;
}

.page-hero--pink {
  background: linear-gradient(120deg, #FFF5F4 0%, #FFEAE8 55%, #FFF9F2 100%);
}

.page-hero--yellow {
  background: linear-gradient(120deg, #FFFDF2 0%, #FFF5D2 55%, #FFF8F0 100%);
}

.page-hero--blue {
  background: linear-gradient(120deg, #F2FAFE 0%, #E1F4FD 55%, #F7FAFD 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-soft);
  margin-bottom: 16px;
}

.breadcrumb a {
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--coral);
}

.breadcrumb .sep {
  opacity: 0.45;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 14px;
}

.page-hero__title .accent {
  color: var(--coral);
}

.page-hero__desc {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-soft);
  max-width: 650px;
  line-height: 1.6;
}

.page-hero__waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 58px;
  pointer-events: none;
}

.page-hero__waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==================== FILTER PILLS ==================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-pill {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  background: #F3F7FB;
  border: 1.5px solid transparent;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease-bounce),
    box-shadow 0.25s ease;
}

.filter-pill:hover {
  background: var(--coral-soft);
  color: var(--coral);
  transform: translateY(-2px);
}

.filter-pill.is-active {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(242, 100, 87, 0.28);
}

/* ==================== REVIEWS PAGE GRID ==================== */
.content-section {
  padding: 44px 0 48px;
}

.rating-summary-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(19, 43, 71, 0.07);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
}

.rating-chip .stars {
  color: #F8C932;
  letter-spacing: 1px;
}

.reviews-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.reviews-page-grid .review-card {
  flex: none;
  border: 1.5px solid #ECF4FA;
}

.review-card.is-hidden,
.blog-card.is-hidden {
  display: none;
}

/* ==================== BLOG DETAIL PAGE ==================== */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 40px;
  align-items: start;
}

.article-hero-img {
  width: 100%;
  height: 360px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--pink-bg);
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-prose h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--navy);
  margin: 28px 0 12px;
}

.article-prose h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--navy);
  margin: 22px 0 10px;
}

.article-prose p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--navy-soft);
  margin-bottom: 16px;
}

.article-prose ul {
  margin: 12px 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--navy-soft);
}

.article-prose li {
  line-height: 1.6;
}

.callout-box {
  padding: 22px 24px;
  border-radius: 24px;
  background: #FFF7F5;
  border-left: 5px solid var(--coral);
  margin: 24px 0;
}

.callout-box--blue {
  background: #F1FAFE;
  border-left-color: var(--blue-accent);
}

.callout-box--yellow {
  background: #FFFDF0;
  border-left-color: var(--yellow-accent);
}

.callout-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 104px;
}

.sidebar-card {
  background: var(--white);
  border-radius: 26px;
  padding: 24px;
  border: 1.5px solid #ECF4FA;
  box-shadow: var(--shadow-card);
}

.sidebar-card--warm {
  background: linear-gradient(145deg, #FFF7F5 0%, #FFFDF4 100%);
  border-color: #FCE2DD;
}

.sidebar-card__title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  background: #F6FAFD;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-bounce);
}

.sidebar-links a:hover,
.sidebar-links a.is-current {
  background: var(--coral-soft);
  color: var(--coral);
  transform: translateX(4px);
}

/* ==================== SERVICES OVERVIEW & DETAIL PAGES ==================== */
.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.tag-cloud-box {
  background: #F7FAFD;
  border-radius: 30px;
  padding: 32px;
  border: 1.5px solid #E5F1FA;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 18px;
}

.tag-cloud li {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(19, 43, 71, 0.05);
  transition: transform 0.25s var(--ease-bounce), color 0.2s ease;
}

.tag-cloud li:hover {
  transform: translateY(-2px);
  color: var(--coral);
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0 30px;
}

.feature-mini-card {
  padding: 20px;
  border-radius: 22px;
  background: #F8FBFE;
  border: 1.5px solid #E8F2FA;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
}

.feature-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(19, 43, 71, 0.07);
}

.feature-mini-card h3 {
  margin: 0 0 6px !important;
  font-size: 1.1rem !important;
}

.feature-mini-card p {
  margin: 0 !important;
  font-size: 0.9rem !important;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.faq-item {
  border-radius: 20px;
  border: 1.5px solid #E8F2FA;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: #F9C6C0;
  background: #FFFCFB;
}

.faq-item summary {
  list-style: none;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.93rem;
  color: var(--navy-soft);
  line-height: 1.65;
}

/* ==================== ABOUT PAGE (TIMELINE & GALLERY PLACEHOLDERS) ==================== */
.about-bio-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 52px;
}

.about-photo-slot {
  position: relative;
  border-radius: 34px;
  background: linear-gradient(145deg, #FFE4E2 0%, #FFF2C4 55%, #CBEBFB 100%);
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.about-photo-slot img {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.timeline-card {
  padding: 22px 24px;
  border-radius: 24px;
  background: var(--white);
  border: 1.5px solid #EAF3FA;
  box-shadow: 0 10px 24px rgba(19, 43, 71, 0.055);
  transition: transform 0.3s var(--ease-bounce);
}

.timeline-card:hover {
  transform: translateY(-4px);
}

.timeline-year {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.timeline-card--blue .timeline-year {
  background: #E4F5FD;
  color: #1D8CC2;
}

.timeline-card--yellow .timeline-year {
  background: #FFF4CC;
  color: #B98300;
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--navy-soft);
}

.gallery-carousel {
  position: relative;
  margin-top: 24px;
}

.gallery-track {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 12px 6px 18px;
  margin: -12px -6px -18px;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.gallery-item {
  position: relative;
  flex: 0 0 auto;
  height: 340px;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  overflow: hidden;
  background: #F6FAFD;
  border: 2px solid #EAF3FA;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s var(--ease-spring), border-color 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: #F7C2BC;
}

.gallery-item img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
  transition: transform 0.55s var(--ease-spring);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Gallery Lightbox */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(19, 43, 71, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.22s ease;
}

.lightbox-backdrop[hidden] {
  display: none;
}

.lightbox-figure {
  max-width: min(92vw, 960px);
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  object-fit: contain;
  animation: modalPop 0.28s var(--ease-spring);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 610;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.28s var(--ease-bounce), background-color 0.22s ease, color 0.22s ease;
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 22px;
  height: 22px;
}

.lightbox-close {
  top: 22px;
  right: 22px;
}

.lightbox-nav--prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav--next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--coral);
  color: var(--white);
}

.lightbox-close:hover {
  transform: rotate(90deg) scale(1.06);
}

.lightbox-nav--prev:hover,
.lightbox-nav--next:hover {
  transform: translateY(-50%) scale(1.1);
}

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 2px dashed #C7DFEE;
  background: linear-gradient(145deg, #F8FBFE 0%, #FFF8F6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  color: var(--navy-soft);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.3s var(--ease-bounce), border-color 0.25s ease;
}

.gallery-placeholder:hover {
  transform: translateY(-4px);
  border-color: var(--coral);
}

.gallery-placeholder svg {
  width: 34px;
  height: 34px;
  color: var(--coral);
  opacity: 0.75;
}

/* ==================== CONTACT PAGE ==================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  border-radius: 26px;
  background: var(--white);
  border: 1.5px solid #ECF4FA;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-soft);
  color: var(--coral);
}

.contact-card--yellow .contact-card__icon {
  background: var(--yellow-bg);
  color: #C78E00;
}

.contact-card--blue .contact-card__icon {
  background: var(--blue-bg);
  color: #1D8CC2;
}

.contact-card--mint .contact-card__icon {
  background: #E2F8F2;
  color: #00A890;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  color: var(--navy);
}

.contact-card p,
.contact-card a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-soft);
  line-height: 1.45;
}

.contact-card a:hover {
  color: var(--coral);
}

.contact-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.map-frame-card {
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid #E4F1FA;
  box-shadow: var(--shadow-card);
  min-height: 410px;
  background: #EAF5FC;
}

.map-frame-card iframe {
  width: 100%;
  height: 100%;
  min-height: 410px;
  border: 0;
  display: block;
}

.contact-form-card {
  border-radius: 30px;
  background: linear-gradient(155deg, #FFFFFF 0%, #FFF8F6 100%);
  border: 1.5px solid #F3E5E2;
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1.8px solid #DCE8F2;
  background: var(--white);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--navy);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(242, 100, 87, 0.14);
}

textarea.form-control {
  resize: vertical;
  min-height: 112px;
}

.form-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #E8FAF3;
  color: #0E7A58;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ==================== BOTTOM CTA BANNER ==================== */
.cta-section {
  padding: 28px 0 42px;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background-color: var(--cta-bg);
  border-radius: 56px;
  padding: 24px 42px;
  box-shadow: 0 12px 30px rgba(19, 43, 71, 0.045);
}

.cta-mascot {
  width: 104px;
  height: 86px;
  flex-shrink: 0;
  animation: gentleBob 4.2s ease-in-out infinite;
}

.cta-mascot svg {
  width: 100%;
  height: 100%;
}

.cta-text {
  flex: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.cta-divider {
  width: 1.5px;
  height: 54px;
  background-color: #E7DFDC;
  flex-shrink: 0;
}

.btn-cta-large {
  padding: 17px 36px;
  font-size: 1.05rem;
  min-width: 265px;
}

/* ==================== FOOTER & BOTTOM WAVES ==================== */
.site-footer {
  position: relative;
  margin-top: auto;
  padding: 58px 0 24px;
  overflow: hidden;
}

.footer-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.footer-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--navy-soft);
}

.footer-address strong {
  color: var(--navy);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  font-weight: 700;
}

.footer-links a {
  color: var(--navy);
  transition: color 0.22s ease;
}

.footer-links a:hover {
  color: var(--coral);
}

/* ==================== MODAL (BIO & SERVICES) ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(19, 43, 71, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.25s ease;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 30px;
  padding: 32px 30px 28px;
  box-shadow: 0 28px 60px rgba(19, 43, 71, 0.22);
  animation: modalPop 0.34s var(--ease-bounce);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F4F7FA;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.22s ease, transform 0.25s var(--ease-bounce);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close:hover {
  background: var(--coral-soft);
  color: var(--coral);
  transform: rotate(90deg);
}

.modal-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--navy);
  margin-bottom: 14px;
  padding-right: 34px;
}

.modal-content {
  font-size: 0.96rem;
  color: var(--navy-soft);
  line-height: 1.65;
}

.modal-content p + p {
  margin-top: 12px;
}

.modal-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: 14px;
}

.modal-tag-list li {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: #F4F8FC;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
}

.modal-timeline {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-timeline li {
  padding: 9px 14px;
  border-radius: 14px;
  background: #F8FAFD;
  font-size: 0.88rem;
}

.modal-timeline strong {
  color: var(--navy);
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

/* ==================== KEYFRAMES ==================== */
@keyframes sparkleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(4deg);
  }
}

@keyframes gentleBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes heartPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-16deg); }
  40% { transform: rotate(16deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(10deg); }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==================== TABLET ADJUSTMENTS ==================== */
@media (max-width: 960px) {
  .container {
    padding: 0 22px;
  }

  .nav-link {
    padding: 8px 13px;
    font-size: 0.9rem;
  }

  .services-grid {
    gap: 18px;
  }

  .cta-banner {
    padding: 22px 26px;
    gap: 18px;
  }

  .reviews-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reviews-header {
    justify-content: center;
    padding-left: 0;
    width: fit-content;
    margin: 0 auto;
  }

  .doodle-reviews-sparkles {
    position: absolute;
    left: -38px;
    top: 24%;
    margin-right: 0;
  }

  .reviews-title-box {
    text-align: center;
    transform: rotate(-2deg);
    transform-origin: center center;
  }

  .reviews-title-last {
    justify-content: center;
  }

  .reviews-underline {
    margin: 8px auto 0;
  }

  .review-card {
    flex: 0 0 calc((100% - 18px) / 2);
  }

  .carousel-btn--prev {
    left: -10px;
  }

  .carousel-btn--next {
    right: -10px;
  }

  .btn-cta-large {
    min-width: 215px;
    padding: 15px 24px;
  }
}

/* ==================== MOBILE DESIGN (EXACT 1-TO-1 MATCH) ==================== */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  /* Header Mobile: Logo left, Phone circle + Hamburger right */
  .site-header {
    padding: 14px 0;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    padding: 9px 15px;
    font-size: 0.84rem;
    gap: 6px;
  }

  .header-cta .btn-icon {
    width: 16px;
    height: 16px;
  }

  .hamburger-btn {
    display: inline-flex;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    height: 36px;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-sub {
    font-size: 0.72rem;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  /* Hero Mobile: Exact side-by-side layout with full-bleed photo fit */
  .hero {
    padding: 30px 0 64px;
  }

  .hero-top-wave {
    height: 24px;
  }

  .hero-inner {
    position: static;
  }

  .hero-content {
    max-width: 50%;
    padding: 6px 0 12px;
  }

  .hero-title {
    font-size: clamp(1.55rem, 6.4vw, 2.15rem);
    line-height: 1.08;
  }

  .doodle-hero-sparkles {
    width: 30px;
    height: 28px;
    top: -4px;
    right: -28px;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .btn-hero {
    padding: 10px 16px;
    font-size: 0.82rem;
    gap: 6px;
  }

  .btn-hero .btn-arrow {
    width: 15px;
    height: 15px;
  }

  .hero-media {
    width: 58%;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
  }

  .hero-bottom-waves {
    height: 64px;
  }

  /* Services Mobile: 2-Column Vertical Wavy Cards matching Desktop aesthetic */
  .services-section {
    padding: 26px 0 22px;
  }

  .doodle-services-sparkles {
    display: none;
  }

  .services-grid,
  .services-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .service-card {
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    min-height: 0;
    padding-right: 0;
  }

  .service-card:hover,
  .service-card:focus-visible {
    transform: translateY(-5px);
  }

  .service-card__media {
    width: 100%;
    min-width: 0;
    height: 108px;
    border-radius: 0;
  }

  .card-wave {
    display: block;
    height: 22px;
  }

  .service-card__body {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px 40px;
    gap: 8px;
  }

  .service-card__icon {
    width: 38px;
    height: 38px;
  }

  .service-card__icon svg {
    width: 21px;
    height: 21px;
  }

  .service-card__title {
    font-size: 0.94rem;
    line-height: 1.2;
    padding-right: 0;
  }

  .service-card__arrow {
    top: auto;
    bottom: 10px;
    right: 10px;
    transform: none;
    width: 28px;
    height: 28px;
  }

  .service-card__arrow svg {
    width: 14px;
    height: 14px;
  }

  .service-card:hover .service-card__arrow {
    transform: scale(1.1);
  }

  /* Doctor Mobile: Side-by-side 2-column layout matching mobile mockup */
  .doctor-section {
    padding: 28px 0 26px;
  }

  .doctor-inner {
    grid-template-columns: 0.96fr 1.04fr;
    gap: 14px;
    align-items: center;
  }

  .doctor-visual img {
    border-radius: 24px;
  }

  .pill-badge {
    padding: 5px 12px;
    font-size: 0.74rem;
    margin-bottom: 8px;
  }

  .doctor-name {
    font-size: clamp(1.18rem, 4.9vw, 1.55rem);
  }

  .doctor-role {
    font-size: 0.84rem;
    margin-top: 3px;
  }

  .brush-underline {
    width: 116px;
    height: 10px;
    margin-top: 8px;
  }

  .text-link-btn {
    margin-top: 10px;
    font-size: 0.78rem;
  }

  .doodle-heart-wrap {
    display: none;
  }

  .doodle-mobile-doc-sparkles {
    display: block;
    position: absolute;
    top: -6px;
    right: -2px;
    width: 32px;
    height: 28px;
    animation: sparkleFloat 3.6s ease-in-out infinite;
  }

  /* Bottom CTA Mobile: Clean single full-width coral pill button */
  .reviews-section {
    margin: 12px 0 18px;
  }

  .reviews-wave {
    height: 28px;
  }

  .reviews-band {
    padding: 16px 0 20px;
  }

  .reviews-title {
    font-size: 1.55rem;
  }

  .reviews-heart {
    width: 26px;
    height: 24px;
  }

  .reviews-underline {
    width: 126px;
    height: 11px;
  }

  .reviews-carousel {
    padding: 0 14px;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 20px 18px 18px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-btn--prev {
    left: -4px;
  }

  .carousel-btn--next {
    right: -4px;
  }

  .reviews-dots {
    display: flex;
  }

  /* Subpages Mobile Adjustments */
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .blog-grid,
  .reviews-page-grid,
  .article-layout,
  .about-bio-grid,
  .timeline-grid,
  .feature-cards-grid,
  .contact-cards-grid,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 250px;
    border-radius: 20px;
  }

  .gallery-carousel .carousel-btn--prev {
    left: 4px;
  }

  .gallery-carousel .carousel-btn--next {
    right: 4px;
  }

  .article-hero-img {
    height: 220px;
  }

  .sidebar-stack {
    position: static;
  }

  .page-hero {
    padding: 28px 0 60px;
  }

  .map-frame-card,
  .map-frame-card iframe {
    min-height: 300px;
  }

  .cta-section {
    padding: 12px 0 24px;
  }

  .cta-banner {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }

  .cta-mascot,
  .cta-text,
  .cta-divider {
    display: none;
  }

  .btn-cta-large {
    width: 100%;
    min-width: 0;
    padding: 16px 24px;
    font-size: 1.06rem;
    justify-content: center;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 36px 0 18px;
  }

  .footer-inner {
    font-size: 0.76rem;
    gap: 6px;
  }
}

/* ==================== MOBILE FLOATING FROSTED-GLASS PILL NAVBAR ==================== */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 108px;
  }

  .mobile-bottom-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 250;
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr 1fr;
    align-items: center;
    gap: 2px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(165%);
    -webkit-backdrop-filter: blur(20px) saturate(165%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
      0 14px 36px rgba(19, 43, 71, 0.13),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .mobile-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px 2px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #7D8A99;
    transition: transform 0.25s var(--ease-bounce), color 0.22s ease;
  }

  .mobile-bar-btn.is-active,
  .mobile-bar-btn:hover {
    color: var(--navy);
  }

  .mobile-bar-btn:active {
    transform: scale(0.9);
  }

  .mobile-bar-btn__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.28s var(--ease-bounce);
  }

  .mobile-bar-btn:hover .mobile-bar-btn__icon {
    transform: translateY(-2px);
  }

  .mobile-bar-btn__icon svg {
    width: 22px;
    height: 22px;
  }

  /* Center Glowing Coral/Peach Orb CTA Button */
  .mobile-bar-orb {
    width: 54px;
    height: 54px;
    margin: 0 6px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: radial-gradient(circle at 32% 28%, #FFB47B 0%, #F9855E 52%, #F26457 100%);
    box-shadow:
      0 8px 22px rgba(242, 100, 87, 0.42),
      inset 0 2px 6px rgba(255, 255, 255, 0.45);
    transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
  }

  .mobile-bar-orb svg {
    width: 24px;
    height: 24px;
  }

  .mobile-bar-orb:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 26px rgba(242, 100, 87, 0.52);
  }

  .mobile-bar-orb:active {
    transform: scale(0.93);
  }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
