/* Cevher Optik (cevheroptik.com) – onayli tasarim: optik-rehber/tasarim-cevheroptik.html */
:root {
    --cv-ink: #10343A;
    --cv-teal: #0E4A52;
    --cv-muted: #3F5457;
    --cv-soft: #5A6B6D;
    --cv-line: #E3E6E2;
    --cv-bg: #F6F5F1;
    --cv-row: #F1F5F4;
    --cv-field: #C9D3D1;
    --cv-dark-line: #3A5C61;
    --cv-dark-text: #C9D6D4;
    --accent: #8A6420;
    --accent-light: #E2C27F;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cv-bg); color: var(--cv-ink); font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--cv-teal); }
a:hover { color: var(--cv-ink); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.cv-skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.cv-skip:focus { left: 8px; }
.cv-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Ust bant */
.cv-topbar { background: var(--cv-ink); color: #E8EFEE; font-size: 14px; }
.cv-topbar .cv-wrap { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.cv-topbar strong { color: #fff; }

/* Header */
.cv-header { background: #fff; border-bottom: 1px solid var(--cv-line); position: relative; z-index: 20; }
.cv-header .cv-wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.cv-logo { text-decoration: none; display: flex; align-items: center; gap: 12px; color: var(--cv-ink); }
.cv-logo:hover { color: var(--cv-ink); }
.cv-logo__text { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.cv-logo__text span { font-weight: 500; }
.cv-logo img { max-height: 44px; width: auto; }
.cv-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 600; }
.cv-nav a { text-decoration: none; color: var(--cv-ink); padding: 10px 0; }
.cv-nav a:hover, .cv-nav a[aria-current] { color: var(--cv-teal); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.cv-header__right { display: flex; align-items: center; gap: 12px; }
.cv-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--cv-teal); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; border: 0; font-family: inherit; cursor: pointer; }
.cv-pill:hover { background: var(--cv-ink); color: #fff; }
.cv-pill svg { flex: none; }
.cv-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--cv-line); border-radius: 12px; background: #fff; color: var(--cv-ink); align-items: center; justify-content: center; cursor: pointer; }
.cv-burger svg { width: 22px; height: 22px; }
.cv-burger__close { display: none; }
.cv-header.is-open .cv-burger__open { display: none; }
.cv-header.is-open .cv-burger__close { display: block; }

/* Butonlar */
.cv-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.cv-btn--primary { background: var(--cv-teal); color: #fff; }
.cv-btn--primary:hover { background: var(--cv-ink); color: #fff; }
.cv-btn--ghost { border: 1.5px solid var(--cv-teal); color: var(--cv-teal); }
.cv-btn--ghost:hover { background: var(--cv-teal); color: #fff; }

/* Hero */
.cv-hero { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.cv-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cv-eyebrow { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.cv-hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.cv-hero__lead { font-size: 18px; color: var(--cv-muted); max-width: 520px; }
.cv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cv-hero__media { flex: 1 1 520px; min-width: 0; }
.cv-photo { aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #DCE5E3; }
.cv-photo img, .cv-photo picture { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Bolum basliklari */
.cv-section { padding-top: 72px; padding-bottom: 24px; }
.cv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.cv-head h2, .cv-h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; font-weight: 800; max-width: 620px; }
.cv-head p { max-width: 480px; color: var(--cv-muted); }

/* Hizmet kartlari */
.cv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cv-card { background: #fff; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--cv-line); }
.cv-card svg { width: 40px; height: 40px; }
.cv-card h3 { font-size: 20px; font-weight: 800; }
.cv-card p { color: var(--cv-muted); font-size: 15px; }

/* Surec bandi */
.cv-process-wrap { padding-top: 56px; padding-bottom: 56px; }
.cv-process { background: var(--cv-ink); color: #E8EFEE; border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 36px; }
.cv-process .cv-head { margin-bottom: 0; }
.cv-process h2 { color: #fff; }
.cv-process__link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.cv-process__link:hover { color: var(--accent-light); }
.cv-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.cv-step { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--cv-dark-line); padding-top: 20px; }
.cv-step__no { font-size: 14px; font-weight: 800; color: var(--accent-light); }
.cv-step h3 { font-size: 20px; color: #fff; }
.cv-step p { color: var(--cv-dark-text); font-size: 15px; }

/* Markalar */
.cv-brands-wrap { padding-top: 40px; padding-bottom: 56px; }
.cv-brands-wrap .cv-head { margin-bottom: 28px; }
.cv-brands-wrap .cv-head p { color: var(--cv-muted); }
.cv-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.cv-brands > li { display: flex; min-width: 0; }
.cv-brand { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--cv-line); border-radius: 16px; min-height: 96px; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; font-size: 17px; font-weight: 700; color: var(--cv-ink); letter-spacing: 0.02em; text-decoration: none; }
.cv-brand img { max-height: 60px; max-width: 85%; width: auto; height: auto; filter: grayscale(1); opacity: 0.75; transition: filter .2s ease, opacity .2s ease; mix-blend-mode: multiply; }
.cv-brand:hover img, a.cv-brand:focus-visible img { filter: none; opacity: 1; }
a.cv-brand:hover { border-color: var(--cv-teal); color: var(--cv-ink); }

/* Kurumlar + fotograf */
.cv-inst-wrap { padding-top: 24px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.cv-inst { flex: 1 1 420px; min-width: 0; background: #fff; border: 1px solid var(--cv-line); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.cv-inst h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; font-weight: 800; }
.cv-inst > p { color: var(--cv-muted); }
.cv-inst__rows { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.cv-inst__row { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 14px; background: var(--cv-row); }
.cv-inst__row span { color: var(--cv-muted); text-align: right; }
.cv-store { flex: 1 1 420px; min-width: 0; min-height: 360px; border-radius: 28px; overflow: hidden; background: #DCE5E3; }
.cv-store img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Iletisim */
.cv-contact { background: #fff; border-top: 1px solid var(--cv-line); }
.cv-contact .cv-wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; }
.cv-contact__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cv-contact__info > p { color: var(--cv-muted); }
.cv-facts { display: flex; flex-direction: column; gap: 14px; font-size: 16px; margin: 0; }
.cv-facts dt { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cv-soft); font-weight: 800; }
.cv-facts dd { margin: 0; }
.cv-facts a { font-weight: 700; }
.cv-wa { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--cv-teal); color: var(--cv-teal); font-weight: 700; text-decoration: none; }
.cv-wa:hover { background: var(--cv-teal); color: #fff; }
.cv-map { min-height: 260px; border-radius: 20px; overflow: hidden; background: #E6EDEB; border: 1px solid var(--cv-line); }
.cv-map iframe { display: block; width: 100%; height: 260px; border: 0; }

.cv-form { flex: 1 1 440px; min-width: 0; background: var(--cv-bg); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.cv-form h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.cv-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.cv-field input, .cv-field select, .cv-field textarea { min-height: 48px; border: 1px solid var(--cv-field); border-radius: 12px; padding: 0 14px; font: inherit; font-weight: 400; font-size: 16px; background: #fff; color: var(--cv-ink); width: 100%; }
.cv-field select { padding: 0 12px; }
.cv-field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.cv-field.has-error input, .cv-field.has-error textarea, .cv-check.has-error input { border-color: #B3261E; }
.cv-error { color: #B3261E; font-size: 13px; font-weight: 600; }
.cv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--cv-muted); }
.cv-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--cv-teal); }
.cv-form button { min-height: 52px; border: 0; border-radius: 999px; background: var(--cv-teal); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cv-form button:hover { background: var(--cv-ink); }
.cv-alert { border-radius: 14px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.cv-alert--ok { background: #E3F1EA; color: #14532D; }
.cv-alert--err { background: #FBE9E7; color: #8C1D18; }
.cv-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Ic sayfa basligi */
.cv-pagehead { padding-top: 48px; padding-bottom: 8px; }
.cv-crumbs { font-size: 14px; color: var(--cv-soft); margin-bottom: 10px; }
.cv-crumbs a { color: var(--cv-soft); }
.cv-pagehead h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }

/* Yasal */
.cv-legal { padding-top: 24px; padding-bottom: 80px; max-width: 860px; }
.cv-legal__updated { color: var(--cv-soft); font-size: 14px; margin-top: 8px; }
.cv-legal__doc { background: #fff; border: 1px solid var(--cv-line); border-radius: 22px; padding: 32px; margin-top: 20px; scroll-margin-top: 24px; }
.cv-legal__doc h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.cv-legal__doc h3 { font-size: 17px; margin: 18px 0 6px; }
.cv-legal__doc p { color: var(--cv-muted); margin: 0 0 8px; }

/* 404 */
.cv-404 { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cv-404 p { color: var(--cv-muted); font-size: 18px; }

/* Footer */
.cv-footer { background: var(--cv-ink); color: var(--cv-dark-text); font-size: 14px; }
.cv-footer .cv-wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.cv-footer__brand { color: #fff; font-weight: 800; font-size: 18px; }
.cv-footer__brand span { font-weight: 500; }
.cv-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.cv-footer a, .cv-footer button { color: var(--cv-dark-text); }
.cv-footer a:hover, .cv-footer button:hover { color: #fff; }
.cv-footer button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

/* Cerez bildirimi */
.cv-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; background: #fff; color: var(--cv-ink); border: 1px solid var(--cv-line); border-radius: 18px; box-shadow: 0 12px 40px rgba(16, 52, 58, 0.18); padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; font-size: 14px; z-index: 50; }
.cv-cookie[hidden] { display: none; }
.cv-cookie > div:first-child { flex: 1 1 320px; }
.cv-cookie__actions { display: flex; gap: 8px; }
.cv-cookie button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--cv-teal); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cv-cookie .cv-cookie__reject { background: #fff; color: var(--cv-teal); border: 1.5px solid var(--cv-teal); }

/* Mobil */
@media (max-width: 900px) {
    .cv-burger { display: inline-flex; }
    .cv-header .cv-wrap { flex-wrap: nowrap; }
    .cv-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--cv-line); flex-direction: column; gap: 0; padding: 8px 24px 16px; box-shadow: 0 16px 30px rgba(16, 52, 58, 0.08); }
    .cv-header.is-open .cv-nav { display: flex; }
    .cv-nav a { padding: 14px 0; border-bottom: 1px solid var(--cv-line); }
    .cv-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
    .cv-wrap { padding-left: 16px; padding-right: 16px; }
    .cv-topbar .cv-wrap { font-size: 13px; }
    .cv-logo__text { font-size: 19px; }
    .cv-logo svg { width: 36px; }
    .cv-pill { padding: 0 14px; }
    .cv-pill__text { display: none; }
    .cv-hero { padding-top: 32px; gap: 28px; }
    .cv-hero__text, .cv-hero__media, .cv-inst, .cv-store, .cv-contact__info, .cv-form { flex-basis: 100%; }
    .cv-cards, .cv-steps { grid-template-columns: minmax(0, 1fr); }
    .cv-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cv-brand { min-height: 84px; }
    .cv-inst { padding: 28px 22px; }
    .cv-inst__row { flex-direction: column; gap: 2px; }
    .cv-inst__row span { text-align: left; }
    .cv-store { min-height: 240px; }
    .cv-form { padding: 24px 18px; }
    .cv-contact .cv-wrap { padding-top: 56px; padding-bottom: 56px; }
    .cv-section { padding-top: 56px; }
}
