:root {
  --ink: #10231f;
  --forest: #0f3028;
  --forest-2: #18483d;
  --cream: #f7efe0;
  --paper: #fffaf0;
  --muted: #66736e;
  --line: rgba(16, 35, 31, 0.14);
  --accent: #e65a46;
  --gold: #ffc95c;
  --sage: #dfeadd;
  --sky: #dbeefd;
  --shadow: 0 24px 70px rgba(23, 41, 35, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", "Trebuchet MS", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(255, 250, 240, 0.84);
  border-bottom: 1px solid rgba(16, 35, 31, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 48px;
  place-items: center;
  color: white;
  background: radial-gradient(circle at 30% 20%, var(--accent), var(--forest));
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: -0.05em;
  box-shadow: 0 14px 30px rgba(15, 48, 40, 0.24);
}

.brand strong {
  display: block;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(16, 35, 31, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  transition: color 160ms ease, transform 160ms ease;
}

.main-nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 12px 18px;
  color: white !important;
  background: var(--forest);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 10px 14px;
  color: white;
  background: var(--forest);
  border-radius: 999px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  min-height: 720px;
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 64px) 70px;
  overflow: hidden;
}

.mini-hero {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 64px);
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 201, 92, 0.42), transparent 28%),
    linear-gradient(135deg, #fff8e9 0%, #f8efde 52%, #dcebdd 100%);
}

.mini-hero h1 {
  max-width: 1040px;
  font-size: clamp(44px, 7vw, 88px);
}

.mini-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.static-nav {
  display: flex;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 201, 92, 0.62), transparent 28%),
    radial-gradient(circle at 4% 8%, rgba(230, 90, 70, 0.18), transparent 27%),
    linear-gradient(135deg, #fff8e9 0%, #f8efde 42%, #dcebdd 100%);
  z-index: -2;
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -120px;
  width: 520px;
  height: 520px;
  background: repeating-linear-gradient(45deg, rgba(15, 48, 40, 0.12) 0 2px, transparent 2px 18px);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.hero-content {
  align-self: center;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(52px, 8vw, 112px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  margin-bottom: 16px;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.legacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 14px 10px 10px;
  background: rgba(255, 250, 240, 0.76);
  border: 1px solid rgba(16, 35, 31, 0.12);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(15, 48, 40, 0.1);
}

.legacy-badge strong {
  padding: 8px 11px;
  color: white;
  background: var(--forest);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legacy-badge span {
  color: var(--forest);
  font-weight: 900;
}

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

.hero-actions .btn,
.contact-actions .btn {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 18px 36px rgba(230, 90, 70, 0.28);
}

.ghost {
  border-color: rgba(16, 35, 31, 0.16);
  background: rgba(255, 250, 240, 0.74);
}

.dark-btn {
  color: white;
  background: var(--forest);
}

.hero-card {
  align-self: center;
  padding: clamp(28px, 4vw, 42px);
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 54px);
}

.hero-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-card-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -28px clamp(18px, 5vw, 64px) 0;
  overflow: hidden;
  background: rgba(16, 35, 31, 0.12);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(15, 48, 40, 0.12);
}

.trust-strip article {
  padding: 26px;
  background: var(--forest);
  color: white;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.7);
}

.proof {
  padding-bottom: 42px;
}

.proof-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 6vw, 64px);
  background: var(--paper);
  border: 1px solid rgba(16, 35, 31, 0.1);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.proof-card p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list article {
  padding: 18px;
  background: rgba(15, 48, 40, 0.07);
  border: 1px solid rgba(15, 48, 40, 0.1);
  border-radius: 22px;
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  margin-bottom: 5px;
  color: var(--forest);
  font-size: 18px;
}

.proof-list span {
  color: var(--muted);
  line-height: 1.45;
}

.proof-list a {
  color: var(--accent);
  font-weight: 900;
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 64px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.content-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: start;
}

.content-page article,
.content-page aside {
  padding: clamp(26px, 5vw, 46px);
  background: var(--paper);
  border: 1px solid rgba(16, 35, 31, 0.1);
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(16, 35, 31, 0.08);
}

.content-page p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.sahibinden-section {
  padding-bottom: 42px;
}

.hepsiemlak-section {
  padding-top: 0;
  padding-bottom: 42px;
}

.portal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  color: white;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 201, 92, 0.5), transparent 26%),
    linear-gradient(135deg, var(--forest), var(--ink));
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hepsiemlak-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(230, 90, 70, 0.32), transparent 26%),
    linear-gradient(135deg, #154174, var(--ink));
}

.portal-card .eyebrow {
  color: var(--gold);
}

.portal-card h2 {
  margin-bottom: 14px;
}

.portal-card p:not(.eyebrow) {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1.65;
}

.emlakjet-section {
  padding-top: 0;
}

.webview-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(16, 35, 31, 0.1);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.webview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: white;
  background: var(--forest);
}

.webview-topbar strong,
.webview-topbar span {
  display: block;
}

.webview-topbar span {
  margin-top: 3px;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.webview-topbar a {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--forest);
  background: var(--gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.webview-card iframe {
  display: block;
  width: 100%;
  height: min(76vh, 820px);
  min-height: 560px;
  border: 0;
  background: white;
}

.webview-fallback {
  padding: 22px;
  background: linear-gradient(135deg, rgba(255, 201, 92, 0.18), rgba(230, 90, 70, 0.08));
  border-top: 1px solid rgba(16, 35, 31, 0.1);
}

.webview-fallback h3 {
  margin-bottom: 8px;
}

.webview-fallback p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
}

.local-seo {
  padding-top: 0;
}

.local-seo-card {
  padding: clamp(30px, 6vw, 64px);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 201, 92, 0.38), transparent 26%),
    var(--paper);
  border: 1px solid rgba(16, 35, 31, 0.1);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.local-seo-card h2 {
  max-width: 980px;
}

.local-seo-text {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.local-seo-text p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.keyword-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.keyword-grid a {
  padding: 11px 14px;
  color: var(--forest);
  background: rgba(15, 48, 40, 0.08);
  border: 1px solid rgba(15, 48, 40, 0.12);
  border-radius: 999px;
  font-weight: 900;
}

.regions {
  background: var(--forest);
  color: white;
}

.regions .eyebrow,
.regions .section-heading p {
  color: var(--gold);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.region-grid a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at 70% 10%, rgba(255, 201, 92, 0.35), transparent 34%),
    rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
}

.region-grid strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.region-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.services {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) 1fr;
  gap: 22px;
}

.service-card,
.service-list article,
.contact-card,
.contact-details {
  border-radius: 32px;
}

.service-card {
  padding: clamp(30px, 5vw, 54px);
}

.service-card.dark {
  color: white;
  background: var(--forest);
}

.service-card.dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-list article {
  padding: 26px;
  background: var(--paper);
  border: 1px solid rgba(16, 35, 31, 0.1);
}

.service-list span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 900;
}

.service-list p {
  color: var(--muted);
  line-height: 1.6;
}

.faq {
  padding-top: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-grid article {
  padding: 26px;
  background: var(--paper);
  border: 1px solid rgba(16, 35, 31, 0.1);
  border-radius: 28px;
}

.faq-grid h3 {
  margin-bottom: 12px;
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.45fr);
  gap: 22px;
  padding-top: 0;
}

.contact-card {
  padding: clamp(32px, 6vw, 64px);
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 201, 92, 0.5), transparent 26%),
    var(--paper);
  border: 1px solid rgba(16, 35, 31, 0.1);
  box-shadow: var(--shadow);
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  color: white;
  background: var(--ink);
  font-style: normal;
}

.contact-details strong {
  margin-bottom: 12px;
  font-size: 24px;
}

.contact-details a {
  color: var(--gold);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--forest);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: white;
  font-weight: 900;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  color: white;
  background: #1fb463;
  border-radius: 999px;
  box-shadow: 0 20px 48px rgba(31, 180, 99, 0.34);
  font-weight: 900;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 260px;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .main-nav a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .main-nav.open {
    display: flex;
  }

  .hero,
  .section-heading,
  .proof-card,
  .portal-card,
  .content-page,
  .local-seo-text,
  .services,
  .faq-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .static-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

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

  .webview-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 10px;
    padding: 14px 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 46px;
    height: 42px;
    border-radius: 14px;
    font-size: 13px;
  }

  .brand strong {
    max-width: 155px;
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    padding: 9px 12px;
    font-size: 13px;
  }

  .main-nav {
    left: 16px;
    right: 16px;
    min-width: 0;
  }

  .hero {
    gap: 22px;
    padding: 36px 16px 42px;
  }

  .mini-hero {
    padding: 46px 16px;
  }

  .mini-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .static-nav a:not(.nav-cta) {
    display: none;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 12vw, 50px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(31px, 10vw, 42px);
    line-height: 1;
  }

  h3 {
    font-size: 21px;
  }

  .hero-copy,
  .hero-card p:not(.eyebrow),
  .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions,
  .hero-card-actions,
  .contact-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .legacy-badge {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 22px;
  }

  .legacy-badge span {
    line-height: 1.35;
  }

  .btn,
  .hero-actions .btn,
  .hero-card-actions .btn,
  .contact-actions .btn {
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
  }

  .hero-card,
  .proof-card,
  .content-page article,
  .content-page aside,
  .local-seo-card,
  .contact-card,
  .service-card,
  .contact-details {
    border-radius: 24px;
  }

  .hero-card {
    padding: 24px;
  }

  .trust-strip,
  .region-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 0;
    border-radius: 22px;
  }

  .trust-strip article {
    padding: 20px;
  }

  .section {
    padding: 56px 16px;
  }

  .emlakjet-section {
    padding-top: 42px;
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 24px;
  }

  .webview-card {
    border-radius: 22px;
  }

  .webview-topbar {
    padding: 16px;
  }

  .webview-topbar a {
    width: 100%;
    text-align: center;
  }

  .webview-card iframe {
    min-height: 480px;
    height: 68vh;
  }

  .webview-fallback {
    padding: 18px;
  }

  .region-grid a {
    min-height: 150px;
    border-radius: 22px;
  }

  .services {
    gap: 16px;
  }

  .service-list article {
    padding: 22px;
    border-radius: 22px;
  }

  .faq-grid article {
    padding: 22px;
    border-radius: 22px;
  }

  .contact {
    gap: 16px;
  }

  .contact-card,
  .contact-details {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 16px;
  }

  .floating-whatsapp {
    left: 16px;
    right: 16px;
    bottom: 14px;
    width: auto;
  }
}

@media (max-width: 420px) {
  .brand strong {
    max-width: 128px;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: 36px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .webview-card iframe {
    min-height: 420px;
    height: 64vh;
  }
}
