/* UNIDA TECH Design Foundation V1 */
:root {
  --v2-bg:#f6f8fc;
  --v2-surface:#ffffff;
  --v2-surface-soft:#eef4fa;
  --v2-ink:#10233d;
  --v2-muted:#5e7087;
  --v2-line:#dbe5ee;
  --v2-brand:#075eac;
  --v2-brand-strong:#063f78;
  --v2-accent:#00a86b;
  --v2-warm:#f4b942;
  --v2-shadow:0 24px 70px rgba(18,48,82,.11);
  --v2-radius:24px;
}

html[data-theme="dark"] {
  --v2-bg:#07111f;
  --v2-surface:#0d1b2e;
  --v2-surface-soft:#12243a;
  --v2-ink:#ecf4fb;
  --v2-muted:#a9bbca;
  --v2-line:#263b51;
  --v2-brand:#54a8ed;
  --v2-brand-strong:#d9edff;
  --v2-accent:#39d49a;
  --v2-warm:#ffd166;
  --v2-shadow:0 24px 70px rgba(0,0,0,.3);
}

html { background:var(--v2-bg); }
body {
  color:var(--v2-ink);
  background:var(--v2-bg);
  transition:background-color .2s ease,color .2s ease;
}
.shell { width:min(1360px,calc(100% - clamp(32px,6vw,96px))); }

.site-header {
  position:sticky;
  z-index:50;
  top:0;
  min-height:78px;
  padding-inline:max(24px,calc((100vw - 1360px)/2));
  color:var(--v2-ink);
  background:color-mix(in srgb,var(--v2-surface) 88%,transparent);
  border-color:var(--v2-line);
  backdrop-filter:blur(18px);
}
.site-header nav { gap:clamp(10px,1.5vw,22px); }
.site-header a,.link-button { color:var(--v2-ink); }
.site-header nav > a:not(.nav-cta) { font-size:.9rem; }
.site-header nav > a:not(.nav-cta):hover { color:var(--v2-brand); }
.nav-cta {
  min-height:42px;
  display:inline-flex;
  align-items:center;
  padding:0 17px;
  color:#fff!important;
  background:var(--v2-brand);
  border-color:var(--v2-brand);
}

.theme-toggle {
  position:relative;
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  border:1px solid var(--v2-line);
  border-radius:50%;
  color:var(--v2-ink);
  background:var(--v2-surface);
  cursor:pointer;
}
.theme-toggle:hover { border-color:var(--v2-brand); }
.theme-toggle .theme-sun,
.theme-toggle .theme-moon { position:absolute; line-height:1; }
html[data-theme="light"] .theme-moon,
html:not([data-theme]) .theme-moon,
html[data-theme="dark"] .theme-sun { display:none; }

.v2-home { overflow:hidden; }
.v2-section { padding-block:clamp(76px,9vw,130px); }
.v2-kicker {
  margin:0 0 18px;
  color:var(--v2-accent);
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.17em;
}
.v2-heading {
  max-width:900px;
  margin:0;
  color:var(--v2-brand-strong);
  font-size:clamp(2.35rem,5vw,4.8rem);
  line-height:.98;
  letter-spacing:-.052em;
}
.v2-intro {
  max-width:700px;
  margin:22px 0 0;
  color:var(--v2-muted);
  font-size:clamp(1rem,1.5vw,1.16rem);
  line-height:1.75;
}
.v2-heading-row {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:46px;
}
.v2-text-link {
  flex:0 0 auto;
  color:var(--v2-brand);
  font-weight:850;
  text-decoration:none;
}

.v2-hero {
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(380px,.97fr);
  gap:clamp(46px,7vw,100px);
  align-items:center;
  min-height:720px;
  padding-block:clamp(70px,9vw,128px);
}
.v2-hero h1 {
  max-width:830px;
  margin:0;
  color:var(--v2-brand-strong);
  font-size:clamp(3.25rem,7.2vw,7.2rem);
  line-height:.9;
  letter-spacing:-.072em;
}
.v2-hero h1 span { color:var(--v2-brand); }
.v2-hero .v2-intro { max-width:720px; font-size:clamp(1.06rem,1.6vw,1.25rem); }
.v2-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.v2-actions .button { min-height:52px; border-radius:999px; }
.v2-proof {
  display:flex;
  flex-wrap:wrap;
  gap:12px 24px;
  margin-top:34px;
  color:var(--v2-muted);
  font-size:.85rem;
  font-weight:750;
}
.v2-proof span::before {
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:9px;
  border-radius:50%;
  background:var(--v2-accent);
}
.v2-hero-visual {
  position:relative;
  min-height:540px;
  padding:24px;
  border:1px solid var(--v2-line);
  border-radius:34px;
  background:
    radial-gradient(circle at 78% 15%,rgba(57,212,154,.24),transparent 30%),
    radial-gradient(circle at 15% 75%,rgba(84,168,237,.26),transparent 38%),
    var(--v2-surface);
  box-shadow:var(--v2-shadow);
}
.v2-hero-visual img {
  width:100%;
  height:490px;
  border-radius:24px;
  object-fit:cover;
}
.v2-visual-label {
  position:absolute;
  right:40px;
  bottom:40px;
  left:40px;
  padding:18px 20px;
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  border-radius:18px;
  background:rgba(5,35,66,.82);
  backdrop-filter:blur(14px);
}
.v2-visual-label small { display:block; color:#8de1bd; font-weight:850; letter-spacing:.1em; }
.v2-visual-label strong { display:block; margin-top:5px; font-size:1.05rem; }

.v2-trust {
  border-block:1px solid var(--v2-line);
  background:var(--v2-surface);
}
.v2-trust-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.v2-trust-grid div {
  padding:25px 22px;
  border-left:1px solid var(--v2-line);
}
.v2-trust-grid div:last-child { border-right:1px solid var(--v2-line); }
.v2-trust-grid strong { display:block; color:var(--v2-brand-strong); }
.v2-trust-grid span { color:var(--v2-muted); font-size:.82rem; }

.v2-services-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.v2-card {
  position:relative;
  min-height:310px;
  padding:30px;
  border:1px solid var(--v2-line);
  border-radius:var(--v2-radius);
  background:var(--v2-surface);
  box-shadow:0 10px 35px rgba(15,45,76,.04);
}
.v2-card:hover {
  transform:translateY(-4px);
  border-color:color-mix(in srgb,var(--v2-brand) 45%,var(--v2-line));
  box-shadow:var(--v2-shadow);
}
.v2-card-number {
  display:grid;
  width:48px;
  height:48px;
  place-items:center;
  border-radius:15px;
  color:var(--v2-brand);
  background:var(--v2-surface-soft);
  font-weight:900;
}
.v2-card h3 { margin:46px 0 12px; color:var(--v2-brand-strong); font-size:1.42rem; }
.v2-card p { color:var(--v2-muted); line-height:1.7; }
.v2-card a { color:var(--v2-brand); font-weight:850; text-decoration:none; }

.v2-work { background:var(--v2-surface-soft); }
.v2-work-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.v2-case {
  overflow:hidden;
  border:1px solid var(--v2-line);
  border-radius:30px;
  background:var(--v2-surface);
}
.v2-case-visual {
  min-height:270px;
  display:flex;
  align-items:flex-end;
  padding:26px;
  color:#fff;
  background:
    radial-gradient(circle at 80% 10%,rgba(0,168,107,.55),transparent 32%),
    linear-gradient(135deg,#062f59,#0877c9);
}
.v2-case.elite .v2-case-visual {
  background:
    radial-gradient(circle at 75% 20%,rgba(244,185,66,.55),transparent 30%),
    linear-gradient(135deg,#17233e,#465780);
}
.v2-case-visual strong { font-size:clamp(2rem,4vw,3.4rem); letter-spacing:-.05em; }
.v2-case-body { padding:30px; }
.v2-status {
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  color:var(--v2-accent);
  background:color-mix(in srgb,var(--v2-accent) 12%,transparent);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
}
.v2-case h3 { margin:18px 0 10px; color:var(--v2-brand-strong); font-size:1.55rem; }
.v2-case p { color:var(--v2-muted); line-height:1.7; }

.v2-ventures-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.v2-venture {
  display:flex;
  min-height:250px;
  flex-direction:column;
  padding:27px;
  border:1px solid var(--v2-line);
  border-radius:22px;
  color:var(--v2-ink);
  background:var(--v2-surface);
  text-decoration:none;
}
.v2-venture:hover { border-color:var(--v2-brand); }
.v2-venture small { color:var(--v2-accent); font-weight:900; letter-spacing:.1em; }
.v2-venture h3 { margin:38px 0 10px; color:var(--v2-brand-strong); font-size:1.45rem; }
.v2-venture p { color:var(--v2-muted); line-height:1.6; }
.v2-venture span { margin-top:auto; color:var(--v2-brand); font-weight:850; }

.v2-partnership {
  color:#fff;
  background:
    radial-gradient(circle at 85% 10%,rgba(0,168,107,.35),transparent 30%),
    linear-gradient(135deg,#052c53,#075eac);
}
.v2-partnership-grid {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:70px;
  align-items:center;
}
.v2-partnership .v2-heading { color:#fff; }
.v2-partnership .v2-intro { color:#d3e3f0; }
.v2-partner-list { display:grid; gap:12px; }
.v2-partner-list span {
  padding:17px 19px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  background:rgba(255,255,255,.08);
}

.v2-quote {
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:60px;
  align-items:center;
}
.v2-quote-panel {
  padding:34px;
  border:1px solid var(--v2-line);
  border-radius:26px;
  background:var(--v2-surface);
  box-shadow:var(--v2-shadow);
}
.v2-quote-panel ol { margin:0; padding-left:22px; color:var(--v2-muted); }
.v2-quote-panel li { padding:10px 0; }
.v2-quote-panel strong { color:var(--v2-ink); }

.site-footer {
  color:var(--v2-muted);
  background:var(--v2-surface);
  border-top:1px solid var(--v2-line);
}
.site-footer h2,.site-footer strong { color:var(--v2-brand-strong); }
.site-footer a { color:var(--v2-muted); }

@media (max-width:1050px) {
  .site-header nav > a:not(.nav-cta):not([href*="webmail"]) { display:none; }
  .v2-hero { grid-template-columns:1fr; min-height:auto; }
  .v2-hero-visual { min-height:460px; }
  .v2-hero-visual img { height:410px; }
  .v2-services-grid,.v2-ventures-grid { grid-template-columns:repeat(2,1fr); }
  .v2-partnership-grid,.v2-quote { grid-template-columns:1fr; }
}
@media (max-width:720px) {
  .shell { width:min(100% - 28px,1360px); }
  .site-header { min-height:70px; padding-inline:14px; }
  .site-header nav { gap:8px; }
  .site-header nav > a[href*="webmail"] { display:none; }
  .nav-cta { min-height:38px; padding-inline:12px; font-size:.82rem; }
  .theme-toggle { width:38px; height:38px; }
  .v2-hero { padding-block:55px 72px; }
  .v2-hero h1 { font-size:clamp(3.1rem,15vw,4.7rem); }
  .v2-hero-visual { min-height:330px; padding:12px; border-radius:24px; }
  .v2-hero-visual img { height:305px; border-radius:18px; }
  .v2-visual-label { right:24px; bottom:24px; left:24px; }
  .v2-trust-grid { grid-template-columns:repeat(2,1fr); }
  .v2-trust-grid div:nth-child(odd) { border-left:0; }
  .v2-heading-row { display:block; }
  .v2-text-link { display:inline-block; margin-top:20px; }
  .v2-services-grid,.v2-work-grid,.v2-ventures-grid { grid-template-columns:1fr; }
  .v2-card { min-height:auto; }
  .v2-actions .button { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  * { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}

/* UNIDA-CYAN-CANVAS-V1
   Soft white and light-cyan presentation canvas.
*/
:root {
    --unida-canvas: #f7fcfd;
    --unida-canvas-cyan: #eafcff;
    --unida-card-surface: rgba(255, 255, 255, .94);
    --unida-card-border: rgba(9, 105, 150, .13);
    --unida-cyan-shadow: 0 22px 58px rgba(7, 94, 145, .10);
}

body {
    background:
        radial-gradient(
            circle at 8% 16%,
            rgba(34, 211, 238, .12),
            transparent 31rem
        ),
        radial-gradient(
            circle at 92% 48%,
            rgba(14, 165, 233, .09),
            transparent 34rem
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            var(--unida-canvas) 42%,
            var(--unida-canvas-cyan) 72%,
            #ffffff 100%
        );
    background-attachment: fixed;
}

main {
    position: relative;
    isolation: isolate;
}

.section {
    background-color: transparent;
}

.service-card,
.project-card,
.product-card,
.quote-card,
.partnership-card,
.values article,
.card {
    background: var(--unida-card-surface);
    border-color: var(--unida-card-border);
    box-shadow: var(--unida-cyan-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html[data-theme="dark"] {
    --unida-canvas: #06182a;
    --unida-canvas-cyan: #08283a;
    --unida-card-surface: rgba(8, 33, 55, .90);
    --unida-card-border: rgba(103, 232, 249, .15);
    --unida-cyan-shadow: 0 22px 58px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] body {
    background:
        radial-gradient(
            circle at 10% 12%,
            rgba(6, 182, 212, .14),
            transparent 32rem
        ),
        radial-gradient(
            circle at 90% 52%,
            rgba(37, 99, 235, .12),
            transparent 36rem
        ),
        linear-gradient(
            145deg,
            #041321 0%,
            var(--unida-canvas) 48%,
            var(--unida-canvas-cyan) 100%
        );
}

/* UNIDA-WHATSAPP-BUTTON-V1 */
.unida-whatsapp {
    position: fixed;
    right: clamp(18px, 2.5vw, 34px);
    bottom: clamp(22px, 3vw, 36px);
    z-index: 980;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 12px 18px 12px 14px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #20c866, #08a84f);
    box-shadow:
        0 16px 38px rgba(9, 121, 61, .28),
        0 4px 12px rgba(0, 0, 0, .12);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.unida-whatsapp:hover {
    color: #ffffff;
    transform: translateY(-3px);
    filter: brightness(1.03);
    box-shadow:
        0 20px 44px rgba(9, 121, 61, .34),
        0 6px 16px rgba(0, 0, 0, .14);
}

.unida-whatsapp:focus-visible {
    outline: 3px solid #67e8f9;
    outline-offset: 4px;
}

.unida-whatsapp svg {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    fill: currentColor;
}

@media (max-width: 640px) {
    .unida-whatsapp {
        right: 16px;
        bottom: 22px;
        width: 56px;
        height: 56px;
        min-height: 56px;
        justify-content: center;
        padding: 0;
    }

    .unida-whatsapp-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .unida-whatsapp {
        transition: none;
    }

    .unida-whatsapp:hover {
        transform: none;
    }
}

/* UNIDA-VISUAL-REFINEMENT-V1
   Balanced logo, typography and interface density.
   Works with both light and dark presentation themes.
*/

:root {
    --unida-font-sans:
        Inter,
        "Aptos",
        "Segoe UI Variable",
        "Segoe UI",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        Arial,
        sans-serif;
}

html {
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea {
    font-family: var(--unida-font-sans);
}

body {
    font-size: 1rem;
    line-height: 1.62;
}

.site-header {
    min-height: 74px;
}

.site-header .brand {
    display: inline-grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    overflow: visible;
    border-radius: 50%;
}

.site-header .brand .brand-logo {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
    filter:
        drop-shadow(0 5px 12px rgba(5, 48, 87, .13));
}

.v2-section {
    padding-block: clamp(62px, 7vw, 104px);
}

.v2-kicker,
.solutions-kicker {
    line-height: 1.4;
    letter-spacing: .135em;
}

.v2-heading {
    max-width: 820px;
    font-size: clamp(2.2rem, 4.35vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -.042em;
}

.v2-hero {
    min-height: 650px;
    padding-block: clamp(58px, 7vw, 100px);
}

.v2-hero h1 {
    max-width: 790px;
    font-size: clamp(3rem, 6.25vw, 6.4rem);
    line-height: .94;
    letter-spacing: -.058em;
}

.v2-intro,
.v2-hero .v2-intro {
    line-height: 1.65;
}

.v2-heading-row {
    gap: 24px;
    margin-bottom: 34px;
}

.v2-services-grid {
    gap: 15px;
}

.v2-card {
    min-height: 260px;
    padding: 24px;
}

.v2-card p {
    line-height: 1.58;
}

.v2-trust-grid div {
    padding: 20px 19px;
}

@media (max-width: 900px) {
    .v2-hero {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .site-header .brand {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        max-width: none;
    }

    .site-header .brand .brand-logo {
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .v2-section {
        padding-block: 54px;
    }

    .v2-hero {
        padding-block: 48px 56px;
    }

    .v2-hero h1 {
        font-size: clamp(2.75rem, 13vw, 4.25rem);
        line-height: .96;
    }

    .v2-heading {
        font-size: clamp(2rem, 10vw, 3.1rem);
    }

    .v2-card {
        min-height: auto;
        padding: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        scroll-behavior: auto;
    }
}
/* UNIDA-VISUAL-REFINEMENT-V1-END */
