/* İletişim / SSS hero highlight boxes */

.page-hero--with-highlights {
  height: var(--page-hero-height);
  min-height: var(--page-hero-height);
  max-height: var(--page-hero-height);
  padding: clamp(72px, 8vw, 96px) 0 clamp(64px, 8vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.page-hero--iletisim.page-hero--with-highlights,
.page-hero--sss.page-hero--with-highlights {
  padding: clamp(72px, 8vw, 96px) 0 clamp(64px, 8vw, 88px);
  gap: 0;
  justify-content: center;
  align-items: center;
}

/* İletişim / SSS hero yüksekliği — canlı ile aynı: görsel tüm hero alanını kaplar */
.page-hero--iletisim.page-hero--with-highlights picture.page-hero-bg-picture,
.page-hero--sss.page-hero--with-highlights picture.page-hero-bg-picture {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.page-hero--iletisim.page-hero--with-highlights::before,
.page-hero--sss.page-hero--with-highlights::before,
.page-hero--egitim.page-hero--photo::before,
.page-hero--hakkimizda.page-hero--photo::before,
.page-hero--sinav.page-hero--photo::before,
.page-hero--seviye.page-hero--photo::before,
.page-hero--yorumlar.page-hero--photo::before {
  inset: 0;
  height: 100%;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.08) 55%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
}

.page-hero--iletisim::before {
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0.12) 100%
  ) !important;
}

.page-hero--iletisim.page-hero--with-highlights,
.page-hero--sss.page-hero--with-highlights {
  height: var(--page-hero-height);
  min-height: var(--page-hero-height);
  max-height: var(--page-hero-height);
  overflow: hidden;
  border-bottom: none;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.page-hero--iletisim.page-hero--with-highlights::after,
.page-hero--sss.page-hero--with-highlights::after {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
}

.page-hero--iletisim:not(.page-hero--motion):not(.page-hero--scroll-pan) > .page-hero-bg,
.page-hero--iletisim:not(.page-hero--motion):not(.page-hero--scroll-pan) .page-hero-bg,
.page-hero--iletisim.page-hero--motion-sharp:not(.page-hero--scroll-pan) > .page-hero-bg,
.page-hero--iletisim.page-hero--motion-sharp:not(.page-hero--scroll-pan) .page-hero-bg,
.page-hero--sss:not(.page-hero--motion):not(.page-hero--scroll-pan) > .page-hero-bg,
.page-hero--sss:not(.page-hero--motion):not(.page-hero--scroll-pan) .page-hero-bg,
.page-hero--sss.page-hero--motion-sharp:not(.page-hero--scroll-pan) > .page-hero-bg,
.page-hero--sss.page-hero--motion-sharp:not(.page-hero--scroll-pan) .page-hero-bg {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  will-change: auto !important;
  filter: none !important;
  object-fit: cover !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.page-hero--sss.page-hero--motion-sharp:not(.page-hero--scroll-pan) .page-hero-bg {
  object-position: center 70% !important;
}

.page-hero--sss.page-hero--scroll-pan.page-hero--scroll-pan-cover picture.page-hero-bg-picture img.page-hero-bg,
.page-hero--responsive-hq.page-hero--scroll-pan.page-hero--scroll-pan-cover.page-hero--motion-sharp.page-hero--sss picture.page-hero-bg-picture img.page-hero-bg {
  object-position: var(--hero-pan-x, center) calc(var(--hero-pan-y, 70%) + var(--hero-pan-y-offset, 0px)) !important;
}

.page-hero--sss.page-hero--scroll-pan:not(.page-hero--scroll-pan-cover) picture.page-hero-bg-picture img.page-hero-bg,
.page-hero--responsive-hq.page-hero--scroll-pan:not(.page-hero--scroll-pan-cover).page-hero--motion-sharp.page-hero--sss picture.page-hero-bg-picture img.page-hero-bg {
  object-position: center 70% !important;
}

.page-hero--sinav.page-hero--motion-sharp:not(.page-hero--scroll-pan) .page-hero-bg {
  object-position: center 58% !important;
}

.page-hero--iletisim.page-hero--motion-sharp:not(.page-hero--scroll-pan) .page-hero-bg {
  object-position: center calc(58% + var(--hero-pan-y-offset, 0px)) !important;
}

.page-hero--iletisim.page-hero--scroll-pan.page-hero--scroll-pan-cover picture.page-hero-bg-picture img.page-hero-bg,
.page-hero--responsive-hq.page-hero--scroll-pan.page-hero--scroll-pan-cover.page-hero--motion-sharp.page-hero--iletisim picture.page-hero-bg-picture img.page-hero-bg {
  object-position: var(--hero-pan-x, center) calc(var(--hero-pan-y, 58%) + var(--hero-pan-y-offset, 0px)) !important;
}

.page-hero--hakkimizda.page-hero--motion-sharp:not(.page-hero--scroll-pan) .page-hero-bg {
  object-position: center 42% !important;
}

.page-hero--egitim.page-hero--motion-sharp:not(.page-hero--scroll-pan) .page-hero-bg {
  object-position: center calc(0% + var(--hero-pan-y-offset, 72px)) !important;
}

.page-hero--egitim.page-hero--scroll-pan.page-hero--scroll-pan-cover picture.page-hero-bg-picture img.page-hero-bg,
.page-hero--responsive-hq.page-hero--scroll-pan.page-hero--scroll-pan-cover.page-hero--motion-sharp.page-hero--egitim picture.page-hero-bg-picture img.page-hero-bg {
  object-position: var(--hero-pan-x, center) calc(var(--hero-pan-y, 0%) + var(--hero-pan-y-offset, 72px)) !important;
}

.page-hero--motion.page-hero--iletisim > .page-hero-bg:not(img),
.page-hero--motion.page-hero--iletisim .page-hero-bg:not(img),
.page-hero--motion.page-hero--sss > .page-hero-bg:not(img),
.page-hero--motion.page-hero--sss .page-hero-bg:not(img),
.page-hero--motion.page-hero--sinav > .page-hero-bg:not(img),
.page-hero--motion.page-hero--sinav .page-hero-bg:not(img) {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  will-change: auto !important;
  overflow: hidden !important;
  background-image: none !important;
}

.page-hero--motion:not(.page-hero--motion-sharp) img.page-hero-bg.page-hero-bg--motion-img:not(.page-hero-bg--tall-img) {
  opacity: 1 !important;
  transform-origin: center top !important;
  animation: none !important;
  will-change: auto !important;
}

.page-hero--motion-sharp:not(.page-hero--scroll-pan) img.page-hero-bg,
.page-hero--responsive-hq.page-hero--motion-sharp:not(.page-hero--scroll-pan) img.page-hero-bg {
  animation: none !important;
  transform: none !important;
  will-change: auto !important;
  opacity: 1 !important;
  height: 100% !important;
}

.page-hero--motion:not(.page-hero--motion-sharp) img.page-hero-bg.page-hero-bg--tall-img {
  animation: none !important;
  will-change: auto !important;
}

.page-hero--motion-sharp img.page-hero-bg.page-hero-bg--tall-img {
  animation: none !important;
  transform: none !important;
  will-change: auto !important;
  height: 100% !important;
}

.page-hero--motion .page-hero-bg-slide {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  will-change: auto !important;
}

.page-hero--motion .page-hero-bg-slide--tall {
  background-size: cover !important;
  background-position: center 0% !important;
  transform: none !important;
  animation: none !important;
  will-change: auto !important;
}

.page-hero-highlight-head,
.page-hero-iletisim-head {
  position: relative;
  z-index: 3;
  order: 1;
  flex: 0 0 auto;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  transform: none;
}

/* Hakkımızda ile aynı dikey orta — geçişlerde yazı hizası korunur */
.page-hero--iletisim.page-hero--with-highlights .page-hero-highlight-head,
.page-hero--sss.page-hero--with-highlights .page-hero-highlight-head {
  margin: 0 auto;
  align-self: center;
}

.page-hero--iletisim .page-hero-kicker,
.page-hero--sss .page-hero-kicker,
.page-hero--iletisim h1,
.page-hero--iletisim .page-hero-lead,
.page-hero--sss h1,
.page-hero--sss .page-hero-lead {
  text-shadow: var(--hero-text-hairline), var(--hero-text-depth);
}

/* SSS / İletişim — diğer foto bannerlarla aynı yazı tipi, punto ve konum */
.page-hero--with-highlights .page-hero-highlight-head h1,
.page-hero--sss.page-hero--photo h1,
.page-hero--iletisim.page-hero--photo h1 {
  font-size: var(--banner-title-size);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 14px;
}

.page-hero--with-highlights .page-hero-highlight-head .page-hero-lead,
.page-hero--sss.page-hero--photo .page-hero-lead {
  font-size: var(--banner-lead-size);
  font-weight: 400;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
  opacity: 0.9;
}

.page-hero--iletisim.page-hero--photo .page-hero-lead {
  font-size: clamp(1.15rem, 1.45vw, 1.28rem);
  font-weight: 400;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
  opacity: 0.92;
}

.contact-highlights {
  position: relative;
  overflow: hidden;
  padding: 28px 0 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--black) 0%, #3d1520 42%, var(--red) 100%);
}

.contact-highlights--hero {
  --hero-highlight-card-bg: rgba(255, 255, 255, 0.03);
  --hero-highlight-card-border: rgba(255, 255, 255, 0.12);
  --hero-highlight-icon-bg: rgba(255, 255, 255, 0.05);
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(50px, calc(2.4vw + 32px), 62px);
  order: 2;
  flex: 0 0 auto;
  z-index: 4;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  transform: none;
}

.page-hero--iletisim.page-hero--with-highlights .contact-highlights--hero,
.page-hero--sss.page-hero--with-highlights .contact-highlights--hero {
  margin-top: 0;
}

.contact-highlights--hero::before,
.contact-highlights--hero::after {
  display: none;
}

.contact-highlights--hero .contact-highlights-inner {
  width: min(1240px, 96%);
  max-width: none;
  padding: 0;
  margin: 0 auto;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.contact-highlights--hero .contact-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.contact-highlights--hero .contact-highlight-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  row-gap: 0;
  background: var(--hero-highlight-card-bg);
  border: 1px solid var(--hero-highlight-card-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  min-height: 86px;
  padding: 14px 16px;
  border-radius: 14px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.contact-highlights--hero .contact-highlight-icon {
  grid-column: 1;
  grid-row: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--hero-highlight-icon-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.contact-highlights--hero .contact-highlight-text {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.contact-highlights--hero .contact-highlight-icon svg {
  width: 24px;
  height: 24px;
}

.contact-highlights--hero .contact-highlight-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  text-shadow: var(--hero-text-hairline), var(--hero-text-depth);
}

.contact-highlights--hero .contact-highlight-label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  line-height: 1.35;
  text-shadow: var(--hero-text-hairline), var(--hero-text-depth);
}

.contact-highlights::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 206, 0, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.contact-highlights::after {
  content: "";
  position: absolute;
  bottom: -55%;
  left: -6%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.contact-highlights-inner {
  position: relative;
  z-index: 1;
}

.contact-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-highlight-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact-highlight-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
}

.contact-highlight-icon svg {
  width: 22px;
  height: 22px;
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
}

.contact-highlight-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-highlight-value {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.contact-highlight-label {
  font-size: 0.82rem;
  line-height: 1.35;
  opacity: 0.88;
}

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

@media (min-width: 769px) {
  .page-hero--with-highlights {
    height: var(--page-hero-height);
    min-height: var(--page-hero-height);
    max-height: var(--page-hero-height);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
      "hero-head"
      "hero-highlights";
    align-items: stretch;
    justify-items: stretch;
    padding: clamp(56px, 7vw, 84px) 0 clamp(24px, 3vw, 36px);
    gap: clamp(12px, 2vw, 20px);
  }

  .page-hero--iletisim.page-hero--with-highlights,
  .page-hero--sss.page-hero--with-highlights {
    padding: clamp(56px, 7vw, 84px) 0 clamp(24px, 3vw, 36px);
    gap: clamp(12px, 2vw, 20px);
    justify-content: stretch;
    align-items: stretch;
  }

  .page-hero--iletisim .page-hero-lead,
  .page-hero--sss .page-hero-lead {
    display: block;
  }

  .page-hero--iletisim.page-hero--with-highlights .page-hero-highlight-head,
  .page-hero--sss.page-hero--with-highlights .page-hero-highlight-head {
    grid-area: hero-head;
    align-self: center;
    justify-self: center;
    margin: 0 auto;
    order: unset;
  }

  .contact-highlights--hero {
    position: static;
    grid-area: hero-highlights;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    transform: none;
    order: unset;
  }

  .page-hero--iletisim.page-hero--with-highlights .contact-highlights--hero,
  .page-hero--sss.page-hero--with-highlights .contact-highlights--hero {
    margin-top: 0;
  }

  .contact-highlights--hero .contact-highlights-inner {
    width: min(1240px, 96%);
    margin: 0 auto;
    padding: 0;
  }

  .contact-highlights--hero .contact-highlights-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(12px, 1.4vw, 16px);
    width: 100%;
  }

  .contact-highlights--hero .contact-highlight-card {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    align-items: center;
    column-gap: 12px;
    min-height: 72px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .contact-highlights--hero .contact-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .contact-highlights--hero .contact-highlight-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-highlights--hero .contact-highlight-value {
    font-size: 1.4rem;
    line-height: 1.15;
  }

  .contact-highlights--hero .contact-highlight-label {
    font-size: 0.84rem;
    line-height: 1.35;
  }
}

@media (max-width: 768px) {
  .contact-highlights:not(.contact-highlights--hero) .contact-highlights-grid {
    grid-template-columns: 1fr !important;
  }

  .page-hero--with-highlights {
    height: var(--page-hero-height-mobile);
    min-height: var(--page-hero-height-mobile);
    max-height: var(--page-hero-height-mobile);
    padding: 56px 0 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .page-hero--iletisim.page-hero--with-highlights,
  .page-hero--sss.page-hero--with-highlights {
    height: var(--page-hero-height-mobile);
    min-height: var(--page-hero-height-mobile);
    max-height: var(--page-hero-height-mobile);
    padding: 56px 0 64px;
    gap: 0;
    justify-content: center;
    align-items: center;
  }

  .page-hero--iletisim > .page-hero-bg,
  .page-hero--iletisim .page-hero-bg,
  .page-hero--sss > .page-hero-bg,
  .page-hero--sss .page-hero-bg {
    bottom: 0 !important;
    height: 100% !important;
  }

  .page-hero--iletisim.page-hero--with-highlights::before,
  .page-hero--sss.page-hero--with-highlights::before {
    bottom: 0;
    height: 100%;
  }

  .page-hero--iletisim.page-hero--with-highlights::after,
  .page-hero--sss.page-hero--with-highlights::after {
    display: none !important;
    content: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  .page-hero-highlight-head {
    position: relative;
    z-index: 3;
    margin: 0 auto;
    order: 1;
    transform: none;
  }

  .page-hero--iletisim .page-hero-lead,
  .page-hero--sss .page-hero-lead {
    display: none !important;
  }

  .contact-highlights--hero {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 44px;
    order: 2;
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    transform: none;
  }

  .page-hero--iletisim.page-hero--with-highlights .contact-highlights--hero,
  .page-hero--sss.page-hero--with-highlights .contact-highlights--hero {
    margin-top: 0;
  }

  .contact-highlights--hero .contact-highlights-inner {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: calc(100% - 20px);
  }

  .contact-highlights--hero .contact-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .contact-highlights--hero .contact-highlight-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    column-gap: 9px;
    row-gap: 0;
    background: var(--hero-highlight-card-bg);
    border: 1px solid var(--hero-highlight-card-border);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    min-height: 60px;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .contact-highlights--hero .contact-highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .contact-highlights--hero .contact-highlight-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-highlights--hero .contact-highlight-text {
    align-items: flex-start;
    text-align: left;
  }

  .contact-highlights--hero .contact-highlight-value {
    font-size: 1.12rem;
  }

  .contact-highlights--hero .contact-highlight-label {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .contact-highlight-card {
    min-height: 0;
  }
}

/* Contact hero layout — reference: ingilizcekursu.com hero */
.page-hero--with-highlights + .contact-page,
.page-hero--with-highlights + .faq.page-content {
  position: relative;
  margin-top: calc(-1 * var(--banner-content-overlap));
  padding-top: clamp(28px, 4vw, 40px);
  z-index: 1;
  border-top: none;
  box-shadow: none;
}

.page-hero--with-highlights + .contact-page::after,
.page-hero--with-highlights + .faq.page-content::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  background: none !important;
}

.page-hero--with-highlights + .contact-page::before,
.page-hero--with-highlights + .faq.page-content::before {
  display: none !important;
  content: none !important;
  height: 0 !important;
}

.contact-page {
  background: #ffffff;
  background-image: none;
  overflow: visible;
  padding: clamp(28px, 4vw, 40px) 0 clamp(40px, 5vw, 56px);
}

.page-hero--with-highlights + .contact-page,
.page-hero--with-highlights + .faq.page-content:not(.faq--anthracite) {
  background: #ffffff !important;
}

.contact-page.section-has-photo {
  background-color: #ffffff;
}

.page-hero--with-highlights + .faq.page-content {
  padding-top: clamp(44px, 5.5vw, 68px);
}

.faq.page-content:not(.faq--anthracite) {
  background: #ffffff;
  background-image: none;
  overflow: visible;
}

.faq.page-content.section-has-photo {
  background-color: #ffffff;
}

.contact-panel-box {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  padding: clamp(16px, 2.5vw, 28px) clamp(20px, 3.5vw, 36px) 6px;
  overflow: visible;
  isolation: isolate;
}

.contact-whatsapp-outer {
  margin-top: 25px;
}

.contact-whatsapp-outer .contact-whatsapp-box {
  margin: 0;
  grid-column: auto;
  border-radius: 14px;
}

.contact-hero-layout {
  --contact-badge-offset: calc(14px + 16px + 0.82rem * 1.35);
  --contact-portal-offset: calc(var(--contact-badge-offset) + 14px);
  --contact-portal-span: calc(
    clamp(1.75rem, 3.2vw, 2.35rem) * 1.2 + 12px +
    0.95rem * 1.65 * 2.75 + 18px +
    3 * (20px + 0.72rem * 1.2 + 4px + 0.92rem * 1.2) + 304px
  );
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 1.15fr) minmax(300px, 400px);
  gap: 8px 28px;
  align-items: start;
  padding: 0;
  position: relative;
  overflow: visible;
  z-index: 0;
}

.contact-hero-copy {
  position: relative;
  z-index: 2;
  padding-right: 8px;
  align-self: start;
  margin-top: 0;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
}

.contact-hero-badge svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
}

.contact-hero-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 12px;
}

.contact-hero-copy > p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #6b7280;
  margin-bottom: 18px;
  max-width: 420px;
}

.contact-hero-copy .contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-hero-copy .contact-details li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.contact-hero-copy .contact-details li:last-child {
  border-bottom: none;
}

.contact-hero-copy .contact-details strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 4px;
}

.contact-hero-copy .contact-details span,
.contact-hero-copy .contact-details a {
  font-size: 0.92rem;
  color: var(--black);
  text-decoration: none;
}

.contact-visual {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  height: auto;
  margin: 0;
  align-self: start;
  overflow: visible;
}

.contact-visual-shape-wrapper {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 0;
  height: auto;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  line-height: 0;
  overflow: visible;
}

.contact-visual-shape--rose {
  position: absolute;
  width: min(88%, 300px);
  height: min(68%, 320px);
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(145deg, #7a3545 0%, var(--red, #5a1f2b) 55%, #3f1520 100%);
  border-radius: 48% 52% 55% 45% / 42% 48% 52% 58%;
  z-index: 0;
  opacity: 0.95;
}

.contact-visual-img {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  max-width: 340px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  user-select: none;
  vertical-align: bottom;
}

.contact-form-card {
  position: relative;
  z-index: 3;
  background: #fff;
  border-radius: 24px;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(15, 23, 42, 0.05);
  border: 1px solid #eef0f3;
  color: var(--black);
  align-self: start;
  margin-bottom: 0;
}

/* Telefon üstü = sol başlık; animasyon ADRES satırına kadar */
.contact-hero-layout > .contact-visual {
  align-self: start;
  margin: 0;
  margin-top: var(--contact-portal-offset);
}

.contact-hero-layout > .contact-form-card {
  align-self: start;
  margin-top: var(--contact-badge-offset);
  margin-bottom: 0;
}

.contact-panel-box .contact-form-card {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid #e8eaee;
}

.contact-form-card h3 {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1f2937;
  margin: 0 0 22px;
}

.contact-form-card .form-group {
  margin-bottom: 14px;
}

.contact-form-card .form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.contact-form-card .form-group label .req {
  color: var(--red);
}

.contact-course-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f3f4f6;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--black);
}

.contact-course-select:focus {
  background: #fff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  outline: none;
}

.contact-course-summary {
  margin: 8px 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #4b5563;
}

.contact-course-summary strong {
  color: var(--red);
  font-weight: 700;
}

.contact-form-card .form-group input {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
}

.contact-form-card .form-group input:focus {
  background: #fff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.contact-form-card .form-row {
  gap: 12px;
}

.contact-form-card .form-checkbox {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #6b7280;
  margin-bottom: 18px;
}

.btn-contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #4f6cf7 0%, #7c5cf6 50%, #a855f7 100%);
  box-shadow: 0 8px 24px rgba(79, 108, 247, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(79, 108, 247, 0.42);
}

.btn-contact-submit-arrow {
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 1100px) {
  .contact-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "copy copy"
      "visual form";
    gap: 32px 24px;
  }

  .contact-hero-copy {
    grid-area: copy;
    padding-right: 0;
    text-align: center;
  }

  .contact-hero-copy > p {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-hero-copy .contact-details {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
  }

  .contact-visual {
    grid-area: visual;
    min-height: 0;
    margin: 0;
    margin-top: var(--contact-portal-offset);
    align-self: start;
    height: auto;
  }

  .contact-visual-shape-wrapper {
    height: auto;
  }

  .contact-visual-img {
    transform: none;
    margin-bottom: 0;
    max-width: 280px;
    width: auto;
    height: auto;
    max-height: none;
  }

  .contact-form-card {
    grid-area: form;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .contact-hero-layout > .contact-form-card {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .contact-hero-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "form";
    gap: 28px;
    padding: 8px 0;
  }

  .contact-panel-box {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .contact-whatsapp-outer .contact-whatsapp-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .contact-whatsapp-outer .btn-whatsapp-contact {
    justify-content: center;
  }

  .contact-hero-copy h2 {
    font-size: 1.55rem;
  }

  .contact-visual {
    min-height: 0;
    align-self: start;
    margin-top: 0;
    height: auto;
  }

  .contact-visual-img {
    max-width: 260px;
    width: auto;
    height: auto;
    max-height: none;
    transform: none;
    margin-bottom: 0;
  }

  .contact-form-card .form-row {
    grid-template-columns: 1fr;
  }
}


/* Orta sütun: kadın görseli yerine profesyonel ağ animasyonu (boyutlar canlı ile aynı) */
.contact-visual-img,
.contact-visual-shape--rose {
  display: none !important;
}

.contact-visual-animation {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  top: -140px;
  width: min(680px, 62vw);
  max-width: 680px;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
  padding: 0;
  transform: translateX(-58%) scale(1.08);
  transform-origin: center bottom;
  pointer-events: none;
}

.contact-net-svg {
  width: 100%;
  height: auto;
  max-height: 560px;
  overflow: visible;
  opacity: 0.9;
}

.contact-net-aura {
  fill: url(#contactNetAuraGrad);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: contact-net-aura-in 1.6s ease-out 0.1s forwards;
}

.contact-net-orbit {
  fill: none;
  stroke: rgba(90, 31, 43, 0.1);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: contact-net-orbit-in 1.4s ease-out forwards;
}

.contact-net-orbit--1 {
  animation-delay: 0.5s;
}

.contact-net-orbit--2 {
  stroke: rgba(212, 175, 55, 0.16);
  animation-delay: 0.7s;
  animation:
    contact-net-orbit-in 1.4s ease-out 0.7s forwards,
    contact-net-orbit-spin 28s linear 2.2s infinite;
}

.contact-net-line {
  stroke: url(#contactNetLineGrad);
  stroke-width: 1.8;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: contact-net-draw 2.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.contact-net-line--arc {
  stroke-width: 1.2;
  stroke: rgba(90, 31, 43, 0.18);
  animation-delay: 1.1s;
}

.contact-net-line--a1 { animation-delay: 1.1s; }
.contact-net-line--a2 { animation-delay: 1.2s; }

.contact-net-line--b1 { animation-delay: 0.25s; }
.contact-net-line--b2 { animation-delay: 0.38s; }
.contact-net-line--b3 { animation-delay: 0.5s; }
.contact-net-line--b4 { animation-delay: 0.62s; }
.contact-net-line--b5 {
  stroke-width: 2.2;
  stroke: rgba(90, 31, 43, 0.35);
  animation-delay: 0.12s;
}

.contact-net-line--pulse {
  stroke: rgba(212, 175, 55, 0.55);
  stroke-width: 1.3;
  opacity: 0;
  stroke-dasharray: 0.06 0.94;
  animation: contact-net-flow 4.5s ease-in-out infinite;
}

.contact-net-line--p1 { animation-delay: 2.4s; }
.contact-net-line--p2 { animation-delay: 3.6s; }

.contact-net-node {
  fill: var(--red, #5a1f2b);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: contact-net-node-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.contact-net-node--hub {
  fill: url(#contactNetHubGrad);
  animation-delay: 0.95s;
}

.contact-net-node--n1 { animation-delay: 1.15s; }
.contact-net-node--n2 { animation-delay: 1.22s; }
.contact-net-node--n3 { animation-delay: 1.3s; }
.contact-net-node--n4 { animation-delay: 1.38s; }
.contact-net-node--n5 { animation-delay: 1.46s; }
.contact-net-node--n6 { animation-delay: 1.54s; }
.contact-net-node--n7 { animation-delay: 1.62s; }

.contact-net-node--hub,
.contact-net-node--n1,
.contact-net-node--n2 {
  animation:
    contact-net-node-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    contact-net-node-float 4s ease-in-out infinite;
}

.contact-net-node--hub { animation-delay: 0.95s, 2s; }
.contact-net-node--n1 { animation-delay: 1.15s, 2.3s; }
.contact-net-node--n2 { animation-delay: 1.22s, 2.6s; }

.contact-net-hub-glow {
  fill: rgba(212, 175, 55, 0.09);
  transform-origin: center;
  transform-box: fill-box;
  opacity: 0;
  animation: contact-net-hub-glow 5.5s ease-in-out 1s infinite;
}

.contact-net-signal {
  fill: #e8c04a;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}

.contact-net-signal--1 {
  offset-path: path("M150 172 C128 148 108 128 86 108");
  animation: contact-net-signal-orbit 6s linear 2.2s infinite;
}

.contact-net-signal--2 {
  offset-path: path("M150 172 C172 148 192 128 214 108");
  animation: contact-net-signal-orbit 6s linear 5.2s infinite reverse;
}

@keyframes contact-net-aura-in {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes contact-net-orbit-in {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes contact-net-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes contact-net-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes contact-net-flow {
  0%, 100% { stroke-dashoffset: 1; opacity: 0; }
  12%, 88% { opacity: 0.7; }
  50% { stroke-dashoffset: 0; opacity: 0.7; }
}

@keyframes contact-net-node-in {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes contact-net-node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes contact-net-hub-glow {
  0%, 100% { opacity: 0.3; transform: scale(0.94); }
  50% { opacity: 0.7; transform: scale(1.06); }
}

@keyframes contact-net-signal-orbit {
  0% { opacity: 0; offset-distance: 0%; transform: scale(0.6); }
  8%, 92% { opacity: 0.9; }
  50% { transform: scale(1); }
  100% { opacity: 0; offset-distance: 100%; transform: scale(0.6); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-net-line,
  .contact-net-line--pulse,
  .contact-net-node,
  .contact-net-orbit,
  .contact-net-aura,
  .contact-net-hub-glow,
  .contact-net-signal {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@media (max-width: 1100px) {
  .contact-visual-shape-wrapper {
    min-height: 260px;
  }

  .contact-visual-animation {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .contact-net-svg {
    max-height: 340px;
    opacity: 0.95;
  }
}

@media (max-width: 640px) {
  .contact-visual-shape-wrapper {
    min-height: 240px;
  }

  .contact-visual-animation {
    max-width: 300px;
  }

  .contact-net-svg {
    max-height: 300px;
  }
}

/* İletişim — çok dilli canlı konuşma portalı (orta sütunu doldurur) */
.contact-language-portal {
  --portal-w: 340;
  --portal-h: 460;
  --portal-phone-radius-x: 14%;
  --portal-phone-radius-y: 6%;
  --portal-corner-x: 6.5%;
  --portal-corner-y: 1.6%;
  --portal-corner-bottom: 8.5%;
  position: relative;
  width: 100%;
  max-width: 340px;
  height: var(--contact-portal-span, calc(340px * 460 / 340));
  min-height: var(--contact-portal-span, calc(340px * 460 / 340));
  aspect-ratio: auto;
  margin: 0 auto;
  isolation: isolate;
  perspective: 900px;
  line-height: normal;
  pointer-events: none;
}

.contact-hero-layout .contact-language-portal {
  height: var(--contact-portal-span);
  min-height: var(--contact-portal-span);
}

.contact-language-portal::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 2%;
  right: 8%;
  bottom: 2%;
  left: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(212, 175, 55, 0.2), transparent 38%),
    radial-gradient(circle at 50% 55%, rgba(90, 31, 43, 0.13), transparent 68%);
  filter: blur(10px);
  animation: language-portal-breathe 5.5s ease-in-out infinite;
}

.language-portal-halo {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 36.1%;
  border-radius: 50%;
  border: 1px solid rgba(90, 31, 43, 0.12);
  transform: translate(-50%, -50%);
}

.language-portal-halo::before,
.language-portal-halo::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.language-portal-halo--one {
  width: 88%;
  height: 94%;
  aspect-ratio: auto;
  border-style: dashed;
  animation: language-portal-spin 24s linear infinite;
}

.language-portal-halo--one::before {
  top: 7%;
  left: 14.4%;
  background: #5a1f2b;
  box-shadow: 0 0 0 7px rgba(90, 31, 43, 0.08);
}

.language-portal-halo--one::after {
  right: 4.5%;
  bottom: 26.5%;
  background: #d4af37;
  box-shadow: 0 0 0 7px rgba(212, 175, 55, 0.1);
}

.language-portal-halo--two {
  width: 76%;
  height: 90%;
  border-color: rgba(212, 175, 55, 0.13);
  transform: translate(-50%, -50%) rotate(20deg);
  animation: language-portal-spin-reverse 32s linear infinite;
}

.language-portal-card {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: 62.4%;
  height: 72.2%;
  padding: 5.3% 4.7% 3.3%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--portal-phone-radius-x) / var(--portal-phone-radius-y);
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 85% 10%, rgba(232, 192, 74, 0.22), transparent 30%),
    radial-gradient(circle at 5% 84%, rgba(154, 74, 88, 0.32), transparent 34%),
    linear-gradient(155deg, #251017 0%, #4b1825 52%, #681d31 100%);
  box-shadow:
    0 30px 55px rgba(46, 14, 22, 0.23),
    0 8px 20px rgba(90, 31, 43, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
  transform-origin: top center;
  animation: language-portal-card-float 6s ease-in-out infinite;
}

.language-portal-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -50%;
  left: -90%;
  width: 55%;
  height: 210%;
  transform: rotate(22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  animation: language-portal-sheen 7s ease-in-out infinite;
}

.language-portal-card::after {
  content: "";
  position: absolute;
  inset: auto 26px 9px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.language-portal-topbar,
.language-portal-switch,
.language-portal-chat,
.language-portal-typing {
  position: relative;
  z-index: 2;
}

.language-portal-wave-stage {
  position: absolute;
  top: 50%;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34%;
  transform: translateY(-50%);
  pointer-events: none;
}

.language-portal-wave {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4%;
  width: 72%;
  height: 100%;
  pointer-events: none;
}

.language-portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5.4%;
}

.language-portal-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(0.52rem, 1.6vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #f4d77d;
}

.language-portal-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b7d;
  box-shadow: 0 0 0 5px rgba(255, 107, 125, 0.12);
  animation: language-portal-live-pulse 1.8s ease-out infinite;
}

.language-portal-brand {
  font-size: clamp(0.56rem, 1.7vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.62);
}

.language-portal-switch {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr;
  align-items: center;
  gap: 5px;
  padding: 5px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.language-portal-switch span {
  display: grid;
  place-items: center;
  height: 25px;
  border-radius: 8px;
  font-size: 0.61rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
}

.language-portal-switch span.is-active {
  color: #4d1b27;
  background: linear-gradient(135deg, #f5d979, #d7a839);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.24);
}

.language-portal-switch i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.38);
}

.language-portal-chat {
  width: 78%;
  padding: 9px 11px;
  border-radius: 13px 13px 13px 4px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: language-portal-message-in 7s ease-in-out infinite;
  flex-shrink: 0;
}

.language-portal-chat--in {
  margin-bottom: 0;
}

.language-portal-chat small {
  display: block;
  margin-bottom: 2px;
  font-size: 0.52rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.language-portal-chat strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.2;
  color: #fff;
}

.language-portal-chat--out {
  margin: auto 0 6px auto;
  border-radius: 13px 13px 4px 13px;
  color: #3f1720;
  background: linear-gradient(135deg, #f0cf68, #c99827);
  animation-name: language-portal-message-out;
  flex-shrink: 0;
  position: relative;
  top: -16px;
}

.language-portal-chat--out small,
.language-portal-chat--out strong {
  color: #3f1720;
}

.language-portal-typing {
  display: flex;
  gap: 3px;
  width: max-content;
  padding: 6px 8px;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.language-portal-typing span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  animation: language-portal-typing 1.2s ease-in-out infinite;
}

.language-portal-typing span:nth-child(2) { animation-delay: 0.16s; }
.language-portal-typing span:nth-child(3) { animation-delay: 0.32s; }

/* İletişim — Hallo balonu ses dalgasının hemen altında */
.contact-visual .language-portal-card .language-portal-chat--out {
  position: absolute !important;
  top: calc(78% - 36px) !important;
  right: 4.7% !important;
  left: auto !important;
  width: 78% !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 4;
}

.contact-visual .language-portal-card .language-portal-typing {
  position: absolute !important;
  top: calc(78% + 30px) !important;
  left: 4.7% !important;
  margin: 0 !important;
  z-index: 4;
}

.language-portal-wave i {
  flex: 0 0 4px;
  width: 4px;
  min-height: 0;
  height: 100%;
  max-height: 92px;
  border-radius: 99px;
  background: linear-gradient(180deg, #f1d36f, #d27e46);
  transform-origin: center bottom;
  animation: language-portal-wave 1.1s ease-in-out infinite alternate;
}

.language-portal-wave i:nth-child(2),
.language-portal-wave i:nth-child(8) { animation-delay: -0.8s; max-height: 64px; }
.language-portal-wave i:nth-child(3),
.language-portal-wave i:nth-child(7) { animation-delay: -0.45s; max-height: 78px; }
.language-portal-wave i:nth-child(4),
.language-portal-wave i:nth-child(6) { animation-delay: -0.2s; max-height: 92px; }
.language-portal-wave i:nth-child(5) { animation-delay: -0.65s; max-height: 70px; }

.language-float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border: 1px solid rgba(90, 31, 43, 0.08);
  border-radius: 13px;
  color: #34141c;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(49, 16, 24, 0.13), inset 0 1px 0 #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.language-float-card strong,
.language-float-card span {
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.language-float-card i {
  font-style: normal;
  font-size: 0.72rem;
  color: #bd8b22;
}

.language-float-card--level {
  top: 5.5%;
  left: 0;
  animation: language-float-one 5s ease-in-out infinite;
}

.language-float-card--level span {
  color: #7d3747;
}

.language-float-card--level strong {
  color: #b7851f;
}

.language-float-card--mic {
  top: 5.5%;
  right: 0;
  animation: language-float-two 5.7s ease-in-out -1.4s infinite;
}

.language-float-card--mic svg {
  width: 18px;
  height: 18px;
  color: #6f2839;
}

.language-float-card--support {
  left: 3%;
  top: calc(72.2% + 12px);
  bottom: auto;
  animation: language-float-three 6.2s ease-in-out -2s infinite;
}

.language-float-card--support span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #6f2638, #a14258);
}

.language-spark {
  position: absolute;
  z-index: 2;
  color: #d2a42f;
  text-shadow: 0 0 16px rgba(210, 164, 47, 0.45);
  animation: language-spark 2.8s ease-in-out infinite;
}

.language-spark--one {
  top: var(--portal-corner-y);
  left: var(--portal-corner-x);
  font-size: clamp(0.72rem, 2vw, 0.95rem);
}

.language-spark--two {
  top: var(--portal-corner-y);
  right: var(--portal-corner-x);
  font-size: clamp(0.72rem, 2vw, 0.95rem);
  animation-delay: -0.7s;
}

.language-spark--three {
  bottom: var(--portal-corner-bottom);
  left: var(--portal-corner-x);
  font-size: clamp(0.62rem, 1.8vw, 0.82rem);
  animation-delay: -1.4s;
}

.language-spark--four {
  bottom: var(--portal-corner-bottom);
  right: var(--portal-corner-x);
  font-size: clamp(0.62rem, 1.8vw, 0.82rem);
  animation-delay: -2.1s;
}

@keyframes language-portal-card-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes language-portal-breathe {
  0%, 100% { opacity: 0.65; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes language-portal-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes language-portal-spin-reverse {
  from { transform: translate(-50%, -50%) rotate(20deg); }
  to { transform: translate(-50%, -50%) rotate(-340deg); }
}

@keyframes language-portal-sheen {
  0%, 32% { left: -90%; }
  58%, 100% { left: 145%; }
}

@keyframes language-portal-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 125, 0.32); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(255, 107, 125, 0); }
}

@keyframes language-portal-message-in {
  0%, 8% { opacity: 0; transform: translateX(-12px); }
  16%, 82% { opacity: 1; transform: translateX(0); }
  92%, 100% { opacity: 0.45; transform: translateX(0); }
}

@keyframes language-portal-message-out {
  0%, 22% { opacity: 0; transform: translateX(12px); }
  32%, 88% { opacity: 1; transform: translateX(0); }
  96%, 100% { opacity: 0.45; transform: translateX(0); }
}

@keyframes language-portal-typing {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@keyframes language-portal-wave {
  from { transform: scaleY(0.55); opacity: 0.6; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes language-float-one {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  50% { transform: translate(6px, -7px) rotate(1deg); }
}

@keyframes language-float-two {
  0%, 100% { transform: translate(0, 0) rotate(2deg); }
  50% { transform: translate(-5px, -9px) rotate(-1deg); }
}

@keyframes language-float-three {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -6px); }
}

@keyframes language-spark {
  0%, 100% { opacity: 0.28; transform: scale(0.72) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(90deg); }
}

@media (max-width: 1100px) {
  .contact-visual-shape-wrapper {
    min-height: 0;
  }

  .contact-language-portal {
    height: var(--contact-portal-span);
    min-height: var(--contact-portal-span);
  }
}

@media (max-width: 640px) {
  .contact-visual-shape-wrapper {
    min-height: 0;
  }

  .contact-language-portal {
    height: auto;
    min-height: 360px;
    aspect-ratio: 340 / 460;
  }

  .language-portal-card {
    top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-language-portal *,
  .contact-language-portal::before {
    animation: none !important;
  }
}

/* SSS — hero sonrası beyaz zemin + hareketli dekor */
.page-hero--with-highlights + .faq.page-content.faq--anthracite,
body.site-germany-bg .page-hero--with-highlights + .faq.page-content.faq--anthracite,
body.site-germany-bg:not(.home-page) .page-hero--with-highlights + .faq.page-content.faq--anthracite {
  background-color: #ffffff !important;
  background-image: none !important;
  overflow: visible !important;
}

@media (min-width: 769px) and (max-width: 1280px) {
  .contact-highlights--hero .contact-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .contact-highlights--hero .contact-highlight-card {
    min-height: 64px;
    padding: 10px 12px;
  }

  .page-hero--with-highlights {
    min-height: 0;
    height: auto;
    max-height: none;
  }
}
