/* ugaaz.com — shared styles. Dark only: graphite ground, brushed-silver accents. */
:root {
  --bg: #0a0b0d;
  --bg-2: #101215;
  --surface: #15181c;
  --line: rgba(214, 219, 226, 0.12);
  --line-2: rgba(214, 219, 226, 0.26);
  --text: #eceff3;
  --muted: #979ea8;
  --silver: #c9ced6;
  --steel: #8a919b;
  --tint: rgba(201, 206, 214, 0.1);
  --accent: #e4e7eb;
  --accent-ink: #f1f3f5;
  --on-accent: #0a0b0d;
  --chrome: linear-gradient(180deg, #f7f8fa 0%, #d5d9df 45%, #a9afb8 100%);
  --data: #4c8fe0;
  --data-light: #9cc3f2;
  --data-deep: #2e64a8;
  --data-track: rgba(76, 143, 224, 0.14);
  --wa: #25d366;
  --wa-deep: #128c7e;
  --mark-filter: none;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; margin: 0; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 58ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-chrome { background: var(--chrome); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 40px -14px rgba(220,226,234,.45); }
.btn-chrome:hover { filter: brightness(1.06); }
.btn-chrome { position: relative; overflow: hidden; isolation: isolate; }
.btn-chrome::after {
  content: ""; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.95) 50%, transparent 100%);
  transform: skewX(-20deg); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .btn-chrome {
    background: linear-gradient(110deg, #f7f8fa 0%, #cfd3d9 22%, #9aa1ab 38%, #f4f6f8 52%, #c2c7ce 70%, #f2f4f6 100%);
    background-size: 260% 100%; animation: liquid 5s ease-in-out infinite;
  }
  .btn-chrome::after { animation: sweep 3.6s var(--ease) infinite; }
  .btn-chrome.pulse { animation: liquid 5s ease-in-out infinite, pulse 2.4s ease-out infinite; }
  .btn-chrome.pulse svg { animation: nudge 3.6s ease-in-out infinite; transform-origin: 50% 50%; }
  .btn-chrome:hover::after { animation-duration: 1.2s; }
}
@keyframes liquid { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sweep { 0%, 55% { left: -60%; opacity: 0; } 60% { opacity: 1; } 85% { left: 120%; opacity: 1; } 100% { left: 120%; opacity: 0; } }
@keyframes pulse {
  0% { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 0 rgba(228,231,235,.45), 0 12px 40px -14px rgba(220,226,234,.45); }
  70% { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 14px rgba(228,231,235,0), 0 12px 40px -14px rgba(220,226,234,.45); }
  100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 0 rgba(228,231,235,0), 0 12px 40px -14px rgba(220,226,234,.45); }
}
@keyframes nudge { 0%, 70%, 100% { transform: none; } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-8deg); } 86% { transform: none; } }
.btn-ghost { border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.top.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: flex-end; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 27px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; font-variation-settings: "opsz" 48, "wdth" 100; }
.brand img { width: 34px; height: auto; filter: var(--mark-filter); }
.brand span { padding-bottom: 1px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn), .nav .dd > button {
  text-decoration: none; padding: 10px 14px; border-radius: 999px; font-size: 15px; color: var(--muted);
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:not(.btn):hover, .nav .dd > button:hover, .nav a[aria-current="page"], .nav .dd.current > button { color: var(--text); }
.dd { position: relative; }
.dd > button svg { width: 12px; height: 12px; transition: transform .2s; }
.dd.open > button svg { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: 340px; padding: 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.55); display: none;
}
.dd.open .dd-panel { display: block; }
.dd-panel a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.dd-panel a:hover { background: var(--tint); }
.dd-panel strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; }
.dd-panel span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.dd-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 8px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 19px; height: 19px; }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .top .btn-chrome { display: none; }
  .nav.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: 72px 0 auto 0; padding: 12px var(--gut) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav.mobile-open > a:not(.btn), .nav.mobile-open .dd > button { font-size: 19px; padding: 14px 4px; color: var(--text); border-radius: 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .nav.mobile-open .dd-panel { position: static; transform: none; width: auto; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px; }
  .nav.mobile-open .mobile-cta { display: flex; margin-top: 18px; }
}
.nav .mobile-cta { display: none; }

/* Sections */
.sec { padding-block: clamp(80px, 11vw, 140px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px 40px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; color: var(--text); font-size: 15px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .brand { color: var(--text); margin-bottom: 12px; }
.foot .fine { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 720px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* WhatsApp icon: one glyph from Font Awesome Free Brands (CC BY 4.0), self-hosted */
@font-face { font-family: "wa-icon"; src: url("../fonts/wa-icon.woff2") format("woff2"); font-display: block; }
.fa-brands.fa-whatsapp { font-family: "wa-icon"; font-style: normal; font-weight: 400; display: inline-block; -webkit-font-smoothing: antialiased; }
.fa-brands.fa-whatsapp::before { content: "\f232"; }

/* WhatsApp buttons: brand green, white WhatsApp icon */
.btn-wa {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border: 0;
  background: linear-gradient(120deg, #3ee07f 0%, var(--wa) 35%, #1fb457 60%, var(--wa-deep) 100%);
  background-size: 220% 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 14px 40px -14px rgba(37,211,102,.75);
  text-shadow: 0 1px 1px rgba(0,0,0,.18);
}
.btn-wa:hover { filter: brightness(1.07) saturate(1.05); }
.btn-wa::after {
  content: ""; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  transform: skewX(-20deg); opacity: 0;
}
.wa-ico { font-size: 1.25em; line-height: 1; flex: none; }
.btn-wa .wa-ico { color: #fff; }
.link-btn .wa-ico, .btn-ghost .wa-ico, .direct .wa-ico { color: var(--wa); }
@media (prefers-reduced-motion: no-preference) {
  .btn-wa { animation: wa-flow 6s ease-in-out infinite; }
  .btn-wa::after { animation: sweep 3.6s var(--ease) infinite; }
  .btn-wa.pulse { animation: wa-flow 6s ease-in-out infinite, wa-pulse 2.4s ease-out infinite; }
  .btn-wa.pulse .wa-ico { animation: nudge 3.6s ease-in-out infinite; }
}
@keyframes wa-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes wa-pulse {
  0% { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 0 rgba(37,211,102,.55), 0 14px 40px -14px rgba(37,211,102,.75); }
  70% { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 16px rgba(37,211,102,0), 0 14px 40px -14px rgba(37,211,102,.75); }
  100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 0 rgba(37,211,102,0), 0 14px 40px -14px rgba(37,211,102,.75); }
}

.login-link { font-size: 14.5px; color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 999px; }
.login-link:hover { color: var(--text); }
.nav > a.mobile-login { display: none; }
@media (max-width: 900px) {
  .login-link { display: none; }
  .nav.mobile-open > a.mobile-login { display: block; font-size: 19px; padding: 14px 4px; color: var(--text); border-bottom: 1px solid var(--line); text-decoration: none; }
}

/* Language picker: current flag, opens a vertical list */
.lang-dd { position: relative; }
.lang-dd summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--text); user-select: none; transition: border-color .2s; }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary:hover, .lang-dd[open] summary { border-color: var(--line-2); }
.lang-dd .chev { width: 11px; height: 11px; color: var(--muted); transition: transform .2s; }
.lang-dd[open] .chev { transform: rotate(180deg); }
.flag { width: 20px; height: 14px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.flag svg { width: 100%; height: 100%; display: block; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 190px; padding: 6px; display: grid; gap: 2px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); animation: menu-in .18s var(--ease); }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; color: var(--muted); }
.lang-menu a:hover { background: var(--tint); color: var(--text); }
.lang-menu a[aria-current="true"] { color: var(--text); background: var(--tint); }
.lang-menu .name { flex: 1; }
.lang-menu .code { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.lang-menu a[aria-current="true"] .code::after { content: " ✓"; color: var(--text); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 520px) { .lang-dd summary { padding: 0 10px; height: 44px; } .lang-dd summary .code { display: none; } }
@media (max-width: 380px) { .brand { font-size: 23px; } .brand img { width: 30px; } }
.nav > a, .nav .dd > button, .login-link, .top .btn { white-space: nowrap; }
@media (max-width: 1320px) and (min-width: 901px) { .nav > a[href="/#process"] { display: none; } }
@media (max-width: 1120px) and (min-width: 901px) { .nav > a[href="/#ventures"], .nav > a[href="/#contact"] { display: none; } .nav > a:not(.btn), .nav .dd > button { padding-inline: 10px; } }
.nav .mobile-cta { justify-content: center; }

/* WhatsApp is for escalation only: one quiet text link */
.esc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); text-decoration: none; }
.esc-link .wa-ico { color: var(--wa); font-size: 17px; }
.esc-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Start cards: brief or call */
.start-cards { display: grid; gap: 12px; }
.start-card { display: grid; grid-template-columns: 48px 1fr 24px; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 22px; text-decoration: none; background: color-mix(in srgb, var(--surface) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.start-card:hover { border-color: var(--silver); transform: translateY(-2px); }
.start-card .sc-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); border: 1px solid var(--line-2); }
.start-card.primary .sc-ico { background: var(--chrome); color: var(--on-accent); border-color: transparent; }
.start-card .sc-ico svg { width: 22px; height: 22px; }
.start-card .sc-body { display: grid; gap: 4px; }
.start-card strong { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.start-card .sc-body > span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.start-card em { font-style: normal; font-size: 13px; color: var(--silver); letter-spacing: .02em; }
.start-card .sc-go svg { width: 22px; height: 22px; color: var(--silver); transition: transform .25s var(--ease); }
.start-card:hover .sc-go svg { transform: translateX(4px); }
.contact-alt { display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.contact-alt a[href^="mailto"] { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 520px) { .start-card { grid-template-columns: 40px 1fr; padding: 18px; } .start-card .sc-ico { width: 40px; height: 40px; } .start-card .sc-go { display: none; } }
.nf { min-height: 78svh; display: grid; place-items: center; text-align: center; padding: 120px 0 64px; }
.nf img { width: 56px; height: auto; margin: 0 auto 28px; filter: var(--mark-filter); }
.nf h1 { font-size: clamp(40px, 7vw, 72px); }
.nf p { color: var(--muted); margin: 16px auto 32px; max-width: 44ch; }
.nf .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
