:root {
  --ink: #21302a;
  --muted: #627064;
  --paper: #fbfaf6;
  --soft: #eef1e9;
  --sage: #66785f;
  --sage-dark: #405043;
  --cream: #fff7e8;
  --line: rgba(33, 48, 42, 0.14);
  --shadow: 0 18px 45px rgba(47, 61, 53, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}

.lilac-mark,
.lilac-image-logo {
  display: block;
  overflow: visible;
}

.lilac-image-logo {
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.brand span {
  display: grid;
  gap: 0;
}

.brand strong {
  font-weight: 820;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--sage-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.96) 0%, rgba(251, 250, 246, 0.82) 38%, rgba(251, 250, 246, 0.08) 78%),
    url("assets/hero-counseling-office.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 88px);
  padding: 84px 0;
}

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

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

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6.6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: #39493e;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: white;
  background: var(--sage-dark);
}

.button.secondary {
  color: var(--sage-dark);
  background: white;
  border: 1px solid var(--line);
}

.quote-band {
  padding: 28px clamp(18px, 5vw, 80px);
  color: white;
  background: var(--sage-dark);
  text-align: center;
}

.quote-band p {
  max-width: 980px;
  margin: 0 auto 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.quote-band span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.about-photo {
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(33, 48, 42, 0.12);
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 38%;
}

.prose p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

@media (min-width: 861px) {
  #hakkimda .prose {
    margin-top: 38px;
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.service-card,
blockquote {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 220px;
  overflow: hidden;
  padding: 0 0 24px;
}

.service-card h3,
.service-card p {
  padding-right: 24px;
  padding-left: 24px;
}

.service-card h3 {
  margin-top: 22px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-image {
  min-height: 138px;
  background-size: cover;
  background-position: center;
}

.service-image-1 {
  background-image:
    linear-gradient(180deg, rgba(33, 48, 42, 0.02), rgba(33, 48, 42, 0.18)),
    url("assets/service-evlilik-danismanligi.png");
  background-position: 50% 46%;
}

.service-image-2 {
  background-image:
    linear-gradient(180deg, rgba(33, 48, 42, 0.02), rgba(33, 48, 42, 0.18)),
    url("assets/service-bireysel-danismanlik.png");
  background-position: 35% 52%;
  filter: saturate(0.92) brightness(1.04);
}

.service-image-3 {
  background-image:
    linear-gradient(180deg, rgba(33, 48, 42, 0.02), rgba(33, 48, 42, 0.18)),
    url("assets/service-cift-danismanligi.png");
  background-position: 65% 50%;
  filter: saturate(1.05);
}

.service-image-4 {
  background-image:
    linear-gradient(180deg, rgba(33, 48, 42, 0.02), rgba(33, 48, 42, 0.18)),
    url("assets/service-bosanma-danismanligi.png");
  background-position: 44% 62%;
  filter: sepia(0.08) saturate(0.92);
}

.service-image-5 {
  background-image:
    linear-gradient(180deg, rgba(33, 48, 42, 0.02), rgba(33, 48, 42, 0.18)),
    url("assets/service-cocuk-ergen-danismanligi.png");
  background-position: 58% 38%;
  filter: brightness(1.05) saturate(0.9);
}

.testimonials {
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 5vw, 80px);
  padding-left: clamp(18px, 5vw, 80px);
  background: var(--soft);
}

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

blockquote {
  margin: 0;
  padding: 24px;
}

blockquote p {
  margin: 0 0 18px;
  color: #445247;
}

cite {
  color: var(--sage-dark);
  font-style: normal;
  font-weight: 800;
}

.muted {
  width: min(1160px, calc(100% - 36px));
}

.credential-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  padding: 14px 16px;
  border-left: 3px solid var(--sage);
  background: white;
  color: #435045;
}

.appointment {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 24px;
  align-items: start;
}

.appointment-copy,
.appointment-form {
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
}

.appointment-copy {
  position: sticky;
  top: 96px;
  color: white;
  background: var(--sage-dark);
}

.appointment-copy .eyebrow,
.appointment-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.appointment-notes {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.appointment-notes span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.appointment-notes .hours-note {
  line-height: 1.75;
}

.appointment-form {
  display: grid;
  gap: 18px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: var(--sage-dark);
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(102, 120, 95, 0.22);
  border-color: var(--sage);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-actions button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.contact-panel,
.contact-details {
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
}

.contact-panel {
  color: white;
  background: var(--sage-dark);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-panel .button.primary {
  color: var(--sage-dark);
  background: white;
}

.contact-panel .button.secondary {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
}

.contact-details {
  display: grid;
  gap: 18px;
  background: white;
  border: 1px solid var(--line);
}

.contact-details span {
  display: block;
  margin-bottom: 4px;
  color: var(--sage-dark);
  font-weight: 850;
}

.contact-details p,
.contact-details a {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 80px);
  color: rgba(255, 255, 255, 0.75);
  background: #1e2a24;
}

.site-footer p {
  margin: 0;
}

.creator-credit {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 640px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.88) 45%, rgba(251, 250, 246, 0.16) 100%),
      url("assets/hero-counseling-office.png") center / cover no-repeat;
  }

  .hero-content {
    width: min(100% - 36px, 620px);
    margin: 0 auto;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .split,
  .appointment,
  .contact {
    grid-template-columns: 1fr;
  }

  .appointment-copy {
    position: static;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .service-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
