/* GARANTİ · 75th year campaign pages (TR grinders, EN stock units) · v17 preview (25.10.2026)
   Same light brand language as the v16 portal: warm white and stone, GARANTİ red, millstone/drum line patterns,
   New Science, 160–320 ms motion. Load after g13.css and g14-portal-light.css. Scope: body.g17. */

body.g17 { --g17-warm: #FBFAF7; --g17-warm-2: #F4F1EC; --g17-line: #E2DCD2; }
body.g17 .container-wrap, body.g17 .g13 { background: var(--g17-warm); }

/* ---------- local bar: language + campaign sections ---------- */
body.g17 .g17-bar { position: sticky; top: var(--g-head); z-index: 40; background: rgba(251,250,247,.96); border-bottom: 1px solid var(--g17-line); backdrop-filter: blur(6px); }
body.g17 .g17-bar .g-wrap { display: flex; align-items: center; gap: 12px 20px; }
body.g17 .g17-lang { display: inline-flex; flex: 0 0 auto; padding: 3px; border: 1px solid var(--g17-line); border-radius: 999px; background: #fff; }
body.g17 .g17-lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--g-muted); }
body.g17 .g17-lang a[aria-current="true"] { background: var(--g-ink); color: #fff; }
body.g17 .g17-sections { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; }
body.g17 .g17-sections::-webkit-scrollbar { display: none; }
body.g17 .g17-sections a { position: relative; display: inline-flex; align-items: center; min-height: 52px; padding: 0 12px; white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--g-muted); text-decoration: none; transition: color var(--g-t-fast) var(--g-ease); }
body.g17 .g17-sections a:hover, body.g17 .g17-sections a.is-active { color: var(--g-ink); }
body.g17 .g17-sections a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--g-red); }
body.g17 .g17-bar__note { flex: 0 0 auto; color: var(--g-muted); font-size: 13px; }

/* ---------- hero ---------- */
body.g17 .g17-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); background: var(--g17-warm); border-bottom: 1px solid var(--g17-line); }
body.g17 .g17-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
body.g17 .g17-hero h1 { margin-top: 12px; font-size: clamp(36px, 5vw, 62px); line-height: 1.02; font-weight: 700; letter-spacing: -.015em; color: var(--g-ink); }
body.g17 .g17-hero h1 span { display: block; color: var(--g-red); }
body.g17 .g17-hero .g-lead { margin-top: 18px; }
body.g17 .g17-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
body.g17 .g17-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--g17-line); font-size: 14px; font-weight: 600; }
body.g17 .g17-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g-red); }
body.g17 .g17-chip--wait { background: #FBEFD6; border-color: #F0DDB2; color: #5c3d00; }
body.g17 .g17-chip--wait::before { background: transparent; border: 2px solid currentColor; width: 8px; height: 8px; }
body.g17 .g17-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }

body.g17 .g17-family { position: relative; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 4%; padding: 6% 6% 0; border-radius: 16px; background: linear-gradient(180deg, #fff, var(--g17-warm-2)); border: 1px solid var(--g17-line); }
body.g17 .g17-family img { width: 100%; height: auto; object-fit: contain; }
body.g17 .g17-family img:nth-child(2) { width: 90%; justify-self: center; }
body.g17 .g17-figlabel { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.92); border: 1px solid var(--g17-line); color: var(--g-muted); font-size: 12px; font-weight: 600; }
body.g17 .g17-hero__photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--g17-line); }
body.g17 .g17-hero__photo img { width: 100%; height: auto; max-height: 520px; object-fit: contain; padding: 4% 6% 10%; }

/* ---------- model / unit cards ---------- */
body.g17 .g17-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
body.g17 .g17-card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--g-radius); background: #fff; border: 1px solid var(--g17-line); transition: transform var(--g-t) var(--g-ease), box-shadow var(--g-t) var(--g-ease); }
body.g17 .g17-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(32,35,38,.10); }
body.g17 .g17-card__img { position: relative; aspect-ratio: 4 / 3.4; background: linear-gradient(180deg, #fff, var(--g17-warm-2)); }
body.g17 .g17-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px 18px 30px; }
body.g17 .g17-card__img--photo img { object-fit: cover; padding: 0; }
body.g17 .g17-card__img .g17-figlabel { bottom: 10px; left: 10px; }
body.g17 .g17-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
body.g17 .g17-card__code { color: var(--g-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
body.g17 .g17-card h3 { font-size: 24px; line-height: 1.15; font-weight: 700; }
body.g17 .g17-card h3 small { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--g-muted); }
body.g17 .g17-card__facts { color: var(--g-muted); font-size: 15px; line-height: 1.45; }
body.g17 .g17-price { margin-top: auto; padding-top: 14px; border-top: 2px solid var(--g-ink); }
body.g17 .g17-price__label { color: var(--g-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
body.g17 .g17-price__amount { margin-top: 2px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
body.g17 .g17-price__amount small { font-size: 14px; font-weight: 600; color: var(--g-muted); margin-left: 4px; }
body.g17 .g17-inst { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #F8E6E8; color: #5a1420; font-size: 15px; }
body.g17 .g17-inst strong { font-size: 18px; color: var(--g-red); font-variant-numeric: tabular-nums; }
body.g17 .g17-quota { margin-top: 8px; color: var(--g-muted); font-size: 14px; }
body.g17 .g17-card .g-btn { margin-top: 14px; width: 100%; }
body.g17 .g17-card__sub { margin-top: 6px; text-align: center; font-size: 13px; color: var(--g-muted); }

/* ---------- steps, terms, form, FAQ ---------- */
body.g17 .g17-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; counter-reset: s; }
body.g17 .g17-steps li { position: relative; padding: 22px 22px 22px 70px; border-radius: var(--g-radius); background: #fff; border: 1px solid var(--g17-line); counter-increment: s; }
body.g17 .g17-steps li::before { content: counter(s) !important; position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--g-ink); color: #fff; font-weight: 700; }
body.g17 .g17-steps h3 { font-size: 17px; font-weight: 700; }
body.g17 .g17-steps p { margin-top: 6px; color: var(--g-muted); font-size: 15px; line-height: 1.5; }

body.g17 .g17-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 24px; border-top: 2px solid var(--g-ink); }
body.g17 .g17-terms div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--g17-line); }
body.g17 .g17-terms dt { font-weight: 700; font-size: 15px; }
body.g17 .g17-terms dd { font-size: 15px; line-height: 1.5; color: var(--g-ink); }
body.g17 .g17-terms .is-wait dd { color: #6b4600; font-weight: 600; }

body.g17 .g17-form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
body.g17 .g17-form { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); border-radius: var(--g-radius); background: #fff; border: 1px solid var(--g17-line); }
body.g17 .g17-form .g17-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.g17 .g17-field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
body.g17 .g17-field small { color: var(--g-muted); font-weight: 400; }
body.g17 .g17-field :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #A9A197; border-radius: 6px; background: #fff; font: inherit; font-weight: 400; font-size: 16px; color: var(--g-ink); }
body.g17 .g17-field textarea { min-height: 96px; }
body.g17 .g17-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--g-ink); outline-offset: 2px; }
body.g17 .g17-req { color: var(--g-red); }
body.g17 .g17-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.45; cursor: pointer; }
body.g17 .g17-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--g-red); }
body.g17 .g17-check a { color: var(--g-ink); }
body.g17 .g17-form button.g-btn { border: 0 !important; background: var(--g-red) !important; color: #fff !important; border-radius: 4px !important; min-height: 50px !important; padding: 0 22px !important; font: 700 16px "New Science", Arial, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; }
body.g17 .g17-form button.g-btn:hover { background: var(--g-red-dark) !important; }
body.g17 .g17-note { color: var(--g-muted); font-size: 14px; line-height: 1.5; }
body.g17 .g17-done { padding: 12px 14px; border-radius: 8px; background: #E5F2EA; color: #145c39; font-weight: 600; font-size: 15px; }
body.g17 .g17-done:empty { display: none; }

body.g17 .g17-faq { display: grid; gap: 10px; margin-top: 24px; max-width: 860px; }
body.g17 .g17-faq details { border: 1px solid var(--g17-line); border-radius: var(--g-radius); background: #fff; }
body.g17 .g17-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 20px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; }
body.g17 .g17-faq summary::-webkit-details-marker { display: none; }
body.g17 .g17-faq summary::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--g-t) var(--g-ease); }
body.g17 .g17-faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
body.g17 .g17-faq details p { padding: 0 20px 18px; color: var(--g-ink); font-size: 16px; line-height: 1.55; }

@media (max-width: 999px) {
  body.g17 .g17-hero__grid, body.g17 .g17-form-wrap { grid-template-columns: 1fr; }
  body.g17 .g17-cards, body.g17 .g17-steps { grid-template-columns: 1fr 1fr; }
  body.g17 .g17-terms { grid-template-columns: 1fr; }
}
@media (max-width: 690px) {
  body.g17 .g17-bar__note { display: none; }
  body.g17 .g17-lang a { min-height: 44px; padding: 0 11px; }
  body.g17 .g17-cards, body.g17 .g17-steps { grid-template-columns: 1fr; }
  body.g17 .g17-terms div { grid-template-columns: 1fr; }
  body.g17 .g17-form .g17-2 { grid-template-columns: 1fr; }
  body.g17 .g17-cta .g-btn { width: 100%; }
  body.g17 .g17-hero__photo img { max-height: 340px; }
}
body.g17 .g17-lab { display: block; }
body.g17 .g17-lab small { color: var(--g-muted); font-weight: 400; }
/* TR page has its own Turkish request form; the site's English "Get a Quote / Start a Chat" bar would compete with it */
body.g17-tr #gwh-contact-bar { display: none !important; }
