:root {
  --navy: #072d55;
  --blue: #084582;
  --ink: #182b44;
  --soft: #eaf2fb;
  --line: #cbd9e8;
}

html { scroll-padding-top: 6rem; }
body { padding-top: 4.7rem; }
main { min-width: 0; }
main:focus { outline: none; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #1684dc;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: .5rem;
  background: white;
  color: var(--navy);
  padding: .6rem 1.15rem;
}

.skip-link:focus { transform: none; }

.site-header {
  top: .45rem;
  inset-inline: clamp(.45rem, 1.6vw, 1.35rem);
  max-width: 83rem;
  margin-inline: auto;
  background: #02438b;
  border: 1px solid #ffffff50;
  border-radius: 1rem;
  box-shadow: 0 6px 24px #071d3430;
}

.site-header > div { padding-inline: clamp(.8rem, 1.6vw, 1.25rem); }
.site-header nav:not(.mobile-menu) { gap: .2rem; }
.site-header [aria-current="page"] { color: #fff; background: #ffffff28; border-color: #ffffff3c; }
.site-header a, .site-header button { min-height: 2.75rem; }
.site-header nav:not(.mobile-menu) a {
  display: flex;
  align-items: center;
  padding: .42rem .58rem;
  border: 1px solid transparent;
  border-radius: .55rem;
}
.site-header nav:not(.mobile-menu) a[aria-current="page"] { border-color: #ffffff30; }
.site-header nav:not(.mobile-menu) a[href="/degerleme"] { min-width: 6.35rem; }
.site-header button { min-width: 2.75rem; }
.site-header img { max-width: min(210px, 61vw); }
.site-header button + nav { display: none; }

@media (min-width: 75.0625rem) {
  .site-header > div > div > div > a {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 2.75rem;
    padding: .55rem .8rem;
    white-space: nowrap;
    border: 1px solid #ffffff40;
    border-radius: .65rem;
    font-size: .8125rem;
  }

  .site-header > div > div > div > a[href*="wa.me"] {
    border-color: #56dfa1;
    background: #53e09c;
    color: #073a29;
  }

  .site-header > div > div > div > a[href*="wa.me"]:hover { background: #88edb7; }
  .site-header > div > div > div > a[href*="instagram.com"] {
    background: #ffffff12 !important;
    color: white;
  }
  .site-header > div > div > div > a[href*="instagram.com"]:hover {
    background: #ffffff27 !important;
  }
}

@media (min-width: 75.0625rem) and (max-width: 86rem) {
  .site-header img { max-width: 180px; }
  .site-header nav:not(.mobile-menu) a { padding-inline: .5rem; }
}

.mobile-menu {
  padding: .5rem clamp(1rem, 4vw, 2rem) 1rem;
  max-height: calc(100dvh - 5.1rem);
  overflow: auto;
  color: white;
  border-top: 1px solid #ffffff25;
}

.mobile-menu[hidden] { display: none; }
.mobile-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .75rem;
  border-radius: .4rem;
}

.mobile-link:hover { background: #ffffff18; }
footer a { overflow-wrap: anywhere; }
footer a, footer p { color: #e1ecf8; }

:is(footer, .page-hakkimda main) a:is([href*="wa.me"], [href*="instagram.com"]) {
  min-height: 2.75rem;
  padding: .62rem .95rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 650;
}

:is(footer, .page-hakkimda main) a[href*="wa.me"] {
  border-color: #56dfa1;
  background: #53e09c;
  color: #073a29;
}

:is(footer, .page-hakkimda main) a[href*="wa.me"]:hover { background: #88edb7; }
footer a[href*="instagram.com"] {
  border-color: #ffffff40;
  background: #ffffff12 !important;
  color: white;
}

footer a[href*="instagram.com"]:hover { background: #ffffff27 !important; }
.page-hakkimda main a[href*="instagram.com"] {
  border-color: #e4c8e2;
  background: #f8f2fb !important;
  color: #762358;
}

.page-hakkimda main a[href*="instagram.com"]:hover { background: #f3e5f4 !important; }
:is(.site-header, footer, .page-hakkimda main) a:is([href*="wa.me"], [href*="instagram.com"]) svg {
  flex-shrink: 0;
}

.valuation-hero {
  background: linear-gradient(140deg, var(--navy), #0b4277 76%, #0b4e88);
}

.valuation-card { border: 1px solid var(--line); }
.valuation-card > :first-child { background-color: var(--navy); }
.valuation-card form { padding: clamp(1.1rem, 4vw, 2rem); }
[data-whatsapp-form] label { display: inline-block; }
[data-whatsapp-form] input, [data-whatsapp-form] select, [data-whatsapp-form] textarea {
  border-color: #acbdce;
  font-size: 1rem;
}

.cadastre {
  min-width: 0;
  padding: .9rem clamp(.9rem, 3vw, 1.35rem) 1.15rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: .8rem;
  background: var(--soft);
  color: var(--ink);
}

.cadastre legend {
  padding: .2rem .6rem;
  border-radius: .45rem;
  background: var(--navy);
  color: white;
  font: 600 1.05rem/1.5 Inter, system-ui, sans-serif;
}

.cadastre > p { margin-bottom: .9rem; }
.cadastre-fields { display: grid; gap: .75rem; }
.cadastre label { font-size: .9rem; font-weight: 600; }
.cadastre input {
  display: block;
  width: 100%;
  margin-top: .3rem;
  padding: .65rem .75rem;
  border: 1px solid #acbdce;
  border-radius: .5rem;
  background: white;
}

.cadastre a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: .35rem;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.form-note { color: #425771; font-size: .9rem; line-height: 1.55; }
.form-note a { text-decoration: underline; }
#email-help { display: block; margin-top: .35rem; color: #425771; font-size: .8rem; }
.form-trap { position: absolute; left: -9999px; }
.form-actions { display: grid; gap: .65rem; }
.form-button {
  min-height: 3rem;
  padding: .65rem .8rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 700;
  line-height: 1.3;
}
.form-button:disabled { opacity: .6; cursor: wait; }
.form-button-email { background: var(--navy); color: white; }
.form-button-email:hover:not(:disabled) { background: var(--blue); }
.form-button-whatsapp { border-color: #91d9b1; background: #e6f9ed; color: #0b5937; }
.form-button-whatsapp:hover:not(:disabled) { background: #d2f4df; }
.form-status:not(:empty) {
  margin-top: .85rem;
  padding: .75rem .9rem;
  border-radius: .55rem;
  background: var(--soft);
  color: var(--ink);
}

.contact-map {
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #f7faff;
}
.contact-map-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding: 1rem clamp(1rem, 4vw, 1.5rem);
}
.contact-map h2 { color: var(--navy); font-size: 1.3rem; font-weight: 700; }
.contact-map p { color: #425771; }
.contact-map a {
  padding: .6rem .85rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: white;
  color: var(--blue);
  font-weight: 650;
}
.contact-map a:hover { background: var(--soft); }
.contact-map iframe { display: block; width: 100%; height: clamp(18rem, 38vw, 25rem); border: 0; }

.analytics-preferences {
  display: block;
  min-height: 2.75rem;
  margin: .35rem auto 0;
  padding: .55rem .8rem;
  color: #e1ecf8;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.analytics-consent {
  position: fixed;
  z-index: 60;
  inset: auto 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.25rem;
  width: min(53rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: white;
  color: var(--ink);
  box-shadow: 0 10px 36px #072d5530;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent > div:first-child { flex: 1 1 22rem; }
.analytics-consent h2 { font: 700 1rem/1.4 Inter, system-ui, sans-serif; }
.analytics-consent p { margin-top: .2rem; font-size: .9rem; line-height: 1.45; }
.analytics-actions { display: flex; gap: .5rem; }
.analytics-actions button {
  min-height: 2.75rem;
  padding-inline: .85rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--soft);
  color: var(--navy);
  font-weight: 650;
}
.analytics-actions button:hover { background: #dbeafa; }
.analytics-actions button[data-choice="granted"] { background: var(--navy); color: white; }
.analytics-actions button[data-choice="granted"]:hover { background: var(--blue); }
.page-home main > section:first-child { min-height: calc(100svh - 4.7rem); }

.home-hero .home-hero-overlay {
  background: linear-gradient(90deg, #061724f2 0%, #071e33e3 32%, #0a243b85 57%, #06172415 100%),
    linear-gradient(0deg, #04172673, transparent 52%);
}

.home-hero-content { padding-block: clamp(4rem, 10vh, 8rem); }
.home-hero-lead { max-width: min(48rem, 100%); }
.home-hero-identity {
  margin-bottom: 1rem;
  color: #e2eff8;
  letter-spacing: .03em;
  text-transform: none;
}
.home-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.45rem, 5.4vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.home-hero-copy {
  max-width: 38rem;
  margin-block: 1.15rem 1.65rem;
  color: #e1ecf6;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
}
.home-hero-actions {
  max-width: none;
  flex-flow: row wrap;
  align-items: center;
  gap: .65rem;
}
.home-hero-actions a {
  min-height: 3rem;
  gap: .5rem;
  justify-content: center;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  white-space: nowrap;
  font-size: .88rem;
}
.home-hero-actions a[href="/degerleme"] { order: -1; background: #c80e33; }
.home-hero-actions a[href="/degerleme"]:hover { background: #ad1030; }
.home-hero-actions a[href="/satilik"] { border-color: #ffffff55; background: #ffffff19; }
.home-hero-actions a[href="/satilik"]:hover { background: #ffffff32; }
.home-hero-actions a[href*="wa.me"] { background: #53e09c; color: #073a29; }
.home-hero-actions a[href*="wa.me"]:hover { background: #88edb7; }
.home-hero .home-hero-stats {
  position: relative;
  inset: auto;
  display: grid;
  width: min(100%, 39rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .25rem;
  margin-top: 2rem;
  padding: .95rem .35rem;
  border: 1px solid #ffffff36;
  border-radius: .8rem;
  background: #0b203cb3;
}
.home-hero-stats > div { text-align: center; }
.home-hero-stats > div + div { border-left: 1px solid #ffffff36; }
.home-hero-stats > div > p:last-child { color: #d9e8f4; }

@media (min-width: 48rem) {
  body { padding-top: 5.7rem; }
  .page-home main > section:first-child { min-height: calc(100svh - 5.7rem); }
}

@media (min-width: 40rem) {
  .cadastre-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 75rem) {
  .site-header nav:not(.mobile-menu) { display: none; }
  .site-header button[aria-controls] { display: flex; align-items: center; justify-content: center; }
  .site-header > div > div > div > a { display: none; }
}

@media (min-width: 75.0625rem) {
  .mobile-menu { display: none; }
}

@media (max-width: 36rem) {
  .page-home main > .home-hero {
    min-height: 36rem;
    flex-direction: column;
    padding-block-end: 1.75rem;
  }

  .home-hero-content { padding-block: 3.5rem 1.2rem; }
  .home-hero .home-hero-overlay { background: #061724d4; }
  .home-hero .home-hero-stats { margin-top: 1.25rem; padding-inline: .15rem; }
  .home-hero-stats p:last-child { font-size: .7rem; }
  .page-home a.fixed { right: .8rem; bottom: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
