:root {
  --bg: #faf9f7;
  --bg-muted: #f0eeea;
  --text: #1c1917;
  --text-soft: #57534e;
  --accent: #0d6e6e;
  --accent-dark: #0a5555;
  --accent-light: rgba(13, 110, 110, 0.1);
  --border: #e7e5e4;
  --white: #ffffff;
  --radius: 10px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --header-h: 70px;
  --container: min(1080px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  line-height: 1.2;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
}

.logo-accent {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
}

.site-nav a:not(.btn):hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-light {
  background: var(--white);
  color: var(--accent-dark);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-soft);
}

.stats strong {
  display: block;
  font-size: 1.35rem;
  color: var(--text);
}

.hero-image img {
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head--center {
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.sub {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* References table */
.ref-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ref-table th,
.ref-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.ref-table th {
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ref-table tbody tr:last-child td {
  border-bottom: none;
}

.ref-table tbody tr:hover {
  background: var(--accent-light);
}

.ref-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.ref-table td:last-child {
  color: var(--text-soft);
}

.ref-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img img {
  border-radius: var(--radius);
}

.ticks li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-soft);
}

.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* CTA */
.cta {
  padding: 3rem 0;
}

.cta-box {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 16px;
}

.cta-box h2 {
  color: var(--white);
}

.cta-box p {
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

/* Contact */
#iletisim .section-head {
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-card,
.contact-panel {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-card--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-card--inline h3::after {
  content: "—";
  margin-left: 1rem;
  font-weight: 400;
  color: var(--border);
}

.contact-card address p {
  margin: 0;
  flex: 1;
  min-width: min(100%, 16rem);
  color: var(--text-soft);
  line-height: 1.7;
}

.contact-card address strong {
  color: var(--text);
  font-weight: 600;
}

.contact-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.contact-panel__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.contact-panel__item p {
  margin: 0;
  color: var(--text);
}

.contact-panel a {
  color: var(--accent);
  font-weight: 600;
}

.contact-panel a:hover {
  color: var(--accent-dark);
}

.contact-phones li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.contact-phones li:last-child {
  margin-bottom: 0;
}

.contact-phones__tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  min-width: 3.5rem;
}

/* Footer */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-soft);
}

.footer-inner p {
  margin: 0;
}

.footer nav {
  display: flex;
  gap: 1.25rem;
}

.footer nav a:hover {
  color: var(--accent);
}

/* Mobile nav */
@media (max-width: 768px) {
  .hero-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
