/* pentafoni.com — A · Beş Nokta (Swiss kurumsal) */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --ink: #111111;
  --muted: #5C5C58;
  --line: #E4E3DE;
  --accent: #C91700;
  --accent-line: #CC3A2B;
  --font: "Switzer", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: 24px;
  --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; overflow-wrap: break-word; }
p { max-width: 64ch; }

/* Bağlantılar */
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms ease, color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
a:hover { text-decoration-color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.arr {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.4em;
  vertical-align: -0.04em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 500;
  border-radius: 2px;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(1200px + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Üst menü */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 32px;
  min-height: 72px;
  position: relative;
}
.brand { display: block; flex: none; border-radius: 2px; }
.brand img { height: 56px; width: auto; }

.nav-toggle { display: none; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-list a {
  display: block;
  padding: 8px 0;
  font-weight: 500;
  text-decoration-color: transparent;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { text-decoration-color: var(--accent); }

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--surface); }
.btn-light { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--line); border-color: var(--line); }

/* Üst etiket */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h3 { font-size: 20px; line-height: 1.3; }

.section { padding-top: var(--section); }
.section-head { margin-bottom: 48px; }

/* Hero */
.hero { padding-block: var(--section); }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}
.hero-copy { grid-column: 1 / span 8; }
.hero h1 {
  max-width: 18ch;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero-lead { margin-top: 32px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.hero-mark { grid-column: 10 / span 3; justify-self: end; width: 100%; max-width: 264px; }
.hero-mark img { width: 100%; height: auto; }

/* Kartlar */
.cards { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.card::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.card h3 { margin-bottom: 12px; }
.card-text { margin-bottom: 28px; }
.card-note {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.card-link { align-self: flex-start; margin-top: 16px; font-weight: 500; }
.card-brand .card-link { align-self: flex-end; margin-top: auto; }

@supports (grid-template-rows: subgrid) {
  .card { display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .card-area { grid-row: span 5; }
  .card-brand { grid-row: span 4; }
  .card-note { margin-top: 0; align-self: start; }
  .card-link { justify-self: start; align-self: end; }
  .card-brand .card-link { justify-self: end; margin-top: 0; }
}

/* Rakam şeridi */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 48px;
  border-block: 1px solid var(--line);
}
.stat { padding-inline: 32px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-num { display: block; font-size: 48px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.5; }

/* Kapanış bandı */
.closing { margin-top: var(--section); padding-block: var(--section); background: var(--ink); color: var(--surface); }
.closing p { margin-top: 20px; color: var(--line); }
.closing .btn { margin-top: 40px; }

/* Altbilgi */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  column-gap: 24px;
  row-gap: 40px;
  padding-block: 64px 48px;
}
.footer-title { margin-bottom: 8px; color: var(--ink); font-weight: 600; }
.footer-grid address { max-width: 44ch; }
.footer-grid li + li, .footer-mail { margin-top: 8px; }
.footer-bottom { max-width: none; padding-block: 24px; border-top: 1px solid var(--line); }

/* Tablet */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Mobil menü ve küçük ekran */
@media (max-width: 899px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero-mark { display: none; }

  .header-inner { min-height: 64px; }
  .brand img { height: 48px; }

  /* JS kapalıyken menü açık ve akışta kalır */
  .site-header { position: static; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 16px; width: 100%; padding-block: 8px 24px; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 14px 0; border-bottom: 1px solid var(--line); }

  .js .site-header { position: sticky; }
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
  .nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
}

@media (max-width: 639px) {
  :root { --pad: 20px; --section: 64px; }
  html { scroll-padding-top: 80px; }
  .section-head { margin-bottom: 32px; }
  .hero-lead { margin-top: 24px; }
  .hero-actions { margin-top: 32px; }
  .stats { grid-template-columns: minmax(0, 1fr); padding-block: 0; }
  .stat { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); padding-block: 48px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- İç sayfalar ---------- */
.page-head { padding-block: var(--section) 64px; }
.page-head h1 {
  max-width: 22ch;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-intro { margin-top: 24px; color: var(--muted); }

main > :last-child:not(.closing) { padding-bottom: var(--section); }

.rows { display: grid; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 24px;
  padding-block: 64px;
  border-top: 1px solid var(--line);
}
.rows-compact .row { row-gap: 12px; padding-block: 40px; }
.row-tag { margin-top: 12px; color: var(--muted); }
.row-title { font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.row-action { margin-top: 32px; }
.row-body address { max-width: 64ch; }

.label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}
.rows-compact .label { margin-bottom: 0; }
.detail { margin-top: 32px; }

.dot-list li { position: relative; max-width: 64ch; padding-left: 20px; }
.dot-list li + li { margin-top: 4px; }
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
}

.steps { max-width: 64ch; }
.steps li { display: inline; }
.steps .arr { margin-inline: 0.25em 0.5em; }
.nw { white-space: nowrap; }

.link-row { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.link-row a { font-weight: 500; }

.note-line {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.note-line strong { display: block; font-weight: 600; }
.rows + .container .note-line { margin-top: 0; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 24px; }
.about-main p + p { margin-top: 24px; }
.logo-note { display: flex; align-items: flex-start; gap: 16px; }
.logo-note img { width: 48px; height: 48px; flex: none; }
.logo-note p { max-width: 36ch; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.5; }

.principles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.principle { padding-top: 24px; border-top: 1px solid var(--line); }
.principle h3 { margin-bottom: 8px; }

.contact-mail { font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }


@media (min-width: 900px) {
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .row-head { grid-column: 1 / span 5; }
  .row-body { grid-column: 6 / span 7; }
  .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .about-main { grid-column: 1 / span 7; }
  .logo-note { grid-column: 9 / span 4; }
}
@media (max-width: 639px) {
  .page-head { padding-block: var(--section) 40px; }
  .row { padding-block: 48px; }
  .rows-compact .row { padding-block: 32px; }
}
