:root {
  --red: #e30613;
  --red-dark: #b80510;
  --ink: #111111;
  --text: #2a2a2a;
  --muted: #4a4a4a;
  --line: #e8e8e8;
  --soft: #f4f4f2;
  --white: #fff;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --ease: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font-family: inherit; }

[id] { scroll-margin-top: 96px; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

/* ===== Floating header — expands with scroll progress (--p: 0 → 1) ===== */
.header {
  position: fixed;
  top: calc(18px * (1 - var(--p, 0)));
  left: 0;
  right: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.header--expanded { --p: 1; }

.header__bar {
  --pill: min(1100px, calc(100% - 32px));
  pointer-events: auto;
  width: calc(var(--pill) + (100% - var(--pill)) * var(--p, 0));
  height: calc(72px + 6px * var(--p, 0));
  padding-inline: calc(20px + 16px * var(--p, 0));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: calc(999px * (1 - var(--p, 0)));
  background: rgba(28, 28, 28, 0.55);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.header__logo {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.header__logo-img {
  height: 140px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.header__logo-img.is-svg {
  height: 58px;
  filter: brightness(0) invert(1);
}

.header__logo-img--hero,
.header__logo-img--solid {
  transition: opacity 0.35s ease;
}

.header__logo-img--solid {
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  opacity: 0;
  pointer-events: none;
}

/* Solid state: engaged only once the bar reaches #hakkimizda (--p = 1) */
.header.is-solid .header__bar {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(17, 17, 17, 0.06);
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
}

.header.is-solid .header__logo-img--hero { opacity: 0; }
.header.is-solid .header__logo-img--solid { opacity: 1; }

.header.is-solid .header__lang { color: rgba(17, 17, 17, 0.45); }

.header.is-solid .header__lang.is-active,
.header.is-solid .header__lang:hover { color: var(--ink); }

.header.is-solid .header__burger span { background: var(--ink); }

.header__right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__langs {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 8px;
}

.header__lang {
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px;
}

.header__lang.is-active,
.header__lang:hover {
  color: #fff;
}

.header__burger {
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 50%;
}

.header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--ease);
  transform-origin: center;
}

.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Fullscreen menu ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1900;
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--ease), visibility var(--ease);
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay__panel {
  position: absolute;
  top: 96px;
  right: 24px;
  width: min(460px, calc(100% - 32px));
  background: #111;
  color: #fff;
  border-radius: 28px;
  padding: 36px 32px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(-16px) scale(0.98);
  opacity: 0;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-overlay.is-open .menu-overlay__panel {
  transform: none;
  opacity: 1;
}

.menu-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-overlay__nav a {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--ease), padding-left var(--ease);
}

.menu-overlay__nav a:hover {
  color: var(--red);
  padding-left: 8px;
}

.menu-overlay__foot {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
}

.hero__slides { height: 100%; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero__slide.is-active { opacity: 1; }

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}

.hero__bg--banner-1 { background-image: url("../assets/img/img/banner3.jpg"); }
.hero__bg--banner-2 { background-image: url("../assets/img/img/banner4.jpg"); }
.hero__bg--banner-3 { background-image: url("../assets/img/img/banner.jpg"); }

.hero__slide.is-active .hero__bg { transform: scale(1); }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 38%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}

.hero__copy {
  position: absolute;
  left: max(28px, calc((100% - 1160px) / 2));
  right: 80px;
  bottom: 88px;
  z-index: 2;
  max-width: 820px;
}

.hero__mask {
  display: block;
  overflow: hidden;
}

.hero__mask > * {
  display: block;
  transform: none;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__mask:nth-child(2) > * { transition-delay: 0.07s; }

.hero__copy.is-swapping .hero__mask > * {
  transform: translateY(110%);
  transition-duration: 0.28s;
  transition-delay: 0s;
}

.hero__title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  margin-top: 16px;
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero__next {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero__dots {
  position: absolute;
  left: max(28px, calc((100% - 1160px) / 2));
  bottom: 36px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero__dots button {
  width: 36px;
  height: 3px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  cursor: pointer;
}

.hero__dots button.is-active { background: #fff; width: 52px; }

/* ===== Sections ===== */
.section { padding: 108px 0; }

.section--soft { background: var(--soft); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}

.split--flip { grid-template-columns: 1fr 1.05fr; }
.split--flip .copy { order: -1; }

.media-frame {
  border-radius: 36px 80px 40px 70px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.media-frame--round { border-radius: 80px 36px 70px 40px; }

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.copy h2, .section-head h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
  font-weight: 750;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 52ch;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 { margin-bottom: 0; }

.section-head--left {
  text-align: left;
  margin-bottom: 36px;
}

.quote-banner {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.quote-banner__bg {
 content: "";
    position: absolute;
    inset: 0;
    background-image: url("../assets/img/img/yurtdisi-banner.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(0.45);
}

.quote-banner h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  max-width: 16ch;
  letter-spacing: -0.03em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}



.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
  min-height: 210px;
  transition: transform var(--ease), box-shadow var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.card:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.card p { color: var(--muted); }

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 700;
}

.card__cta i { transition: transform var(--ease); }
.card:hover .card__cta i { transform: translateX(4px); }

/* ===== Inner pages ===== */
.page-hero {
  padding: 176px 0 76px;
  background:
    radial-gradient(720px 300px at 85% -40%, rgba(227, 6, 19, 0.07), transparent 70%),
    linear-gradient(180deg, #f7f7f5, #fff);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero__lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.page-section { padding: 88px 0; }

.page-section--soft { background: var(--soft); }

.page-section__intro {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
  display: grid;
  gap: 16px;
}

.office-story {
  padding: 154px 0 92px;
  background: #f7f7f5;
}

.office-story__heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.office-story__heading h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
}

.office-story__heading .page-hero__lead { margin: 18px auto 0; }

.office-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 72px;
  align-items: center;
}

.office-story__copy {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 1.02rem;
}

.office-story__copy p { max-width: 68ch; }

.office-story__image {
  min-height: 520px;
  overflow: hidden;
  border-radius: 4px 92px 4px 4px;
  background: #dededb;
}

.office-story__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.ramerica-feature {
  min-height: 520px;
  overflow: hidden;
  border-radius: 4px 92px 4px 4px;
  background: #dededb;
}

.ramerica-feature img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.office-contact {
  padding: 64px 0 76px;
  background: #f4f4f2;
  border-top: 1px solid var(--line);
}

.office-contact__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.office-contact__heading .eyebrow { margin-bottom: 0; }

.office-contact__heading h2 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
}

.office-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.office-contact__grid--ramerica { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.office-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding: 18px 0px 10px 0;
  border-top: 1px solid #d8d8d5;
}

.office-contact__icon {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--red);
  background: #fff;
  border-radius: 50%;
}

.office-contact__item div { min-width: 0; }
.office-contact__item small { display: block; margin-bottom: 4px; color: #74808a; font-size: 0.78rem; font-weight: 700; }
.office-contact__item p { color: var(--ink); font-size: 0.92rem; line-height: 1.6; overflow-wrap: anywhere; }
.office-contact__item[href]:hover p { color: var(--red-dark); }

.ramerica-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  list-style: disc;
}

.ramerica-list li { padding-left: 4px; }

.contact-hero { padding-bottom: 64px; }

.contact-section {
  padding: 0 0 100px;
  background: linear-gradient(180deg, #fff 0%, #f7f7f5 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.42fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid #e8e8e6;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.08);
}

.contact-details {
  position: relative;
  overflow: hidden;
  padding: 44px 38px;
  color: #fff;
  background: #171717;
}

.contact-details::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -120px;
  bottom: -100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.025), 0 0 0 60px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.contact-details .eyebrow { color: #ff6870; }

.contact-details h2,
.contact-form-heading h2 {
  color: inherit;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 750;
  line-height: 1.2;
}

.contact-details__intro {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.contact-details__list { margin-top: 38px; }

.contact-detail {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-detail__icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--red);
}

.contact-detail > span:last-child { min-width: 0; }
.contact-detail small, .contact-detail strong { display: block; }
.contact-detail small { color: rgba(255, 255, 255, 0.56); font-size: 0.78rem; margin-bottom: 3px; }
.contact-detail strong { color: #fff; font-size: 0.9rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.contact-detail a:hover strong { color: #ff9da2; }
.contact-detail--address { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }

.contact-map {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-map i { color: #ff6870; transition: transform var(--ease); }
.contact-map:hover i { transform: translate(3px, -3px); }

.contact-form-wrap { padding: 44px clamp(24px, 5vw, 64px) 38px; }

.contact-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.contact-form-heading .eyebrow { margin-bottom: 7px; }
.contact-form-heading h2 { color: var(--ink); font-size: clamp(1.35rem, 2vw, 1.75rem); }

.contact-form-heading__mark {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: var(--red);
  background: #fff0f0;
  font-size: 1.15rem;
}

.contact-form { padding-top: 26px; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.contact-field { display: grid; gap: 8px; color: #303030; font-size: 0.82rem; font-weight: 700; }
.contact-field em { color: #858585; font-style: normal; font-weight: 500; }

.contact-field input,
.contact-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid #dededc;
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: #fafaf9;
  font-size: 0.9rem;
  font-weight: 400;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field textarea { min-height: 142px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #92928f; }
.contact-field input:focus, .contact-field textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08); }
.contact-field--message { grid-column: 1 / -1; }

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  color: #565656;
  font-size: 0.79rem;
  line-height: 1.6;
}

.contact-consent input { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; accent-color: var(--red); }
.contact-consent a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.contact-form__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.contact-form__note { max-width: 35ch; color: #777; font-size: 0.76rem; line-height: 1.5; }

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--ease), transform var(--ease);
}

.contact-submit:hover { background: var(--red-dark); transform: translateY(-2px); }
.contact-submit:focus-visible { outline: 3px solid rgba(227, 6, 19, 0.28); outline-offset: 3px; }
.contact-form__status { min-height: 1.4em; margin-top: 12px; color: var(--red-dark); font-size: 0.82rem; }

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px;
}

.stat b {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--red);
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.value-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 30px 28px 34px;
}

.value-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
}

.value-card h3 {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.value-card p + p { margin-top: 10px; }

.value-card h4 {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 14px 0 8px;
}

.value-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(227, 6, 19, 0.08);
  color: var(--red);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.page-section__intro--history { margin-bottom: 36px; }
.page-section__intro--spaced-top { margin-top: 56px; }
.page-section__intro--spaced-bottom { margin-bottom: 24px; }
.lead--spaced-top { margin-top: 24px; }

.section-head .page-section__intro { margin-top: 14px; }

.quote-card {
  grid-column: 1 / -1;
  background-color: #f7f7f7;
  color: #111111;
  border: 1px solid #d1d5db;
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);  
}

.quote-card {
  grid-column: 1 / -1;
  background-color: #f7f7f7;
  color: #111111;
  border: 1px solid #d1d5db; /* Kenarları belirginleştirir */
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative; 
  overflow: hidden;   /* Kartın dışına taşmaları engeller */
}

/* Sol taraftaki sembolü arkaya sabitleyen ayar */
.quote-symbol {
  position: absolute;
  left: 0px;                  /* Sol kenardan hafifçe içeride durması için */
  top: 50%;
  transform: translateY(-50%); 
  width: 260px;                
  height: auto;
  opacity: 0.8;                /* Opaklığı artırdık (0.12'den 0.4'e çıktı) */
  pointer-events: none;        
  z-index: 1;                  
}

/* Yazıların bulunduğu ön katman */
.quote-content {
  position: relative;
  z-index: 2;                  /* Yazıları sembolün üzerine çıkarır */
}

.quote-card h3 {
  margin-bottom: 14px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111111;              /* Siyah yazı */
}

.quote-card p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: #111111;              /* Siyah yazı */
}

.quote-card cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-weight: 700;
  color: #333333;              /* Koyu gri/siyah imza */
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.check-list li i {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--red);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

/* ===== Footer ===== */
.site-end {
  background: #fbfbfa;
  padding: 72px 0 0;
  border-top: 1px solid #eee;
}

.reach {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 28px;
  padding: 22px 28px;
  margin-bottom: 48px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
}

.reach h2 {
  margin: 0;
  color: var(--red);
  font-size: clamp(1.6rem, 1vw, 2.2rem);
  letter-spacing: -0.04em;
}

.reach__social {
  display: flex;
  gap: 10px;
}

.reach__social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f4f4f2;
  color: var(--ink);
  font-size: 0.9rem;
}

.reach__social a:hover {
  background: var(--red);
  color: #fff;
}

.end-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1.1fr 1.05fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 44px;
}

.end-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.end-brand img {
  height: 46px;
  width: auto;
}

.end-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 24ch;
}

.end-links {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.end-links h3,
.end-office h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.end-links a {
  color: #5a5a5a;
  font-size: 0.94rem;
  line-height: 1.45;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.end-links a:hover {
  color: var(--red);
  padding-left: 4px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.doc {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.doc:hover {
  border-color: rgba(227, 6, 19, 0.35);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
  transform: translateY(-2px);
}

.doc > i:first-child {
  color: var(--red);
  font-size: 1.1rem;
}

.doc span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.doc__dl {
  margin-left: auto;
  color: #a0a0a0;
  font-size: 0.78rem;
}

.doc:hover .doc__dl { color: var(--red); }

.end-office p,
.end-office a {
  display: block;
  color: #5a5a5a;
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.55;
}

.end-office a:hover { color: var(--red); }

.footer__copy {
  text-align: center;
  padding: 22px 16px 28px;
  color: #7a7a7a;
  font-size: 0.88rem;
  border-top: 1px solid #eee;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 0.95rem;
}

.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  margin-top: 22px;
  transition: background var(--ease), color var(--ease);
}

.btn--ghost:hover { background: var(--ink); color: #fff; }

.contact-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--black);
  border-radius: 999px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.12);
  transition: transform var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease);
}

.contact-fab i {
  font-size: 0.85rem;
  color: var(--black);
  transition: color var(--ease);
}

.contact-fab:hover {
  transform: translateY(-3px);
  background: var(--red);
  color: #fff; 
  box-shadow: 0 18px 40px rgba(227, 6, 19, 0.35);
}

.contact-fab:hover i { 
  color: #fff;
}

/* ===== Cookie consent ===== */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  padding: 20px;
  pointer-events: auto;
}

.cookie-overlay.is-visible { display: grid; }
.cookie-overlay.is-hidden { display: none !important; }

.cookie-modal {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px;
}

.cookie-modal p { color: var(--muted); font-size: 0.98rem; line-height: 1.7; margin-bottom: 22px; }
.cookie-modal a { font-weight: 700; text-decoration: underline; color: var(--ink); }

.cookie-modal__actions { display: flex; gap: 10px; }

.cookie-btn {
  flex: 1;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 13px 10px;
  cursor: pointer;
}

.cookie-prefs {
  position: fixed;
  inset: 0;
  z-index: 10100;
  background: rgba(0, 0, 0, 0.58);
  display: none;
  place-items: center;
  padding: 20px;
}

.cookie-prefs.is-open { display: grid; }

.cookie-prefs__inner {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 32px;
}

.cookie-prefs__item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cookie-prefs__toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-prefs__toggle input { opacity: 0; width: 0; height: 0; }
.cookie-prefs__slider {
  position: absolute; inset: 0; background: #d0d0d0; border-radius: 99px;
}
.cookie-prefs__slider::before {
  content: "";
  position: absolute;
  width: 18px; height: 18px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%;
  transition: 0.2s;
}
.cookie-prefs__toggle input:checked + .cookie-prefs__slider { background: var(--red); }
.cookie-prefs__toggle input:checked + .cookie-prefs__slider::before { transform: translateX(20px); }
.cookie-prefs__actions { margin-top: 20px; display: flex; justify-content: flex-end; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .split, .split--flip, .cards, .value-grid, .doc-grid, .end-grid {
    grid-template-columns: 1fr;
  }

  .office-story { padding: 132px 0 64px; }
  .office-story__heading { margin-bottom: 36px; }
  .office-story__layout { grid-template-columns: 1fr; gap: 36px; }
  .office-story__image, .office-story__image img { min-height: 360px; }
  .ramerica-feature { max-width: 640px; min-height: 400px; }
  .ramerica-feature img { min-height: 400px; }
  .office-contact__grid--ramerica { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .end-grid { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .partners__grid { grid-template-columns: 1fr 1fr; }
  .split--flip .copy { order: 0; }
  .hero__copy { bottom: 72px; right: 24px; }
  .header__logo-img { height: 44px; }
  .header__logo-img.is-svg { height: 40px; }
  .quote-card { padding: 32px 26px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-details { padding: 38px 32px; }
}

@media (max-width: 640px) {
  .header__bar { height: calc(64px + 6px * var(--p, 0)); }
  .hero { min-height: 560px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 140px 0 56px; }
  .page-section { padding: 64px 0; }
  .contact-fab { right: 16px; bottom: 16px; padding: 12px 18px; }
  .cookie-modal__actions { flex-direction: column; }
  .end-grid, .doc-grid { grid-template-columns: 1fr; }
  .contact-section { padding-bottom: 64px; }
  .contact-details, .contact-form-wrap { padding: 30px 22px; }
  .contact-form__grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-field--message { grid-column: auto; }
  .contact-form__bottom { align-items: stretch; flex-direction: column; }
  .contact-submit { width: 100%; }
  .office-contact { padding: 48px 0 56px; }
  .office-contact__heading { display: block; }
  .office-contact__heading .eyebrow { margin-bottom: 8px; }
  .office-contact__heading h2 { font-size: 1.2rem; }
  .office-contact__grid, .office-contact__grid--ramerica { grid-template-columns: 1fr; }
  .office-contact__item { padding-right: 0; }
  .ramerica-feature, .ramerica-feature img { min-height: 340px; }
}
