:root {
  --bg: #ffffff;
  --surface: #f7f8f5;
  --text: #1f2933;
  --muted: #667085;
  --gold: #a77f4f;
  --gold-dark: #7f5c34;
  --sage: #59756b;
  --sage-soft: #edf3ef;
  --line: rgba(31, 41, 51, .13);
  --shadow: 0 18px 42px rgba(31, 41, 51, .12);
  --radius: 8px;
  --header-h: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  width: 124px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.menu a:hover,
.menu a.is-active {
  color: var(--sage);
  border-color: rgba(89, 117, 107, .25);
  background: var(--sage-soft);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #d9ddd8;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(19, 25, 28, .72), rgba(19, 25, 28, .30) 46%, rgba(19, 25, 28, .05)),
    linear-gradient(0deg, rgba(19, 25, 28, .42), rgba(19, 25, 28, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 86px 0 72px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2e4d1;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 8vw, 88px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-logo-lockup {
  max-width: min(720px, 100%);
  line-height: 0;
}

.hero-logo-lockup img {
  width: min(720px, 100%);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.hero-text {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.btn.primary {
  color: #fff;
  background: var(--sage);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .12);
}

.band {
  background: var(--surface);
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 0;
}

.intro-grid article {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.intro-grid strong {
  color: var(--gold-dark);
  font-size: 16px;
}

.intro-grid span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 74px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-head.left {
  margin: 0;
  text-align: left;
}

.section-head h2 {
  margin: 0;
  color: var(--gold-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

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

.service-card {
  position: relative;
  min-width: 0;
  min-height: 430px;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 41, 51, .07);
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.service-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 9px;
  padding: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .34) 72%, rgba(0, 0, 0, 0));
}

.tag {
  width: fit-content;
  padding: 5px 8px;
  color: var(--sage);
  background: var(--sage-soft);
  border: 1px solid rgba(89, 117, 107, .18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.service-card h3,
.steps h3 {
  margin: 0;
  color: var(--gold-dark);
  font-size: 20px;
  line-height: 1.18;
}

.service-card p,
.steps p,
.faq-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-card a {
  align-self: end;
  width: fit-content;
  margin-top: 5px;
  color: var(--sage);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

#hizmetler .service-card .tag,
#hizmetler .service-card h3,
#hizmetler .service-card p,
#hizmetler .service-card a {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .42);
}

#hizmetler .service-card .tag {
  background: rgba(0, 0, 0, .38);
  border-color: rgba(255, 255, 255, .38);
}

.process-layout,
.faq-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
}

.steps article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--sage);
  border-radius: 999px;
  font-weight: 800;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(167, 127, 79, .32);
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef0ec;
  cursor: zoom-in;
  box-shadow: 0 10px 26px rgba(31, 41, 51, .07);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

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

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-list summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--gold-dark);
  cursor: pointer;
  font-weight: 800;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--sage);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  padding: 0 18px 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 16px;
  align-items: stretch;
}

.contact-panel,
.map-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(31, 41, 51, .07);
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.contact-action {
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--surface);
}

.contact-action:hover {
  border-color: rgba(89, 117, 107, .38);
  background: var(--sage-soft);
}

.contact-action span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact-action strong {
  color: var(--text);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.contact-action.whatsapp {
  color: #fff;
  background: var(--sage);
  border-color: var(--sage);
}

.contact-action.whatsapp span,
.contact-action.whatsapp strong {
  color: #fff;
}

address {
  margin: 4px 0 0;
  padding: 14px 2px 2px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  border-top: 1px solid var(--line);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.chat-widget {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
}

.chat-notice {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(300px, calc(100vw - 32px));
  padding: 13px 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.chat-notice::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.chat-widget.is-open .chat-notice,
.chat-widget.is-dismissed .chat-notice {
  display: none;
}

.chat-launcher {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--sage), #23362f);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.chat-launcher svg {
  width: 31px;
  height: 31px;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(360px, calc(100vw - 32px));
  height: min(520px, calc(100vh - 110px));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  border: 1px solid rgba(31, 41, 51, .14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(31, 41, 51, .24);
}

.chat-panel[hidden] {
  display: none;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  color: #fff;
  background: #111214;
}

.chat-head span,
.chat-head strong {
  display: block;
}

.chat-head span {
  color: #caa47f;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.chat-head strong {
  margin-top: 2px;
  font-size: 17px;
}

.chat-head button {
  width: 34px;
  height: 34px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  padding: 14px;
  background: #f8f4ee;
}

.chat-message {
  width: fit-content;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-line;
}

.chat-message.bot {
  align-self: flex-start;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
}

.chat-message.user {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(135deg, #111214, #2a1b13 70%, var(--gold));
}

.chat-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-chips button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 11px;
  color: var(--gold-dark);
  background: rgba(167, 127, 79, .12);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 11px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  outline: none;
}

.chat-form input:focus {
  border-color: rgba(89, 117, 107, .48);
  box-shadow: 0 0 0 3px rgba(89, 117, 107, .12);
}

.chat-form button {
  min-height: 42px;
  padding: 0 13px;
  color: #fff;
  background: var(--sage);
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
}

.chat-whatsapp {
  display: block;
  padding: 12px 14px;
  color: #fff;
  background: #111214;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.lightbox {
  width: min(980px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(15, 20, 23, .78);
}

.lightbox[open] {
  display: grid;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: var(--radius);
  background: transparent;
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 980px) {
  .header-wrap {
    display: grid;
    justify-items: center;
    gap: 8px;
  }

  .brand-logo {
    width: 104px;
  }

  .menu {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .intro-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-layout,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 26px, 1120px);
  }

  .hero {
    min-height: 680px;
  }

  .menu {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 5px;
  }

  .menu a {
    font-size: 13px;
    padding: 10px 11px;
  }

  .hero-content {
    padding: 58px 0 54px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-logo-lockup {
    max-width: min(100%, 360px);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .intro-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .service-card {
    grid-template-rows: 220px 1fr;
  }

  .service-card div {
    padding-bottom: 92px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .steps article {
    grid-template-columns: 44px 1fr;
    padding: 16px;
  }

  .steps span {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .map-panel iframe {
    min-height: 320px;
  }

  .chat-widget {
    right: 13px;
    bottom: 76px;
  }

  .chat-panel {
    right: 0;
    bottom: 68px;
    width: calc(100vw - 26px);
    height: min(540px, calc(100vh - 120px));
  }

  .chat-notice {
    right: 0;
    bottom: 68px;
  }
}
