/* 3T Tıbbi Medikal Tekstil — tek sayfa site
   Renkler kartvizitten alındı. Köşeler bilinçli olarak keskin (radius yok). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #2a5276;
  --navy-deep: #1d3b57;
  --teal: #2b8ea3;
  --teal-light: #45aabe;
  --graphite: #4b4848;
  --mist: #dcdedf;
  --mist-light: #eff1f2;
  --ink: #1b2a38;
  --text: #39414a;
  --white: #ffffff;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --condensed: 72%;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--teal); }

:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-stretch: var(--condensed);
  font-weight: 800;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.75rem, 6.2vw, 5rem); line-height: 0.96; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); line-height: 1; }
h3 { font-size: 1.375rem; line-height: 1.15; font-weight: 700; font-stretch: 80%; }

h1, h2 { text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
}
.skip-link:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--navy);
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 85%;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: auto; height: 54px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; font-stretch: var(--condensed); }
.brand-name strong { font-size: 1.375rem; font-weight: 800; }
.brand-name span { font-size: 0.9375rem; font-weight: 600; color: var(--graphite); }
.brand:hover { color: var(--ink); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-weight: 600;
  font-stretch: 85%;
  text-decoration: none;
}
.main-nav a:hover { border-bottom-color: var(--teal); color: var(--ink); }

.header-call { min-height: 42px; padding: 0 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--mist);
}

/* Kartvizitin arka yüzündeki çapraz bantlar */
.hero-bands {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(30vw, 440px);
}
.band { position: absolute; inset: 0; }
.band-graphite { background: var(--graphite); clip-path: polygon(20% 0, 100% 0, 100% 34%, 63% 76%); }
.band-mist     { background: var(--mist);     clip-path: polygon(63% 76%, 100% 34%, 100% 52%, 69% 89%); }
.band-navy     { background: var(--navy);     clip-path: polygon(6% 100%, 72% 100%, 40% 56%); }
.band-teal     { background: var(--teal-light); clip-path: polygon(0 0, 20% 0, 80% 100%, 60% 100%); }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  min-height: min(640px, calc(100vh - var(--header-h)));
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero-text { max-width: 620px; }
.hero-text h1 { margin-bottom: 24px; }
.lead { max-width: 34em; margin-bottom: 32px; font-size: 1.1875rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-phones { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-phones a {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  font-stretch: 80%;
  text-decoration: none;
}
.hero-phones a:hover { color: var(--teal); }

.hero-mark {
  justify-self: start;
  padding-left: clamp(0px, 4vw, 48px);
}
.hero-mark img { width: clamp(160px, 17vw, 230px); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: 48px;
}
.section-head p { max-width: 34em; }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product { display: flex; flex-direction: column; }
.product figure {
  margin: 0 0 16px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--mist-light);
  border-bottom: 4px solid var(--teal);
}
.product figure img { width: 100%; height: 100%; object-fit: cover; }
.product h3 { margin-bottom: 8px; font-size: 1.25rem; }
.product p { margin-bottom: 12px; font-size: 0.9375rem; line-height: 1.5; }
.product-quote {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9375rem;
  font-weight: 700;
  font-stretch: 85%;
}
/* Cerrahi önlük: üzerine gelince giyilmiş hali */
.product figure.has-alt { position: relative; }
.product figure.has-alt .alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .25s;
}
.product:hover figure.has-alt .alt { opacity: 1; }

/* Son kutu: listede olmayan ürünler için teklif */
.product-more .more-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 24px 20px;
  background: var(--navy);
  border-bottom: 4px solid var(--teal-light);
  color: #dbe6ef;
}
.product-more h3 { color: var(--white); font-size: 1.375rem; }
.product-more p { margin-bottom: 20px; }
.product-more .btn { margin-top: auto; align-self: flex-start; }
.btn-invert { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-invert:hover { background: var(--teal-light); border-color: var(--teal-light); color: var(--white); }

/* ---------- Uses ---------- */
.uses {
  position: relative;
  background: var(--navy);
  color: #dbe6ef;
  clip-path: polygon(0 0, 100% 48px, 100% 100%, 0 100%);
  padding-top: calc(clamp(64px, 9vw, 112px) + 24px);
}
.uses h2 { margin-bottom: 40px; color: var(--white); }
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.use {
  padding: 28px 32px 8px 0;
}
.use + .use { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .25); }
.use h3 { margin-bottom: 12px; color: var(--white); }
.use p { max-width: 30em; }

/* ---------- Contact ---------- */
.contact { background: var(--mist-light); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: stretch;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-intro { max-width: 30em; margin-bottom: 36px; }

.contact-list { margin: 0; }
.contact-list > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--mist);
}
.contact-list > div:last-child { border-bottom: 1px solid var(--mist); }
.contact-list dt { color: var(--graphite); font-weight: 600; font-stretch: 85%; }
.contact-list dd { margin: 0; }
.contact-list dd a {
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 700;
  font-stretch: 85%;
  text-decoration: none;
  word-break: break-word;
}
.contact-list dd a:hover { color: var(--teal); }
.contact-list address { font-style: normal; color: var(--ink); }
.contact-list .directions {
  display: inline-block;
  margin-top: 8px;
  font-size: 1rem;
  color: var(--navy);
  text-decoration: underline;
}

.contact-map { position: relative; min-height: 380px; background: var(--mist); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 4px solid var(--teal); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 0.9375rem;
}
.footer-inner img { width: auto; height: 40px; }
.footer-inner p:nth-of-type(1) { margin-right: auto; }
.footer-inner p:nth-of-type(2) { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-inner a { color: var(--ink); text-decoration: none; }
.footer-inner a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .brand img { height: 44px; }
  .brand-name strong { font-size: 1.1875rem; }
  .brand-name span { font-size: 0.8125rem; }

  .hero-bands { width: 22vw; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-right: calc(22vw + 8px);
  }
  .hero-mark { display: none; }

  .section-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 36px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .use-grid { grid-template-columns: minmax(0, 1fr); }
  .use, .use + .use { padding: 24px 0; border-left: 0; }
  .use + .use { border-top: 1px solid rgba(255, 255, 255, .25); }

  .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-map { min-height: 320px; }
}

@media (max-width: 600px) {
  .hero-bands { width: 18vw; }
  .hero-inner { padding-right: calc(18vw + 4px); }
  .lead { font-size: 1.0625rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .product h3 { font-size: 1.125rem; }
  .product p { font-size: 0.875rem; }
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-inner p:nth-of-type(1) { margin-right: 0; }
  .uses { clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .product figure.has-alt .alt { transition: none; }
}
