@font-face {
  font-family: Onest;
  src: url("assets/onest-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Onest;
  src: url("assets/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --canvas: #f6f8f3;
  --white: #fff;
  --panel: #eaf0e3;
  --ink: #22244c;
  --navy: #282765;
  --deep: #202246;
  --on-dark: #e6ebf3;
  --muted: #48534b;
  --brand: #83b735;
  --brand-hover: #99ca42;
  --brand-tint: #edf5e3;
  --line: #d2dacf;
  --control-line: #7b8a79;
  --focus: #354f91;
  --error: #a0252c;
  --type: Onest, system-ui, sans-serif;
  --gutter: clamp(18px, 4.4vw, 78px);
  --radius: 5px;
  --header-height: 74px;
  --touch: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 16px/1.56 var(--type); }
h1, h2, h3, p, figure, address { margin: 0; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--brand-tint); color: var(--ink); }
.wrap { width: min(1330px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-up { transform: rotate(180deg); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 8; top: 9px; left: 10px; padding: 11px 15px; background: var(--white); }

.button, .icon-button {
  display: inline-flex;
  min-height: var(--touch);
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  line-height: 1.25;
  font-size: 14px;
  font-weight: 680;
  transition: background-color .16s ease-out, color .16s ease-out;
}
.button .icon { width: 17px; height: 17px; }
.button-ink { color: var(--white); background: var(--navy); }
.button-ink:hover { background: var(--deep); }
.button-ink:disabled { cursor: default; color: var(--muted); background: var(--line); }
.button-brand { color: var(--deep); background: var(--brand); }
.button-brand:hover { background: var(--brand-hover); }
.icon-button { width: var(--touch); padding: 0; border-color: var(--line); background: var(--white); }
.icon-button:hover { background: var(--panel); }
.text-link, .hero-link {
  display: inline-flex;
  width: fit-content;
  min-height: var(--touch);
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 680;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}
.text-link:hover, .hero-link:hover { text-decoration-color: currentColor; }
.text-link .icon, .hero-link .icon { width: 15px; height: 15px; }

.site-header { position: sticky; z-index: 4; top: 0; border-bottom: 1px solid var(--line); background: var(--canvas); }
.header-row { position: relative; display: flex; min-height: calc(var(--header-height) - 1px); align-items: center; gap: clamp(18px, 4vw, 55px); }
.logo { display: inline-flex; min-height: var(--touch); align-items: center; width: fit-content; }
.logo img { width: clamp(127px, 13vw, 174px); }
#site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); margin-left: auto; }
#site-nav a { display: inline-flex; min-height: var(--touch); align-items: center; font-size: 14px; font-weight: 640; }
#site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.22fr);
  min-height: clamp(455px, 40vw, 570px);
  margin-top: clamp(16px, 2.4vw, 35px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--white);
}
.hero-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(24px, 3.55vw, 54px); }
.hero-copy :focus-visible, .contact :focus-visible { outline-color: var(--brand-hover); }
.hero-location { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 17px; color: var(--on-dark); font-size: 13px; font-weight: 600; }
.hero-location .icon { width: 16px; height: 16px; color: var(--brand-hover); }
.hero h1 { max-width: 11em; font-size: clamp(40px, 4.45vw, 66px); font-weight: 750; letter-spacing: -.044em; line-height: 1.03; }
.hero-copy p { max-width: 375px; margin-top: 18px; color: var(--on-dark); font-size: clamp(15px, 1.3vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 25px; }
.hero-link { color: var(--white); }
.hero-visual { position: relative; min-height: 100%; }
.hero-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 65% 52%; }
.hero-visual figcaption { position: absolute; right: 10px; bottom: 10px; padding: 4px 8px; border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: 11px; }

.catalog { padding-block: clamp(62px, 7vw, 101px); }
.section-head { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 18px 28px; margin-bottom: 25px; }
h2 { font-size: clamp(34px, 4.15vw, 59px); font-weight: 740; letter-spacing: -.04em; }
.section-head p { max-width: 350px; color: var(--muted); }
.catalog-shell { position: relative; padding: clamp(11px, 2vw, 26px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.catalog-top, .catalog-controls, .catalog-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.catalog-top { margin-bottom: 14px; }
.catalog-tabs { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.catalog-tab { min-height: var(--touch); padding: 8px 15px; border: 0; border-radius: 3px; background: transparent; color: var(--navy); font-size: 15px; font-weight: 700; }
.catalog-tab[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.catalog-tab:not([aria-pressed="true"]):hover { background: var(--panel); }
.search { display: flex; min-height: var(--touch); width: min(100%, 260px); align-items: center; gap: 8px; padding-inline: 11px 6px; border: 1px solid var(--control-line); border-radius: var(--radius); background: var(--white); }
.search .icon { width: 18px; height: 18px; color: var(--navy); }
.search input { width: 100%; min-height: var(--touch); min-width: 0; padding: 0 4px; border: 0; background: transparent; font-size: 16px; }
.search input:focus-visible { outline-offset: -2px; }
.search input::placeholder, .form-field :is(input,textarea)::placeholder { color: var(--muted); opacity: 1; }
.catalog-controls { margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.category-filter { min-height: var(--touch); padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); font-size: 13px; font-weight: 640; }
.category-filter:hover { border-color: var(--control-line); }
.category-filter[aria-pressed="true"] { border-color: var(--control-line); background: var(--brand-tint); color: var(--deep); }
#catalog-status { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.catalog-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.catalog-grid:has([data-view="dekorlar"]:not([hidden])) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card-image { position: relative; aspect-ratio: 1.36; overflow: hidden; background: var(--panel); }
.catalog-card[data-view="dekorlar"] .card-image { aspect-ratio: 1.72; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.image-note { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 3px; background: var(--white); color: var(--muted); font-size: 11px; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 12px 11px 5px; }
.card-type { color: var(--muted); font-size: 12px; font-weight: 620; }
.card-body h3 { margin: 4px 0 6px; font-size: clamp(20px, 2vw, 28px); font-weight: 740; letter-spacing: -.03em; }
.card-use { margin-bottom: 8px; color: var(--muted); font-size: 14px; line-height: 1.43; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1px 9px; margin-top: auto; }
.card-actions .text-link { font-size: 13px; }
.compare-button { display: inline-flex; min-height: var(--touch); align-items: center; gap: 5px; padding: 3px 7px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--navy); font-size: 12px; font-weight: 650; }
.compare-button .icon { width: 16px; height: 16px; }
.compare-button:hover { background: var(--canvas); }
.compare-button[aria-pressed="true"] { border-color: var(--control-line); background: var(--brand-tint); }
.compare-bar { position: sticky; z-index: 2; bottom: 10px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 14px; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--control-line); border-radius: var(--radius); background: var(--brand-tint); box-shadow: 0 5px 18px #20224622; }
.compare-bar strong { font-size: 14px; }
.compare-bar p { color: var(--muted); font-size: 13px; }
.compare-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.catalog-footer { margin-top: 8px; }
.catalog-footer small { color: var(--muted); font-size: 13px; }
.empty-state { padding: 18px 12px; color: var(--muted); }

.supply { padding-block: clamp(39px, 5.9vw, 86px); background: var(--panel); }
.supply-inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(23px, 5vw, 76px); }
.supply-inner img { width: 100%; aspect-ratio: 1.76; border-radius: var(--radius); object-fit: cover; }
.supply-copy h2 { font-size: clamp(32px, 4vw, 55px); }
.supply-copy p { max-width: 490px; margin-top: 12px; color: var(--muted); }
.supply-copy a { margin-top: 6px; }
.quote-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; gap: clamp(26px, 5.5vw, 85px); padding-block: clamp(58px, 7.8vw, 112px); }
.quote-main > p { max-width: 530px; margin-top: 12px; color: var(--muted); }
#quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 13px; margin-top: 23px; }
.form-field { display: grid; min-width: 0; align-content: start; gap: 4px; }
.form-field label { font-size: 14px; font-weight: 670; }
.form-field :is(input, textarea) { width: 100%; min-height: var(--touch); padding: 8px 9px; border: 1px solid var(--control-line); border-radius: var(--radius); background: var(--white); font-size: 16px; }
.form-field textarea { resize: vertical; }
.form-field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13px; }
.form-wide { grid-column: 1 / -1; }
#quote-form > .button { justify-self: start; }
.quote-feedback { color: var(--muted); font-size: 14px; }
.quote-feedback a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact { padding: clamp(20px, 3.4vw, 49px); border-radius: var(--radius); background: var(--deep); color: var(--white); }
.contact h2 { margin-bottom: 15px; font-size: clamp(27px, 3.25vw, 43px); }
.contact address { display: grid; justify-items: start; font-style: normal; }
.contact address a { display: inline-flex; min-height: var(--touch); align-items: center; overflow-wrap: anywhere; font-weight: 620; }
.contact address a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact address p { margin: 6px 0 9px; color: var(--on-dark); }
.contact > .text-link { display: flex; color: var(--brand-hover); }
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-row { display: flex; min-height: 83px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 12px; }
.footer-row small { display: block; color: var(--muted); font-size: 12px; }

#compare-dialog { width: min(690px, calc(100% - 22px)); max-height: calc(100dvh - 22px); padding: clamp(12px, 3vw, 25px); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--white); overscroll-behavior: contain; }
#compare-dialog::backdrop { background: #1c1d3b9c; }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 11px; margin-bottom: 14px; }
.dialog-header h2 { font-size: clamp(25px, 4.8vw, 39px); }
.dialog-header p { margin-top: 6px; color: var(--muted); font-size: 14px; }
#compare-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.compare-item { min-width: 0; }
.compare-item img { width: 100%; aspect-ratio: 1.18; border: 1px solid var(--line); border-radius: var(--radius); object-fit: cover; }
.compare-item h3 { margin: 8px 0 4px; font-size: clamp(17px, 3.3vw, 25px); }
.compare-item p { color: var(--muted); font-size: 13px; }
.compare-item .compare-type { font-weight: 680; }
#compare-to-quote { margin-top: 16px; }

@media (max-width: 1140px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-height: 66px; }
  .header-row { justify-content: space-between; gap: 7px; }
  #site-nav { position: absolute; top: 100%; right: calc(-1 * var(--gutter)); left: calc(-1 * var(--gutter)); display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) 13px; border-bottom: 1px solid var(--line); background: var(--canvas); }
  #site-nav a { border-bottom: 1px solid var(--line); }
  .header-row:has(.menu-toggle[aria-expanded="true"]) #site-nav { display: flex; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-block: 32px 27px; }
  .hero h1 { max-width: 14em; font-size: clamp(39px, 6.9vw, 61px); }
  .hero-break { display: none; }
  .hero-visual { min-height: 0; aspect-ratio: 1.67; }
  .section-head { grid-template-columns: 1fr; gap: 9px; }
  .supply-inner { grid-template-columns: 1fr; }
  .quote-section { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-actions { gap: 5px; }
  .header-actions .button { padding-inline: 8px; }
  .header-actions .button .icon { display: none; }
  .hero-copy { padding: 22px 18px; }
  .hero-location { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(36px, 9vw, 49px); }
  .hero-copy p { margin-top: 12px; }
  .hero-actions { margin-top: 14px; }
  .hero-visual { aspect-ratio: 1.46; }
  .catalog-top .search { width: 100%; }
  .catalog-grid, .catalog-grid:has([data-view="dekorlar"]:not([hidden])) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .card-body { padding: 9px 7px 4px; }
  .card-use { font-size: 13px; }
  .catalog-controls { margin-bottom: 10px; }
  .compare-bar { position: static; }
}

@media (max-width: 360px) {
  #quote-form { grid-template-columns: 1fr; }
  .card-actions .text-link { font-size: 12px; }
  #compare-to-quote { width: 100%; }
}

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