:root {
  --white: #fbfcfe;
  --surface: #eef1f8;
  --cobalt: #1b3a8c;
  --cobalt-deep: #142a66;
  --red: #d3202e;
  --ink: #1d2333;
  --muted: #586079;
  --line: #d5dbe8;
  --rim: 6px;
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--cobalt); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

h1, h2, h3 {
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}

h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.65rem; }

p { margin: 0 0 1em; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--cobalt); color: #fff; padding: 8px 14px; z-index: 50;
}
.skip:focus { left: 8px; }

/* Üst menü */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 252, 254, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}
.brand img { width: 150px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600;
  font-stretch: 85%; font-size: 1.05rem;
}
.nav a:hover { color: var(--cobalt); }
.header-call {
  background: var(--cobalt); color: #fff; text-decoration: none;
  font-weight: 700; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
}
.header-call:hover { background: var(--cobalt-deep); }

/* Giriş: emaye tabela + puantiye */
.hero {
  background-color: var(--cobalt);
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 5px, transparent 5.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 5px, transparent 5.5px);
  background-size: 34px 34px;
  background-position: 0 0, 17px 17px;
  padding: clamp(28px, 5vw, 64px) 0;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
.plate {
  background: var(--cobalt);
  color: #fff;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: inset 0 0 0 var(--rim) var(--cobalt-deep), inset 0 0 0 calc(var(--rim) + 3px) #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.plate h1 {
  font-size: clamp(3rem, 7.4vw, 6.2rem);
  font-stretch: 64%;
  font-weight: 900;
  line-height: 0.94;
  margin-bottom: 24px;
}
.plate p { font-size: 1.2rem; max-width: 34ch; color: #e4e9f7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 22px; border-radius: 999px; font-size: 1.05rem;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #b51723; }
.btn-white { background: #fff; color: var(--cobalt); }
.btn-white:hover { background: var(--surface); }
.hero-photo {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: var(--rim) solid var(--cobalt-deep);
  background: #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Bölümler */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { display: grid; gap: 14px; max-width: 60ch; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 0; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.jump a {
  text-decoration: none; color: var(--cobalt); font-weight: 600;
  border: 2px solid var(--cobalt); border-radius: 999px; padding: 6px 14px;
}
.jump a:hover { background: var(--cobalt); color: #fff; }

.family + .family { margin-top: 72px; }
.family > h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  padding-bottom: 14px; margin-bottom: 28px;
  border-bottom: 3px solid var(--ink);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 40px 32px;
}
.product figure { margin: 0 0 16px; }
.product img {
  width: 100%; aspect-ratio: 8 / 7; object-fit: cover;
  border-radius: var(--radius);
  border: var(--rim) solid var(--ink);
  background: var(--surface);
}
.product h4 {
  margin: 0 0 4px; font-size: 1.35rem; font-weight: 800; font-stretch: 80%; line-height: 1.15;
}
.product .desc { color: var(--muted); font-size: 0.98rem; margin-bottom: 10px; }

.codes { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.codes th, .codes td { text-align: left; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.codes th { font-weight: 600; color: var(--muted); font-size: 0.85rem; }
.codes td:first-child { font-weight: 700; color: var(--cobalt); white-space: nowrap; }
.codes td:last-child, .codes th:last-child { text-align: right; padding-right: 0; }

.note { color: var(--muted); font-size: 0.92rem; margin-top: 48px; }

/* Hakkımızda */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-text h2 { margin-bottom: 22px; }
.about-text p { max-width: 58ch; }
.about-photo { margin: 0; }
.about-photo img {
  border-radius: var(--radius); border: var(--rim) solid var(--cobalt-deep);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
.certs { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.certs img { width: calc((100% - 28px) / 3); max-width: 120px; border-radius: 8px; background: #fff; }
.certs figcaption { flex-basis: 100%; font-size: 0.9rem; color: var(--muted); }

/* Katalog bandı */
.catalog {
  background-color: var(--red);
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 4px, transparent 4.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 4px, transparent 4.5px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  padding: clamp(36px, 6vw, 64px) 0;
}
.catalog .card {
  background: var(--red); color: #fff;
  border-radius: 24px; padding: clamp(24px, 4vw, 44px);
  box-shadow: inset 0 0 0 var(--rim) #9e1420, inset 0 0 0 calc(var(--rim) + 3px) #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.catalog h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 8px; }
.catalog p { margin: 0; color: #ffe3e5; max-width: 52ch; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.contact-grid h3 { font-size: 1.3rem; font-stretch: 80%; margin-bottom: 10px; }
.contact-grid p { margin: 0; }
.contact-grid a { font-weight: 600; }
.contact-lines { display: grid; gap: 4px; }

.site-footer { background: var(--ink); color: #c4cadb; padding: 28px 0; font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: #fff; }

@media (max-width: 900px) {
  .hero .wrap, .about-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 8 / 7; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .brand img { width: 128px; }
  .header-call { margin-left: auto; }
  .hero { background-size: 26px 26px; background-position: 0 0, 13px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
