:root {
  --ink: #14120e;
  --ink-2: #211e18;
  --ink-3: #322e26;
  --paper: #f5f1e8;
  --paper-2: #ebe5d8;
  --white: #fffdf8;
  --line: rgba(20, 18, 14, .16);
  --line-dark: rgba(245, 241, 232, .18);
  --muted: #5d584d;
  --muted-dark: #b9b3a5;
  --accent: #ff5a26;
  --radius: 14px;
  --font: 'IBM Plex Sans Arabic', 'IBM Plex Sans', 'Segoe UI', Tahoma, sans-serif;
}

:root:lang(en), :root:lang(tr) { --font: 'IBM Plex Sans', 'Segoe UI', Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--font); overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 30; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 26px; border: 1.5px solid transparent; border-radius: 999px; background: none; font-weight: 700; font-size: 1rem; text-align: center; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 6px 20px; font-size: .95rem; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--line-dark); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }

.nav { position: sticky; top: 0; z-index: 20; background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--line-dark); }
.nav-in { display: flex; align-items: center; gap: 32px; min-height: 66px; }
.logo { display: flex; align-items: center; }
.logo img { display: block; height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-inline-start: auto; color: var(--muted-dark); }
.nav-links a:hover { color: var(--paper); }
.lang { min-height: 42px; padding: 4px 10px; border: 1.5px solid var(--line-dark); border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-size: .92rem; cursor: pointer; }

.eyebrow { font-size: .92rem; font-weight: 500; color: var(--accent); }
.eyebrow-dark { color: #b83a12; }

.hero { background: var(--ink); color: var(--paper); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; min-height: calc(100svh - 67px); padding-block: 48px; }
h1 { margin-top: 18px; font-size: clamp(2.5rem, 6vw, 5.1rem); line-height: 1.22; font-weight: 700; }
.rot { display: block; min-height: 2.44em; color: var(--accent); transition: opacity .25s ease; }
.rot.is-out { opacity: 0; }
.lead { margin-top: 12px; max-width: 34em; color: var(--muted-dark); font-size: 1.15rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.demo { background: var(--paper); color: var(--ink); border-radius: 20px; padding: 16px; }
.demo-top { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; }
.demo-title { font-weight: 700; }
.demo-tabs { display: flex; gap: 6px; }
.demo-tabs button { flex: 1; min-height: 42px; border: 1.5px solid var(--line); border-radius: 999px; background: none; font-weight: 500; }
.demo-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.demo-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--white); border-radius: 12px 12px 0 0; border-bottom: 1px solid var(--line); line-height: 1.3; }
.demo-head b, .demo-head small { display: block; }
.demo-head small { color: var(--muted); }
.avatar { width: 36px; height: 36px; flex: none; border-radius: 50% 50% 50% 0; background: var(--accent); }
.demo-chat { display: flex; flex-direction: column; gap: 8px; height: 340px; overflow-y: auto; padding: 14px 12px; background: var(--paper-2); border-radius: 0 0 12px 12px; font-size: .97rem; line-height: 1.55; }
.msg { max-width: 84%; padding: 8px 12px; border-radius: 14px; animation: pop .22s ease both; }
.msg-in { align-self: flex-start; background: var(--white); border-start-start-radius: 4px; }
.msg-out { align-self: flex-end; background: var(--ink); color: var(--paper); border-start-end-radius: 4px; }
.msg-voice { display: flex; align-items: center; gap: 8px; }
.voice-wave { display: flex; align-items: center; gap: 2px; height: 18px; }
.voice-wave i { width: 3px; border-radius: 2px; background: var(--ink); }
.typing { display: flex; gap: 4px; padding: 13px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-dark); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.demo-note { padding-top: 10px; color: var(--muted); font-size: .85rem; line-height: 1.5; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
@keyframes dot { 50% { transform: translateY(-4px); } }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head { margin-bottom: 40px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
h2 { margin-top: 6px; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.25; font-weight: 700; }

.services { border-top: 1.5px solid var(--ink); }
.service { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 24px; align-items: start; padding-block: 28px; border-bottom: 1px solid var(--line); }
.service-num { color: var(--muted); font-weight: 500; }
.service h3 { font-size: 1.45rem; line-height: 1.35; }
.service-text { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags li { padding: 2px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; }
.service-link { font-weight: 700; white-space: nowrap; border-bottom: 2px solid var(--accent); }
.service-featured { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr) auto; margin-block-start: 20px; padding: 36px 28px; border: 0; border-radius: var(--radius); background: var(--accent); }
.service-featured .service-num, .service-featured .service-text { color: var(--ink); }
.service-featured h3 { font-size: 1.9rem; }
.service-featured .tags li { border-color: rgba(20, 18, 14, .4); }
.service-featured .service-link { border-color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 42px; padding: 4px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: none; font-weight: 500; }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips-dark button { border-color: var(--line-dark); }
.chips-dark button[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.work { position: relative; }
.work[hidden] { display: none; }
.work-sample { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; padding: 2px 11px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: .8rem; font-weight: 500; box-shadow: 0 0 0 1.5px rgba(245, 241, 232, .5); }
.work-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.work-title { margin-top: 16px; font-size: 1.45rem; line-height: 1.35; }
.work-wide .work-title { margin-top: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.work p { color: var(--muted); margin-top: 6px; }
.work-link { display: inline-block; margin-top: 12px; font-weight: 700; border-bottom: 2px solid var(--accent); }

.art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.art img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.art-pad { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: clamp(16px, 4%, 32px); font-size: .86rem; line-height: 1.4; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 9px; background: rgba(255, 255, 255, .1); }
.ui-pill { padding: 1px 9px; border-radius: 99px; background: rgba(255, 255, 255, .2); font-size: .8rem; white-space: nowrap; }

.art-agent { background: var(--ink-2); }
.art-agent .art-pad { justify-content: center; }
.platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.platforms span { padding: 2px 10px; border: 1px solid var(--line-dark); border-radius: 99px; font-size: .8rem; }
.art-agent .bubble { max-width: 72%; padding: 7px 12px; border-radius: 12px; background: var(--ink-3); }
.art-agent .bubble-out { align-self: flex-end; background: var(--accent); color: var(--ink); }

.art-bonyan { background: #0d4f73; }
.art-clinic { background: #243a5e; }
.cal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cal span { padding: 10px 2px; border-radius: 8px; background: rgba(255, 255, 255, .1); text-align: center; }
.cal .on { background: var(--paper); color: var(--ink); font-weight: 700; }
.art-masar { background: #1f5c4d; }
.check { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; border: 1.5px solid var(--paper); border-radius: 50%; font-size: .72rem; }
.ui-row.done .check { background: var(--paper); color: var(--ink); }
.ui-left { display: flex; align-items: center; gap: 8px; }
.art-sari { background: #4a2b18; }

.art-brand { background: #c8553d; color: #fff8ec; }
.art-brand .art-pad { align-items: center; gap: clamp(14px, 5%, 24px); }
.brand-logo { display: flex; align-items: center; gap: 14px; }
.brand-logo b, .brand-logo small { display: block; }
.brand-logo b { font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1.2; }
.brand-logo small { font-size: .9rem; opacity: .75; }
.brand-cup { position: relative; flex: none; width: 46px; height: 44px; margin-inline-end: 12px; border-radius: 4px 4px 20px 20px; background: #fff8ec; }
.brand-cup::after { content: ''; position: absolute; top: 8px; inset-inline-end: -13px; width: 14px; height: 18px; border: 5px solid #fff8ec; border-inline-start: 0; border-start-end-radius: 10px; border-end-end-radius: 10px; }
.brand-swatches { display: flex; gap: 8px; }
.brand-swatches i { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 248, 236, .6); }
.brand-swatches i:nth-child(1) { background: #2a1d15; }
.brand-swatches i:nth-child(2) { background: #6b432c; }
.brand-swatches i:nth-child(3) { background: #c8553d; }
.brand-swatches i:nth-child(4) { background: #fff8ec; }

.art-social { background: #2a1d15; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; height: 74%; }
.post { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; padding: 10px; border-radius: 10px; line-height: 1.25; }
.post b { font-size: clamp(.82rem, 2.2vw, 1.1rem); }
.post small { font-size: .72rem; opacity: .85; }
.post-offer { background: #c8553d; color: #fff8ec; }
.post-new { background: #efe3cf; color: #2a1d15; }
.post-reel { position: relative; align-items: center; justify-content: center; gap: 6px; background: #6b432c; color: #fff8ec; }
.play { width: 0; height: 0; border-block: 11px solid transparent; border-left: 18px solid currentColor; }

.art-campaign { background: #5c2e1e; }
.art-campaign .ui-row { padding-block: 6px; }
.segments { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; direction: ltr; }
.segments i { height: 20px; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.segments i.on { background: var(--accent); }
.sari-big { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700; line-height: 1.1; }

.offers { display: grid; gap: 12px; margin-bottom: 36px; }
.offers:empty { display: none; }
.offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 22px 26px; border-radius: var(--radius); background: var(--accent); color: var(--ink); }
.offer h3 { font-size: 1.35rem; line-height: 1.35; }
.offer small { display: block; }
.sample { display: inline-block; margin-inline-start: 8px; padding: 0 9px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: .78rem; font-weight: 500; vertical-align: middle; }

.panel[hidden] { display: none; }
.panel-title { display: none; }
.panel-note { margin-block: 22px; color: var(--muted-dark); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); }
.card h3 { font-size: 1.3rem; line-height: 1.35; }
.price { margin-top: 12px; font-size: 2.8rem; font-weight: 700; line-height: 1.15; }
.price small { margin-inline-start: 6px; color: var(--muted-dark); font-size: .95rem; font-weight: 400; }
.price-custom { margin-top: 10px; color: var(--accent); font-weight: 700; }
.best-for { margin-top: 8px; color: var(--muted-dark); font-size: .95rem; line-height: 1.5; }
.includes { display: grid; gap: 8px; margin-block: 20px 26px; line-height: 1.5; }
.includes li { position: relative; padding-inline-start: 20px; }
.includes li::before { content: ''; position: absolute; inset-inline-start: 0; top: .55em; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; background: var(--accent); }
.card .btn { margin-top: auto; }

.contact { background: var(--accent); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1.6fr) auto; gap: 32px; align-items: center; }
.contact h2 { margin: 0; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone { font-weight: 700; }

.footer { background: var(--ink); color: var(--muted-dark); }
.footer-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; font-size: .95rem; }
.mobile-bar { display: none; }
.noscript { padding: 16px; text-align: center; }
.print-contact { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; min-height: 0; padding-block: 36px 48px; }
  .service, .service-featured { grid-template-columns: 34px minmax(0, 1fr); gap: 6px 10px; }
  .service-body, .service-link { grid-column: 2; }
  .service-link { justify-self: start; margin-top: 12px; }
  .service-featured { padding: 26px 18px; }
  .work-wide { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .work-wide .work-title { margin-top: 16px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .contact-in { grid-template-columns: minmax(0, 1fr); }
  .contact-actions { align-items: flex-start; }
}

@media (max-width: 640px) {
  body { padding-bottom: 72px; font-size: 16px; }
  .nav-links, .nav .btn { display: none; }
  .nav-in { min-height: 58px; }
  .lang { margin-inline-start: auto; }
  html { scroll-padding-top: 66px; }
  h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  :root:not(:lang(ar)) .rot { min-height: 3.66em; }
  .works { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .art-brand, .art-social { aspect-ratio: 5 / 4; }
  .art-campaign { aspect-ratio: 1; }
  .art-brand .art-pad, .art-social .art-pad, .art-campaign .art-pad { padding-top: 46px; }
  .hero-cta .btn { flex: 1 1 100%; }
  #catalogTabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; padding-bottom: 4px; scrollbar-width: none; }
  #catalogTabs button { flex: none; }
  .offer .btn { width: 100%; }
  .mobile-bar { position: fixed; inset: auto 0 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line-dark); }
  .mobile-bar .btn { min-height: 48px; padding-inline: 8px; }
  .demo-chat { height: 400px; }
}

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

@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; padding: 0; font-size: 12pt; }
  body > *:not(main), main > section:not(#catalog), .no-print { display: none !important; }
  .section, .section-dark { background: #fff; color: #000; padding: 0; }
  .eyebrow, .panel-note, .best-for, .price small, .price-custom { color: #333; }
  .panel, .panel[hidden] { display: block; break-inside: avoid; margin-bottom: 18pt; }
  .panel-title { display: block; margin-bottom: 6pt; font-size: 16pt; font-weight: 700; }
  .panel-note { margin-block: 4pt 8pt; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8pt; }
  .card { padding: 10pt; background: #fff; border: 1px solid #999; break-inside: avoid; }
  .card .btn { display: none; }
  .includes { margin-block: 8pt 0; }
  .price { font-size: 20pt; }
  .offer { background: #fff; border: 1.5px solid #000; padding: 10pt; }
  .offer .btn { display: none; }
  .print-contact { display: block; margin-top: 8pt; padding-top: 8pt; border-top: 1px solid #999; }
}
