/* ═══════════════════════════════════════════════
   Animal Medical Center — Main Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --blue: #4A90C4;
  --blue-dark: #2E6E9E;
  --blue-deep: #1B4F72;
  --blue-light: #E8F4FC;
  --blue-mid: #85BDE0;
  --text: #1a1a1a;
  --text-sec: #555555;
  --text-muted: #888888;
  --border: #e0e0e0;
  --surface: #f7f9fc;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--surface);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

.df {
  font-family: 'Cormorant Garamond', serif;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
  flex-shrink: 0;
}

.logo img {
  height: 64px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nl {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-sec);
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.nl:hover {
  color: var(--text);
  background: var(--surface);
}

.nl.active {
  color: var(--blue-dark);
  background: var(--blue-light);
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.lang-btn img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  /* hafif köşe */
}

.lang-btn.active img {
  outline: 2px solid var(--blue-mid);
}

.lang-sep {
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
}

.nav-cta {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--blue-dark);
}

/* ── PAGES ── */
.pages {
  flex: 1;
  position: relative;
  overflow: visible;
}

.page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 32px 40px;
  display: none;
}

.page.active {
  display: block;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 10px;
}

.sh2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 14px;
}

.sbody {
  text-align: justify;
  text-justify: inter-word;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 520px;
}

/* ── HOME ── */
#page-home {
  background:
    radial-gradient(ellipse at 85% 12%, rgba(74, 144, 196, 0.14) 0%, transparent 42%),
    radial-gradient(ellipse at 8% 85%, rgba(30, 158, 99, 0.10) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 45%, rgba(255, 255, 255, 0.9) 0%, rgba(232, 244, 252, 0.4) 55%, transparent 100%),
    linear-gradient(135deg, #f7fbfe 0%, #eef6fc 55%, #f7fbfe 100%);
  position: relative;
  overflow: hidden;
}

.home-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.home-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 16px;
}

/* Staggered entrance animation for hero content */
@keyframes homeRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-left > * {
  animation: homeRise 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.home-left > *:nth-child(1) { animation-delay: 0.02s; }
.home-left > *:nth-child(2) { animation-delay: 0.10s; }
.home-left > *:nth-child(3) { animation-delay: 0.18s; }
.home-left > *:nth-child(4) { animation-delay: 0.26s; }
.home-left > *:nth-child(5) { animation-delay: 0.34s; }
.home-left > *:nth-child(6) { animation-delay: 0.42s; }

.photo-split {
  animation: homeRise 0.75s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  animation-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .home-left > *,
  .photo-split {
    animation: none;
  }
}

.h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 58px;
  font-weight: 300;
  line-height: 1.1;
}

.h1 em {
  font-style: italic;
  color: var(--blue);
}

.sub {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.8;
  max-width: 460px;
}

.btns {
  display: flex;
  gap: 10px;
}

.bp {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 5px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.bp:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 144, 196, 0.35);
}

.bg {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 26px;
  border-radius: 5px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
}

.bg:hover {
  background: var(--surface);
  border-color: var(--blue-mid);
  transform: translateY(-2px);
}

.stats {
  display: flex;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.stats > div {
  transition: transform 0.2s ease;
}

.stats > div:hover {
  transform: translateY(-3px);
}

.stats > div:hover .sn {
  color: var(--blue-dark);
}

.sn {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sl {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── CLINIC INFO ── */
.clinic-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--blue-light);
  border-radius: 10px;
  padding: 18px 20px;
  border: 1px solid #C8E4F5;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.ci-item:hover {
  transform: translateX(3px);
}

.ci-icon {
  color: var(--blue-dark);
  font-size: 18px;
  width: 22px;
  flex-shrink: 0;
}

.ci-item:last-child .ci-icon {
  color: #D8477E;
  animation: ciPulse 2s ease-in-out infinite;
}

@keyframes ciPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ci-item:last-child .ci-icon {
    animation: none;
  }
}

.ci-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}

.ci-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* ── WHY AMC ── */
.why-amc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.why-item:hover {
  transform: translateY(-3px);
  border-color: var(--blue-mid);
  box-shadow: 0 10px 24px rgba(74, 144, 196, 0.14);
}

.why-icon {
  color: var(--blue);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.why-item:hover .why-icon {
  transform: scale(1.15);
}

.why-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sec);
  line-height: 1.4;
}

/* ── PHOTO SPLIT ── */
.photo-split {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  align-self: start;
  /* kritik: grid içinde uzamasın */
  position: sticky;
  top: 0;
}

.photo-panel {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.photo-panel img {
  width: 100%;
  aspect-ratio: 8 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

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

.photo-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to top, rgba(27, 79, 114, 0.7), transparent);
  pointer-events: none;
}

.photo-label {
  position: absolute;
  bottom: 10px;
  left: 14px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

/* ── ABOUT ── */
#page-about {
  background:
    radial-gradient(ellipse at 78% 30%, rgba(216, 71, 142, 0.10) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 75%, rgba(30, 158, 99, 0.10) 0%, transparent 45%),
    radial-gradient(ellipse at 72% 42%, rgba(255, 255, 255, 0.95) 0%, rgba(232, 244, 252, 0.55) 48%, rgba(214, 234, 248, 0.35) 100%),
    linear-gradient(135deg, #f4f9fd 0%, #e8f4fc 55%, #f7fbfe 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 170px);
}

.about-content {
  max-width: 620px;
  padding: 8px 0 24px;
}

.about-title {
  font-size: 42px;
  font-weight: 400;
  color: var(--blue-deep);
  line-height: 1.12;
  margin-bottom: 22px;
  max-width: 560px;
  position: relative;
  padding-bottom: 18px;
}

.about-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #4A90C4, #D8478E);
}

.about-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--blue-deep);
  font-weight: 500;
  margin-bottom: 28px;
  max-width: 560px;
}

.about-body {
  max-width: none;
  margin-bottom: 0;
  font-size: 13.5px;
  line-height: 1.82;
  color: #5b6673;
}

.about-body:last-child {
  margin-bottom: 0;
}

/* ── About: stat chips ── */
.about-stats-row {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(27, 79, 114, 0.06);
}

.as-num {
  font-size: 22px;
  font-weight: 600;
}

.as-lbl {
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 500;
}

.about-stat.as1 {
  border-top: 3px solid #4A90C4;
}

.about-stat.as1 .as-num {
  color: #2E6E9E;
}

.about-stat.as2 {
  border-top: 3px solid #D64545;
}

.about-stat.as2 .as-num {
  color: #D64545;
}

.about-stat.as3 {
  border-top: 3px solid #1E9E63;
}

.about-stat.as3 .as-num {
  color: #1E9E63;
}

/* ── About: highlight blocks ── */
.about-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 16px 18px 16px 16px;
  border-radius: 10px;
  border-left: 3px solid transparent;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease, transform 0.2s ease;
}

.about-block:hover {
  background: #fff;
  transform: translateX(3px);
}

.about-block:last-child {
  margin-bottom: 0;
}

.ab-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-block.ab1 {
  border-left-color: #4A90C4;
}

.about-block.ab1 .ab-icon {
  background: #E8F4FC;
  color: #2E6E9E;
}

.about-block.ab2 {
  border-left-color: #1B98A8;
}

.about-block.ab2 .ab-icon {
  background: #E6F6F8;
  color: #1B98A8;
}

.about-block.ab3 {
  border-left-color: #D8478E;
}

.about-block.ab3 .ab-icon {
  background: #FDEAF3;
  color: #D8478E;
}

.about-block.ab4 {
  border-left-color: #7A4FCC;
}

.about-block.ab4 .ab-icon {
  background: #F1EAFB;
  color: #7A4FCC;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 12px 0;
  position: relative;
}

.about-visual::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 144, 196, 0.20), rgba(216, 71, 142, 0.16));
  filter: blur(10px);
  z-index: 0;
  animation: aboutBlobFloat 7s ease-in-out infinite;
}

.about-visual::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  background: linear-gradient(135deg, rgba(30, 158, 99, 0.16), rgba(122, 79, 204, 0.14));
  right: 8%;
  bottom: 6%;
  z-index: 0;
  animation: aboutBlobFloat 9s ease-in-out infinite reverse;
}

@keyframes aboutBlobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(10px, -14px) scale(1.05);
  }
}

.about-art {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 22px 34px rgba(27, 79, 114, 0.22));
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.about-visual:hover .about-art {
  transform: rotate(0deg) scale(1.02);
}

/* ── SERVICES ── */
.services-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.badge-24 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(27, 79, 114, 0.22);
}

.badge-24-num {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
}

.badge-24-label {
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
  text-align: center;
  padding: 0 10px;
}

.service-group {
  margin-top: 34px;
}

.group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--blue-deep);
  white-space: nowrap;
  position: relative;
  padding-left: 14px;
}

.group-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #85BDE0);
}

.group-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, var(--border), transparent);
}

.sgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.sc {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.sc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sc:hover {
  box-shadow: 0 14px 32px rgba(27, 79, 114, 0.14);
  transform: translateY(-5px);
  border-color: var(--blue-mid);
}

.sc:hover::before {
  opacity: 1;
  height: 4px;
}

.sc::before {
  transition: opacity 0.2s ease, height 0.2s ease;
}

.sci {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  font-size: 21px;
  margin-bottom: 14px;
  transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.sc:hover .sci {
  background: var(--blue);
  color: #fff;
  transform: scale(1.12) rotate(-6deg);
}

/* ── Colorful service icons ── */
.sc.c1 .sci {
  background: #E8F4FC;
  color: #2E6E9E;
}

.sc.c2 .sci {
  background: #E6F7EF;
  color: #1E9E63;
}

.sc.c3 .sci {
  background: #FDEAEA;
  color: #D64545;
}

.sc.c4 .sci {
  background: #F1EAFB;
  color: #7A4FCC;
}

.sc.c5 .sci {
  background: #FDEAF3;
  color: #D8478E;
}

.sc.c6 .sci {
  background: #E6F6F8;
  color: #1B98A8;
}

.sc.c7 .sci {
  background: #EFF1FB;
  color: #4C5FD6;
}

.sc.c8 .sci {
  background: #FFF3E0;
  color: #D98A1B;
}

.sc.c9 .sci {
  background: #FCEAF6;
  color: #C43B9E;
}

.sc.c10 .sci {
  background: #EAF7E9;
  color: #4E9E3A;
}

.sc.c1::before {
  background: linear-gradient(90deg, #4A90C4, #85BDE0);
}

.sc.c2::before {
  background: linear-gradient(90deg, #1E9E63, #6FD9A3);
}

.sc.c3::before {
  background: linear-gradient(90deg, #D64545, #F0908F);
}

.sc.c4::before {
  background: linear-gradient(90deg, #7A4FCC, #B79CEB);
}

.sc.c5::before {
  background: linear-gradient(90deg, #D8478E, #F0A0C6);
}

.sc.c6::before {
  background: linear-gradient(90deg, #1B98A8, #7FD4DE);
}

.sc.c7::before {
  background: linear-gradient(90deg, #4C5FD6, #A5AEF0);
}

.sc.c8::before {
  background: linear-gradient(90deg, #D98A1B, #F5C57D);
}

.sc.c9::before {
  background: linear-gradient(90deg, #C43B9E, #ECA0D8);
}

.sc.c10::before {
  background: linear-gradient(90deg, #4E9E3A, #A3D98F);
}

.sc.c1:hover .sci {
  background: #4A90C4;
  color: #fff;
  box-shadow: 0 6px 14px rgba(74, 144, 196, 0.35);
}

.sc.c2:hover .sci {
  background: #1E9E63;
  color: #fff;
  box-shadow: 0 6px 14px rgba(30, 158, 99, 0.35);
}

.sc.c3:hover .sci {
  background: #D64545;
  color: #fff;
  box-shadow: 0 6px 14px rgba(214, 69, 69, 0.35);
}

.sc.c4:hover .sci {
  background: #7A4FCC;
  color: #fff;
  box-shadow: 0 6px 14px rgba(122, 79, 204, 0.35);
}

.sc.c5:hover .sci {
  background: #D8478E;
  color: #fff;
  box-shadow: 0 6px 14px rgba(216, 71, 142, 0.35);
}

.sc.c6:hover .sci {
  background: #1B98A8;
  color: #fff;
  box-shadow: 0 6px 14px rgba(27, 152, 168, 0.35);
}

.sc.c7:hover .sci {
  background: #4C5FD6;
  color: #fff;
  box-shadow: 0 6px 14px rgba(76, 95, 214, 0.35);
}

.sc.c8:hover .sci {
  background: #D98A1B;
  color: #fff;
  box-shadow: 0 6px 14px rgba(217, 138, 27, 0.35);
}

.sc.c9:hover .sci {
  background: #C43B9E;
  color: #fff;
  box-shadow: 0 6px 14px rgba(196, 59, 158, 0.35);
}

.sc.c10:hover .sci {
  background: #4E9E3A;
  color: #fff;
  box-shadow: 0 6px 14px rgba(78, 158, 58, 0.35);
}

.sct {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
}

.scb {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ── EQUIPMENT ── */
.egrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.ec {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: default;
}

.eq-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
  cursor: zoom-in;
}

.eq-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.ec:hover .eq-photo img {
  transform: scale(1.04);
}

.ec>div:last-child {
  padding: 16px;
}

.etag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 10px;
  padding: 2px 9px;
  border-radius: 3px;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
  font-weight: 500;
}

.en {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
}

.ed {
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ── TEAM ── */
.tgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.tc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.tav {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.tav img {
  width: 100%;
  height: calc(100% + 80px);
  object-fit: cover;
  object-position: center top;
}

.tc:hover .tav img {
  transform: scale(1.03);
}

.ti2 {
  padding: 16px;
}

.tn {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 500;
}

.tr {
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.07em;
  font-weight: 500;
  margin-bottom: 7px;
}

.tb {
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.65;
}

.ttag {
  display: inline-block;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 8px;
  margin-right: 3px;
  border: 1px solid var(--border);
}

/* ── CONTACT ── */
.cgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 28px;
}

.citem {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.cicon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  color: var(--blue-dark);
}

.cl {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 3px;
}

.cv {
  font-size: 14px;
  line-height: 1.55;
}

.cform {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.cft {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 18px;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.ff {
  margin-bottom: 12px;
}

.ff label {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 5px;
  letter-spacing: 0.04em;
}

.ff input,
.ff select,
.ff textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 10px 13px;
  color: var(--text);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.15s;
}

.ff input:focus,
.ff select:focus,
.ff textarea:focus {
  border-color: var(--blue);
}

.ff textarea {
  height: 80px;
  resize: none;
}

.fsub {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.15s;
}

.fsub:hover {
  background: var(--blue-dark);
}

/* ── FOOTER ── */
footer {
  padding: 14px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  flex-shrink: 0;
}

.flogo img {
  height: 40px;
  width: auto;
}

.fcopy {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {

  * {
    box-sizing: border-box;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    overflow-x: clip;
  }

  /* NAV */
  nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "logo lang cta"
      "links links links";
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
  }

  .logo {
    grid-area: logo;
  }

  .logo img {
    height: 54px;
  }

  /* Randevu butonu sağ üst */
  .nav-cta {
    grid-area: cta;
    justify-self: end;
    padding: 10px 12px;
    font-size: 11px;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Menü */
  .nav-links {
    grid-area: links;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .nl {
    width: 100%;
    min-width: 0;
    text-align: center;
    padding: 10px 6px;
    font-size: 12px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    overflow: hidden;
    word-break: break-word;
  }

  /* Dil seçici */
  .nav-right {
    display: contents;
  }

  .lang-switch {
    grid-area: lang;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-self: end;
  }

  .lang-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .lang-btn img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
  }

  .lang-btn.active img {
    outline: 2px solid var(--blue-mid);
  }

  /* Sayfa */
  .page {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
    overflow-x: hidden;
    overflow-y: visible;
  }

  /* Tek kolon */
  .home-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .photo-split {
    position: static;
  }

  .h1 {
    font-size: 38px;
    line-height: 1.15;
  }

  .sh2,
  .about-title {
    font-size: 30px;
  }

  .btns {
    flex-direction: column;
  }

  .bp,
  .bg {
    width: 100%;
  }

  .stats {
    justify-content: space-between;
    gap: 12px;
  }

  .why-grid,
  .sgrid,
  .egrid,
  .tgrid,
  .cgrid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .home-grid>*,
  .about-grid>*,
  .why-grid>*,
  .sgrid>*,
  .egrid>*,
  .tgrid>*,
  .cgrid>* {
    min-width: 0;
    max-width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.map-wrap {
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  width: 100%;
  max-width: 100%;
}

.map-wrap iframe {
  display: block;
  width: 100% !important;
  height: 320px !important;   /* masaüstü için sabit yükseklik */
  border: 0;
}

@media (max-width: 768px) {
  .map-wrap iframe {
    height: 260px !important;  /* mobil */
  }
}

.cgrid {
  align-items: start;
}

.contact-form-card {
  align-self: start;
  height: auto;
  background: inherit; /* .cc'nin beyaz arka planını koru */
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  align-self: start;
  height: auto;
}

.phone-link{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:10px 16px;

    border-radius:999px;

    color:#15803D;
    background:#ECFDF3;
    border:1px solid #BBF7D0;

    text-decoration:none;
    transition:.25s;
}

.phone-link:hover{
    background:#22C55E;
    color:#fff;
    border-color:#22C55E;
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(34,197,94,.22);
}

.phone-link i{
    font-size:16px;
}

@media (max-width:768px){

.phone-link{
    padding:6px 12px;
    border-radius:999px;
    background:#ECFDF3;
    border:1px solid #BBF7D0;
}

}

.form-status{
    margin-top:14px;
    text-align:center;
    font-weight:600;
    min-height:24px;
}

.form-status.success{
    color:#2ea44f;
}

.form-status.error{
    color:#e53935;
}