/* QTeknoloji company home page. Sections follow the page order. Teal on white is never used for normal-size text: see the tokens. */
:root {
  --teal: #0193b1;       /* logo, display type 24px bold and up, decoration */
  --teal-deep: #017a94;  /* teal blocks; small teal text on white or mist */
  --teal-tint: #5cc6dc;  /* small accent text on ink */
  --ink: #062a33;
  --pale: #dcf0f4;
  --mist: #f3f9fa;
  --muted: #2f5560;      /* secondary text on light */
  --muted-ink: #b9d3d9;  /* secondary text on ink */
  --field: #5a7a83;      /* input and chip borders on white: 3:1 for UI components */
  --error: #b3261e;      /* error text and invalid borders on white */
  --focus: var(--ink);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { position: relative; font: 16px/1.55 Inter, system-ui, sans-serif; color: var(--ink); background: #fff; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.top, .hero, .it, .ct, .custom, .b1 { --focus: #fff; }
ul { list-style: none; padding: 0; }
.in { max-width: 1240px; margin: 0 auto; padding: 0 56px; }
.disp { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; letter-spacing: -.04em; line-height: .94; }
.nw { white-space: nowrap; } /* keeps "e-posta" from breaking at its hyphen */
.kick { font-size: 12px; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; color: var(--teal-deep); }
h2.disp { font-size: clamp(34px, 6vw, 68px); margin-top: 14px; }
.btn { display: inline-block; font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 6px; }
.btn:hover { text-decoration: underline; }
.btn-w { background: #fff; color: var(--ink); }
.btn-o { border: 2px solid currentColor; padding: 12px 22px; }

.skip { position: absolute; left: 12px; top: -64px; z-index: 100; background: #fff; color: var(--ink); font-weight: 600; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; outline: 3px solid var(--ink); }

/* header and hero */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; color: #fff; }
.nav { display: flex; align-items: center; gap: 30px; height: 88px; font-size: 14.5px; font-weight: 500; }
.logo { display: block; flex: none; width: 142px; height: 42px; background: #fff; -webkit-mask: url(/assets/qteknoloji-yatay.svg) center / contain no-repeat; mask: url(/assets/qteknoloji-yatay.svg) center / contain no-repeat; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav .cta { background: #fff; color: var(--ink); border-radius: 6px; padding: 9px 18px; font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; font: inherit; font-weight: 600; color: #fff; background: transparent; border: 2px solid #fff; border-radius: 6px; padding: 7px 14px; cursor: pointer; }

.hero { background: var(--teal-deep); color: #fff; position: relative; overflow: hidden; padding-top: 88px; }
/* a darker ghost keeps white text at AA wherever it overlaps the lead */
.hero .bigq { position: absolute; right: -90px; top: 40px; width: 640px; height: 640px; background: var(--ink); opacity: .16; -webkit-mask: url(/assets/q.svg) center / contain no-repeat; mask: url(/assets/q.svg) center / contain no-repeat; }
.hero .in { position: relative; }
.hero h1 { font-size: clamp(46px, 11vw, 118px); line-height: .9; letter-spacing: -.045em; margin-top: 48px; }
.hero .lead { font-size: 19px; line-height: 1.55; max-width: 50ch; margin-top: 30px; color: #fff; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 72px; }

/* overview bands */
.bands { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); }
.band { padding: 36px 40px 38px; min-height: 250px; display: flex; flex-direction: column; }
.band:hover { text-decoration: none; }
.band h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 10px 0 12px; }
.band p { font-size: 15px; color: var(--muted); }
.band .go { margin-top: auto; padding-top: 20px; font-weight: 600; font-size: 14.5px; }
.band:hover .go { text-decoration: underline; }
.band:focus-visible { outline-offset: -6px; }
.b1 { background: var(--ink); color: #fff; }
.b1 .kick { color: var(--teal-tint); }
.b1 p { color: var(--muted-ink); }
.b2 { background: var(--pale); }
.b2 .kick { color: var(--ink); }
.b3 { background: #fff; }
.prods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-top: 14px; font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.prods span { border-top: 2px solid var(--ink); padding-top: 8px; }

/* IT services */
.it { background: var(--ink); color: #fff; padding: 110px 0 100px; }
.it .grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; }
.it .kick { color: var(--teal-tint); }
.it .side p:not(.kick) { font-size: 17px; color: var(--muted-ink); margin-top: 24px; max-width: 36ch; }
.it .side .btn { margin-top: 32px; }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.svc li { border-top: 1px solid #2b4f58; padding: 22px 0 30px; }
.svc h3 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.svc i { display: block; font-style: normal; font-size: 12px; color: var(--teal-tint); font-weight: 700; letter-spacing: .1em; }
.svc p { font-size: 15px; color: var(--muted-ink); margin-top: 6px; }
.own { margin-top: 12px; background: #0b3a45; border-left: 4px solid var(--teal); padding: 20px 24px; font-size: 15.5px; color: #dcecef; }
.own b { color: #fff; }

/* Internet Solutions */
.is { background: var(--pale); padding: 110px 0 100px; }
.is .kick { color: var(--ink); }
.is .head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 56px; align-items: end; }
.is .head > p { font-size: 17px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.card { background: #fff; padding: 28px 26px 26px; min-height: 250px; display: flex; flex-direction: column; }
.card .n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--teal-deep); }
.card h3 { font-size: 32px; margin: 36px 0 10px; }
.card p { font-size: 15px; color: var(--muted); }
.card a { margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 14.5px; }

/* software */
.sw { padding: 110px 0 40px; }
.sw .head > p:last-child { font-size: 17px; color: var(--muted); max-width: 56ch; margin-top: 22px; }
.plist { margin-top: 56px; }
.prow { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr) minmax(0, 210px); gap: 40px; align-items: start; border-top: 3px solid var(--ink); padding: 30px 0 38px; }
.prow h3 { font-size: clamp(34px, 4vw, 46px); }
.prow .what { font-weight: 600; font-size: 18px; }
.prow ul { margin-top: 10px; color: var(--muted); font-size: 15px; }
.prow li { padding-left: 18px; position: relative; margin-top: 4px; }
.prow li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--teal); }
.prow .act { text-align: right; font-weight: 600; font-size: 15px; padding-top: 12px; }
.prow .act small { display: block; font-weight: 400; color: #5a7a83; font-size: 13px; margin-top: 2px; }
.mod { margin-top: 18px; background: var(--pale); padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.mod .tag { justify-self: start; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; }
.mod b { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.03em; margin-top: 8px; }
.mod p { font-size: 15px; color: var(--muted); }

/* custom software */
.custom { background: var(--teal-deep); color: #fff; }
.custom .in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.custom h2 { font-size: clamp(32px, 5.2vw, 60px); }
.custom p { font-size: 17px; color: #fff; margin-top: 18px; max-width: 52ch; }

/* why one company */
.why { background: var(--mist); padding: 96px 0; }
.why .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 48px; }
.why .cols li { border-top: 3px solid var(--teal); padding-top: 18px; }
.why h3 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; }
.why .cols p { font-size: 15.5px; color: var(--muted); margin-top: 8px; }

/* contact: the form column is added beside .side inside .grid */
.ct { background: var(--ink); color: #fff; padding: 110px 0; }
.ct .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 72px; }
.ct .kick { color: var(--teal-tint); }
.ct .side p:not(.kick) { font-size: 17px; color: var(--muted-ink); margin-top: 24px; max-width: 38ch; }
.ct dl { margin-top: 40px; font-size: 15.5px; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px 16px; }
.ct dt { color: var(--muted-ink); }
.ct dd a { text-decoration: underline; }

/* contact form: white cards on the ink section, as in the approved mockup */
.ct [hidden] { display: none; }
.form, .form-ok { --focus: var(--ink); background: #fff; color: var(--ink); padding: 34px 34px 36px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.f-wide { grid-column: 1 / -1; }
.form label, .form legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form fieldset { border: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; }
.f input, .f textarea { display: block; width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--field); border-radius: 5px; }
.f textarea { resize: vertical; }
.f input:focus-visible, .f textarea:focus-visible, .check input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.form [aria-invalid="true"] { border-color: var(--error); }
.err, .form-err { color: var(--error); font-size: 13.5px; }
.err:not(:empty) { margin-top: 6px; }
.form-err:empty { display: none; }
/* radios stay in the accessibility tree: clipped, not display:none */
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.chips label { margin: 0; padding: 9px 16px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--field); border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; }
.chips label:hover { background: var(--mist); }
/* checked = fill plus a tick, so the state is not carried by colour alone */
.chips input:checked + label { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.chips input:checked + label::before { content: "✓"; }
.chips input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.chips input[aria-invalid="true"] + label { border-color: var(--error); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--muted); }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--teal-deep); cursor: pointer; }
.check label { margin: 0; font-weight: 400; font-size: 14px; }
.check a { color: var(--ink); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-i { background: var(--ink); color: #fff; }
.form .btn { width: 100%; text-align: center; border: 0; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.hint { color: var(--muted); font-size: 13.5px; text-align: center; }
.form-ok h3 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 32px; letter-spacing: -.03em; line-height: 1.1; }
.form-ok p { margin-top: 10px; color: var(--muted); }
.form-ok:focus-visible { outline: 3px solid var(--focus); outline-offset: -6px; }

/* KVKK notice: long text on white, one readable column */
.legal-head .in { display: flex; align-items: center; height: 88px; }
.legal-head .logo { background: var(--ink); }
.legal { max-width: 78ch; margin: 0 auto; padding: 24px 24px 80px; }
.legal .back { display: inline-block; font-size: 14.5px; font-weight: 600; text-decoration: underline; }
.legal h1 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: clamp(32px, 5vw, 48px); line-height: 1.05; letter-spacing: -.03em; margin-top: 28px; }
.legal .updated { font-size: 14px; color: var(--muted); margin-top: 10px; }
.legal h2 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; margin-top: 44px; padding-top: 18px; border-top: 3px solid var(--teal); }
.legal p { margin-top: 14px; }
.legal .updated + p { margin-top: 28px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--pale); }
.legal th { background: var(--mist); font-weight: 600; }
.legal .bullets { margin-top: 14px; }
.legal .bullets li { padding-left: 18px; position: relative; margin-top: 8px; }
.legal .bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--teal); }

footer { padding: 44px 0 56px; font-size: 14px; color: var(--muted); }
footer .in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
footer img { height: 34px; width: auto; }
footer .sp { flex: 1; }

@media (max-width: 1100px) {
  .it .grid, .ct .grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prow { grid-template-columns: minmax(0, 240px) minmax(0, 1fr) minmax(0, 180px); gap: 28px; }
  .band { padding: 32px 28px 34px; }
}

@media (max-width: 899px) {
  .in { padding: 0 20px; }
  .nav { height: 72px; gap: 16px; }
  .logo { width: 120px; height: 36px; }
  .legal-head .in { height: 72px; }
  .legal { padding: 16px 20px 56px; }
  .legal th, .legal td { padding: 10px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--ink); padding: 8px 20px 20px; font-size: 16px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav .cta { margin-top: 8px; text-align: center; }
  .hero { padding-top: 72px; }
  .hero .bigq { width: 340px; height: 340px; right: -110px; top: 90px; }
  .hero h1 { margin-top: 32px; }
  .hero .lead { font-size: 17px; margin-top: 24px; }
  .hero .acts { margin-bottom: 48px; }
  .bands, .svc, .cards, .why .cols, .is .head, .prow, .custom .in { grid-template-columns: minmax(0, 1fr); }
  .band { min-height: 0; }
  .it, .is, .ct { padding: 64px 0; }
  .sw { padding: 64px 0 32px; }
  .why { padding: 64px 0; }
  .svc { gap: 0; }
  .is .head { gap: 24px; }
  .cards { margin-top: 36px; }
  .card { min-height: 0; }
  .card h3 { margin-top: 24px; }
  .plist { margin-top: 36px; }
  .prow { gap: 14px; }
  .prow .act { text-align: left; padding-top: 0; }
  .custom .in { gap: 28px; padding-top: 56px; padding-bottom: 56px; }
  .custom .btn { justify-self: start; }
  .why .cols { gap: 32px; margin-top: 36px; }
  .form, .form-ok { padding: 22px 18px 24px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .ct dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ct dd { margin-bottom: 14px; }
}
