/* =====================================================================
   Delta Consulting – dc.ge   |   site stylesheet (v2)
   ===================================================================== */
:root {
  --brand-900: #1b0833;
  --brand-800: #2a0f4a;
  --brand-700: #3b1763;
  --brand-600: #52207f;
  --accent: #b0246f;
  --accent-600: #8f1a59;
  --ink: #1d1a24;
  --muted: #5d5868;
  --line: #e7e3ee;
  --bg: #ffffff;
  --bg-alt: #f6f4fa;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 8, 51, .05), 0 8px 24px rgba(27, 8, 51, .07);
  --shadow-lg: 0 18px 50px rgba(27, 8, 51, .16);
  --font: "Inter", "Noto Sans Georgian", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1180px;
}
:lang(ka) { --font: "Noto Sans Georgian", "Inter", "Segoe UI", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; font-weight: 700; color: var(--brand-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
h2 span, h1 span { color: var(--accent); }
p { margin: 0 0 1em; }
:lang(ka) h1 { font-size: clamp(1.8rem, 4vw, 3rem); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.logo-grid + .center, .client-grid + .center { margin-top: 36px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brand-800); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(176, 36, 111, .3); }
.btn-primary:hover { background: var(--accent-600); color: #fff; }
.btn-outline { border-color: var(--brand-600); color: var(--brand-700); }
.btn-outline:hover { background: var(--brand-700); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { color: var(--accent); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.icon { width: 28px; height: 28px; flex: none; }
.icon-sm { width: 18px; height: 18px; flex: none; }
.icon-xs { width: 16px; height: 16px; flex: none; color: var(--accent); margin-top: .3em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(27, 8, 51, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav ul a:hover { background: var(--bg-alt); color: var(--brand-700); }
.site-nav ul a.active { color: var(--accent); background: #fbeff6; }
.lang-switch { font-weight: 700; font-size: .85rem; letter-spacing: .05em; padding: 7px 12px; border-radius: 8px; border: 1.5px solid var(--line); color: var(--brand-700); }
.lang-switch:hover { border-color: var(--accent); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--brand-800); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--brand-900); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(27, 8, 51, .96) 0%, rgba(42, 15, 74, .9) 45%, rgba(143, 26, 89, .72) 100%), url("img/hero.jpg") center/cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.hero-inner { position: relative; padding: 110px 20px 90px; max-width: var(--container); }
.hero h1 { color: #fff; max-width: 860px; }
.hero h1 span { color: #ff9fd0; }
.hero-lead { font-size: 1.15rem; max-width: 640px; color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 60px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .8em; }
.hero .eyebrow { color: #ff9fd0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 20px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 28px; }
.stat strong { display: block; font-size: 2rem; line-height: 1.1; color: #fff; }
.stat span { font-size: .9rem; color: rgba(255, 255, 255, .72); }

/* ---------- page hero ---------- */
.page-hero { background: linear-gradient(115deg, var(--brand-900), var(--brand-700) 60%, var(--accent-600)); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 720px; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 14px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.error-hero { padding: 120px 0; }
.error-hero h1 { font-size: 6rem; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.media img { width: 100%; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.card.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #e2cfe0; }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #f4e6f2, #ece6f7); color: var(--brand-700); margin-bottom: 20px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); margin: 6px 0; font-size: .95rem; }
.ticks.big li { font-size: 1.02rem; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.ticks.big li:last-child { border-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .92rem; }
.card-link::after { content: ""; position: absolute; inset: 0; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { text-align: center; padding: 24px; }
.value .icon { width: 44px; height: 44px; color: var(--accent); margin: 0 auto 14px; }
.value p { color: var(--muted); }

/* ---------- logos ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.logo-tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 18px 30px; transition: box-shadow .2s, transform .2s; }
.logo-tile img { max-height: 58px; max-width: 80%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logo-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-name { position: absolute; bottom: 9px; left: 0; right: 0; text-align: center; font-size: .75rem; color: var(--muted); font-weight: 500; }
.badge { position: absolute; top: 8px; right: 8px; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #fbeff6; color: var(--accent-600); padding: 3px 7px; border-radius: 6px; }
.stretched { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 18px 30px; }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.client-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: center; transition: box-shadow .2s, transform .2s; }
.client-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.client-tile img { width: 100%; aspect-ratio: 14 / 9; object-fit: contain; }
.client-tile .logo-name { position: static; display: block; padding: 10px 10px 12px; border-top: 1px solid var(--line); font-size: .82rem; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filters button { font: inherit; font-size: .9rem; font-weight: 500; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--brand-600); }
.filters button.on { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
[data-filter-grid] > .hide { display: none; }
.brand-logo { max-width: 260px; margin: 0 auto 40px; }
.product { text-align: center; }
.product img { margin: 0 auto 16px; max-height: 200px; width: auto; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(115deg, var(--brand-800), var(--accent-600)); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.card.info { display: flex; gap: 18px; align-items: flex-start; padding: 24px; }
.card.info > .icon { color: var(--accent); background: #fbeff6; border-radius: 12px; padding: 10px; width: 48px; height: 48px; }
.card.info h3 { margin-bottom: .2em; font-size: 1rem; }
.card.info p { margin: 0; color: var(--muted); }
.contact-form { padding: 36px; }
.contact-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--brand-900); margin-bottom: 16px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fcfbfe; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(82, 32, 127, .12); background: #fff; }
.contact-form .invalid { border-color: #c62828; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg:empty { display: none; }
.form-msg { margin-top: 18px; }
.form-msg .alert { padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-msg .alert-success { background: #e8f6ee; color: #1b5e3b; border: 1px solid #b9e3c9; }
.form-msg .alert-danger { background: #fdecec; color: #8a1c1c; border: 1px solid #f3c2c2; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-900); color: rgba(255, 255, 255, .72); padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 18px; background: #fff; border-radius: 10px; padding: 6px 10px; box-sizing: content-box; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 6px 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.footer-contact .icon { width: 20px; height: 20px; color: #ff9fd0; margin-top: 2px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--accent); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px; font-size: .85rem; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 20px; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; overflow-y: auto; }
  .menu-open .site-nav { transform: none; visibility: visible; transition: transform .3s ease; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .lang-switch { align-self: flex-start; margin-top: 20px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .values, .row2 { grid-template-columns: 1fr; }
  .hero-inner { padding: 72px 20px 56px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat strong { font-size: 1.5rem; }
  .stat span { font-size: .78rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .logo-tile { height: 96px; padding: 12px 10px 24px; }
  .logo-tile img { max-height: 40px; }
  .logo-name { font-size: .68rem; bottom: 6px; }
  .badge { font-size: .55rem; top: 5px; right: 5px; padding: 2px 5px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 24px; }
  .map iframe { height: 320px; }
}
