/* Refined against the approved Figma homepage render. */
.topbar {
  background: #e8e8e8;
  color: #171717;
}
.hero .button--solid {
  background: #fff;
  color: #202020;
}
.hero .button--solid:hover {
  background: #f4f7f7;
}
.eyebrow {
  color: #242424;
  font-size: 14px;
  font-weight: 500;
}
.hero h1, .hero .hero__title {
  font-size: 54px;
  font-weight: 700;
}
.hero__content > p:not(.eyebrow) {
  font-size: 14px;
  font-weight: 500;
}
.hero__actions .button {
  font-size: 14px;
  font-weight: 500;
}
.nav__links {
  font-weight: 400;
}
.nav__links .is-active,
.nav__cta,
.button {
  font-weight: 600;
}
.nav__dropdown {
  position: relative;
}
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.nav__dropdown-toggle svg {
  width: 12px;
  height: 8px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 0.18s ease;
}
.nav__dropdown-toggle[aria-expanded='true'] svg {
  transform: rotate(180deg);
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  z-index: 20;
  display: grid;
  min-width: 268px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #e2e7e4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgb(0 0 0 / 0.14);
}
.nav__dropdown-menu[hidden] {
  display: none;
}
.nav__dropdown-title {
  margin: 8px 14px 4px;
  color: #00664f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav__dropdown-menu a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 6px;
  color: #171717;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}
.nav__dropdown-menu a:hover::after,
.nav__dropdown-menu a:focus-visible::after {
  width: 7px;
  height: 7px;
  border: solid #00664f;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
  content: '';
}
.nav__dropdown-menu a:hover,
.nav__dropdown-menu a:focus-visible {
  background: #dcebe5;
  color: #004d3b;
  outline: 0;
}
.service-card .button--small {
  min-height: 35px;
  gap: 8px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
}
.service-card .button--small span,
.service-card .button--small img {
  display: inline-block;
  flex: 0 0 auto;
}
.service-card .button--small span {
  font: inherit;
  line-height: inherit;
}
.service-card .button--small img {
  width: 11px;
  height: 10px;
}
.about h2,
.section h2,
.service-card h3,
.reason h3,
.document-grid h3,
.process h3,
.blog-card strong,
.footer__grid h3 {
  font-weight: 700;
}
.service-card p,
.reason p,
.document-grid p,
.process p,
.blog-card h3 {
  font-weight: 400;
}
.reason__icon {
  display: grid;
  width: 107px;
  height: 100px;
  place-items: center;
  margin-inline: auto;
}
.reason img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: initial;
}
.reason {
  display: flex;
  min-height: 288px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
}
.reason h3 {
  margin: 0;
  line-height: 25px;
}
.reason p {
  margin: 0;
  line-height: 25px;
}

/* Documents: Figma uses line icons and text links, not generic glyphs/buttons. */
.documents {
  min-height: 398px;
  padding-top: 34px;
}
.document-grid {
  grid-template-columns: repeat(2, 418px);
  gap: 20px;
  margin-top: 26px;
}
.document-grid article {
  min-height: 204px;
  padding: 25px 24px 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgb(0 0 0 / 0.16);
}
.document__icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 44px;
  margin: 0 auto 9px;
  color: #00634c;
}
.document__icon svg,
.document__icon img,
.contact__icon svg,
.footer__contact svg,
.footer__socials svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  margin-bottom: 12px;
}
.document__icon img {
  width: auto;
  height: 44px;
  object-fit: contain;
}
.document-grid h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 25px;
}
.document-grid p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 25px;
}
.document__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #111;
  font-size: 14px;
  font-weight: 500;
}
.document__link img {
  display: block;
  width: 11px;
  height: 10px;
  flex: 0 0 auto;
}
.documents__all {
  min-height: 35px;
  margin-top: 30px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
}

.blog__all {
  min-height: 40px;
  gap: 6px;
  margin-top: 60px;
  padding: 10px 15px;
  background: #00664f;
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
}
.blog__all-arrow {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

/* Process: nodes flow downward; connectors sit between steps instead of through circles. */
.process {
  min-height: 464px;
  padding-top: 61px;
}
.process__steps {
  gap: 0;
  margin-top: 34px;
  padding: 0 46px;
}
.process__steps li {
  min-height: 220px;
  padding: 0 28px;
}
.process__steps li:not(:last-child)::after {
  top: 159px;
  left: calc(50% + 69px);
  width: calc(100% - 143px);
  height: 2px;
  background: #d9d9d9;
}
.process__number {
  position: relative;
  width: 57px;
  height: 56px;
  margin: 0 auto 54px;
  font-size: 25px;
}
.process__number::after {
  position: absolute;
  top: 66px;
  left: 50%;
  width: 1px;
  height: 22px;
  background: #d9d9d9;
  content: '';
}
.process h3 {
  font-size: 18px;
  line-height: 25px;
  font-weight: 700;
}
.process p {
  margin-top: 14px;
  max-width: 130px;
  font-size: 12px;
  line-height: 17px;
}

/* Contact and footer are a single, ordered visual system in the source design. */
.contact {
  min-height: 418px;
  padding: 64px 0 35px;
}
.contact__hero {
  min-height: 96px;
  padding: 0 80px;
}
.contact__hero {
  transform: translateY(24px);
}
.contact h2 {
  max-width: 560px;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}
.button--light {
  min-width: 252px;
  min-height: 63px;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
}
.button--light img {
  display: block;
  width: 15px;
  height: 14px;
  flex: 0 0 auto;
}
.contact__items {
  max-width: 1024px;
  margin: 75px auto 0;
}
.contact__items > * {
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 24px;
  row-gap: 4px;
  min-height: 104px;
  padding: 0 0 0 38px;
}
.contact__icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
}
.contact__icon img {
  position: absolute;
  top: -29px;
  display: block;
  width: 1024px;
  height: 106px;
  max-width: none;
}
.contact__icon--phone img {
  left: 0;
}
.contact__icon--mail img {
  left: -340.667px;
}
.contact__icon--click img {
  left: -720.667px;
}
.contact__items > * > .contact__icon {
  grid-row: span 2;
}
.contact__items b,
.contact__items em {
  font-size: 18px;
  line-height: 25px;
}
.contact__items b {
  font-weight: 500;
}
.contact__items em {
  font-weight: 400;
}
.contact__items em {
  white-space: nowrap;
}
footer,
.footer__policy,
.footer__grid,
.footer__copyright {
  background: #18201d;
  color: #fff;
}
.footer__policy .site-container {
  height: 96px;
  justify-content: flex-end;
  gap: 0;
  font-size: 12px;
  font-weight: 500;
}
.footer__policy a {
  padding: 0 33px;
}
.footer__policy a + a {
  border-left: 1px solid rgb(255 255 255 / 0.72);
}
.footer__grid {
  grid-template-columns: 263px 262px 220px 208px 1fr;
  gap: 0;
  padding: 22px 60px 28px;
}
.footer__grid h3 {
  margin: 0 0 13px;
  font-size: 14px;
  font-weight: 700;
}
.footer__grid a,
.footer__grid > div > span {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 2.35;
}
.footer__grid a,
.footer__grid span {
  display: block;
  margin-top: 0;
  font-size: 12px;
  line-height: 2.5;
  font-weight: 600;
}
.footer__brand img {
  width: 132px;
  margin-top: 0;
}
.footer__brand p {
  max-width: 180px;
  margin: 13px 0 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
}
.footer__socials {
  position: relative;
  display: block;
  width: 187px;
  height: 64px;
  margin-top: 18px;
  background: url('../footer-socials-figma.svg') no-repeat;
}
.footer__socials a {
  position: absolute;
  top: 0;
  display: block;
  width: 49px;
  height: 64px;
  margin: 0;
}
.footer__socials a:nth-child(1) {
  left: 0;
}
.footer__socials a:nth-child(2) {
  left: 49px;
}
.footer__socials a:nth-child(3) {
  left: 98px;
}
.footer__socials svg {
  display: none;
}
.footer__contact > a,
.footer__hours {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.footer__contact {
  width: 230px;
}
.footer__contact svg {
  width: 20px;
  height: 20px;
}
.footer__contact-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  overflow: hidden;
}
.footer__contact-icon img {
  position: absolute;
  top: -12.083px;
  display: block;
  width: 426.667px;
  height: 44.167px;
  max-width: none;
}
.footer__contact-icon--phone img {
  left: 0;
}
.footer__contact-icon--mail img {
  left: -141.945px;
}
.footer__contact > a > span,
.footer__hours > span {
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0;
}
.footer__contact .footer__hours {
  margin-top: 12px;
}
.footer__copyright {
  padding: 43px 24px 30px;
  font-size: 12px;
}

@media (max-width: 840px) {
  .menu-open .nav__dropdown {
    width: 100%;
  }
  .menu-open .nav__dropdown-toggle {
    width: 100%;
    padding: 10px 0;
    justify-content: space-between;
  }
  .menu-open .nav__dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0 0 6px;
    border: 0;
    border-left: 2px solid #c8ddd6;
    border-radius: 0;
    box-shadow: none;
  }
  .menu-open .nav__dropdown-menu a {
    padding: 8px 14px;
  }
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process__steps li:not(:last-child)::after {
    display: none;
  }
  .process__number {
    margin-bottom: 45px;
  }
  .contact__hero {
    padding-inline: 0;
  }
  .contact__hero {
    transform: none;
  }
  .contact__items {
    max-width: 100%;
  }
  .footer__policy .site-container {
    justify-content: center;
  }
  .footer__grid {
    padding-inline: 0;
  }
}

@media (max-width: 520px) {
  .document-grid {
    grid-template-columns: 1fr;
  }
  .document-grid p {
    font-size: 14px;
  }
  .process {
    padding-top: 42px;
  }
  .process__steps li {
    min-height: auto;
  }
  .process__number::after {
    display: none;
  }
  .contact {
    padding-top: 42px;
  }
  .contact__items > * {
    padding-inline: 0;
  }
  .contact__items em {
    white-space: normal;
  }
  .footer__policy .site-container {
    gap: 0;
  }
  .footer__policy a {
    padding: 0 10px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-inline: 0;
  }
  .footer__grid > div {
    padding: 22px 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.16);
  }
  .footer__grid > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 840px) {
  .hero h1, .hero .hero__title {
    font-size: clamp(31px, 8vw, 42px);
  }
}

/* Homepage desktop geometry measured against the 1440 px approved render. */
@media (min-width: 841px) {
  .page-home .about {
    min-height: 278px;
  }

  .page-home #hizmetler .service-grid {
    padding: 30px 128px 0;
  }

  .page-home .reasons {
    min-height: 565px;
  }

  .page-home .documents {
    height: 398px;
    min-height: 398px;
    overflow: hidden;
  }

  .page-home .process {
    min-height: 502px;
  }

  .page-home footer .footer__grid {
    min-height: 312px;
  }
}

/* Sosyal medya ikonları: yalnızca bağlantısı girilen hesaplar gösterilir */
.footer__socials { display: flex; width: auto; background: none; }
.footer__socials a { position: static; background: url('../footer-socials-figma.svg') no-repeat; background-size: 187px 64px; }
.footer__socials a.footer__social--instagram { background-position: 0 0; }
.footer__socials a.footer__social--facebook { background-position: -49px 0; }
.footer__socials a.footer__social--linkedin { background-position: -98px 0; }
