/* =====================================================================
   YakClick — Component & layout styles (built on brand.css tokens)
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; /* hidden mega panels must never create horizontal scroll */ }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--yc-font-sans);
  font-size: var(--yc-fs-base);
  line-height: 1.65;
  color: var(--yc-text);
  background: var(--yc-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .3s var(--yc-ease), color .3s var(--yc-ease);
}

/* RTL: Farsi / Pashto get the RTL font stack */
[dir="rtl"] body { font-family: var(--yc-font-rtl); }

h1,h2,h3,h4 { font-family: var(--yc-font-head); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: var(--yc-text); text-wrap: balance; margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
a { color: var(--yc-blue-600); text-decoration: none; transition: color .15s var(--yc-ease); }
a:hover { color: var(--yc-blue-700); }
img { max-width: 100%; height: auto; }

.yc-container { max-width: var(--yc-container); margin-inline: auto; padding-inline: 24px; }

/* ---- Eyebrow label (standard bold uppercase kicker) ---- */
.yc-eyebrow {
  font-family: var(--yc-font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--yc-blue);
  margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px;
}
[dir="rtl"] .yc-eyebrow { font-family: var(--yc-font-rtl); letter-spacing: normal; }

/* ---- Buttons (Hostinger-style: bold, rounded-8, friendly) ---- */
.btn-yc {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-weight: 700; font-size: var(--yc-fs-sm); line-height: 1;
  padding: 15px 28px; border-radius: 8px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s var(--yc-ease), box-shadow .2s var(--yc-ease), background-color .2s var(--yc-ease), border-color .2s var(--yc-ease);
  white-space: nowrap;
}
.btn-yc-primary { background: var(--yc-blue); color: #fff; box-shadow: 0 2px 8px color-mix(in srgb, var(--yc-blue) 30%, transparent); }
.btn-yc-primary:hover { background: var(--yc-blue-600); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--yc-blue) 35%, transparent); }
.btn-yc-ghost { background: transparent; color: var(--yc-text); border-color: color-mix(in srgb, var(--yc-text) 28%, transparent); }
.btn-yc-ghost:hover { border-color: var(--yc-blue); color: var(--yc-blue); }
.btn-yc:focus-visible { outline: 3px solid var(--yc-blue-300); outline-offset: 2px; }

/* ---- Utility topbar ---- */
.yc-topbar { background: var(--yc-ink); color: #B7C3D6; font-size: 12.5px; }
:root[data-theme="light"] .yc-topbar { background: #0F1520; }
.yc-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.yc-topbar a { color: #B7C3D6; display: inline-flex; align-items: center; gap: 6px; }
.yc-topbar a:hover { color: #fff; }
.yc-topbar a.active { color: #fff; font-weight: 600; }
.yc-topbar .sep { color: #46536B; margin-inline: 8px; }
.yc-topbar .muted { color: #7A8AA3; }
.yc-topbar__l, .yc-topbar__r { display: flex; align-items: center; }
@media (max-width: 720px) { .yc-topbar__l .muted, .yc-topbar__l .sep { display: none; } }

/* ---- Navbar ---- */
.yc-nav {
  position: sticky; top: 0; z-index: 1000;
  background: color-mix(in srgb, var(--yc-surface) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--yc-line-soft);
  transition: box-shadow .2s var(--yc-ease), background-color .3s var(--yc-ease);
}
.yc-nav.is-scrolled { box-shadow: var(--yc-shadow-sm); }
.yc-nav__inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.yc-brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.yc-brand img { height: 30px; width: auto; display: block; }
.yc-brand img.yc-mark { height: 34px; }
/* Crisp text logotype (renders sharp at any size, unlike the PNG wordmark) */
.yc-logotype { font-family: var(--yc-font-head); font-weight: 800; font-size: 21.5px; letter-spacing: .02em;
  color: var(--yc-text); line-height: 1; display: inline-flex; align-items: baseline; direction: ltr; }
.yc-logotype em { font-style: normal; color: transparent; -webkit-text-stroke: 1.1px var(--yc-text); paint-order: stroke; }
.yc-logotype sup { font-size: 9px; font-weight: 600; color: var(--yc-text-faint); margin-inline-start: 2px; -webkit-text-stroke: 0; }
.yc-logotype--light { color: #fff; }
.yc-logotype--light em { -webkit-text-stroke-color: #fff; }
.yc-brand--footer { margin-bottom: 16px; }
.yc-brand--footer img.yc-mark { height: 30px; }
.yc-brand .logo-light { display: block; }
.yc-brand .logo-dark { display: none; }
:root[data-theme="dark"] .yc-brand .logo-light { display: none; }
:root[data-theme="dark"] .yc-brand .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .yc-brand .logo-light { display: none; }
  :root:not([data-theme="light"]) .yc-brand .logo-dark { display: block; }
}

.yc-navlinks { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; height: 100%; }
.yc-navlinks > li { height: 100%; display: flex; align-items: center; }
.yc-navlinks a {
  color: var(--yc-text); font-weight: 600; font-size: 15px;
  padding: 8px 13px; border-radius: 8px; transition: color .15s;
  display: inline-flex; align-items: center; gap: 5px;
}
.yc-navlinks a:hover, .yc-navlinks a.active { color: var(--yc-blue); }
.yc-nav__actions { display: flex; align-items: center; gap: 10px; }

/* ---- Mega menus (Hostinger-style panels) ---- */
.yc-hasdd { position: relative; }
.yc-hasdd .caret { opacity: .55; transition: transform .18s var(--yc-ease); }
.yc-hasdd:hover .caret, .yc-hasdd:focus-within .caret { transform: rotate(180deg); }
.yc-mega {
  position: absolute; top: 100%; inset-inline-start: 0; z-index: 1200; width: 660px; max-width: calc(100vw - 40px);
  background: var(--yc-surface); border: 1px solid var(--yc-line-soft); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15,21,32,.16), 0 4px 14px rgba(15,21,32,.06);
  padding: 14px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .18s var(--yc-ease), transform .18s var(--yc-ease), visibility .18s;
}
.yc-hasdd:hover .yc-mega, .yc-hasdd:focus-within .yc-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.yc-mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.yc-mega .yc-mega__item {
  display: flex; align-items: flex-start; gap: 13px; padding: 13px 14px; border-radius: 12px;
  text-align: start; transition: background-color .14s var(--yc-ease);
}
.yc-mega .yc-mega__item:hover { background: var(--yc-blue-tint); }
.yc-mega .yc-mega__item .mi {
  width: 42px; height: 42px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--yc-blue-tint); color: var(--yc-blue);
}
.yc-mega .yc-mega__item:hover .mi { background: var(--yc-blue); color: #fff; }
.yc-mega .yc-mega__item .mi svg { width: 21px; height: 21px; }
.yc-mega .yc-mega__item .mt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yc-mega .yc-mega__item .mt b { font-size: 14.5px; font-weight: 700; color: var(--yc-text); line-height: 1.3; }
.yc-mega .yc-mega__item:hover .mt b { color: var(--yc-blue); }
.yc-mega .yc-mega__item .mt small { font-size: 12.5px; color: var(--yc-text-faint); line-height: 1.45; font-weight: 400; }
.yc-mega__all {
  display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 12px 14px;
  border-top: 1px solid var(--yc-line-soft); color: var(--yc-blue); font-weight: 700; font-size: var(--yc-fs-sm);
}
.yc-mega__all:hover { gap: 12px; }
@media (max-width: 860px) { .yc-mega { width: 520px; } .yc-mega__grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .yc-mega { display: none !important; } .yc-navlinks > li { height: auto; } }

.yc-iconbtn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--yc-line);
  background: var(--yc-surface); color: var(--yc-text-soft); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s, background-color .15s;
}
.yc-iconbtn:hover { color: var(--yc-blue); border-color: var(--yc-blue); }
.yc-iconbtn svg { width: 19px; height: 19px; }

/* language switcher */
.yc-lang { position: relative; }
.yc-lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  background: var(--yc-surface); border: 1px solid var(--yc-line); border-radius: var(--yc-radius);
  box-shadow: var(--yc-shadow); padding: 6px; min-width: 148px; display: none;
}
.yc-lang.open .yc-lang__menu { display: block; }
.yc-lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--yc-text-soft); font-size: var(--yc-fs-sm); }
.yc-lang__menu a:hover { background: var(--yc-blue-tint); color: var(--yc-blue); }
.yc-lang__menu a.active { color: var(--yc-blue); font-weight: 700; background: var(--yc-blue-tint); }

.yc-burger { display: none; }

/* ---- Hero ---- */
.yc-hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); }
.yc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 85% -10%, color-mix(in srgb, var(--yc-blue) 22%, transparent) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--yc-blue) 12%, transparent) 0%, transparent 55%);
}
.yc-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.yc-hero h1 { font-size: var(--yc-fs-4xl); margin-bottom: 20px; }
.yc-hero h1 .accent { color: var(--yc-blue); }
.yc-hero .lead { font-size: var(--yc-fs-lg); color: var(--yc-text-soft); max-width: 54ch; margin-bottom: 30px; }
.yc-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.yc-hero__stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.yc-stat .n { font-size: var(--yc-fs-2xl); font-weight: 800; color: var(--yc-text); font-variant-numeric: tabular-nums; }
.yc-stat .l { font-size: var(--yc-fs-xs); color: var(--yc-text-faint); text-transform: uppercase; letter-spacing: .08em; font-family: var(--yc-font-mono); display: block; }
[dir="rtl"] .yc-stat .l { font-family: var(--yc-font-rtl); letter-spacing: normal; }

/* hero visual — floating brand card */
.yc-hero__visual { position: relative; }
.yc-hero__card {
  background: var(--yc-surface); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg);
  box-shadow: var(--yc-shadow-lg); padding: 28px; position: relative;
}
.yc-hero__card .row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--yc-line-soft); }
.yc-hero__card .row:last-child { border-bottom: 0; }
.yc-hero__card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--yc-blue-tint); color: var(--yc-blue); display: grid; place-items: center; flex: none; font-weight: 800; }
.yc-hero__card .t { font-weight: 650; font-size: var(--yc-fs-sm); }
.yc-hero__card .s { font-size: var(--yc-fs-xs); color: var(--yc-text-faint); }

/* ---- Sections ---- */
.yc-section { padding: clamp(56px, 8vw, 104px) 0; }
.yc-section--alt { background: var(--yc-surface); border-block: 1px solid var(--yc-line-soft); }
.yc-section__head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.yc-section__head h2 { font-size: var(--yc-fs-3xl); }
.yc-section__head p { color: var(--yc-text-soft); font-size: var(--yc-fs-lg); margin: 0; }

/* ---- Cards grid ---- */
.yc-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.yc-card {
  background: var(--yc-surface); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg);
  padding: 28px; transition: transform .2s var(--yc-ease), box-shadow .2s var(--yc-ease), border-color .2s var(--yc-ease);
}
.yc-card:hover { transform: translateY(-2px); box-shadow: var(--yc-shadow); border-color: color-mix(in srgb, var(--yc-blue) 35%, var(--yc-line)); }
.yc-card__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--yc-blue-tint); color: var(--yc-blue); display: grid; place-items: center; margin-bottom: 18px; }
.yc-card__ic svg { width: 26px; height: 26px; }
.yc-card h3 { font-size: var(--yc-fs-xl); margin-bottom: 8px; }
.yc-card p { color: var(--yc-text-soft); font-size: var(--yc-fs-sm); margin: 0; }
.yc-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 650; font-size: var(--yc-fs-sm); color: var(--yc-blue); }
[dir="rtl"] .yc-card__link svg { transform: scaleX(-1); }

/* ---- CTA band ---- */
.yc-cta {
  background: linear-gradient(120deg, var(--yc-blue) 0%, var(--yc-blue-600) 100%);
  border-radius: var(--yc-radius-lg); padding: clamp(36px, 6vw, 64px); text-align: center; color: #fff;
  box-shadow: var(--yc-shadow-blue);
}
.yc-cta h2 { color: #fff; font-size: var(--yc-fs-3xl); }
.yc-cta p { color: rgba(255,255,255,.9); font-size: var(--yc-fs-lg); max-width: 52ch; margin: 0 auto 26px; }
.yc-cta .btn-yc-primary { background: #fff; color: var(--yc-blue-700); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.yc-cta .btn-yc-primary:hover { background: #f0f4ff; color: var(--yc-blue-700); }

/* ---- Footer (corporate multi-column) ---- */
.yc-footer { background: var(--yc-ink); color: #C6D0E0; padding: 64px 0 28px; }
:root[data-theme="light"] .yc-footer { background: #0F1520; }
.yc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.yc-footer__grid--5 { grid-template-columns: 1.7fr 1fr 1fr .9fr .8fr; }
.yc-footer h4 { color: #fff; font-size: var(--yc-fs-xs); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; font-weight: 700; }
.yc-footer a { color: #9FB0C8; font-size: var(--yc-fs-sm); display: block; padding: 5px 0; }
.yc-footer a:hover { color: #fff; }
.yc-footer__brand img { height: 28px; margin-bottom: 16px; }
.yc-footer__brand p { color: #8595AD; font-size: var(--yc-fs-sm); max-width: 34ch; }
.yc-footer__contact { display: grid; gap: 4px; margin-top: 14px; }
.yc-footer__office { margin-bottom: 14px; }
.yc-footer__office b { display: block; color: #C6D0E0; font-size: var(--yc-fs-sm); margin-bottom: 3px; }
.yc-footer__office span { color: #8595AD; font-size: 13px; line-height: 1.55; display: block; }
.yc-footer__contact a, .yc-footer__contact span { display: inline-flex; align-items: center; gap: 9px; color: #9FB0C8; font-size: var(--yc-fs-sm); padding: 3px 0; }
.yc-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: var(--yc-fs-xs); color: #7A8AA3; }
.yc-footer__legal { display: flex; gap: 22px; }
.yc-footer__legal a { display: inline; padding: 0; font-size: var(--yc-fs-xs); color: #7A8AA3; }
.yc-footer__legal a:hover { color: #fff; }
@media (max-width: 980px) { .yc-footer__grid--5 { grid-template-columns: 1fr 1fr 1fr; } .yc-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .yc-footer__grid--5 { grid-template-columns: 1fr 1fr; } }

/* ---- Floating WhatsApp ---- */
.yc-whatsapp {
  position: fixed; inset-inline-end: 22px; inset-block-end: 22px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s var(--yc-ease);
}
.yc-whatsapp:hover { transform: scale(1.08); color: #fff; }
.yc-whatsapp svg { width: 30px; height: 30px; }

/* ---- AI assistant widget ---- */
.yc-assistant { position: fixed; inset-inline-end: 22px; inset-block-end: 88px; z-index: 950; }
.yc-assistant__toggle {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--yc-blue); color: #fff; display: grid; place-items: center;
  box-shadow: var(--yc-shadow-blue); transition: transform .2s var(--yc-ease);
}
.yc-assistant__toggle:hover { transform: scale(1.08); }
.yc-assistant__toggle svg { width: 26px; height: 26px; }
.yc-assistant__panel {
  position: absolute; inset-inline-end: 0; inset-block-end: 70px; width: min(360px, calc(100vw - 44px));
  background: var(--yc-surface); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg);
  box-shadow: var(--yc-shadow-lg); overflow: hidden; display: flex; flex-direction: column; max-height: 70vh;
}
.yc-assistant__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; background: var(--yc-blue); color: #fff; }
.yc-assistant__head strong { display: block; font-size: 14px; }
.yc-assistant__head span { font-size: 12px; opacity: .85; }
.yc-assistant__close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.yc-assistant__log { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.yc-msg { padding: 10px 13px; border-radius: 12px; font-size: 14px; line-height: 1.5; max-width: 85%; white-space: pre-wrap; }
.yc-msg--bot { background: var(--yc-surface-2); color: var(--yc-text); align-self: flex-start; border-bottom-left-radius: 3px; }
.yc-msg--user { background: var(--yc-blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
[dir="rtl"] .yc-msg--bot { border-bottom-left-radius: 12px; border-bottom-right-radius: 3px; align-self: flex-start; }
[dir="rtl"] .yc-msg--user { border-bottom-right-radius: 12px; border-bottom-left-radius: 3px; align-self: flex-end; }
.yc-msg--typing { color: var(--yc-text-faint); font-style: italic; }
.yc-assistant__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--yc-line-soft); }
.yc-assistant__form input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--yc-line); border-radius: 999px; font: inherit; color: var(--yc-text); background: var(--yc-surface); }
.yc-assistant__form input:focus { outline: none; border-color: var(--yc-blue); }
.yc-assistant__form button { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--yc-blue); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
[dir="rtl"] .yc-assistant__form svg { transform: scaleX(-1); }
@media (max-width: 480px) { .yc-assistant { inset-inline-end: 16px; inset-block-end: 84px; } }

/* ---- Scroll reveal (fail-safe: visible by default, hidden only when JS is active) ---- */
.yc-reveal { opacity: 1; transform: none; }
html.has-js .yc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--yc-ease), transform .6s var(--yc-ease); }
html.has-js .yc-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.has-js .yc-reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .yc-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .yc-hero__visual { order: -1; }
  .yc-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .yc-navlinks, .yc-nav__actions .desktop-only { display: none; }
  .yc-burger { display: inline-flex; }
  .yc-nav { position: sticky; }
  .yc-navlinks.is-open {
    display: flex; position: absolute; inset-inline: 0; top: 100%; height: auto;
    flex-direction: column; align-items: stretch; background: var(--yc-surface);
    border-top: 1px solid var(--yc-line-soft); border-bottom: 1px solid var(--yc-line);
    padding: 10px 16px 16px; box-shadow: 0 18px 40px rgba(15,21,32,.14);
    max-height: calc(100vh - 80px); overflow-y: auto; z-index: 1300; gap: 2px;
  }
  .yc-navlinks.is-open > li { height: auto; display: block; }
  .yc-navlinks.is-open a { display: flex; width: 100%; padding: 14px 12px; font-size: 16px; border-radius: 8px; }
  .yc-navlinks.is-open a:hover, .yc-navlinks.is-open a:active { background: var(--yc-blue-tint); }
  .yc-navlinks.is-open .caret { display: none; }
  .yc-navlinks.is-open .yc-mcta { margin-top: 10px; }
  .yc-navlinks.is-open .yc-mcta a { background: var(--yc-blue); color: #fff; justify-content: center; font-weight: 700; }
  .yc-footer__grid { grid-template-columns: 1fr; }
}
.yc-mcta { display: none; }
@media (max-width: 720px) { .yc-navlinks.is-open .yc-mcta { display: block; } }

/* ---- Inner page header ---- */
.yc-pagehead { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--yc-line-soft); }
.yc-pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 100% 0%, color-mix(in srgb, var(--yc-blue) 14%, transparent), transparent 60%); }
.yc-pagehead h1 { font-size: var(--yc-fs-3xl); margin-bottom: 10px; }
.yc-pagehead p { color: var(--yc-text-soft); font-size: var(--yc-fs-lg); max-width: 60ch; margin: 0; }
.yc-breadcrumb { display: flex; gap: 8px; font-size: var(--yc-fs-xs); color: var(--yc-text-faint); margin-bottom: 14px; font-family: var(--yc-font-mono); }
[dir="rtl"] .yc-breadcrumb { font-family: var(--yc-font-rtl); }
.yc-breadcrumb a { color: var(--yc-text-faint); }
.yc-breadcrumb a:hover { color: var(--yc-blue); }

/* ---- Prose (article/detail bodies) ---- */
.yc-prose { max-width: 72ch; font-size: var(--yc-fs-lg); color: var(--yc-text-soft); line-height: 1.8; }
.yc-prose h2 { font-size: var(--yc-fs-2xl); margin: 1.4em 0 .5em; color: var(--yc-text); }
.yc-prose h3 { font-size: var(--yc-fs-xl); margin: 1.2em 0 .4em; color: var(--yc-text); }
.yc-prose ul { padding-inline-start: 22px; }
.yc-prose li { margin-bottom: 8px; }

/* ---- Contact form ---- */
.yc-form { display: grid; gap: 16px; max-width: 560px; }
.yc-field { display: grid; gap: 6px; }
.yc-field label { font-size: var(--yc-fs-sm); font-weight: 600; color: var(--yc-text); }
.yc-field input, .yc-field textarea, .yc-field select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--yc-text);
  background: var(--yc-surface); border: 1.5px solid var(--yc-line); border-radius: var(--yc-radius-sm);
  transition: border-color .15s var(--yc-ease), box-shadow .15s var(--yc-ease);
}
.yc-field input:focus, .yc-field textarea:focus, .yc-field select:focus {
  outline: none; border-color: var(--yc-blue); box-shadow: 0 0 0 3px var(--yc-blue-tint);
}
.yc-field textarea { min-height: 130px; resize: vertical; }
.yc-field .field-validation-error, .text-danger { color: var(--yc-danger); font-size: var(--yc-fs-xs); }
.yc-alert { padding: 14px 18px; border-radius: var(--yc-radius); font-size: var(--yc-fs-sm); }
.yc-alert-success { background: color-mix(in srgb, var(--yc-success) 14%, transparent); color: var(--yc-success); border: 1px solid color-mix(in srgb, var(--yc-success) 40%, transparent); }

/* ---- Contact split layout ---- */
.yc-contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.yc-contact-info { display: grid; gap: 20px; }
.yc-contact-info .item { display: flex; gap: 14px; align-items: flex-start; }
.yc-contact-info .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--yc-blue-tint); color: var(--yc-blue); display: grid; place-items: center; flex: none; }
.yc-contact-info .item .t { font-weight: 700; margin-bottom: 2px; }
.yc-contact-info .item .s { color: var(--yc-text-soft); font-size: var(--yc-fs-sm); }
@media (max-width: 800px) { .yc-contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Blog ---- */
.yc-blogcard { background: var(--yc-surface); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); overflow: hidden; transition: transform .2s var(--yc-ease), box-shadow .2s var(--yc-ease); }
.yc-blogcard:hover { transform: translateY(-4px); box-shadow: var(--yc-shadow); }
.yc-blogcard .body { padding: 24px; }
.yc-blogcard .cat { font-family: var(--yc-font-mono); font-size: var(--yc-fs-xs); color: var(--yc-blue); text-transform: uppercase; letter-spacing: .08em; }
.yc-blogcard h3 { font-size: var(--yc-fs-lg); margin: 8px 0; }
.yc-empty { text-align: center; padding: 60px 20px; color: var(--yc-text-faint); }
.yc-empty svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: .5; }

/* ---- Skip to content (accessibility) ----
   Hidden ABOVE the viewport (not inline-start): a negative left offset becomes
   scrollable overflow in RTL and inflates the page width by 9999px. */
.yc-skip { position: absolute; top: -100px; inset-inline-start: 0; z-index: 2000; background: var(--yc-blue); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 600; }
.yc-skip:focus { top: 0; color: #fff; }

/* Focus visibility everywhere */
a:focus-visible, button:focus-visible { outline: 3px solid var(--yc-blue-300); outline-offset: 2px; border-radius: 4px; }
